Minecraft

Minecraft Spawn Protection Radius: Change or Turn It Off

"Why can't I break blocks at spawn?" is one of the first questions on any new server. The answer is one line in server.properties, plus a rule about operators most people miss.

TheGameHosting Team 5 min read
Change Minecraft Spawn Protection
Background: Minecraft © Mojang Studios

The spawn protection radius on a Minecraft Java server is set by spawn-protection in server.properties. The default is 16, which protects a 33 by 33 block square centered on the world spawn, where players who are not operators cannot place or break blocks. Set it to 0 to turn it off, or to another number to resize it, then restart. Operators ignore it, and if the server has no operators at all, it does not apply.

How the spawn protection radius works

According to the Minecraft Wiki, spawn-protection sets the side length of the protected square as 2x+1, where x is the value in server.properties. It is a Java Edition dedicated server feature: it does not exist in single-player or LAN worlds.

spawn-protectionProtected areaNotes
0NoneTurns spawn protection off
13 × 3 blocksOnly the spawn block and its neighbours
49 × 9 blocksProtects a small spawn platform
16 (default)33 × 33 blocksThe vanilla default
3265 × 65 blocksA larger spawn town
64129 × 129 blocksA big hub area

Other rules from the wiki that explain most confusion:

  1. Only the Overworld. Spawn protection only applies in the Overworld, because the world spawn is always there.
  2. Operators bypass it. Anyone in ops.json can build inside the area.
  3. No operators, no protection. If the server has no operators at all, spawn protection does not apply. That is why it seems to "not work" on a brand-new server.
  4. It covers placing and breaking blocks. The wiki lists pistons, dispensers, explosives and mob griefing as indirect ways it can be bypassed.

How to change the spawn protection radius

  1. Go to Backups and create a backup if you are about to change anything else in the world.
  2. Open Files and click server.properties in the main server folder.
  3. Find the line spawn-protection=16.
  4. Change the number: 0 to turn it off, a smaller number to shrink it, a larger number to grow it.
  5. Save the file.
  6. Restart the server from the Console. Changes to server.properties only load on start.
  7. Test with a player who is not an operator: they should be able to build at the new edge, but not inside it.
server.properties
# 0 turns spawn protection off
spawn-protection=0

If you are on your own PC, stop the server, edit server.properties with a text editor and start it again. It is the same file and the same line.

Why players still cannot build at spawn

If players say they cannot break or place blocks at spawn, run through this list:

  1. They are inside the protected square. With the default 16, they need to walk more than 16 blocks from spawn in any direction.
  2. You edited the file but did not restart. server.properties is read on start.
  3. A plugin protects the area. On Paper or Purpur, region plugins such as WorldGuard and claim plugins add their own protection that has nothing to do with spawn-protection.
  4. They are in adventure mode. Players in adventure mode cannot break most blocks anywhere. Check the game mode.
  5. You moved spawn. The square follows the world spawn point, so if you changed it, the protected area moved too.

Moving the spawn point and the protected area

The protected square is centered on the world spawn. To move both, stand where you want the new spawn and run this in game as an operator, or in the Console with coordinates:

Server console
setworldspawn 100 70 -200

Players without a bed or respawn anchor will now spawn near the new point, and spawn protection protects the new area. Our guide on how to change spawn on a Minecraft server covers spawn radius, game rules and spawn plugins in detail.

Should you keep spawn protection on?

It depends on what your spawn is for.

Your serverSuggested value
Small private server with friends0, so everyone can build anywhere
Public survival with a built spawn16 to 64, depending on the spawn size
Server with a claims or region plugin0, and let the plugin handle protection
Minigame or hub serverA large value, or a region plugin for finer control

For private groups, a whitelist usually matters more than spawn protection: it controls who can join at all.

Set up your spawn on TheGameHosting

On TheGameHosting, server.properties is one click away in Files, the Console handles op, setworldspawn and restarts, and Backups saves your world before you rebuild spawn. If you want a region plugin, the Plugins installer adds it to Paper or Purpur, which you choose in the Version Changer. Servers run 24/7 in Dallas or Amsterdam on AMD 9950X or 7950X3D CPUs, with DDoS protection on every plan.

Plans start at $1.90 USD per month on Minecraft server hosting. Compare RAM sizes on the game server plans page, use FULL2026 for 15% off for life and get your server ready in about 60 seconds from Pricing.

FAQ

What is the default spawn protection radius in Minecraft?

The default spawn-protection value is 16, which protects a 33 by 33 block square centered on the world spawn.

How do I turn off spawn protection on my Minecraft server?

Set spawn-protection=0 in server.properties and restart the server. On TheGameHosting you edit the file in Files and restart from the Console.

Why does spawn protection not work on my server?

If the server has no operators, spawn protection does not apply. It also only works in the Overworld, and operators can always build inside it.

Does spawn protection stop TNT and pistons?

No. The Minecraft Wiki lists pistons, dispensers, explosives and mob griefing as ways it can be bypassed. Use a region plugin for full protection.

Hosting for this game

Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.

All posts