How to Make an Iron Farm in Minecraft: Easy Java Tutorial
You're halfway through a beacon build and the chest holds three iron ingots. Hand mining gets old fast. You dig through caves, dodge creepers and still com

You're halfway through a beacon build and the chest holds three iron ingots. Hand mining gets old fast. You dig through caves, dodge creepers and still come back short.
The good news is that you can solve this with an iron farm. Learn how to make an iron farm in Minecraft and you’ll have a steady supply of iron while you focus on building and other projects.
The idea is simple. A zombie scares three villagers, which can trigger iron golem spawning when the required conditions are met. Your build drops each golem into lava which kills it. Hoppers then carry the iron and poppies to a chest.
This guide covers Java Edition. Bedrock uses different golem spawning rules so don't copy this design there. The farm keeps working while you're away as long as its chunks stay loaded. You'll also find fixes for when the golems stop spawning.
How to Make an Iron Farm in Minecraft: How It Works

Learning how to make an iron farm in Minecraft starts with one idea: an iron golem farm makes villagers spawn golems on purpose. In Java Edition, three panicking villagers can summon one. Water then carries the golem into lava, which kills it, and hoppers collect the iron and poppies it drops.
Most Java farms use panic. A zombie standing within 6 blocks scares the villagers and it never needs to reach them. The farm then keeps working as long as the villagers have slept in the last 20 minutes and its chunks stay loaded. Gossip is the other way to trigger a golem. It needs more villagers and more work from you.
Method | Villagers needed | What triggers it |
Panic | 3 | A zombie scares them |
Gossip | 5, with at least one gossiping | You trade with or cure a villager |
A zombie works on its own, while gossip needs you to keep trading or curing villagers. That is why panic suits a farm better. The golem appears on a solid block within about 8 blocks of the villagers.
Bedrock follows different spawn rules, so check the differences between Java and Bedrock before you copy this build there.
Java Iron Golem Spawning Rules
Panic or gossip starts the process but the game still runs a few checks. If one of them fails no golem appears.
Sleep: the villagers have slept in the last 20 minutes.
Distance: all villagers stay within 10 blocks of each other.
No other golem: none has been within 16 blocks in the last 30 seconds.
Spawn spot: a solid block with air or water above it sits within about 8 blocks of the villagers.
The third check explains why water matters. A golem left standing on your platform blocks the next spawn. Move each golem out fast.
Villagers don't need a job to spawn iron golems. Also, make sure the spawning platform is clear because buttons, pressure plates and other blocks that interrupt the spawning space can prevent a golem from spawning.
Where Iron Golems Can Spawn Around Your Farm?
Golems spawn on a solid block within about 8 blocks of the villagers, so this is the first thing to understand before you learn how to make an iron farm in Minecraft.
Picture an invisible ball around the villager cell. Any solid block with open air or water above it inside that ball can become a spawn spot.
That is why your platform should cover the ball. The spawning area extends about eight blocks in each direction, giving you a space roughly 17 blocks wide.
A smaller platform can limit where golems spawn, which may reduce the farm's iron output. Watch the ground and ledges nearby too.
A golem that spawns there never reaches your kill chamber, so you get no iron from it. Build high or cover those spots with buttons or other non solid blocks.
What You Need for a Java Iron Farm?
These counts fit the layout in this guide. Adjust them if you change the size.
Mobs and sleeping
3 villagers. They summon the golems. Take them from a nearby village.
1 zombie. It scares the villagers. Wait for one to spawn near you at night or find one in a dark area.
3 beds. The villagers need to sleep. Each bed takes 3 wool and 3 planks, so you need 9 wool and 9 planks.
1 name tag. It stops the zombie from despawning. Find one in loot chests or by fishing, then rename it to an anvil. No name tag? Keep the zombie in a boat or minecart instead.
Building blocks
About 550 to 600 solid blocks, roughly 9 to 10 stacks. Cobblestone works well. Short on blocks? A smaller platform still works but fewer spawn spots lower your output.
About 9 glass blocks for the wall between the cells. Glass lets the villagers see the zombie.
A stack of torches. Light the area so mobs do not spawn near the farm.
Water, lava and collection
1 water bucket. You reuse it for every water source.
1 lava bucket for the kill chamber.
4 hoppers, plus 1 chest for each hopper you craft.
1 more chest to collect the iron.
4 signs or open fence gates to hold the lava in place.
For moving the mobs
Boats or minecarts.
Count your iron before you start. Each hopper costs 5 ingots and each bucket costs 3 so 4 hoppers and 2 buckets need about 26 ingots.
If you are short, mine it at the best ore levels first. No lava yet? Build an infinite lava source and fill your bucket there.
Iron Farm Layout and Dimensions
Read this table before you place a single block. The build steps below use these sizes.
Part | Size and position |
Villager cell | 3 x 3 inside, 3 blocks high, with 3 beds along one wall |
Zombie cell | 1 x 3 inside, 3 blocks high, next to the villagers with a glass wall between |
Whole pod | 7 x 5 outside, fully roofed |
Platform | 17 x 17 blocks, centered under the villager cell |
Collection hole | 2 x 2 blocks in the middle of the platform |
Rim | 2 blocks high on the outer edge of the platform |
Height above ground | 10 to 12 blocks |
Zombie distance | Within 6 blocks of the villagers |
Villager distance | All three within 10 blocks of each other |
Collection | Water channels lead to the hole, then to a lava blade and hoppers |
The 17 x 17 size comes from the spawn range. Golems spawn within about 8 blocks of the villagers. Eight blocks in each direction, plus the middle block, makes 17.
The pod size adds up like this. The villager cell is 3 blocks wide, the zombie cell is 1 block wide, and the glass wall between them is 1 block wide.
Outer walls add 2 more so the pod is 7 blocks wide. The depth is 3 blocks plus 2 walls, which makes 5. A smaller platform still works. It just gives golems fewer places to spawn.
Step-by-Step: How to Make an Iron Farm in Minecraft
This section shows how to make an iron farm in Minecraft Java Edition step by step, from setting up the villagers and zombie to creating the spawn platform kill chamber and item collection system.
Step 1: Pick a High, Empty Spot

Build away from any village. A village's own golems can block new spawns in your farm. Golems spawn on solid blocks within about 8 blocks of the villagers. Any ground or ledge in that range becomes a rival spawn spot. A golem that spawns there never reaches your kill chamber.
Start about 10 to 12 blocks above the ground. That keeps natural terrain well outside the 8 block range. Remove or cover any nearby ledges and rooftops. Picking the right spot is the first real step in how to make an iron farm in Minecraft that keeps spawning golems.
Step 2: Lay the Platform

The platform is the base of how to make an iron farm in Minecraft, so build it before anything else. Build a solid platform that is 17 x 17 blocks.
Cut a 2 x 2 hole as close to the middle as you can. A 2 x 2 hole cannot sit in the exact center of an odd width, so it will be half a block off. That is fine.
Leave open air above the platform. A golem needs a solid block with air or water above it. Keep buttons, pressure plates, and other non solid blocks off the surface, because they can stop a spawn there. Testing in a creative world? The fill command builds the platform in seconds.
Step 3: Add the Rim

Build a rim 2 blocks high around the outer edge of the platform. It stops golems from walking off the edge and it holds the water sources you add in the next step. A golem that wanders off the platform can block the next spawn so keep the rim solid with no gaps.
Make the rim 1 block wide and build it on the outer ring only. Every block you cover is one less spawn spot, so a wider rim lowers your iron output.
Step 4: Build the Kill Chamber

Dig a shaft under the hole. Make it 2 x 2 to match the hole. Place 4 hoppers on the floor of the shaft, so drops cannot miss. Point them toward one chest.
Next, set up the lava blade. Place signs or open fence gates inside the shaft and put the lava on top of them. Hold off on the lava for now. You will place it last after the water test.
Step 5: Add the Water

A water source flows 7 blocks. The distance from the edge to the hole is about 8 blocks. So place one source at the rim of each channel and a second halfway along.
Water above a solid block still counts as a spawn spot, so channels do not waste your platform. Make sure every part of the platform has a path to the hole.
A golem left standing on a dry patch blocks the next spawn. Test the flow before you move on. Keep water out of the lava, and watch the edge of the hole closely.
Step 6: Build the Villager Cell

Raise the cell on four pillars so its floor sits 4 blocks above the platform. Keep the space under it open. Make the inside 3 x 3 and 3 blocks high. Place the 3 beds along one wall.
The beds fill two rows, which leaves one row of floor where the villagers can stand. Use solid walls and a roof. Make one wall of glass on the zombie side.
Step 7: Build the Zombie Cell

Build a cell 1 x 3 inside and 3 blocks high next to the villagers. Put a glass wall between them. The villagers can see the zombie but it cannot reach them.
Keep the zombie within 6 blocks of the villagers. Cover the whole cell, because sunlight burns zombies. Use the name tag on the zombie or keep it in a boat or minecart, so it does not despawn.
Step 8: Move In the Villagers and the Zombie

Move the villagers with a boat or a minecart. Put the zombie in its cell last. Check these before you leave:
All three villagers are alive and each has a bed.
The villagers can see the zombie, and it cannot reach them.
The zombie cell has a roof.
Water flows to the hole from every side.
Step 9: Place the Lava and Test

Place the lava now, on top of the signs or fence gates. Then wait for night. Villagers sleep, and the first golem can appear after they wake. Check the platform at night and again after sunrise. A golem should drop through the hole and land in the chest as iron and poppies.
Testing is the last part of how to make an iron farm in Minecraft, so give the farm a full night before you judge it. Stay nearby, because the farm runs only while its chunks are loaded. If nothing appears after a full night, use the fixes below.
How Much Iron Does a Minecraft Iron Farm Produce?
A typical Java Edition iron farm can produce roughly 240 to 400 iron ingots per hour depending on its design and how efficiently it handles spawning and collection.
The theoretical maximum is about 404 iron ingots per hour. This is based on an average spawn attempt every 35 seconds, but not every attempt successfully produces a golem.
If you're learning how to make an iron farm in Minecraft for long term resource production, even a few hundred iron ingots per hour can make a big difference.
The 35 second figure is an average, not a timer that guarantees one golem every 35 seconds. For example at an average rate of 300 iron ingots per hour:
30 minutes produces about 150 iron ingots.
150 iron ingots are enough for six complete iron armor sets, with six ingots left over.
One hour produces about 300 iron ingots.
Your actual output may be lower if golems spawn outside the intended area, take too long to reach the kill chamber or the farm is not kept loaded continuously.
How to Make Your Iron Farm More Efficient
Once your Minecraft iron farm is working, focus on preventing failed spawns and keeping the villagers and golems under control. Small problems around the farm can reduce its output or stop production completely.
Keep the Spawn Area Controlled
The game searches for valid iron golem spawn locations around the village center. If other suitable surfaces are available nearby, a golem may spawn outside your intended collection area.
Keep nearby rooftops, platforms, ledges, and ground areas from becoming competing spawn locations. This helps direct spawns toward your main platform.
Keep the Villagers Together
All three villagers need to stay close enough to satisfy the farm's spawning conditions. If a villager moves too far from the others or leaves the cell, the farm may stop producing golems. Keep the villager cell compact and secure it so the villagers cannot wander away.
Make Sure the Villagers Can Sleep
Villagers need to be able to use their beds for the farm to work properly. If the farm suddenly stops producing golemsf check the beds first. Make sure they are still in the right position and the villagers can reach them without anything blocking the way.
Remove Golems Quickly
A nearby iron golem can prevent another golem from spawning. This makes the water channels and kill chamber important parts of the farm.
Move each spawned golem away from the spawning area as quickly as possible and send it into the kill chamber. Faster removal helps the farm continue producing golems consistently.
Keep the Farm Loaded
The farm only works while its relevant chunks are active. You do not need to stand directly beside the villagers but the farm must remain within the game's active simulation area.
If you travel too far away and the farm is no longer being simulated, iron golems will stop spawning until you return or otherwise keep the area active.
Why Is My Iron Farm Not Spawning Golems?
If your Minecraft iron farm is not working, check the requirements below in order. Most problems come from villagers losing their beds, the zombie disappearing, an iron golem remaining near the farm or the spawning platform being positioned incorrectly.
1. The Villagers Have Not Slept
Villagers need to have slept recently for the iron farm to keep working. If the farm stops producing golems, check the beds first. Make sure each villager can use its bed and that the beds are still linked correctly. If you moved the villagers or changed the beds, give them a little time to settle into the new setup.
2. The Zombie Is Missing
A zombie that burns in sunlight or despawns can stop a panic based iron farm from working. Check the zombie cell and make sure the zombie is still present. A name tag can prevent the zombie from despawning, while a solid roof protects it from sunlight.
3. The Villagers Are Too Far Apart
Keep all three villagers in the same compact cell. If one villager moves too far away or the villagers become separated, the farm may no longer meet the conditions required for iron golem spawning.
4. A Golem Is Still Nearby
Look around the farm for an iron golem that became trapped outside the kill chamber. A nearby golem can prevent another golem from spawning. Check behind walls, underneath the platform, and around nearby areas where a golem could become stuck.
5. The Spawn Platform Is Misaligned
A 17 × 17 platform is not enough by itself. Its position must also line up correctly with the village center.
If you moved, replaced, or changed the beds, the village center may have changed. This can cause the intended spawning area to shift away from your platform.
6. The Spawn Surface Is Blocked
Check the spawning platform for carpets, buttons, pressure plates, or other blocks that can prevent valid spawning.
The game needs a suitable solid surface with enough clear space above it for an iron golem to spawn. Remove anything that blocks the required spawning area.
7. Water Is Not Moving the Golems
A golem that remains on or near the spawning platform can interfere with future spawns.
Check each water channel and make sure the flow reaches the collection opening. Look for misplaced water sources or gaps that allow golems to become trapped.
8. The Farm Is Outside Simulation Range
If the farm works while you are nearby but stops when you walk away, check your simulation distance.
The farm needs to remain within the active simulation area for villagers and iron golem spawning to continue. Move closer to the farm and test it again if production stops after you travel away.
What Can You Do With All That Iron?
Once your iron farm is running, you can stop worrying about running out of iron during large builds. A steady supply is useful for both everyday crafting and larger automated projects.
Use the iron ingots for:
Iron tools and armor
Hoppers
Rails and minecarts
Anvils
Buckets
Shields
Pistons
Other redstone builds
An automatic iron supply becomes especially useful as your world grows. Large storage systems, farms, rail networks and redstone projects can use hundreds of iron ingots making a Minecraft iron farm one of the most useful resource farms to build early.
Conclusion
Now you know how to make an iron farm in Minecraft Java Edition with three villagers a zombie, a spawning platform, water channels and a lava kill chamber.
If the farm is not working, check the villagers' beds, the zombie, the spawning platform nearby golems and your simulation range. Most problems come from one of these parts.
Once everything is set up correctly, the farm gives you a steady supply of iron without constant mining. You can then use that iron for hoppers, rails, tools, armor and larger builds. If you also need a steady source of experience, check out our XP farm guide.
FAQ
How many villagers do I need for an iron farm in Minecraft Java?
If you're learning how to make an iron farm in Minecraft Java, this guide uses three villagers and one zombie. Three villagers are enough for the panic based setup used here.
How much iron does an iron farm give per hour?
A typical Java iron farm can produce roughly 240 to 400 iron ingots per hour. Actual output depends on the farm design and how consistently it stays active.
Does an iron farm only work at night?
No. The farm can work during the day as long as the villagers have slept recently and the other spawning conditions are met.
Does an iron farm need a zombie?
Not always. Java Edition also supports iron golem spawning through villager gossip. However, this guide uses a zombie because it provides a simple way to trigger the required conditions with three villagers.
Will this iron farm work in Bedrock Edition?
No. This design is for Java Edition. Bedrock uses different iron golem spawning rules and requires a different farm design including at least 20 beds and 10 villagers.