Gaming

How to Build an Iron Farm in Minecraft

How to Build an Iron Farm in Minecraft
Table of contents
  1. Key Takeaways
  2. How an Iron Farm in Minecraft Works
  3. Materials for an Easy Iron Farm in Minecraft
  4. How to Build an Iron Farm in Minecraft, Step by Step (Java Edition)
  5. Step 1: Pick the Right Spot
  6. Step 2: Dig the Kill Pit and Place the Hoppers
  7. Step 3: Build the Lava Blade
  8. Step 4: Build the Spawn Platform
  9. Step 5: Add the Villager Cells and Beds
  10. Step 6: Trap the Zombie
  11. Step 7: Start the Iron Farm
  12. Iron Farm on Bedrock: What Changes
  13. Iron Farm Not Working? Common Fixes
  14. How Much Iron Does an Iron Farm Make?
  15. Frequently Asked Questions
  16. How many villagers do you need for an iron farm?
  17. Why is my iron farm not spawning golems?
  18. How much iron does an iron golem drop?
  19. Do villagers need jobs for an iron farm?
  20. Does an iron farm work when you’re far away?
  21. Can you build an iron farm without a zombie?
  22. Your Next Step

To build an iron farm in Minecraft, you trap three villagers next to their beds, let them see a zombie they can’t reach, and give the iron golems they summon a small floor that funnels into a lava kill chamber. Every golem drops 3 to 5 iron ingots, and a simple Java Edition iron farm can repeat that as often as every 35 seconds or so while you’re nearby.

This is the first iron farm I build in almost every survival world, usually the same day I find a village. Below you’ll get the materials list, a block-by-block build, the different rules for Bedrock, and the fixes for the problems that stop most farms.

Key Takeaways

  • On Java, 3 villagers that slept recently plus a visible zombie is all an iron farm needs.
  • Bedrock works differently: you need at least 10 villagers and 20 beds, and the zombie trick doesn’t apply.
  • Each iron golem drops 3 to 5 iron ingots (about 4 on average) and up to 2 poppies.
  • Name-tag the zombie. If it despawns, your iron farm quietly stops working.
  • Most broken iron farms come down to villagers not sleeping or golems spawning on a surface you didn’t plan for.

How an Iron Farm in Minecraft Works

Iron golems are the village’s bodyguards. On Java Edition, villagers summon one when they gossip in a group of five or when three of them panic together because they see a hostile mob like a zombie. Panic is the method every beginner iron farm uses, because a trapped zombie keeps the villagers scared around the clock and you only need three villagers instead of five.

According to the Minecraft Wiki’s iron golem farming tutorial, a summon only happens when all of these are true:

  • The villagers have slept in the last 20 minutes of real time (one full in-game day).
  • All three are within 10 blocks of each other.
  • None of them has seen an iron golem within 16 blocks in the last 30 seconds.
  • There’s a solid block with open air above it where the golem can appear.

When a golem dies it drops 3 to 5 iron ingots and 0 to 2 poppies, per the Minecraft Wiki’s iron golem page. That third rule above is why fast kill chambers matter. A golem that wanders around for a minute blocks the next spawn, so the whole design is built to get it out of sight and dead quickly. Villagers don’t need jobs, either. Unemployed villagers summon golems just fine.

Materials for an Easy Iron Farm in Minecraft

This is the shopping list for the 3-villager Java design below. Most of it is cheap. The only items that take real effort are the villagers and the zombie.

ItemAmountNotes
Villagers3Any profession, or none. Move them by boat or minecart.
Beds3One per villager, placed right beside each cell.
Zombie1Lure it into a boat at night.
Name tag and anvil1 eachStops the zombie from despawning.
GlassAbout 40 blocksVillager cells, zombie cell, and platform walls.
Solid building blocks2 to 3 stacksCobblestone or stone works well.
Water buckets2Pushes golems off the spawn platform.
Lava bucket1The kill blade.
Signs4Hold the lava up off the floor.
Hoppers4Each one costs 5 iron ingots.
Chest1 (or 2 for a double chest)Collects the iron and poppies.

Here’s a small thing I always mention to friends: the 4 hoppers cost 20 iron, which feels painful early on. The iron farm pays that back with its first five golems, so it’s worth scraping the iron together.

Materials for an iron farm in Minecraft: glass, beds, hoppers, chest, water, lava and a zombie

How to Build an Iron Farm in Minecraft, Step by Step (Java Edition)

This layout is a 2-wide Minecraft iron golem farm: a 2 by 8 spawn platform, a 2 by 2 kill pit at the front, and the villager and zombie cells at the back. This iron farm is small enough to finish in one evening and works in any biome. It’s the easiest iron farm in Minecraft I know of for a first build.

Step 1: Pick the Right Spot

Build at least 100 blocks away from any natural village and any beds you don’t want villagers grabbing. If a villager links to a bed somewhere else, it won’t sleep in your farm. Keep the iron farm close to your main base, since it only runs while its chunks are loaded, which means you need to be nearby.

Step 2: Dig the Kill Pit and Place the Hoppers

On flat ground, dig a 2 by 2 hole 4 blocks deep, then dig one more block down under one row of it. Place a double chest in that lower row. Fill the bottom of the pit with the 4 hoppers: the two above the chest point down into it, and the other two point sideways into those (hold Shift and click the hopper or chest you want to feed). The hoppers are the floor the golem will stand on.

Step 3: Build the Lava Blade

On the walls of the pit, place a sign in each of the 4 columns at the second block above the hoppers. Then pour your lava bucket into the space right above the signs, which is the layer just below ground level. The signs stop the lava from falling, so it spreads into a thin sheet at head height. A golem is about 2.7 blocks tall, so its upper body sits in the lava while its drops land safely on the hoppers below.

Make sure every side of that lava layer is walled in with solid blocks. One gap and the lava spills out, and you’ll find it the hard way.

Step 4: Build the Spawn Platform

The 2 by 8 strip of ground directly behind the pit is your spawn platform, so make sure it’s solid and flat. Wall both long sides and the back end with glass, 3 blocks high. Pour a water bucket into each of the two blocks against the back wall. Water flows 7 blocks on flat ground, so it stops exactly at the edge of the pit and never touches the lava, but it still pushes every golem over the edge.

Step 5: Add the Villager Cells and Beds

Raise a small glass shelf 3 blocks above the back of the spawn platform and build three 1 by 1 glass cells on it, side by side. Put a bed directly beside each cell so the villager can reach it and lie down at night. Bring the villagers up by boat or minecart, then break the boat to drop each one into its cell.

Cover the top of every surface you don’t want golems on with glass or bottom slabs. The only open, full-block floor in range should be the spawn platform.

Cutaway of a Minecraft iron golem farm showing the spawn platform, water and the lava kill pit

Step 6: Trap the Zombie

Build a glass cell for the zombie 2 to 3 blocks from the villagers, with a solid block roof (glass won’t stop it burning in daylight). Lure a zombie into a boat at night, row it in, and name-tag it with any name from your anvil. Keep the zombie fully sealed off. If it can reach a villager, you’ll end up with a zombie villager instead of an iron farm.

Step 7: Start the Iron Farm

Wait for night and let the villagers sleep. Once they’ve slept, the clock starts. You should see your first iron golem within a few minutes. It lands in the pit, burns in the lava blade, and drops its iron into the hoppers. After that, just stay within range and empty the chest when you come back.

Iron Farm on Bedrock: What Changes

Bedrock Edition players can’t copy the Java design. On Bedrock, golems spawn around the village center, not because villagers panic. The same Minecraft Wiki tutorial lists the requirements:

  • At least 20 beds and at least 10 villagers, all linked to a bed.
  • At least 75% of the villagers worked at a workstation the previous day.
  • Space for a golem in a 17 by 13 by 17 area around the village center.
  • You stay within simulation distance of the village.

Spawn attempts average one every 35 seconds, and good Bedrock iron farms land somewhere around 240 to 400 ingots per hour. The hard part is keeping the village center from shifting. My advice: cluster the beds tightly in the middle, skip bells entirely, and build the spawn platform 8 blocks out from the furthest bed in every direction.

Iron Farm Not Working? Common Fixes

If 15 minutes pass with no golem, work through this list in order. It covers almost every broken iron farm I’ve helped friends fix.

  • Villagers aren’t sleeping. Check that each bed is within reach and that no other bed nearby is claimed. If constant panic keeps them awake, block the zombie’s view at night with a trapdoor or piston.
  • The zombie despawned or burned. Name-tag it and give it a solid roof.
  • Golems spawn in the wrong place. Look for open grass, cell roofs, or tree tops within about 8 blocks. Cover them with slabs or glass.
  • Villagers are too far apart. All three must be within 10 blocks of each other.
  • A golem is still alive somewhere. A golem stuck on the platform blocks new spawns for 30 seconds every time villagers see it.
  • The lava turned to obsidian. Your water reached it. Move the water sources back one block.

New to villager mechanics in general? Our guide on how to get villagers to breed in Minecraft shows how to grow the population you’ll need for a bigger build.

How Much Iron Does an Iron Farm Make?

A small Java iron farm like this one typically produces a couple hundred ingots per hour. That’s enough for a full set of iron armor (24 ingots) in under 10 minutes of AFK time, and a stack of iron blocks in a single evening. Larger Java iron farm builds with several villager groups push well past that, but for most survival players this size covers rails, hoppers, anvils, and armor with room to spare.

If you’re still in your first week, our Minecraft for beginners guide covers what to do before you start farming at this scale.

Frequently Asked Questions

How many villagers do you need for an iron farm?

On Java Edition, you need at least 3 villagers for a panic-based iron farm, as long as they’ve slept in the last in-game day and stay within 10 blocks of each other. Bedrock Edition is stricter. It needs at least 10 villagers and 20 beds, with most villagers working at their stations each day.

Why is my iron farm not spawning golems?

The most common reason is that the villagers haven’t slept recently, so check that each one can reach its own bed. Other usual causes are a despawned zombie, a golem still alive nearby, villagers spread more than 10 blocks apart, or golems spawning on an open surface outside your platform.

How much iron does an iron golem drop?

An iron golem drops 3 to 5 iron ingots when it dies, which works out to about 4 on average. It also drops 0 to 2 poppies. In a farm, the golem burns in a lava blade and the drops fall onto hoppers that carry them to a chest, so you never have to pick anything up by hand.

Do villagers need jobs for an iron farm?

No. On Java Edition, villagers don’t need a profession or workstation to summon iron golems. They only need to have slept recently and to panic together. Bedrock is different, because at least 75% of the villagers must have worked at a workstation the previous day for golems to spawn.

Does an iron farm work when you’re far away?

No. An iron farm only runs while its chunks are loaded, which normally means you need to be within your render or simulation distance. That’s why it’s smart to build the farm close to your main base, so it keeps producing iron while you work on other projects nearby.

Can you build an iron farm without a zombie?

Yes, but it’s harder on Java. Without a zombie, you’d rely on villager gossip, which needs 5 villagers and player actions like trading. A disarmed pillager also works, but it’s riskier to capture. On Bedrock, you never need a zombie, since golems spawn based on beds and villager count instead.

Your Next Step

Gather your 3 beds, 4 hoppers, and a name tag first, because those are the items that hold most people up. Then find a village, move three villagers by boat, and build the pit before you bring them over. Once your iron farm drops its first golem into the lava, you’ll never strip-mine for iron again. And if you want more Minecraft builds, try installing a few tools with our guide on how to install Minecraft mods on Windows.

Found this guide helpful? Share it on X so others can find it too.

Share on X

Written by Trust Jaguar

Trust Jaguar is an independent editorial team producing researched, practical guides on personal finance, technology, gaming, and everyday processes. Each article is verified against official sources and reviewed regularly to keep it accurate and current.