Minecraft tp command: teleport to a player or coordinates
/tp @s 100 70 -40 moves you to the indicated coordinates if you have the necessary permissions. Replace these numbers with a verified location in your world. To join a friend, use /tp @s FriendUsername.Whether you want to rejoin your group, return to base, or inspect a building site without crossing the entire map, the /tp command, an alias for /teleport, enables these movements. To use it correctly, you must read three things in the right order: the person being moved, the destination, and the context from which the command is executed.
This guide begins with useful examples for the chat, then explains relative coordinates and the differences between editions. Keep our Minecraft commands section handy for your subsequent experiments. If you manage a shared game, our servers and multiplayer folder helps define who should have these powers.
Check edition and permissions before your first try
Teleporting via command requires appropriate access. Simply being invited to a world is not necessarily enough. On a server, the administrator decides the permissions. In a local game, world settings determine whether commands are available. On Bedrock, enabling cheats can prevent earning achievements in that world: use a copy for your experiments if you wish to keep a reference save.
The Java and Bedrock editions share several simple examples, but their advanced options and selectors may differ. A syntax error does not necessarily mean your keyboard is malfunctioning. Our guide for playing between Switch and PC clarifies the Bedrock framework, while Minecraft games and editions helps identify your version.
To learn, create an open space and note your starting position. If you are working on a group adventure, notify the other players before moving someone. The method described in backing up and restoring a Realms world is useful before testing a transport system on a map that the group values.
Teleporting to a player: read the order of names carefully
In the chat, /tp @s FriendUsername means: move the entity executing the command, in this case you, to the named player. Replace FriendUsername with their actual name and verify they are online. Autocomplete helps avoid typos. On platforms where a name contains spaces, use the format suggested by the game, including quotation marks when necessary.
With /tp Lea Sami, it is Lea who is moved to Sami. Reversing the two names reverses the movement. Before confirming, read the command as a sentence: "Who am I moving, to whom?". This small habit avoids interrupting a friend's construction when you only intended to visit them.
Also ask the destination player where they are. Joining them while they are flying, fighting, or crossing a dangerous area can make for an uncomfortable arrival. To prepare an outing for several people, our guide on succeeding at your first night provides a reminder of the basic needs. Minecraft keychains feature many of the characters and creatures your group will encounter along the way.
Understanding X, Y, and Z with a verified destination
Coordinates are written in the order X, Y, Z. X and Z locate your horizontal position; Y indicates the height. In /tp @s 100 70 -40, the destination uses an X of 100, a Y of 70, and a Z of minus 40. Negative numbers are normal, and the minus sign must not disappear during a copy-paste.
A height of 70 is not a guarantee of safety. At that exact spot, your world might contain a mountain, a void, or water. It is better to note the coordinates of an already visited and empty location. For a first test, choose a fairly wide platform with space above and clearly visible ground.
A practical example: you are setting up a square in front of your house and note the coordinates where your character is standing. You walk a few dozen blocks away, then use those values to return. If the result is correct, you have a verified return point. Our guide for building a modern house can inspire this arrival area.
Do not confuse a coordinate with a world seed. The former designates a location; the latter influences terrain generation. The seeds and Minecraft maps folder and the article finding your Minecraft world seed detail this difference. A set of Minecraft notebooks is perfect for jotting down useful points with their dimension and name.
Using the tilde for relative movement
The ~ symbol means "relative to the execution origin of this command." In the chat, with no other context added, this origin corresponds to your position. Thus, /tp @s ~5 ~ ~ moves you five blocks on the X-axis while keeping the other coordinates the same. This does not mean "five blocks in the direction I am looking."
Similarly, /tp @s ~ ~3 ~ places you three blocks higher. Only attempt this in an appropriate space: you could fall if there is no support beneath you. A single tilde represents a zero offset. You can mix absolute and relative coordinates, but verify each axis before confirming.
The pitfall appears when you target someone else. A command launched from your position with tildes does not automatically take the targeted player's position as a new starting point. To move each target relative to themselves, you must establish the correct context with execute, explained below.
Classic paths remain useful for understanding your map: our guide on bubble elevators offers vertical transport integrated into a build. To accompany your gaming setup, a panoramic Dungeons and purple portal mouse pad and the Minecraft mouse pad collection reflect this love for passages between places.
Distinguishing local coordinates with the ^ symbol
The three local coordinates ^ ^ ^ are read according to the context's orientation: left, up, and forward. In the chat, /tp @s ^ ^ ^3 requests a movement of three blocks in the direction you are looking. If you look up or down, the direction is no longer simply horizontal.
Start on flat ground, look straight ahead, and test a small distance. Then turn ninety degrees and try again. You will see the difference compared to ~3 ~ ~, which follows the world's X-axis regardless of where you are looking. This exercise is enough to make the two notations much easier to remember.
Do not randomly mix a local symbol with two world coordinates in the same triplet. Use a consistent notation, then let the autocomplete suggest what your version accepts. Options that change the execution orientation can also modify the result of a command using local coordinates.
To practice reading space without commands, try a pixel art project built on a grid. Minecraft mugs can accompany a break between construction attempts.
Choosing @s, @p, or @a without moving the wrong group
@s designates the entity executing the command. In your chat, that is normally your character. @p selects the player nearest to the execution origin. @a targets all matching players. These three selectors are therefore not interchangeable, even if a solo test might make it seem like they do the same thing.
To learn, use your own character or a specific username. Reserve commands that move everyone for situations announced to the group. /tp @a @s, executed by an authorized player in the chat, gathers the targeted players to them; it can interrupt ongoing activities. Verify the available space upon your arrival first.
A command block is not your character. Using @s directly from this block does not magically create an executing player. Conversely, @p looks for the player closest to the block or the modified origin, not necessarily the one who pressed a button. A public system therefore requires more precise selection than a personal test.
Our comparison between Realms and private servers helps you choose where to experiment with these mechanics. To prepare a transport room setting, browse our Minecraft decorations and the world cross-section poster from the sky to the Nether.
Changing context and dimension with execute
In modern syntaxes that provide them, execute as chooses the executing entity, and at places the context at that entity's location. The example /execute as FriendUsername at @s run tp @s ~ ~2 ~ moves this player two blocks above their own position. Replace the username and test it in a prepared environment.
Without at @s, changing only the executor does not automatically move the command's origin. This is a frequent cause of arriving at the wrong place. To understand a long example, break it down into questions: who is executing, from where, in which dimension, and then what action? This allows you to spot the part that does not match your intent.
For a dimension change in Java, an explicit example is /execute in minecraft:overworld run tp @s 100 70 -40, launched in the chat by an authorized player. It designates an absolute destination in the Overworld. On Bedrock, dimension IDs and available variants must be chosen using autocomplete; do not copy Java IDs without verifying.
Prioritize an already controlled destination in the desired dimension. For classic Nether exploration, our guide on finding a Nether fortress complements the markers in the Minecraft biomes and dimensions folder. Minecraft lamps also feature various elements related to these journeys.
Fixing syntax errors and uncomfortable arrivals
If the game refuses the command, start with the first indicated element. Check the permissions, username, the order of numbers, and spaces. Type /help tp or use the help offered by your version to display the expected syntax. Remove advanced options and first test a simple, known destination.
On Bedrock, the checkForBlocks option can refuse an arrival occupied by blocks. An example is /tp @s 100 70 -40 true. This check is not a guarantee against all dangers: it does not turn an absent platform into stable ground. Java does not use this same final argument in its basic command.
If the destination is correct but dangerous, improve it. A small landing, two blocks of free height, and suitable lighting make a return point more practical. Our article on lighting a base completes this preparation, and our Minecraft builds section provides ideas for integrating the landing into the building.
Minecraft posters can serve as reminders of your favorite locations on your map. However, keep your coordinates written down in a separate document: a beautiful landscape representation alone does not allow you to find the exact point chosen in your world.
Frequently asked questions about the tp command
Do tp and teleport do two different things?
In the modern editions concerned, tp is an alias for teleport. Choose the form that is easiest for you to read.
Can you find a house without knowing its coordinates?
The command does not guess where your house is. Join a player who is there, use known landmarks, or find coordinates noted previously.
Why does @p move my friend?
Because it selects the player closest to the execution origin. To target yourself in the chat, use @s instead.
Does teleportation change my respawn point?
A movement via tp does not by itself define a new respawn point. These are two different actions.
What first exercise should I choose?
Note an open area, move away by a few blocks, and return with your own character. Once this path is understood, try tildes and then local coordinates, one new thing at a time.