News
Game
Guides
Downloads
Versions
/spawnpoint
COMMANDS PLAYERS & MOVEMENT CHEATS · LEVEL 2 Added in 1.14 or earlier

/spawnpoint command in Minecraft

/spawnpoint sets where a player respawns after dying, in place of a bed or a respawn anchor. Without arguments it uses your current position. Map makers use it for checkpoints, and server owners to send players back to a hub.

Syntax

/spawnpoint [<targets> [<pos> [<rotation>]]]
ArgumentExpectsWhat it does
targetsoptionalPlayer selectorone or severalPlayers whose spawn point changes: @s, @p, @a or a name. Defaults to you.
posoptionalBlock coordinates (x y z)Block position of the new spawn point, x y z or ~ ~ ~. Defaults to your position.
rotationoptionalRotation (yaw pitch)Direction faced on respawn, yaw then pitch in degrees. Yaw 180 faces north.
All 4 forms
  • /spawnpoint
  • /spawnpoint <targets>
  • /spawnpoint <targets> <pos>
  • /spawnpoint <targets> <pos> <rotation>

Examples

Respawn where you stand

/spawnpoint

Sets your own spawn point to your current position.

Java 26.3

One spawn point for everyone

/spawnpoint @a 0 64 0

All online players will respawn at 0 64 0 in the current dimension.

Java 26.3

Checkpoint from a command block

/spawnpoint @p ~ ~1 ~

Placed under a pressure plate, it saves the spawn point of the player who steps on it.

Java 26.3

Respawn facing north

/spawnpoint @s ~ ~ ~ 180 0

Sets your spawn point here, and you will look north when you respawn.

Java 26.3
Build your command

Fill in the fields, then copy the command.

Command generator

How the spawn point behaves

Each player has a personal spawn point. /spawnpoint uses the dimension in which it runs, so it also works in the Nether or the End. The rotation, yaw then pitch, sets where the player looks on respawn. Sleeping in a bed, or setting a Respawn Anchor, overwrites it. Players without a personal spawn point use the world spawn, set with /setworldspawn.

Checkpoints in maps

Put a Command Block under a Stone Pressure Plate with /spawnpoint @p ~ ~1 ~: the player who steps on the plate respawns there. The success message shows the coordinates, the rotation and the dimension, which is handy for checking a setup.

Tips

The command does not move anyone: the new point only applies at the next death. In a command block, @p picks the player closest to the block. The position is a block position: ~ ~ ~ means the block where you stand. To move a player right now instead of after death, use /teleport.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/spawnpoint: FAQ

Can a spawn point be set in the Nether?

Yes. /spawnpoint uses the dimension where the command runs, so running it in the Nether makes the player respawn there.

Does a bed replace the spawn point set by command?

Yes. Sleeping in a bed or setting a respawn anchor overwrites the spawn point given by /spawnpoint.

How do I use /spawnpoint?

Type it in the chat with cheats on: /spawnpoint [<targets> [<pos> [<rotation>]]].

Who can use /spawnpoint?

Cheats on, or operator level 2.

Copy & paste lists with /spawnpoint

Related commands