Teleport by a Relative Offset
Nudge yourself a set number of blocks from where you stand
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Moves you relative to your current position using tilde (~) notation instead of absolute coordinates. Here ~5 shifts 5 blocks east, ~ keeps your height, and ~-3 moves 3 blocks north. Leaving a tilde bare means 'no change' on that axis, so you can shift along one direction only.
/tp @s ~5 ~ ~-3- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Edit the offsets after each ~ (positive or negative) for the shift you want.
- Press Enter — you jump the specified distance from your current spot.
Related commands
Teleport to the Center of a Block
Land dead-center on a block instead of at its corner
Teleport to Coordinates
Instantly move to a specific X Y Z location
Teleport to Another Player
Instantly move to where another player is standing
Set Your Spawn Point
Set where you respawn after dying to your current location
Set the World Spawn
Change where new players and players with no bed spawn
Teleport All Players to You
Pull every player in the world to your location instantly