Gold Farms and Piglin Bartering: Where to Build Them
JavaA gold farm is the best trade in Minecraft: zombified piglins give you gold and XP, and piglins turn that gold into ender pearls, obsidian and Soul Speed. The catch is the biome. Build over the wrong one and you get hoglins instead of gold. We went looking for clean nether wastes on 50 seeds, and it's closer than you'd think.
Updated · 6 min read · Java up to 26.3

The loop: gold in, everything else out
Zombified piglins drop gold nuggets and rotten flesh, now and then a gold ingot or a golden sword, and a good chunk of XP when you get the kill. A farm that kills hundreds an hour gives you more gold than you can use and enough XP to keep a full set of Mending gear repaired forever.
Then you spend the gold. Piglins trade for gold ingots, and what they give back is the reason this whole thing is worth building:
- Ender pearls and string, the speedrunner classics.
- Obsidian and crying obsidian. Crying obsidian is how you make a respawn anchor.
- Fire Resistance potions, splash and normal.
- Soul Speed books and iron boots with Soul Speed on them. You can't get Soul Speed from an enchanting table.
- Quartz, leather, iron nuggets, spectral arrows, nether bricks and a pile of junk blocks like gravel, soul sand and blackstone.
That's the loop. Gold farm feeds a barter station, barter station gives you pearls and fire res, and you never have to grind an enderman again.
Bartering in two minutes
Hold a gold ingot and use it on an adult piglin, or just throw the ingot at its feet. It picks it up, looks at it for a few seconds, then tosses you something from the barter list. Baby piglins grab gold too, but they don't trade, they just keep it.
Wear at least one piece of gold armour, otherwise piglins attack on sight. And don't mine gold blocks or open chests near them, that makes them hostile even if you're dressed in gold. Our bastion guide has more on keeping piglins calm while you loot.
Three ways to build a gold farm
Nether roof farm. The big one. You build spawning floors above the bedrock ceiling at Y 128, out over nether wastes, and kill everything that spawns. Zombified piglins follow the biome underneath, so the roof over wastes is a zombified piglin factory. It's also the most XP per hour. Getting onto the roof needs one of the well-known tricks on Java (ender pearls or boats against the bedrock), and some servers don't allow it, so check first.
Turtle egg lure. Zombified piglins, like every zombie type, want to trample turtle eggs. Put an egg behind glass at the kill spot and they walk to it on their own. A lot of designs combine this with the roof farm or with an in-Nether platform over wastes.
Overworld portal farm. Nether portals in the Overworld occasionally spawn zombified piglins on their frames, more often on higher difficulties. Stack enough portal blocks and you have a slow but steady farm anywhere you want, no roof access needed. Fewer drops than a roof farm, but it works on servers that ban roof access.
For the first two, everything depends on the biome. That's the part you can plan from the seed.
How far is clean nether wastes?
A farm needs a decent block of pure wastes under it. Crimson forest spawns hoglins and piglins that clog the mob cap, soul sand valley gives you skeletons and ghasts, basalt deltas gives magma cubes. So we went looking for a 128 × 128 block patch that is at least 97% nether wastes, as close as possible to the spawn portal.
On 50 seeds in Java 26.3, every single seed had one within 368 blocks of the spawn portal's Nether position. The median was 118 blocks, and 42 of the 50 had one within 200. You don't need to travel far. You need to look before you build, because the wrong side of the portal can be a delta.
| Seed | Patch centre (Nether) | From the portal | Overworld |
|---|---|---|---|
| 0 | −16, −28 | 30 | −128, −224 |
| 123456789 | −24, 12 | 37 | −192, 96 |
| chunkscout | 0, −48 | 48 | 0, −384 |
| 8675309123456789 | 128, −60 | 141 | 1,024, −480 |
| −1234567890123 | −160, 0 | 158 | −1,280, 0 |
Seed 8675309123456789 drops you into basalt deltas and −1234567890123 into warped forest, so on those two you'd walk about 150 blocks first. On seed 0 the patch starts practically at the portal.

Finding your spot
- Open the biome finder, enter your seed and version and switch to the Nether.
- Choose Nether Wastes under Highlight biome. Everything else goes dim.
- Look for a big solid patch near your portal. Hover it for Nether coordinates. Bigger is better: the farm's spawning floors spread out a long way from where you stand.
- Want a portal right next to the farm? Multiply the patch centre by 8, or type it into the Nether portal calculator, and build the Overworld portal there.

Bastions are worth checking at the same time. The piglins you barter with are easiest to grab from a bastion, and the bastion remnant finder shows every one with its biome. On seed 0 the nearest bastion is in wastes at 176, −224, a short ride from the farm spot.
Bedrock players
Bedrock's Nether biomes aren't modelled on our map yet, so the biome finder can't show you where wastes are in a Bedrock Nether. You'll have to scout it in game. The farm ideas still work, but roof access on Bedrock is much harder, so most Bedrock players build the portal farm or an in-Nether platform instead. Bartering works the same way.
Questions
What biome do I build a gold farm in?
Nether wastes. Zombified piglins are the main spawn there. Crimson forest mixes in hoglins and piglins, which take up the mob cap and slow the farm down.
How far is the nearest nether wastes patch from spawn?
Close. On 50 Java 26.3 seeds, a 128 × 128 block patch of pure wastes sat a median 118 Nether blocks from the spawn portal, and never more than 368.
Do baby piglins barter?
No. They'll grab gold and run, but only adult piglins give you something back.
Can I get Soul Speed from an enchanting table?
No. It comes from piglin bartering (books and iron boots) and from bastion chests.
Do I need the Nether roof for a gold farm?
No. Roof farms are the strongest, but a portal farm in the Overworld or a platform over wastes inside the Nether both work where roof access isn't allowed.
Related guides
Finders and tools in this guide
Written by the Minecraft Tools team from the same world-generation engine that runs the seed map. Coordinates quoted here were computed with it for the stated seed, edition and version, and the engine is tested against the real game.