Minepax Chest LogoMinepax.com
Back to Blog

How to link Nether portals without missing your destination

Minepax TeamAugust 31, 2026
How to link Nether portals without missing your destination

Overworld to Nether: divide X and Z by 8. Nether to Overworld: multiply by 8. Y stays the same. That's the whole calculation. What actually wrecks the link is something else, and it's coming up next.

The math, with real numbers

Portal in the Overworld at X=800, Y=64, Z=-400. Divide X and Z by 8:

| Axis | Overworld | Nether | |---|---|---| | X | 800 | 100 | | Y | 64 | 64 (unchanged) | | Z | -400 | -50 |

To go back, multiply by 8: Nether (100, 64, -50) becomes Overworld (800, 64, -400) again. Command to teleport straight to the calculated spot:

/tp @s 100 64 -50

Why the portal links to the wrong place even when the math is right

Here's what actually causes 90% of broken portal links, and it isn't a math error: the game doesn't travel to the exact coordinate you calculated. It searches for an existing portal within a search radius — 128 blocks in the Overworld, 16 blocks in the Nether — from the converted point. Find nothing, and it generates a brand-new portal right there, even if the "correct" portal sits 20 blocks away, just outside that radius.

That's the classic ghost portal: you walk through expecting to land at your base and instead pop out at a new portal in the middle of nowhere that the game just built. Now there are two, disconnected.

How to avoid it

  1. Calculate the exact destination (table above, or the Nether calculator linked at the end).
  2. Walk or fly there yourself. Don't let the game generate the portal automatically by walking through from some random spot.
  3. If a wrong portal already exists within that 128/16-block radius of your calculated point, break it before building the new one. Otherwise the game keeps preferring the old portal over the one you just built.
  4. Build the portal by hand at the exact coordinates and light it.

Y factors into that choice too: when two portals fall inside the horizontal radius, the game picks whichever has the closer Y to the origin portal. In a hub with portals stacked vertically, that's what decides which one you land in, so it's worth keeping them all at the same height instead of relying on luck.

Where not to build

  • Y=128: the Nether roof, solid bedrock above it. If your converted height lands above 128, there's nowhere for the portal to go. Build on a roof highway underneath it instead.
  • Y≈31: Nether lava lake level. Common enough to be worth checking before you dig blind.
  • Y≈15: the range where ancient debris turns up most often. Doesn't affect the portal, but if you're already digging around there, go slow.

Common questions

I did the math right and still landed in the wrong portal. Why? Almost always the search radius (128/16), not the arithmetic. An old portal existed inside that radius and the game preferred it.

I always forget whether to divide or multiply by 8. The Nether is 8 times smaller in distance: walking 1 block there covers 8 in the Overworld. So going from Overworld to Nether, you shrink the coordinate: divide. The other direction, multiply.

Does the Y coordinate need converting too? No. Y matches between the two worlds; only X and Z change scale.

Can I have two separate portals less than 128 blocks apart in the Overworld? You can, but it's risky: they compete for the same search radius in the Nether and the game can link the wrong one. If you're building a hub, leave at least 130 blocks between different entrances, or manage which portal exists at any given time by hand.

If doing both divisions in your head every time gets old, the Nether calculator converts both directions and flags when the calculated height falls above the roof.