Skip to content
[/craft]
Teleport to the Nearest Player

Teleport to the Nearest Player

Warp yourself to whichever player is closest

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Teleports 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 @p
9 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste /tp @s @p and press Enter.
  3. You are teleported to the nearest player's exact position.

Related commands