← MineAddons Hub / Blog / Teleport Commands
/tp is Minecraft's most powerful command and its most confusing one. Here's the complete guide for Java Edition 1.21+ — every form of the command, the coordinate syntax everyone gets wrong, and the one teleport vanilla still refuses to give you.
Prerequisites: you need cheats enabled in your world (single-player: Open to LAN → Allow Cheats, or create the world with cheats on; servers: operator status). Commands are typed in chat (T or / to open with the slash pre-filled).
Teleport yourself to a player: /tp <playername> — missing your friend in a maze of tunnels? This puts you at their position.
Teleport a player to you (or a player to a player): /tp <target> <destination> — /tp Steve Alex moves Steve to Alex. Works on any valid target selector too — /tp @a[distance=..10] <playername> pulls everyone within 10 blocks to you. Useful on servers; use with care, because yanking players around without warning is a great way to lose friends.
Teleport to coordinates: /tp <x> <y> <z> — e.g. /tp 100 -60 200. This is the form most people come for — jump to any position in the world instantly. Yes, including places you've never been: the game generates the chunks on arrival.
A note on /teleport: it exists as a stricter sibling of /tp with almost identical behavior. Anything in this guide works with either spelling.
Absolute — plain numbers: /tp 100 -60 200 goes to exactly those coordinates.
Relative — tildes mean "offset from where I am now": /tp ~ ~10 ~ moves you 10 blocks up from your current position, keeping X and Z unchanged. /tp ~5 ~ ~ nudges you 5 blocks east. This is the form for "get me out of this hole" (try ~ ~2 ~).
Local — carets (^) mean "relative to the direction I am facing": /tp ^ ^ ^5 moves you 5 blocks forward along your line of sight, including up or down slopes. Great for jumping to the other side of a wall you're facing.
The classic mistake: if you use any ^ in the command, all coordinate components are treated as local — so mixing syntaxes in one command behaves differently than you'd expect (/tp ~ 64 ^ treats everything as local). Simplest rule: use tildes for building tricks, carets for line-of-sight movement, and never mix them.
/tp can also set where you look on arrival, with two extra numbers (yaw and pitch): /tp 100 -60 200 90 0.
Yaw is your horizontal rotation (0 = south, 90 = west, 180 = north, 270 = east), pitch is up/down (-90 = straight up, 90 = straight down). Useful for teleport pads that drop you facing your base door instead of facing into a wall.
Here's the thing everyone trips over: /tp cannot change dimensions. There is no /tp nether 100 40 0. The workaround is to execute the teleport from inside the target dimension:
/execute in minecraft:the_nether run tp @s 100 40 0
/execute in sets the context's dimension first, then the /tp runs inside it. Valid dimensions: minecraft:overworld, minecraft:the_nether, minecraft:the_end. A note for Nether trips: travel there is 8:1 — overworld coordinate 800 in the Nether equals 6,400 in the overworld (our portal-linking guide covers that math if you're building fast-travel networks).
Get one with /give @s command_block. Place it, set it to run /tp @p[r=2] <x> <y> <z>, hide it under a pressure plate, and you've built a working teleport pad anyone can use without cheats-in-chat. Command blocks need the world's command-block setting enabled (on by default in single-player; server property enable-command-block=true).
If you start stacking a dozen command blocks for one feature, that's your sign the feature belongs in a datapack — same commands, but versioned, testable, and reusable across worlds. Our datapack install guide covers the file structure if you're curious where that road leads.
/tp goes anywhere — if you know the coordinates. What it can't do is remember where you want to go. Vanilla has no /sethome, no /home, no saved locations. Every "teleport to my base" is F3 → memorize → retype → typo → ocean.
That's a plugin/datapack-shaped gap. On Paper servers, plugins like Essentials fill it; in pure vanilla worlds and Realms, a set-home datapack fills the same slot: stand at your base, set it once, warp back with one command from anywhere. We cover the vanilla options and the honest trade-offs on the Quick Home page.
Can I teleport without cheats? No — /tp requires cheats or operator status. End gateways and nether portals remain your cheat-free travel options.
What's the command to teleport to my last death spot? Vanilla doesn't have one (the recovery compass is the vanilla answer). Some death-coords datapacks print the coordinates in chat when you die.
Does /tp work on other players without their consent? Yes, if they're valid targets — another reason to use it thoughtfully on servers.
Can I teleport to unloaded chunks? Yes — coordinates you've never visited work fine; the chunks generate on arrival.
🏠 /tp does everything except remember where home is. Quick Home adds exactly that missing piece to vanilla — set your home once, warp back from anywhere. Free datapack, 1.21+, works in single-player, servers and Realms.
© 2026 MineAddons Hub · Blog · All packs · About · Contact · Privacy · Terms · Support