How To Video Game

Minecraft: How to Turn On Coordinates in Java and Bedrock

A player with a sword faces zombies and skeletons approaching a wooden farmhouse with a fenced wheat field at night in Minecraft

To turn on coordinates in Minecraft Java Edition, press F3 (Fn + F3 on a Mac and most laptops) and read the XYZ line at the top left of the screen; to keep only your coordinates showing, press F3 + F6 and set the player_position entry to Always. In Bedrock Edition, the version on PS5, PS4, Xbox, Switch, Switch 2, phones, tablets and Windows, pause the game, open Settings, and under Game turn on Show Coordinates, and a position box appears at the top left.

Those steps match Mojang’s own help pages and the current versions of Minecraft: Java Edition 26.3 and Bedrock Edition 26.60, released on October 27, 2026. Below are the exact steps for each platform, how to tell which edition you are running on a Windows PC, how to see the coordinates of the block you are looking at, how to read the three numbers and walk to a target, how to share them, how to turn coordinates off, and what to do when a server or Realm hides them.

Coordinates on Every Platform at a Glance

Where you play How to show coordinates Keep them on screen
Java on Windows, Mac or Linux Press F3 (Fn + F3 on a Mac or laptop) F3 + F6, set player_position to Always
Bedrock on Windows Esc, Settings, Game, Show Coordinates Stays on until you turn it off
PS5 and PS4 Options button, Settings, Game, Show Coordinates Stays on until you turn it off
Xbox Series X/S and Xbox One Menu button, Settings, Game, Show Coordinates Stays on until you turn it off
Nintendo Switch and Switch 2 + button, Settings, Game, Show Coordinates Stays on until you turn it off
Phone or tablet Pause icon, Settings, Game, Show Coordinates Stays on until you turn it off
A Realm The owner or an admin turns on Show Coordinates Applies to everyone on the Realm

Java or Bedrock: Which Edition You Are Playing

The method depends on the edition, not the device. Mojang’s guide to the two editions lists Java Edition on Windows, Mac and Linux only, and Bedrock Edition on Windows, Xbox, PlayStation, Nintendo Switch, Android and iOS. So:

  • Mac or Linux: you are on Java, so use F3 (Fn + F3 on most Macs).
  • Any console, phone or tablet: you are on Bedrock, so use the Show Coordinates toggle.
  • A Windows PC: it could be either. Mojang sells Minecraft: Java and Bedrock Edition for PC with both editions included, so many PCs have both in the Minecraft Launcher. If F3 does nothing, check which one you started: F3 is the Java route, and the Bedrock version on Windows uses the Show Coordinates toggle instead.

How to Turn On Coordinates in Minecraft Java

  1. Load a world (or join a server).
  2. Press F3. On a Mac, or a laptop where the function keys control brightness and volume, hold Fn and press F3.
  3. Find the XYZ line near the top left. Mojang’s debug menu guide calls it “essential for tracking in game coordinates.” The Block line right under it gives the coordinates of the block you are standing on, and Chunk shows which chunk you are in.
  4. Press F3 again to close the overlay.

The Facing line shows which compass direction you are looking, which helps when you are walking toward a target coordinate. The same overlay holds the other debug tricks, including the F3 + G shortcut in our guide to seeing chunk borders.

If F3 does nothing on a laptop or Mac, the usual cause is the Fn key. Apple’s function key guide says to hold Fn (or Globe) while pressing a function key, or Control on a keyboard with no Fn key, and on macOS Ventura or later you can make it permanent under System Settings, Keyboard, Keyboard Shortcuts, Function Keys. Many Windows laptops have a similar Fn lock, often on the Esc key. If you would rather change the key itself, Mojang’s 1.21.11 update made the debug keys rebindable: open Options, Controls, Key Binds and scroll to the Debug category. In Java 26.3 the two to change are Toggle Overlay, the key that opens the overlay, and Debug Modifier Key, the F3 you hold for combinations such as F3 + F6, and each can be set separately, so you can give the overlay a key that does not need Fn. If F3 has stopped working on a desktop keyboard, check that category too, in case it was rebound. The same update removed the old F3 + Q shortcut that printed the debug keys in chat, so the Debug category is now where to look them up.

Mojang reworked this overlay in The Copper Age (Java 1.21.9) so it shows less by default, and since then it opens anywhere in the game, not only inside a world.

How to Keep Only Your Coordinates On Screen in Java

The old F3 screen was all or nothing. Since 1.21.9, you can pin your position without the rest of the overlay:

  1. Press F3 + F6 (Fn + F3 + F6 on most laptops) to open the Debug Options screen.
  2. Find the position entry, named player_position.
  3. Set it to Always. Per Mojang’s Copper Age changelog, any entry can be set to stay visible whether or not the overlay is open.

Your choice is saved between sessions. Mojang’s developer note on the change explains that gathering every F3 value each frame had a significant performance cost, which is why the leaner overlay exists.

The same screen has preset profiles: Default resets every entry, and Performance shows simple performance metrics with the FPS meter always visible. Default also puts your position entry back to normal, so set it to Always again afterward if you want it pinned.

If the numbers are too small or too large, Debug Options also sets their size. Mojang’s 26.3 changelog gives the debug overlay its own GUI scale, separate from the rest of the game, with a default of Auto that “tries to stay at a higher resolution than normal,” or Unchanged to match your regular GUI scale.

How to Show Coordinates in Bedrock (PS5, Xbox, Switch, Mobile, Windows)

Bedrock handles coordinates with a world setting, and the menu path is the same everywhere: only the pause button changes. Mojang’s guide to exploring the Overworld puts it in one line: pause, open settings, scroll to the World Options section under Game, and toggle on Show Coordinates. The position box appears at the top left as soon as you close the menu.

PS5 and PS4

  1. Press the Options button to pause.
  2. Select Settings, then Game.
  3. Scroll to World Options and turn on Show Coordinates.

Xbox Series X/S and Xbox One

  1. Press the Menu button to pause.
  2. Select Settings, then Game.
  3. Scroll to World Options and turn on Show Coordinates.

Nintendo Switch and Switch 2

  1. Press + to pause.
  2. Select Settings, then Game.
  3. Scroll to World Options and turn on Show Coordinates.

Phone or tablet

  1. Tap the pause icon.
  2. Tap Settings, then Game.
  3. Scroll to World Options and turn on Show Coordinates.

Windows (Bedrock)

  1. Press Esc to pause.
  2. Select Settings, then Game.
  3. Scroll to World Options and turn on Show Coordinates.

You can do this at any point after you start a world, on a controller or touch screen. Because Show Coordinates is a world option, each world keeps its own setting: turning it on in one world leaves your other worlds as they were.

Before you load a world: select Play, then the pencil icon next to your world, open the Advanced tab of the Edit World screen, and turn on Show Coordinates. When creating a new world, the same toggle sits in the new world settings.

Use the toggle, not the command. The /gamerule showcoordinates true command needs cheats, and Mojang’s achievements help page says achievements are disabled in a world where “you enabled cheats,” so switching cheats back off later does not bring achievements back. The Show Coordinates toggle itself is not a cheat. A Show Days Played option nearby adds an in-game day counter too.

On a Realm, only the owner or an admin can change it. Per Mojang’s Realms help article, either pause inside the Realm, select Settings and turn on Show Coordinates under Game Settings, or start from the Play screen: open the Realms tab, select the Realms Hub of your Realm, open the World tab and go to Slots, choose the world, select Edit World, then Advanced, then Show Coordinates. With it on, Realms Stories can also record where some Realm Events happened.

How to See the Coordinates of the Block You Are Looking At

In Java, the debug overlay has a separate Targeted Block readout that lists the coordinates of the block under your crosshair, along with its name and block states. In the 26.x versions, that entry is called looking_at_block_state, so if it is missing from your overlay, open F3 + F6 and set it to In overlay or Always, the same way as your position.

There is a quicker route when you need the numbers for a command: on Java, start typing a command such as /tp or /fill and press Tab, and the game fills in the coordinates of the block you are looking at. Bedrock has no targeted block readout, so stand on the block and read the position box instead.

How to Turn Coordinates Off

  • Java: press F3 again to close the overlay. If you pinned your position, press F3 + F6 and set player_position back from Always to In overlay or Off.
  • Bedrock (PS5, Xbox, Switch, mobile, Windows): pause, open Settings, then Game, and switch Show Coordinates off. On a Realm, the owner or an admin does it.

How to Read Your Coordinates

Mojang’s help center explains the three numbers:

  • X is your distance east of the world’s center (0, 0). Negative numbers mean west.
  • Z is your distance south of the center. Negative numbers mean north.
  • Y is your height, measured at your feet.

The middle number is height. Both editions list X, then Y, then Z, so a Bedrock position box reading Position: 120, 64, -341 puts you 120 blocks east of center, 341 blocks north of it, and at height 64. The /tp command takes the numbers in the same order.

Java shows more detail. Here is the same spot in the Java 26.3 overlay, with the line formats taken from that version’s game files and the numbers as an example:

  • XYZ: 120.500 / 64.00000 / -340.500 is your exact position.
  • Block: 120 64 -341 is the block you are in, rounded down, which is why -340.500 becomes -341. These are the numbers to write down.
  • Chunk: 7 4 -22 opens the chunk line. A chunk is 16 blocks wide, so block X 120 sits in chunk 7 (120 divided by 16, rounded down).
  • Facing: north (Towards negative Z) is the way you are looking, and it tells you which number changes as you walk.

Y is the one to watch when mining. Our guide to finding diamonds explains which levels to dig at, and the same habit helps when you look for iron. Mojang’s Caves and Cliffs: Part II notes set the Overworld’s 384-block range and put its bedrock floor at -64:

Y What it usually means in the Overworld
About 320 The top of the build limit
About 63 Sea level
About 0 Where stone gives way to deepslate underground
-64 The bottom of the world, the lowest layer of bedrock

The Nether has its own range: its ceiling is a layer of bedrock at about Y 127, so a higher reading there means you are on the roof.

The Nether is also scaled differently: one block there equals eight in the Overworld, so dividing your X and Z by 8 tells you where to build a linked portal, and multiplying by 8 takes you back. A base at X 800, Z -1600 in the Overworld lines up with X 100, Z -200 in the Nether, and Y does not scale at all. Our guide to how much obsidian a Nether portal needs covers the frame itself, and our best Minecraft seeds list gives its Nether fortresses and bastions in these Nether numbers.

Where the day count lives: in Bedrock it is the Show Days Played toggle next to Show Coordinates. In Java, the day count has its own day_count entry in the 26.x versions (it used to sit on the Local Difficulty line), and like your position it can be set to Always in F3 + F6.

How to Walk to a Set of Coordinates

Compare your numbers with your target’s, one axis at a time:

If the target’s number is Walk
Higher X than yours East
Lower X than yours West
Higher Z than yours South
Lower Z than yours North

Say you stand at X 120, Z -340 and a friend’s base is at X 500, Z -100. The target’s X is 380 higher, so you go east. Its Z is higher too (-100 is 240 above -340, because negative numbers rise toward zero), so you also go south. Walk east until your X reads 500, then turn and walk south until your Z reads -100. That route is 620 blocks.

On Java, the Facing line names your direction. On Bedrock, take a few steps and watch which number moves: X rising means east, and Z rising means south. The sun rising in the east helps on any edition.

How to Share Your Coordinates

On Java, press F3 + C once. The key list in Java 26.3 calls it “Copy location as /tp command,” and the game confirms with “Copied location to clipboard,” so you can paste a ready-made teleport command into a message or a note. Press it, do not hold it: the same line warns that holding it for 10 seconds crashes the game. It sits in the Debug key category as Copy Location if you want it on another key.

On Bedrock, type the numbers from your position box into chat, in X, Y, Z order. On any edition, Mojang’s exploring guide says that by writing down the coordinates of every point of interest, “you can never get lost,” and the same numbers find a friend you have lost sight of.

How to Teleport to Coordinates

To jump to a spot, open chat and type /tp followed by the X, Y and Z, in the form /tp 100 70 -200, on Java or Bedrock, including on consoles. Teleporting needs cheats, so read our guide to enabling cheats in an existing world first, and remember the Bedrock achievement rule above.

/locate returns the X, Y and Z of the nearest structure, which is the fastest route to trial chambers or an ancient city in a world with cheats on. Without cheats, write your base and portal coordinates down: they are the only reliable way back after a long trip.

Why Coordinates Can Be Hidden

  • Java servers and Realms can turn on the minecraft:reduced_debug_info game rule (called reducedDebugInfo before 1.21.11). It hides your position, the targeted block and the day count even if you set them to Always, and players cannot override it.
  • Your own Java world is yours to fix. Since 26.3, the World Options button sits in the pause menu, where Open to LAN used to be, and Mojang says its Edit Game Rules screen lets you view and edit the world’s game rules, so you can check that rule there.
  • Bedrock worlds you do not own follow the host’s setting. Ask the host, Realm owner or an admin to turn Show Coordinates on.

Finding Your Way Without Coordinates

When a server or Realm keeps coordinates off, two items still tell you where you are, and Mojang’s exploring guide describes both:

  • A map gives a top-down view of the terrain you have explored and marks your location as a white dot. One map only covers so much ground, so craft another once you reach its edge.
  • A compass always points toward the world spawn point, where you started the world, which makes it the simplest way home after a long trip.

On Java, the Locator Bar added in 1.21.6 also shows the direction of other players, in the same spot as the experience bar. Mojang’s notes say a player can hide from it by crouching, wearing a mob head or a Carved Pumpkin, or using a Potion of Invisibility, and a game rule can switch it off.

If you are sharing a world, coordinates are the simplest way to send friends to your base. Our guide to playing with friends covers getting everyone in, and every other guide is on our Minecraft guides hub.

Frequently Asked Questions

How do I turn on coordinates in Minecraft Java? Press F3 and read the XYZ line at the top left. To keep only your coordinates on screen, press F3 + F6 and set the player_position entry to Always.

How do I turn on coordinates in Minecraft Java on a laptop? Hold Fn and press F3. Most laptops put brightness or volume on the F keys, so F3 alone does nothing. To keep the numbers up, press Fn + F3 + F6 and set the position entry to Always, or rebind the debug key under Options, Controls, Key Binds, Debug.

Why does F3 not show my coordinates? On many laptops and Macs you need Fn + F3. On a Windows PC, you may have started the Bedrock version, which uses the Show Coordinates toggle in Settings instead of F3. If the overlay opens but your position is missing, the server may use the reduced debug info game rule, or the key may have been rebound under Controls, Key Binds, Debug.

How do I show coordinates on PS5, PS4, Xbox or Switch? Those consoles run Bedrock Edition, so pause, open Settings, then Game, and turn on Show Coordinates in the World Options section. It works on a controller at any point after you start a world.

Does turning on coordinates disable achievements in Bedrock? The Show Coordinates toggle does not. The /gamerule command route does, because it requires cheats.

How do I turn coordinates off on PS5? Pause, open Settings, then Game, and switch Show Coordinates off. On a Realm, only the owner or an admin can change it.

Can I see coordinates without the whole F3 screen in Java? Yes. Press F3 + F6 and set the position entry to Always, and only your coordinates stay on screen.

Where do I see the day count in Minecraft Java? On the debug overlay. It is its own day_count entry in 26.x, which you can set to Always in F3 + F6. In Bedrock, turn on Show Days Played.

How do I turn on coordinates on a Realm? The Realm owner or an admin turns on Show Coordinates, either from Settings inside the Realm or from Edit World, then Advanced, in the Realms Hub.

Do I have to turn on coordinates in every Bedrock world? Yes. Show Coordinates is a world option, so each world keeps its own setting, and a new world can have it switched on in its creation settings.

Which way is north in Minecraft? Toward negative Z. If your Z number falls as you walk, you are heading north, and if it rises, south. X works the same way: rising is east and falling is west. On Java, the Facing line spells it out, such as north (Towards negative Z).

Which Minecraft coordinate is height? Y, the middle number. Both editions show X, then Y, then Z, and the /tp command takes them in the same order.

How do I copy my coordinates in Minecraft Java? Press F3 + C once to copy a /tp command with your location to the clipboard. Do not hold it, because holding it for 10 seconds crashes the game.

More Minecraft