/tp
Teleports entities to a specified location, to another entity, or with a specific rotation. Alias for /teleport.
Overview
Teleports entities to a specified location, to another entity, or with a specific rotation. Alias for /teleport. In vanilla Minecraft Java Edition it is one of the player commands, first added in Classic 0.0.19a_06.
It is invoked as /tp [<targets>] <destination>|<location> [<rotation>] and accepts one required argument (<destination>) and 2 optional arguments ([targets] and [rotation]).
/tp also works as /teleport, which behaves identically, so you can use whichever you prefer.
The /tp and /teleport commands are identical aliases. Relative coordinates (~) and local coordinates (^) are supported.
Argument order is target-then-destination: /tp <who> <where>. Relative (~) and local (^) coordinates are accepted.
Syntax & Arguments
/tp [<targets>] <destination>|<location> [<rotation>]The full syntax is /tp [<targets>] <destination>|<location> [<rotation>]. Angle brackets < > mark required arguments and square brackets [ ] mark optional ones; a vertical bar | between words means you pick exactly one of those literals. You must always supply <destination>. The arguments [targets] and [rotation] may be omitted, in which case the documented default applies.
- targets
- Optional, of type an entity. The entity or entities to teleport. Defaults to self.
- destination
- Required, of type an entity. The target entity to teleport to, or coordinates (x y z).
- rotation
- Optional, of type a rotation. The yaw and pitch for the teleported entity.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| targets | entity | Optional | The entity or entities to teleport. Defaults to self. |
| destination | entity | Required | The target entity to teleport to, or coordinates (x y z). |
| rotation | rotation | Optional | The yaw and pitch for the teleported entity. |
Examples
The 3 examples below are ready to copy and adapt. For instance, /tp @s 100 64 200 teleports yourself to coordinates 100, 64, 200. Each example varies the arguments to show a different real use of /tp; read the note under every snippet to see exactly what changes.
/tp @s 100 64 200Teleports yourself to coordinates 100, 64, 200.
/tp @a @sTeleports all players to your location.
/tp @p ~ ~10 ~Teleports the nearest player 10 blocks up from their current position.
Permission Level & Requirements
/tp sits at permission Level 2 - Game Master / Cheats, which means it needs permission level 2, the level cheats grant to single-player worlds and that operators hold by default.
In a single-player world you must have "Allow Cheats" turned on (or open the world to LAN with cheats) before it will run; on a multiplayer server the player needs to be an operator at the matching level.
This reference describes the Java Edition 1.21 form of the command; Bedrock Edition may use slightly different argument formats.
Common Mistakes
- Teleporting into solid blocks, the entity may suffocate. Java runs no safety check at the destination, so look at it first.
- Confusing argument order: /tp <who> <where>, not /tp <where> <who>.
Notes
The /tp and /teleport commands are identical aliases. Relative coordinates (~) and local coordinates (^) are supported.
Related Commands
If /tp is part of your toolkit, the commands below are the ones you will most often reach for alongside it: /teleport, /spreadplayers, and /spawnpoint. They cover closely related tasks, so the links above jump straight to each one.
Frequently Asked Questions about /tp
What does the /tp command do in Minecraft?
Teleports entities to a specified location, to another entity, or with a specific rotation. Alias for /teleport. It belongs to the player command group and was first added in Java Edition Classic 0.0.19a_06.
What is the correct syntax for /tp?
/tp [<targets>] <destination>|<location> [<rotation>]. The required argument is destination, and the optional ones are targets and rotation.
What permission level does /tp need?
It requires permission Level 2 - Game Master / Cheats. On a server the player must be an operator at that level, or have cheats enabled in single-player.
What is a common mistake when using /tp?
Teleporting into solid blocks, the entity may suffocate. Java runs no safety check at the destination, so look at it first.
Can you give an example of /tp in use?
Yes. /tp @a @s: teleports all players to your location.
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting