# Iron Farm Minecraft Java: Simplest Zombie-Scare Golem Farm

_Published November 12, 2026_

How to build a small iron golem farm in Minecraft Java Edition: three villagers that have slept, a zombie to panic them, a spawn floor and a chute into lava, and what to check when it stops.

On **Java Edition** an iron golem farm does not need a big village at all. Villagers summon golems on their own when a few of them are close together and frightened, so a small pen with three villagers and a zombie is enough. The wiki gives the rules rather than one blueprint, so this guide lists the rules, the smallest design that satisfies them, and how to find out why one is not working. Each golem drops 3 to 5 iron ingots, which pays for your [trading hall](/guides/minecraft-survival-roadmap). If you play Bedrock, the rules are different and bigger: see [the Bedrock iron farm](/guides/iron-farm-bedrock).

## How Java villagers summon golems

A villager can summon a golem when it is **gossiping** or, every 5 seconds, when it is **panicking**, and all of these hold:

1. The villager has **slept in the last 20 minutes**.
2. It has **not seen an iron golem in the last 30 seconds**. A golem counts as seen when it is within 16 blocks, and villagers look once every 10 seconds.
3. It has not been **near another summoning** in the last 30 seconds (within 10 blocks).
4. Enough villagers that meet the first three conditions are **within 10 blocks** of it: **5 or more** when gossiping, **3 or more** when panicking.
5. A **valid spawn spot** exists.

Villagers do not need a profession for any of this. Golems still spawn if the mob spawning game rule is off.

**Panicking is the reliable way.** Villagers panic when they see a mob that is hostile to them, so a zombie does it without you standing there, and it needs only 3 villagers instead of 5. A zombie scares villagers within about 6 blocks. A pillager scares them from about 15 blocks, but it has to be disarmed first (trap it in a boat and sit in the boat until its crossbow breaks).

## What to gather

- **Three villagers**, which can be two bred from a pair, and **three beds** for them.
- **A zombie** and **something to keep it safe**: a boat or minecart, a name tag, or an item or armor for it to hold, so it does not burn in daylight or despawn.
- **Blocks, a water bucket, a lava bucket, a hopper and a chest**.

## The simplest farm

1. **Villagers' pen.** Build a small enclosed room with the three beds and the three villagers in it, no more than 10 blocks across so they are all within 10 blocks of each other. Let them **sleep one night**, because the farm only works for villagers that slept in the last 20 minutes.
2. **The scare.** Put the zombie in a boat or minecart in a cell next to the pen, behind glass or a trapdoor, so the villagers can see it and it cannot reach them. Panic starts as soon as they see it within range.
3. **The spawn floor.** A golem appears on a solid block whose block and two blocks above it are free (not full, not redstone-powered, not rails), within a box 8 blocks sideways and 6 blocks up or down of a villager. Give the pen a flat floor or roof that wide.
4. **A chute.** Every golem has to leave quickly, because a villager that has seen a golem within 16 blocks will not summon another for 30 seconds. Let each new golem fall down a chute onto a **lava blade**, with a **hopper** and a **chest** underneath. A fall also clears the limit, so golems do not pile up.
5. **Wait for night.** Because of the 20-minute sleep rule, most of these farms run at night.

Lava is the usual way to kill the golems: it is faster than magma blocks or skeleton arrows, and it works while you are away.

## What it produces

The wiki has no verified Java rate for villager-summoned golems, so we give none. What it does say: summons are limited by the 30-second "seen a golem" memory, golems drop 3 to 5 ingots, and a chute clears the limit better than anything else does. Run it and count what the chest holds after one night, then add a second pen of three villagers if you need more.

## When it stops working

- **The villagers have not slept** in the last 20 minutes. Check that each has a bed and let them sleep.
- **They are more than 10 blocks apart**, or fewer than 3 are in range. One villager out of range fails the check for the whole group.
- **They saw a golem** within 16 blocks in the last 30 seconds. Move golems out faster.
- **The zombie is gone.** It burned in sunlight or despawned. Check the boat or minecart, or name it.
- **No valid spawn spot.** The target block must be solid underneath and clear above it, so half-slabs, buttons and signs on the floor can get in the way.

## Frequently asked questions

**How many villagers does a Java iron farm need?**

Three villagers if they are panicking, for example from a zombie, or five if they are only gossiping. They must all be within 10 blocks of each other and have slept in the last 20 minutes.

**Does a Java iron farm need 20 beds?**

No. That is a Bedrock rule. On Java each villager only needs to have slept in the last 20 minutes, so a bed per villager is enough.

**Why is panic better than gossip for a Java iron farm?**

Panicking villagers summon every 5 seconds and need only 3 participants. Gossip needs 5 and relies on actions such as trading or curing. A zombie panics villagers without you being there.

**How do I stop the zombie from burning or despawning?**

Keep it in a boat or minecart, use a name tag on it, or give it an item or armor to hold. A zombie scares villagers within about 6 blocks, so it must stay where villagers can see it but it cannot reach them.

**Why does the farm need a chute?**

A villager that has seen a golem within 16 blocks in the last 30 seconds will not summon another one. A chute carries golems away and a fall clears that limit, so the next summon can happen.
