We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!
Minecraft guide

Minecraft World Border: /worldborder Commands, Defaults and Setup

By the ChicagoServers team · Updated · 6 min read

A world border stops a survival server from sprawling forever. Players can't explore past it, you don't have to store terrain nobody will visit, and your backups stay a reasonable size. It's also one of the few settings you can change while players are online.

The commands and defaults below come from the community wiki's world border page, checked November 21, 2026. The wiki is a player-maintained reference, not Mojang's own notes, so run worldborder get on your own server after you set something.

Quick answer
  • worldborder set 5000 gives a 5,000 block wide square, so a 2,500 block radius.
  • Defaults: damage 0.2 per second per block, buffer 5, warning distance 5, warning time 15 seconds.
  • Use worldborder center x z so the border is around where your players build.
On this page
  1. The defaults
  2. The commands
  3. Setting one up for a survival server
  4. Nether and End
  5. Common mistakes
  6. Frequently asked questions

The defaults

A new Java world's border sits at X and Z of plus or minus 29,999,984. That's a square 59,999,968 blocks wide, and the wiki says the original developer set it one chunk short of the edge to keep people from falling through the world. The default center is 0, 0. Set the size back to 59,999,968 and the center to 0 0 and you've reset everything the border changes about the shape.

The three standard dimensions share the same default size and location. The border also always changes in whole blocks, even if you give it a partial block.

The commands

CommandWhat it does
worldborder getTells you the current width.
worldborder set <blocks> [seconds]Sets the full width (and length) of the square. With a time it grows or shrinks gradually; without one it jumps immediately.
worldborder add <blocks> [seconds]Adds to or subtracts from the current width, optionally over time. Negative numbers shrink it.
worldborder center <x> <z>Moves the center. Tilde coordinates are allowed.
worldborder damage amount <n>Damage per second for each block a player stands outside the border (plus the buffer). Default 0.2.
worldborder damage buffer <blocks>How far past the border a player can go before damage starts. Default 5 blocks.
worldborder warning distance <blocks>How close a player gets before the red warning tint appears. Default 5 blocks.
worldborder warning time <seconds>How many seconds away a shrinking border has to be before the warning shows. Default 15.

In the panel, type these on the Console tab without the slash. In game, use the slash and be an operator. Pay attention to the first number: it's the whole width, not the distance from the center. A border with a 2,500 block radius is worldborder set 5000.

Setting one up for a survival server

  1. Back up first

    Take a World and settings backup on the Backups tab. Shrinking a border doesn't delete terrain, but it's an easy time to make a typo that makes players unhappy.

  2. Center it where people play

    If your base area isn't near 0, 0, center on it: worldborder center 1200 -800.

  3. Pick a size

    worldborder set 6000 gives a 6,000 by 6,000 square. The wiki doesn't suggest a size, so choose by how much terrain you want to keep and back up.

  4. Soften the edge

    Raise the buffer if you want to give players more room past the line before damage starts, or leave the defaults. Setting damage amount to 0 turns the border into a boundary with no damage at all.

  5. Pre-generate inside it

    Use Chunky to generate the area ahead of time and keep lag away from exploration. chunky worldborder uses the border as the selection. See the Chunky guide.

Nether and End

The border shows red in the Nether whether it's expanding, shrinking or standing still. The wiki also says custom dimensions can have their own sizes. It doesn't spell out End behavior, so test your own server rather than assuming.

Common mistakes

  • Treating the number as a radius. worldborder set 5000 gives a radius of 2,500.
  • Forgetting the center. Players who built far from 0, 0 get stuck outside the border.
  • Shrinking onto a player. Anyone beyond the new edge starts taking damage after the buffer. Warn them first, or use a time so they can walk in.
  • Expecting terrain to vanish. A smaller border limits where players can go. It doesn't delete chunks that were already generated.

Frequently asked questions

What is the default Minecraft world border size?

The default border is at X and Z of plus or minus 29,999,984, which is a width of 59,999,968 blocks. Set the width back to that number to restore it.

How do I set the world border on my server?

Run <code>worldborder set &lt;size&gt;</code> on the Console tab. The size is the full width of the square, not the radius.

Can I shrink the border gradually?

Yes. Add a time in seconds: <code>worldborder set 2000 600</code> shrinks it over ten minutes.

Does the world border delete chunks outside it?

No. It limits where players can go. Chunks that were already generated stay in the world.

How do I stop the border from hurting players?

Set <code>worldborder damage amount 0</code>. Or raise <code>damage buffer</code> if you only want a longer grace distance.

We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

We offer quality support, a detailed knowledgebase, video tutorials on most topics, and even live support in case you prefer a live human.

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!