To teleport a player to you in Minecraft, opens the chat window (key T) and type /tp [nom du joueur] @s. All you need is the operator rights or some cheats enabled in your world.
The following section covers the useful variants: Practical Training by Coordinates, Relative TP and entity teleportation.
Use the appropriate command to TP a player on yourself
Open the chat window and type:
- /tp [nom du joueur] @s
The selector @s refers to the player who is executing the command—that is, you. To teleport a player named Alex Based on your location, that comes out to:
- /tp Alex @s
Before proceeding, check the prerequisites. In solo mode, check «Allow codes» when creating the world or in the settings. On a waiter, you have to be operator (rights op).

There are also other practical variations using the target selectors :
- /tp @p : teleports you to the nearest player. Remember, you're the one who has to go to him—not the other way around.
- /tp @a VotreNomDeJoueur : teleport all players toward your position. The syntax /tp @a @s May be unreliable depending on the version; it's best to just enter your username directly.
How do I teleport with the coordinates Minecraft?
The /tp command also allows you to go to a exact location in the world by adding coordinates. To interpret them correctly, keep these three axes in mind:
- X : East (positive value) / West (negative value)
- Y : High / Low (altitude)
- Z : South (positive value) / North (negative value)
Two symbols are useful for relative positions:
- the ~ (tilde) indicates a position relative to the world axes, starting from your current location.
- the ^ (caret) refers to your orientation (front, left, top), not along the world's axes.
You can also filter the targets using selectors :
- @p : the player closest to it
- @a : all players
- @r : a random player
- @s : yourself
- @e : all entities
Add brackets [ ] to refine the targeting based on type or distance. Example: @e[type=pig,limit=1].
Command to teleport to coordinates
The basic syntax for accessing a specific location is:
- /tp [joueur ou entité] X Y Z
If a player named Steve If you want to teleport to a specific location, type:
- /tp Steve 100 64 200
This teleportation command sends Steve contact information X 100, Y 64, Z 200 in the world.
Command to teleport you relative to your current position
To move from your current position, use the tilde key ~ :
- /tp ~X ~Y ~Z
For instance :
- /tp ~10 ~20 ~30
This command moves you from 10 blocks east, 20 blocks up and 30 blocks south from your current position. Since the relative coordinates are calculated using the world axes, the result is the same no matter which direction you're looking.
How do I teleport an entity to Minecraft?
How to order /tp It also works on entities like cows, pigs, or any mob. The easiest way is to use a target selector.
To teleport the nearest cow To get directions to specific coordinates, type:
- /tp @e[type=cow,limit=1,sort=nearest] 100 64 200
The selector @e[type=cow,limit=1,sort=nearest] automatically targets the nearest cow. Change cow by pig to target a pig, or any other mob identifier.
If you'd rather identify an entity by its UUID, start by retrieving it:
- /data get entity @e[type=cow,limit=1,sort=nearest]
The command returns all the entity information, including its UUID. You can then use it directly in the command /tp, just as you would with a gamer username.
These teleportation commands work in single-player mode as well as on a multiplayer server, provided you have the necessary permissions. The syntax remains the same on Java Editionwhile Bedrock Edition offers slightly different selectors.
Try these teleportation commands to see how they change your experience.
To learn more, check out the guide on how to install mods and customize your game.






