Tutorials/Iron golem farming

Iron golem farming uses village mechanics to produce iron, as well as byproducts such as poppies and string. Usually, an iron golem farm is a player-constructed village in which golems are spawned and then either killed immediately, or moved to a holding cell outside the village boundary for later killing. Iron golem farming is preferable to other methods of iron farming from zombies and skeletons due to giving a much higher quantity of iron.

Overall spawning requirements
An iron golem needs an available volume in which to spawn. There must be at least 3 transparent blocks (preferably air, not other transparent blocks like glass) above the spawning surface, which must be solid and flat (but not a slab).

Java Edition
In Java Edition, a villager may attempt to spawn an iron golem after "gossiping" to 5 other villagers. The villagers must have access to their workspace and have slept before the golem will spawn, however.

Iron golems can spawn when non-nitwit villagers who have slept in beds gossip five times about needing a golem at a gathering point, and four other villagers are within 80 blocks. Once these conditions are met, an iron golem can spawn in a 16×6×16 area centered on the location of the villager who spread the gossip.

Bedrock Edition
In Bedrock Edition, villagers are not required to sleep or have a workstation in order to spawn iron golems. For an iron golem to spawn, the following conditions must be met: The spawn rate doesn't appear to be affected significantly by increasing the number of beds or villagers.
 * The village has at least 21 beds
 * The village has at least 10 non-nitwit villagers, each of whom has claimed a bed

Village separation
A village by itself has a 64×64 boundary around the village center. For two villages to remain separate without merging, they must have two whole chunks between them that contain zero villages.

Village center
A village needs a minimum of one bed and one villager to exist. Without beds, a bell is insufficient to define a village. A bell can define the center of a village once the village exists.

The center of the village determines the area in which iron golems can spawn. The center of the village can be either the pillow-end of a specific bed, or a bell. A bell placed in a village will be detected by at least one villager (indicated by green particles over the bell and the villager). This detection event will sometimes reset the village center to the bell, but sometimes the center remains on a bed or is reset to an existing bed.

Putting blocks over the pillows of the beds, and then placing the bell, may be more effective in establishing the bell as the village center.

If beds are available (that is, they are unobstructed by blocks) and the villagers have no access to their beds, they will attempt to claim other beds. This will cause the village center to reset. One must either let the villagers sleep in their beds, or place blocks over the pillows of all the claimed beds if the villagers are restricted from reaching their claimed beds.

Spawn volume
An iron golem needs a solid flat surface on which to spawn, with at least three transparent blocks above. Iron golems spawn with their feet occupying a 17×6×17 volume around the village center (although in 1.11 there is a bug that sometimes causes golems to spawn stuck in the ground with its head visible above ground). If a bell is the village center, the golem's feet can spawn within 3 blocks above or below the bottom of the bell. This means the top of the spawning surface can be no higher than 1 block above the top of the bell.

If the village center is 3 or more blocks above ground, iron golems cannot spawn on the ground; a spawning surface is needed within the allowable spawn volume.

Legacy Console Edition
Iron golem farms in Legacy Console Edition (as well as Java and Bedrock before the Village & Pillage update), are based on doors. Iron golems spawn in a 16×6×16 volume centered on the geometric center of at least 21 doors with at least 10 villagers nearby.

Java Edition videos

 * WeirdWilliam's Iron Farm 1.14


 * DocM's Iron Farm

Bedrock Edition videos
Village mechanics describing the mechanisms by which iron golems spawn in villages