Teleport to the Nearest Player
Warp yourself to whichever player is closest
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Teleports you to the closest player using the @p (nearest player) selector. When run by a player, @p is usually another player standing nearby; in a command block it targets the block's nearest player. Handy for catching up to teammates without knowing their coordinates.
/tp @s @p9 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste /tp @s @p and press Enter.
- You are teleported to the nearest player's exact position.
Related commands
Jump to a specific mob or entity by its custom name
/tp @s @e[name="Boss",limit=1]Jump to an entity you marked with a scoreboard tag
/tp @s @e[tag=home,limit=1]Teleport all mobs of a type into one enclosed area
/tp @e[type=cow] 50 64 50Send a specific player to a location from a command block
/tp Steve 0 100 0