Skip to content
[/craft]

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

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 50

Send a specific player to a location from a command block

/tp Steve 0 100 0

Instantly move to a specific X Y Z location

/tp @s 100 64 -200

Instantly move to where another player is standing

/tp @s PlayerName