Minecraft guideMinecraft TP command guide
The /tp command moves players or entities to coordinates, other players or relative positions.
- Published by
- MC Commander operator
- Page updated
- 15 July 2026
- Review scope
- HTML, JavaScript, PHP and internal links checked. Output not tested in Minecraft is not guaranteed in every environment. Editorial policy
Basic examples
/tp @p 0 64 0: teleport nearest player to coordinates./tp Steve Alex: teleport one player to another player./tp @a ~ ~10 ~: move all players upward relative to their current position.
Coordinates
Use absolute coordinates for fixed places and relative coordinates with ~ when running commands from a player or command block.
Warp systems
A simple warp command can be built with command blocks, buttons or functions. For public servers, check permissions before letting players run teleport commands.
Related tools
Teleport to a player, coordinates or a relative position
Common TP command patterns
| Goal | Command |
| Teleport yourself to coordinates | /tp @s 100 64 -20 |
| Teleport to another player | /tp @s PlayerName |
| Teleport all players upward | /tp @a ~ ~10 ~ |
| Teleport the nearest entity | /tp @e[sort=nearest,limit=1] 0 64 0 |
Why a teleport command may fail
- The player name or selector matches no target.
- The destination chunk or dimension is unavailable.
- The command uses Java syntax in Bedrock Edition or the reverse.
- Relative coordinates were evaluated from a different executor or command block.
When using /execute with teleport, confirm both the executing entity and execution position.