How to Build an Egg Farm in Minecraft
Complete guide to building an automatic egg farm in Minecraft 1.21+. Covers hopper collection, chicken breeding, and compact designs for unlimited eggs.
Chickens lay eggs every 5 to 10 minutes. An egg farm collects these eggs automatically using hoppers, producing a steady supply for baking (cakes, pumpkin pie), breeding more chickens, or selling on economy servers. The simplest version takes under 5 minutes to build and works on every platform.
Why build an egg farm?
- Eggs are a baking ingredient for cakes and pumpkin pie.
- Throwing eggs has a 1/8 chance to spawn a chicken, making them a renewable mob source.
- Combined with a chicken cooker, eggs become a self-sustaining food farm.
- Extremely simple to build, perfect for early-game.
Materials list
| Item | Quantity | Notes |
|---|---|---|
| Chickens | 10 to 20 | More chickens = more eggs, but entity limits apply |
| Hoppers | 4 to 9 | Cover the floor under the chickens |
| Chests | 2 | Double chest for storage |
| Building blocks | ~30 | Walls for the enclosure |
| Carpet or glass | ~10 | Roof to prevent chickens escaping |
| Seeds (any type) | 32+ | For luring and breeding chickens |
| Slabs | varies | Optional: prevent chickens from jumping out |
Step-by-step: Basic egg farm
Step 1: Place the chest and hoppers
Place a double chest. Attach a hopper to the chest (crouch and click on the chest while holding the hopper). Place additional hoppers feeding into the first one to create a 3x3 grid of hoppers, all pointing toward the chest. This is the floor of the chicken pen.
Step 2: Build walls around the hoppers
Place blocks 2 high around the hopper grid to create a pen. Chickens are short (0.7 blocks) and can escape through 1-block gaps if pushed by other chickens, so make sure the walls have no openings.
Step 3: Add a roof
Place carpet, glass, or slabs on top of the walls. Chickens can be pushed upward by entity collision and escape over 2-block walls when crowded. A roof prevents this.
Step 4: Put chickens inside
Lure chickens into the pen using seeds. Hold any seed type (wheat seeds, melon seeds, beetroot seeds, pumpkin seeds) and walk into the pen. Once you have 10 to 20 chickens inside, seal the entrance.
Side view:
[ROOF - carpet/glass]
[WALL] CHICKENS [WALL]
[HOPPER][HOPPER][HOPPER]
[CHEST]
Step 5: Wait and collect
Chickens lay an egg every 5 to 10 minutes (average 7.5 minutes). With 20 chickens, you get roughly 2 to 3 eggs per minute. The eggs fall through the chicken onto the hoppers, which pull them into the chest. No player action needed.
Advanced: Self-sustaining chicken cooker with egg dispenser
For a combined food and egg farm, add a dispenser that throws eggs into a cooking chamber:
Step 1: Build the cooking chamber
Create a 1x1 space with a slab at the bottom (half-block height). Chickens hatched in this space stand on the slab. When they grow to adult size, they suffocate in the slab and die, dropping cooked chicken if killed by fire, or raw chicken otherwise. Place lava above the slab (held by a sign) to cook them instantly.
Step 2: Connect the egg dispenser
Run a hopper from the egg collection chest to a dispenser facing into the cooking chamber. Wire the dispenser to a clock circuit (a simple repeater loop) that fires every few seconds. The dispenser throws eggs into the chamber, hatching new baby chickens.
Step 3: Collect cooked chicken
Place hoppers under the cooking chamber to collect cooked chicken drops. Baby chickens are short enough to stand under the lava. When they grow to adults (20 minutes), they touch the lava and die, dropping cooked chicken.
Side view (chicken cooker):
[DISPENSER] --throws eggs--> [LAVA held by sign]
from egg chest [baby chickens here]
[SLAB]
[HOPPER] > [FOOD CHEST]
How egg laying works
Each chicken has an internal timer. After being loaded in a chunk, the chicken waits 5 to 10 minutes (randomized), then drops one egg. The timer resets and the cycle repeats. This is independent of feeding, breeding, or time of day. Chickens lay eggs in any light level, any biome, and any dimension. The only requirement is that the chunk is loaded and the chicken is alive.
Common mistakes
- Too many chickens. Entity lag kicks in above 50 to 100 chickens in one spot. Servers often have entity caps that kill excess mobs. Keep it under 30 per pen for stability.
- No roof on the pen. Chickens get pushed upward by entity collision and hop over 2-block walls. Always add a roof.
- Hoppers not connected. Each hopper must point into another hopper or into the chest. If placed without crouching, it might not connect properly. Check that items flow by dropping a test item.
- Not enough chickens. With only 2 to 3 chickens, egg production is painfully slow. Start with at least 10 to 15 for decent output.
Frequently asked questions
Do I need to feed the chickens?
No. Chickens lay eggs automatically without being fed. Feeding with seeds triggers breeding (producing baby chickens), which is separate from egg laying.
How many eggs per hour does this produce?
With 20 chickens, expect roughly 120 to 180 eggs per hour. Each chicken drops about 6 to 8 eggs per hour on average.
Can I use this farm for XP?
The basic egg farm provides no XP. The chicken cooker variant gives small amounts of XP from cooking, but it is not a practical XP source. Use it for food and eggs, not experience.
Do chickens lay eggs in the Nether?
Yes. Chickens lay eggs in any dimension. Transport them through a nether portal and they continue laying on schedule.
Need a server that handles all this? Astroworld Hosting, NVMe SSDs, Pterodactyl panel, DDoS protection on every plan.