/teleport
Teleports entities to a location, another entity, or adjusts their rotation. Full form of /tp with extended facing options.
Overview
Teleports entities to a location, another entity, or adjusts their rotation. Full form of /tp with extended facing options. In vanilla Minecraft Java Edition it is one of the player commands and has been available since version 1.13.
It is invoked as /teleport [ and accepts one required argument (
/teleport is an alias — /tp behaves identically, so you can use whichever you prefer.
In Java Edition, cross-dimension teleporting requires /execute in
The 'facing' clause orients the entity after the move; cross-dimension teleports require /execute in
Syntax & Arguments
/teleport [<targets>] <destination>|<location> [<rotation>] [facing <facingLocation>] [facing entity <facingEntity> <facingAnchor>]The full syntax is /teleport [. 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
- targets
- Optional, of type an entity. The entity or entities to teleport.
- destination
- Required, of type an entity. Target entity or coordinates to teleport to.
- rotation
- Optional, of type a rotation. The yaw and pitch.
- facingLocation
- Optional, of type a vec3. Coordinates to face after teleporting (used with 'facing' keyword).
- facingEntity
- Optional, of type an entity. An entity to face after teleporting (used with 'facing entity' keywords).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| targets | entity | Optional | The entity or entities to teleport. |
| destination | entity | Required | Target entity or coordinates to teleport to. |
| rotation | rotation | Optional | The yaw and pitch. |
| facingLocation | vec3 | Optional | Coordinates to face after teleporting (used with 'facing' keyword). |
| facingEntity | entity | Optional | An entity to face after teleporting (used with 'facing entity' keywords). |
Examples
The 3 examples below are ready to copy and adapt. For instance, /teleport @s 0 100 0 facing 0 64 0 teleports you to 0,100,0 and rotates you to face coordinates 0,64,0. Each example varies the arguments to show a different real use of /teleport; read the note under every snippet to see exactly what changes.
/teleport @s 0 100 0 facing 0 64 0Teleports you to 0,100,0 and rotates you to face coordinates 0,64,0.
/teleport @e[type=villager] ~ ~5 ~Teleports all villagers 5 blocks upward.
/teleport @p @rTeleports the nearest player to a random player.
Permission Level & Requirements
/teleport 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
- Using both rotation and facing in the same command, only one can be used.
- Forgetting that /teleport to another dimension is not possible, use the dimension argument in /execute to change dimensions first.
Notes
In Java Edition, cross-dimension teleporting requires /execute in <dimension> run teleport. The facing keyword allows orienting the entity after teleporting.
Related Commands
If /teleport is part of your toolkit, the commands below are the ones you will most often reach for alongside it: /tp, /spreadplayers, and /spawnpoint. They cover closely related tasks, so the links above jump straight to each one.
Frequently Asked Questions about /teleport
What does the /teleport command do in Minecraft?
Teleports entities to a location, another entity, or adjusts their rotation. Full form of /tp with extended facing options. It belongs to the player command group and was added in Java Edition 1.13.
What is the correct syntax for /teleport?
/teleport [
What permission level does /teleport 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 /teleport?
Using both rotation and facing in the same command, only one can be used.
Can you give an example of /teleport in use?
Yes. /teleport @e[type=villager] ~ ~5 ~ — teleports all villagers 5 blocks upward.
Can /teleport move a player to another dimension?
Not on its own. Wrap it in execute, e.g. /execute in minecraft:the_nether run teleport @s ~ ~ ~, to change dimension and position together.
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting