🚨 TL;DR — Just Want the Quick Setup?
Already found a dungeon spawner and need the steps fast? Here you go:
- Light up the spawner immediately with torches so nothing kills you while you build
- Expand the room to 9×9 blocks with the spawner centered, 5 blocks tall
- Dig trenches along two opposite walls, 1 block deep
- Place water in the two far corners — it flows and pushes mobs to a center hole
- Dig a drop shaft 22 blocks straight down from that center hole
- Build a killing chamber at the bottom — hoppers into a chest below, slabs on top of hoppers
- Remove all torches from the spawn room — darkness triggers spawning
- Stand within 16 blocks of the spawner to keep it active
- Light up all caves within 128 blocks of your AFK spot — the mob cap is your #1 enemy
- Kill mobs with one hit to get XP — don’t let the farm auto-kill them
Full explanation, troubleshooting, and advanced builds below.
Quick Fact: XP (experience points) in Minecraft power enchanting, anvil repairs, and the Mending enchantment. Without a steady XP source, late-game progression slows to a crawl. A good mob farm doesn’t just give you levels — it gives you bones, arrows, gunpowder, rotten flesh, string, and iron on autopilot while you stand in a safe room doing almost nothing.
Why You Actually Need an XP Farm
Here’s the honest truth about XP in Minecraft: casual play gives you just enough to enchant occasionally, but never enough to do it consistently. Every time you die, your levels are gone. Every time you repair a good tool at an anvil, you spend levels. Every enchantment costs levels you spent an hour earning.
A mob farm solves this permanently. Once it’s built, you have a tap you can turn on whenever you need XP — and it produces loot at the same time. It’s one of the highest-value builds in the entire game relative to the materials it costs.
The good news is that the simplest version — a dungeon spawner farm — costs almost nothing to build. No redstone, no complex mechanics, no rare materials. Just a hole in the ground and a bucket of water.

First, Understand How Mob Spawning Actually Works
Before building anything, you need to know the rules. Ignoring these is why most people’s farms produce nothing.
The Three Critical Numbers
| Distance | What It Means |
|---|---|
| Under 24 blocks | Mobs cannot spawn — too close to the player |
| 24 to 128 blocks | The active spawning zone — this is where your farm should be |
| Over 128 blocks | Mobs despawn instantly — your farm shuts down if you wander too far |
Your AFK spot needs to be at least 24 blocks from the spawning floor, but no more than 128 blocks. For a spawner farm, staying 24–32 blocks from the spawner itself is the sweet spot.

Light Levels — The Spawning On/Off Switch
Hostile mobs need a light level of 0 to spawn in Java Edition. In Bedrock, they spawn at light level 7 or lower. This means:
- Your spawn room must be completely dark — even a single forgotten torch shuts down spawning
- Any dark area within 128 blocks of you competes with your farm for the mob cap
- Lighting up surrounding caves isn’t optional — it’s the difference between a farm that trickles and one that roars
The Mob Cap — The #1 Reason Farms Fail
Minecraft limits how many hostile mobs can exist at once. In Java Edition, the global mob cap for hostile mobs is 70 per player (scaled by loaded chunks). In Bedrock, the cap is 200 globally.
When that cap is full — which happens the moment you’re surrounded by unlit caves — your farm produces zero mobs. The game is busy spawning zombies in the dark ravine 80 blocks below your feet instead of feeding your farm.
The single most common reason a mob farm doesn’t work: Unlit caves within 128 blocks filling the mob cap. Spend 20 minutes lighting every dark space in range and watch your farm transform overnight.
Spawner-Specific Rules
If you’re using a natural dungeon spawner (the best early-game option):
- The spawner activates when you’re within 16 blocks horizontally and 10 blocks vertically
- It keeps a maximum of 4 mobs near the spawner block at one time — get them away fast or it stalls
- Spawners have a 20–40 second cooldown between spawn attempts
- The spawner never runs out — it generates mobs indefinitely as long as conditions are met
Types of XP / Mob Farms — Which One Is Right for You?
Not all mob farms are the same. The right one depends on where you are in the game and what you want out of it.
| Farm Type | Game Stage | Materials Needed | XP Rate | Loot | Complexity |
|---|---|---|---|---|---|
| Spawner Farm | Early-Mid | Basic (wood, water, hoppers) | Good | Bones, arrows, flesh, string | Low |
| Darkroom Tower | Mid | Lots of blocks, no spawner needed | Very Good | Mixed mob drops | Medium |
| Enderman Farm | Late (End) | End-specific materials | Excellent | Ender pearls | High |
| Gold / Piglin Farm | Late (Nether) | Gold blocks, Nether portal | Excellent | Gold, XP | High |
| Raid Farm | Late | Complex, villager setup | Exceptional | Emeralds, totems, XP | Very High |
| Furnace / Smelting Farm | Any | Furnaces, fuel, hoppers | Passive | Smelted resources | Low |
This guide covers the two builds every player should know: the Spawner Farm (best early-game, lowest cost) and the Darkroom Tower (no spawner required, scales forever). The late-game farms are worth a dedicated guide of their own.

Build 1: The Spawner XP Farm (Best Starter Build)
This is the farm that every Minecraft player should build first. It’s cheap, fast, reliable, and doesn’t need a single piece of redstone. The only requirement is finding a natural dungeon spawner — and once you do, you’ll wonder how you ever played without it.
Step 1: Find a Dungeon Spawner
Dungeon spawners are found in small underground rooms made of cobblestone and mossy cobblestone, usually between Y=0 and Y=50. They spawn zombies, skeletons, or spiders.
How to find one:
- Explore caves and ravines — dungeon rooms are often accessible from natural cave systems
- Listen for mob sounds coming through walls while mining — if you hear groaning or rattling in a specific direction but can’t see anything, there’s often a spawner room nearby
- Look for mossy cobblestone in cave walls — it’s almost always a dungeon
- While diamond mining at depth, dig horizontally when you hear unusual mob density nearby
Important: The moment you break into a dungeon room, immediately place torches on the spawner block itself and all over the walls. This stops mobs from spawning while you build. Do this before anything else — entering a dark dungeon room mid-build is chaotic.
Spawner types and what they drop:
| Spawner Type | Key Drops | XP per Kill | Notes |
|---|---|---|---|
| Zombie | Rotten flesh, iron ingots, carrots, potatoes | 5 XP | Most common — great all-rounder |
| Skeleton | Bones, arrows, bows | 5 XP | Arrows are incredibly useful mid-game |
| Spider | String, spider eyes | 5 XP | Harder to funnel — needs modified design |
| Cave Spider | String, spider eyes | 5 XP | Poisonous — only attempt with good armor |
| Blaze | Blaze rods | 10 XP | Found in Nether fortresses — very valuable |
Step 2: Prepare the Spawn Room
With torches placed and mobs stopped, it’s time to build your spawn chamber.
- Expand the room to exactly 9×9 blocks with the spawner block sitting in the center. Dig 4 blocks out from the spawner in every horizontal direction
- Set the height to 5 blocks tall — 2 blocks above the spawner, 2 blocks below the spawner level
- Smooth the floor — make sure the floor is flat and even, one level below the spawner
- Remove chests if they’re in the way, but keep any loot you find first

Step 3: Build the Water Funnel
This is the transport system that moves mobs from the spawn room to the drop shaft.
- Dig a 1-block deep trench along two opposite walls of the 9×9 room (left wall and right wall)
- Dig a center channel connecting the two trenches, leading to a 1×1 hole at the far end of the room
- Place water source blocks in the two far corners of the room — the water flows naturally toward the center hole, pushing every mob that spawns directly into the drop shaft
Water Placement Rule: Water flows a maximum of 8 blocks. For a 9×9 room, place sources at opposite corners and they’ll meet in the middle perfectly, sweeping everything into your funnel. If mobs get stuck, check that your trenches are exactly 1 block deep and the floor is level.
Step 4: Dig the Drop Shaft
From the center hole where your water funnel ends, dig straight down exactly 22 blocks. This is the magic number.
Why 22 blocks? Most mobs (zombies, skeletons, spiders) have 20 HP. A 22-block fall deals exactly 19 HP of fall damage, leaving them with 1 HP. One punch from your fist finishes them — and that final kill by the player is what triggers the XP drop. Let the farm auto-kill them and the XP disappears.
| Drop Height | Mob HP Remaining | Kill Method |
|---|---|---|
| 22 blocks | 1 HP — one fist punch | XP + full loot drops |
| 23-24 blocks | Dead on arrival | Full loot, zero XP |
| 20 blocks | 2–3 HP | One weak sword hit |
| Under 18 blocks | Multiple hits needed | Slower XP gathering |

Step 5: Build the Killing Chamber
At the bottom of your 22-block drop shaft, create your collection and kill area:
- Dig a 2-wide, 2-tall room at the base of the shaft — enough space to stand comfortably
- Place two hoppers side by side on the floor directly under where mobs land, both feeding into a chest underneath
- Place slabs on top of the hoppers — this creates a half-block surface. Mobs land on it with their feet exposed just enough for you to hit, but they can’t move toward you or escape
- Add a chest behind the hoppers to collect all drops automatically
- Optional: Add a second chest and hopper for overflow — skeleton farms fill up fast with arrows and bones
Baby Zombie Problem: Baby zombies are smaller than regular mobs and can sometimes slip through the slab gap. If they’re escaping, place a trapdoor angled inward above your kill slot. It blocks their escape route without affecting regular-sized mobs.
Step 6: Light Control and Activation
- Remove every torch from inside the spawn room — every single one. The room must be at pitch black (light level 0) for spawning to happen
- Keep torches in your drop shaft and killing chamber so you can see what you’re doing
- Light up all caves within 128 blocks — this is where most people skip and then wonder why their farm is slow
- Stand 24–32 blocks from the spawner in your killing chamber to keep the spawner active without being close enough to block spawning
Mob Cap Fix: If mobs spawn slowly or not at all, do this: enable coordinates, note your Y level, then spend 20 minutes caving and placing torches in every dark space within 128 horizontal blocks of your AFK spot. The improvement is almost always immediate and dramatic.
Full Spawner Farm Checklist
| Step | Task | Done When… |
|---|---|---|
| 1 | Found dungeon spawner | Room with spinning mob cage located |
| 2 | Torches on spawner immediately | No mobs spawning while building |
| 3 | Room expanded to 9×9, 5 blocks tall | Spawner floating in center of empty room |
| 4 | Water trenches dug | 1-block channels along two walls + center channel |
| 5 | Water sources placed in corners | Mobs being pushed to center hole |
| 6 | 22-block drop shaft dug | Vertical shaft under center hole |
| 7 | Killing chamber built | 2×2 room at base with headroom |
| 8 | Hoppers + slabs + chest installed | Auto-collection working |
| 9 | All torches removed from spawn room | Complete darkness inside |
| 10 | Caves within 128 blocks lit up | Mob cap freed up for your farm |
| 11 | Standing 24–32 blocks from spawner | Spawner active, mobs arriving |
Build 2: The Darkroom Tower Farm (No Spawner Required)
If you haven’t found a spawner, or you want a farm that produces every mob type (for mixed drops), a darkroom tower is the answer. It requires more materials but works anywhere in the world and can be scaled up indefinitely.
How It Works
Instead of using a spawner, you build large dark platforms high in the sky. Mobs spawn naturally on the platforms (since they’re dark and have valid block surfaces), walk off the edges into water channels, get funneled to a central drop shaft, and fall to your killing floor below.
The key advantage of building high in the sky: everything below your AFK height is outside the 128-block spawn zone, so the mob cap is entirely yours. No competing cave spawns, no lighting required underground.
Basic Darkroom Tower — What You Need
| Material | Quantity | Purpose |
|---|---|---|
| Any solid blocks (cobblestone ideal) | 500–1000 | Platforms, walls, and chute |
| Water buckets | 8–12 | Flow channels across platforms |
| Hoppers | 4–8 | Item collection at kill floor |
| Chests | 2–4 | Storage |
| Signs or trapdoors | 16 | Stop water flowing into drop shaft |
| Torches | 64 | Spawn-proof areas you don’t want mobs |
| Ladders or scaffolding | 80+ | Getting up to build height |
Build Steps (Simplified)
- Choose your height — build the spawning platforms at least 24 blocks above your AFK spot, and as high as you can comfortably build (higher = fewer competing spawns below)
- Build spawning layers — flat, dark platforms at least 8×8 blocks, surrounded by half-slab lips so mobs walk off the edge without jumping back
- Add water channels — water along the back wall pushes mobs toward the drop edge. Place signs at the shaft entrance to stop water going down while mobs fall through
- Connect to a 22-block drop shaft — same as the spawner farm
- Build the killing floor — identical to spawner farm: hoppers, slabs, chest below
- Add more layers — each additional dark platform directly increases your mob spawn rate. Most efficient designs have 4–10 layers stacked vertically
Spider Problem: Spiders require a 3×3 space to spawn. If you build your platforms narrower than 3 blocks wide (like a 2-block-wide walkway), spiders can’t spawn there. This is called “spider-proofing” and it’s a useful trick if you don’t want to deal with them clogging your drop chute.
What Each Mob Farm Produces — The Loot Value Guide
Half the reason to build a mob farm isn’t even the XP — it’s the passive loot. Here’s what each farm type generates and why it matters:
| Mob | Key Drops | Why They Matter |
|---|---|---|
| Zombie | Rotten flesh, iron ingots, carrots, potatoes | Iron ingots are excellent mid-game. Carrots/potatoes for farming |
| Skeleton | Bones, arrows, bows | Bone meal for farming, infinite arrow supply for bows |
| Creeper | Gunpowder | TNT crafting, fireworks — creepers are the only renewable gunpowder source |
| Spider | String, spider eyes | String for bows, fishing rods, leads, wool; eyes for potions |
| Enderman | Ender pearls | Teleportation, Eye of Ender for finding strongholds |
| Blaze (Nether) | Blaze rods | Brewing stands, blaze powder for potions — essential for progression |
| Zombie Piglin | Gold nuggets/ingots | Gold for powered rails, golden tools, bartering with Piglins |
Looting III on your sword dramatically increases drop rates from every mob. One enchantment effectively turns your farm’s output into a triple-drop machine. It’s the second most impactful enchantment for farms after Mending (which keeps your sword alive on farm XP).
Java vs Bedrock — Key Differences That Affect Farm Design
This is the section most guides skip, and it causes a lot of frustration when a farm that works on one version produces nothing on the other.
| Mechanic | Java Edition | Bedrock Edition |
|---|---|---|
| Spawn light level | Light level 0 required | Light level 7 or lower |
| Mob cap (hostile) | 70 (scales with loaded chunks) | 200 global |
| Spawn radius | Fixed 128-block sphere | Tied to Simulation Distance setting |
| AFK spot height | High Y-level is optimal | Build at build height limit for best rates |
| Baby mob behavior | Fall through half slabs sometimes | Different hitbox — test your kill slot design |
| Water on scaffolding | Not effective for mob transport | Very effective — Bedrock-exclusive technique |
| Spider spawning | Standard rules apply | Slightly different — test your design |
Bedrock-Specific Tip: In Bedrock Edition, your Simulation Distance setting directly controls how large your spawn zone is. A Simulation Distance of 4 chunks gives you a ~44-block radius. Set it to 6 or higher (and keep it there) for mob farms to function correctly. This setting matters more on Bedrock than any single design choice.
Common Mob Farm Mistakes and How to Fix Them
| Problem | Almost Certainly Caused By | Fix |
|---|---|---|
| Mobs not spawning at all | Peaceful difficulty, or torches left in spawn room | Check difficulty settings; remove every torch from spawn chamber |
| Very slow spawn rate | Mob cap filled by unlit caves nearby | Light up all dark areas within 128 blocks of your AFK spot |
| Mobs spawning but not falling | Water funnel not reaching the drop hole | Check water flow — source blocks in wrong corners, or trenches wrong depth |
| Mobs dying before you can kill them | Drop shaft too long (more than 22–23 blocks) | Reduce drop height by raising the killing chamber floor |
| No XP dropping | Mobs dying automatically, not from player hits | This is intentional — you must deliver the final blow. Stand at kill slot and hit them |
| Baby zombies escaping | Slab gap slightly too large for their hitbox | Add a trapdoor angled inward above the kill slot |
| Farm works then suddenly stops | You wandered more than 128 blocks away | Always AFK within 128 blocks of the spawner/spawn platforms |
| Spiders clogging the drop chute | Spider bodies are wider than 1 block | Expand drop chute to 2×2 for spider farms, or spider-proof platforms with narrow widths |
| Cave spiders poisoning you | Their attack bypasses armor | Always bring milk (removes poison) to a cave spider farm |
| Items not collecting in chest | Hoppers pointed wrong direction | Hoppers must point toward the chest, not away from it |
How to Get Maximum XP From Your Farm
Building the farm is one thing. Getting the most out of it is another. Here are the habits that separate efficient XP farmers from casual ones:
- Use a sword with Looting III — increases drops from every mob. More loot = more value per session
- Use a sword with Mending — your sword repairs itself using the XP you’re generating. You’ll never need to craft another one
- Use Sweeping Edge (Java only) — hits all nearby mobs in your kill chamber at once instead of one at a time, dramatically speeding up XP collection
- Don’t use a strong sword — you want mobs to stay at 1 HP so one punch finishes them. A maxed diamond sword one-shots most mobs and wastes the 1-HP mechanic. Use your fist or a weak tool for best XP-per-second
- AFK strategically — let mobs stack up in the kill chamber while you’re away, then come back and clear them all at once in a burst of XP
- Sort your drops — once your farm matures, add a hopper-based item sorter to separate bones, arrows, flesh, and string into separate chests. Keeps inventory management sane
XP Farm Uses — What to Spend Your Levels On
Once the farm is running, you’ll have more XP than you know what to do with. Here’s the priority order that makes your XP go furthest:
| Priority | What to Do With XP | Why |
|---|---|---|
| 1 | Enchanting Table — Level 30 enchants | Protection IV, Fortune III, Efficiency V on your core tools |
| 2 | Mending on your best tools | Infinite durability — your diamond pickaxe never breaks again |
| 3 | Anvil repairs | Fix tools without losing enchantments |
| 4 | Fortune III on diamond pickaxe | Directly multiplies diamond output — pairs perfectly with our diamond hunting guide |
| 5 | Anvil name tags | Name a mob to prevent despawning (useful for special farms) |
| 6 | Librarian villager trading | Buy specific enchanted books — far more reliable than RNG |
The XP Loop: Your mob farm generates XP → use XP to get Mending on tools → Mending uses farm XP to repair tools → tools last forever → back to farming. Once you’re in this loop, the resource economy of Minecraft becomes trivially easy.
FAQs
What is the easiest XP farm to build in Minecraft?
A dungeon spawner farm is the easiest by a wide margin. Find a naturally generated dungeon (cobblestone room with a spinning mob cage), expand it to 9×9, add water in the corners, dig a 22-block drop shaft, build a killing chamber at the bottom, and remove the torches. No redstone, no complex mechanics, minimal materials. Done.
Why is my mob farm not spawning any mobs?
Almost always one of three things: the spawn room still has torches in it (check every corner), you’re standing more than 128 blocks from the farm so mobs despawn instantly, or nearby unlit caves are filling the mob cap. Light up caves within 128 blocks and the spawn rate usually fixes itself immediately.
Do I need to be near my farm for it to work?
Yes — you must stay within 128 blocks of the spawning area or mobs despawn instantly. For a spawner farm, stay within 16 blocks of the spawner for it to activate. Your AFK spot in the killing chamber is usually the perfect distance.
Does the farm work while I’m AFK?
Yes — as long as you stay within range, mobs will stack up in your kill chamber while you’re idle. Come back, clear the chamber in a burst, and collect all the XP and loot at once.
What’s better — a spawner farm or a darkroom tower?
Spawner farms are better early-game because they cost almost nothing. Darkroom towers are better long-term because they produce more mob types and can be scaled indefinitely. Build a spawner farm first, then a darkroom tower once you have materials.
How do I stop mobs from auto-killing and losing XP?
Your drop shaft must be exactly 22 blocks, not more. 23+ blocks kills most mobs on impact and you get zero XP. Keep the shaft at 22 blocks and mobs arrive at 1 HP — you finish them and collect XP.
Does a mob farm work in Bedrock Edition?
Yes, with modifications. Set your Simulation Distance to 6 or higher. Bedrock mobs need light level 7 or lower to spawn (not 0 like Java). Water on scaffolding is very effective for Bedrock mob transport. Build platforms at the world height limit for best results.
Can I move a spawner block?
Only with a Silk Touch pickaxe. Without Silk Touch, breaking a spawner destroys it permanently — you get experience but lose the spawner forever. If you find a great spawner in a bad location, either build the farm around it where it is, or use Silk Touch to relocate it.
What happens if I use a strong sword at my farm?
You one-shot mobs before they can drop meaningful XP. Each mob killed by the player gives XP, but finishing a mob at 1 HP gives the same XP as finishing one at full HP. Use a weaker weapon, your fist, or let mobs stack up and use Sweeping Edge (Java) to clear groups for burst XP.
Now That You Have Infinite XP — What’s Next?
XP changes everything in Minecraft. Once enchanting becomes effortless, your whole progression accelerates. Here’s where to channel all of it:
- How to Find Diamonds in Minecraft — Fortune III from your enchanting table makes diamond mining dramatically more efficient. Read this next
- How to Survive Your First Night in Minecraft — still getting started? Build that survival foundation first before tackling farms
- How to Build an Underground Bunker in Minecraft — an underground base pairs perfectly with a spawner farm built into the same tunnel system
- How to Build a Hillside Mountain Base in Minecraft — integrate a darkroom tower directly into a mountain base for one of the cleanest mid-game setups
- How to Build a Treehouse Base in Minecraft — elevated builds naturally reduce mob interference with nearby farms
- How to Build a Floating Island Base in Minecraft — floating bases at height are ideal AFK spots for darkroom towers built below
- How to Build a Dirt Shack in Minecraft — a humble reminder of where this all started, before you had infinite XP and diamond gear
- All Minecraft Base Builds Guide 2026 — find the base type that pairs best with the farm you just built
Final Thoughts
A mob farm is the pivot point of Minecraft progression. Before you have one, resources feel scarce, enchanting feels expensive, and every death stings. After you have one, the game opens up in a way that hard-to-describe until you experience it.
Build the spawner farm first — it’s cheap, it’s fast, and it works. Find a dungeon, spend 30 minutes on the design, clear the caves nearby, and you’ll have reliable XP for the rest of that world.
Then, when you’re ready, build the darkroom tower above your base. Scale it up. Add Mending to everything. Enchant freely. Repair without hesitation.
The mobs that used to kill you at night are now working for you around the clock.
That’s the real survival flex.




I’m very happy to discover this website. I want to to thank
you for ones time due to this fantastic read!! I definitely liked every little bit of it and i also have you book
marked to look at new stuff on your web site.
I could not refrain from commenting. Well written!