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

/teleport command in Minecraft

/teleport, or its short alias /tp, moves players and entities to coordinates or to another entity. It can also set the direction they face. Builders use it to cross a map instantly, and map makers to send players to checkpoints or arenas.

Syntax

/teleport <destination>
/teleport <location>
/teleport <targets> (<destination>|<location>)
ArgumentExpectsWhat it does
destinationEntity selectoroneA single entity to move to, such as a player name or @e[type=minecraft:pig,limit=1,sort=nearest].
locationPosition (x y z)Target coordinates x y z: absolute, relative with ~ ~ ~, or local with ^ ^ ^.
targetsEntity selectorone or severalEntities to teleport: @s, @a, @p, a name or a filtered selector. Without it, you are the one teleported.
facingEntityoptionalEntity selectoroneEntity that the teleported targets turn to face after arriving.
facingAnchoroptionaleyes / feetWhich point of the facing entity to look at: eyes or feet.
facingLocationoptionalPosition (x y z)Coordinates that the teleported targets turn to face, for example ~ ~ ~10.
rotationoptionalRotation (yaw pitch)Yaw and pitch in degrees, absolute or relative with ~ ~. Yaw 0 faces south, 90 west.
All 8 forms
  • /teleport <destination>
  • /teleport <location>
  • /teleport <targets> <destination>
  • /teleport <targets> <location>
  • /teleport <targets> <location> facing entity <facingEntity>
  • /teleport <targets> <location> facing entity <facingEntity> <facingAnchor>
  • /teleport <targets> <location> facing <facingLocation>
  • /teleport <targets> <location> <rotation>

Examples

Jump ten blocks up

/tp @s ~ ~10 ~

Moves you ten blocks straight up from where you stand.

Java 26.3

Bring every player to you

/tp @a @s

All online players are teleported to your position.

Java 26.3

Exact spot and direction

/teleport @s 0 100 0 90 0

Sends you to 0 100 0 looking west, with a level view.

Java 26.3

Ten blocks forward

/tp @s ^ ^ ^10

Local coordinates move you ten blocks in the direction you are looking.

Java 26.3

Turn to face a villager

/tp @s ~ ~ ~ facing entity @e[type=minecraft:villager,limit=1,sort=nearest]

You stay in place but turn to look at the nearest Villager.

Java 26.3

Go to exact coordinates

/tp 250 80 -1200

Sends you to X 250, Y 80, Z -1200. Press F3 first to read your own position.

Java 26.3

Send one player to another

/tp Alex Steve

Moves the player Alex to the player Steve, even if Steve is in another dimension.

Java 26.3

Pull nearby wolves to you

/tp @e[type=minecraft:wolf,distance=..20] @s

Every wolf within 20 blocks is teleported to your position.

Java 26.3

Turn on the spot

/tp @s ~ ~ ~ ~90 ~

You keep your position and turn 90 degrees to the right.

Java 26.3

Go to the Nether

/execute in minecraft:the_nether run tp @s 100 70 -30

The coordinates are read in the Nether. Divide Overworld X and Z by 8 to land near the matching spot.

Java 26.3
Interactive tool

Command generator

Fill in the fields, copy the command, paste it in the chat. Syntax checked against Java Edition 26.3.

Turn on JavaScript to use the interactive version.

/tp @s 0 100 0

Calculated from the Java Edition 26.3 game files

Turn on cheats

/teleport needs cheats, or operator rights on a server. In singleplayer:

  • New world: in Create New World, open the Game tab and set Allow Cheats to ON.
  • Existing world: press Esc, click World Options..., set Allow Cheats to ON, then click Apply Changes. Since 26.3 this button sits where "Open to LAN" used to be.
  • Server: the owner has to make you an operator (op YourName in the server console).

Hardcore worlds cannot turn cheats on. Open the chat with T or / and type the command. Without permission, the game answers "Unknown or incomplete command".

Choose who moves and where

Instead of a player name, you can use a target selector: @s yourself, @p the nearest player, @a all players, @r a random player, @e all entities (mobs, items, players) and @n the nearest entity. Filters go in square brackets, for example @e[type=minecraft:wolf,distance=..20] for every wolf within 20 blocks.

The first target is who moves, the second is where they go. The destination must be a single entity, so add limit=1 when you use @e there, or use @n or @p. A rotation or facing only works when you name the target first, for example /tp @s 0 64 0 facing 0 64 10.

Absolute, relative and local coordinates

Absolute coordinates such as 100 64 -200 point to an exact place; Y is the height, and F3 shows your own position. With ~, values are relative to the current position along the world axes: X grows to the east and Z to the south, so ~100 ~ ~ moves you 100 blocks east. With ^, they follow the view direction, in the order left, up, forward: ^ ^ ^5 moves five blocks forward. You cannot mix ~ and ^ in one position. Whole X and Z values land in the middle of the block.

The rotation is yaw then pitch: yaw 0 faces south, 90 west, 180 north and -90 east; pitch -90 looks straight up and 90 straight down. To turn on the spot, keep ~ ~ ~ and change only the rotation.

Other dimensions

Coordinates always refer to the current dimension. To change dimension, run the command through /execute: /execute in minecraft:the_nether run tp @s 0 80 0. Use minecraft:the_end for the End and minecraft:overworld to come back. Teleporting to an entity, such as another player, also takes you to its dimension.

The game does not convert coordinates. One block in the Nether equals 8 blocks in the Overworld on X and Z, while Y stays the same: divide by 8 on the way in, multiply by 8 on the way back. The converter below does the math.

Interactive tool

Coordinate tools

Turn on JavaScript to use the interactive version.

1 block in the Nether = 8 blocks in the Overworld. Y does not change.

Nether ↔ Overworld
OverworldNether
X 0 · Z 0X 0 · Z 0
X 800 · Z 800X 100 · Z 100
X 8,000 · Z 8,000X 1,000 · Z 1,000
X -2,400 · Z -2,400X -300 · Z -300

Land safely

/teleport does not check where you land. You can end up inside stone, in mid-air or in lava.

  • Overworld: blocks exist from Y -64 to Y 319, sea level is Y 63.
  • Nether: the lava sea fills everything up to Y 31. Above Y 127 you stand on top of the bedrock ceiling.
  • Unknown spot: switch to Spectator with /gamemode spectator, teleport, look around, then switch back on solid ground.
  • In Survival: run /effect give @s minecraft:slow_falling 30, teleport high (for example Y 200) and glide down.

Unloaded or never-visited chunks are no problem: the game generates the destination before you arrive, which can take a second.

Common errors

MessageCause and fix
Unknown or incomplete commandCheats are off or there is a typo. Turn on Allow Cheats and check the spelling.
No player was foundThe name is wrong or the player is offline.
Only one entity is allowed, but the provided selector allows more than oneThe destination can match several entities. Add limit=1 or use @n or @p.
Cannot mix world and local coordinatesYou combined ~ and ^. Use one type for all three values.
Incomplete (expected 3 coordinates)A value is missing. Write ~ for any axis you want to keep.
Invalid position for teleportX or Z is beyond ±30,000,000, or Y beyond ±20,000,000.

To scatter players randomly, use /spreadplayers; to set where they respawn, /spawnpoint. In Survival, an Ender Pearl or a Chorus Fruit teleports you without any command.

✓ Checked in Java Edition 26.3 · updated 2 November 2026

/teleport: FAQ

What is the difference between /tp and /teleport?

None. /tp is an alias of /teleport and accepts exactly the same arguments.

How do I teleport to another dimension?

Wrap the command in /execute in, for example /execute in minecraft:the_end run tp @s 0 70 0. Teleporting to an entity that is in another dimension also works.

How do I teleport to the nearest village or structure?

Run /locate structure #minecraft:village (or another structure ID). The chat shows the coordinates; click them and the game fills in a /tp @s command for you.

Does /tp work the same on Bedrock Edition?

The basic forms are the same, but Bedrock writes dimensions without the namespace, for example /execute in nether run tp ~ ~ ~, and adds an optional checkForBlocks argument.

How do I use /teleport?

Type it in the chat with cheats on: /teleport <destination>.

Copy & paste lists with /teleport

Related commands