News
Game
Guides
Downloads
Versions
/stop
COMMANDS SERVER ADMIN CONSOLE · LEVEL 4 Added in 1.14 or earlier

/stop command in Minecraft

/stop saves every world and shuts the dedicated server down cleanly, disconnecting all players. It needs operator level 4, so it is usually typed in the server console or by the owner of the server.

Syntax

/stop

// Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.

Examples

Shut the server down

/stop

Saves the worlds, disconnects everyone with Server closed and stops the server.

Java 26.3

Warn players first

/say Server restart in 1 minute

Broadcasts a message to everyone a minute before you run /stop.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

A clean shutdown

The console shows Stopping the server, players see Server closed, and the server writes all chunks and player data before closing. Always prefer it to killing the process, which can lose recent changes. /stop does not restart anything: a restart depends on your host or your start script.

Give players notice first with /say, for example one minute before. For a backup without shutting down, use /save-off and /save-all instead. Players can reconnect as soon as the server is running again.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/stop: FAQ

Does /stop save the world?

Yes. Every world and all player data are saved before the server closes.

Can I use /stop in singleplayer?

No, it only exists on dedicated servers. In singleplayer, use Save and Quit to Title in the pause menu.

How do I use /stop?

On a server, as an operator or from the server console: /stop. It does not exist in single player.

Who can use /stop?

Server owner or console, level 4. Only on a dedicated server: the command does not exist in single player or in a world opened to LAN.

Related commands