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-protection | Protected area | Notes |
|---|---|---|
0 | None | Turns spawn protection off |
1 | 3 × 3 blocks | Only the spawn block and its neighbours |
4 | 9 × 9 blocks | Protects a small spawn platform |
16 (default) | 33 × 33 blocks | The vanilla default |
32 | 65 × 65 blocks | A larger spawn town |
64 | 129 × 129 blocks | A big hub area |
Other rules from the wiki that explain most confusion:
- Only the Overworld. Spawn protection only applies in the Overworld, because the world spawn is always there.
- Operators bypass it. Anyone in
ops.jsoncan build inside the area. - 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.
- 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
- Go to Backups and create a backup if you are about to change anything else in the world.
- Open Files and click
server.propertiesin the main server folder. - Find the line
spawn-protection=16. - Change the number:
0to turn it off, a smaller number to shrink it, a larger number to grow it. - Save the file.
- Restart the server from the Console. Changes to
server.propertiesonly load on start. - Test with a player who is not an operator: they should be able to build at the new edge, but not inside it.
# 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:
- They are inside the protected square. With the default
16, they need to walk more than 16 blocks from spawn in any direction. - You edited the file but did not restart.
server.propertiesis read on start. - 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. - They are in adventure mode. Players in adventure mode cannot break most blocks anywhere. Check the game mode.
- 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:
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 server | Suggested value |
|---|---|
| Small private server with friends | 0, so everyone can build anywhere |
| Public survival with a built spawn | 16 to 64, depending on the spawn size |
| Server with a claims or region plugin | 0, and let the plugin handle protection |
| Minigame or hub server | A 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
TheGameHosting Team
