About This Build

The mob spawner XP farm is the fastest path to an enchanting-ready XP surplus in early-to-mid survival Minecraft. Finding a dungeon and converting it correctly produces a farm that generates XP passively while you do other tasks within 16 blocks. Most players who find a dungeon block it off with torches and move on. That is leaving significant automation potential behind.

The mechanical logic is clean: mob spawners activate when a player is within 16 blocks. The dungeon is already a room; you extend it slightly, add water currents to route mobs, build a drop shaft of specific length, and create a kill chamber at the bottom. The 22-block drop is precise — 23 blocks kills mobs outright (no XP), 21 blocks requires two hits. The 22-block figure is one of Minecraft most useful memorized constants, along with 8 blocks for water flow distance and 16 blocks for spawner activation range.

The kill chamber design — slab at head height, hopper beneath the landing point — solves both engagement and loot collection. The slab opening lets you hit mob feet without standing in the mob traffic. The hopper collects drops automatically, so you only need to interact with a chest rather than collect off the ground. This combination makes the farm functional as an AFK operation: you stand at the kill chamber, spam left-click, and let the loot chest fill.

Three spawner types work well with this design: zombie (drops rotten flesh and occasional iron equipment), skeleton (arrows and bones), and spider (string and spider eyes). Cave spider spawner farms are smaller and functional but less safe due to poison damage. Prioritize zombie or skeleton spawners for the lowest complexity-to-output ratio.

The intermediate difficulty rating is honest: this build requires mining 22 blocks straight down in unfamiliar cave terrain, which involves drop-shaft planning and orientation tracking. The water flow is also unforgiving — a misplaced source block floods the kill chamber rather than the spawn room. Get the geometry right the first time by measuring before digging.

Edition: Minecraft Java Edition and Bedrock Edition  |  Version: 1.20++  |  Time: 25-30 minutes

Difficulty: Intermediate

The Intermediate rating reflects either multi-layered construction, a larger footprint that demands planning ahead, or simple redstone circuits. You should be comfortable with basic survival mechanics and resource gathering before starting. Budget extra time for iteration — not everything lines up perfectly the first try.

Materials You’ll Need

MaterialQuantity
Water Bucket2
Sign (any)4
Slab (any)8
Cobblestone64
Hopper1
Chest2
Torch16
Pickaxe1

Total distinct materials: 8. Gather everything listed above before you start — mid-build supply runs break your momentum.

Step-by-Step Instructions

Step 1: Prepare the Spawner Room

Find a dungeon with a mob spawner. Light it up with torches immediately to stop spawns. Clear out the room to 9x9x4 blocks with the spawner centered. Remove all cobblestone and mossy cobblestone from the floor.

💡 Tip: ALWAYS light up the room first. Getting killed by mobs in a small dark room is frustrating.

Step 2: Dig the Collection Trench

On one side of the room, dig a 2-block wide trench across the full 9-block width. Make the trench 1 block deep at the edges, sloping down to 2 blocks deep in the center.

💡 Tip: The trench funnels mobs to a single center point — this is where your kill chamber goes.

Step 3: Add Water Currents

Place water source blocks at the far wall (opposite from the trench). The water should push mobs across the room and into the trench. Use signs at the trench edge to stop water from flowing in.

💡 Tip: Water flows 8 blocks max. A 9x9 room is perfect — water reaches exactly to the trench.

Step 4: Build the Drop Shaft

From the center of the trench, dig straight down 22 blocks. This is the drop shaft. The 22-block fall leaves mobs at half a heart — one punch kills them. Make the shaft 1x1.

💡 Tip: Count carefully! 23 blocks kills them (no XP). 21 blocks means two punches needed. 22 is the sweet spot.

Step 5: Build the Kill Chamber

At the bottom of the shaft, create a 1x1 area where mobs land. Place slabs at mob head height so you can see and hit their feet. Add a hopper under the landing block connected to a double chest for auto loot collection.

💡 Tip: Stand at the slab opening and spam left-click. Each mob gives 5+ XP orbs.

Step 6: Activate the Farm

Go back to the spawner room and remove ALL torches. Close off the room so no light gets in (spawners need dark). Go to your kill chamber and wait. Mobs spawn, get pushed by water, fall down the shaft, and arrive at one-hit kill health.

💡 Tip: Stay within 16 blocks of the spawner for it to work. Build a small AFK spot near the kill chamber.

Tips & Tricks

Why This Design Works

The 22-block drop shaft is the precision engineering at the center of this farm. Minecraft mob fall damage follows a specific curve: mobs take 1 heart of damage for every block fallen past 3. A 22-block drop produces exactly 19 blocks of fall damage — enough to reduce all standard dungeon mobs (20 HP baseline) to 1 HP without killing them. This lets you one-punch every mob for maximum XP, since kills from partial health award the same XP as full-health kills. The fall height is non-negotiable and must be exact.

Water flow mechanics make the horizontal routing phase essentially fool-proof once you understand the 8-block limit. A single source block flows exactly 8 blocks in any cardinal direction on a flat surface. A 9x9 dungeon room has walls at the 4.5 block center point from any given wall — so a source block at each of the two short walls flows to exactly the trench edge with no gaps and no overlap. This is why the dungeon expansion step specifies clearing to 9x9: the dimensions are chosen for water flow math, not aesthetics.

Sign placement at the trench edge is the detail most players get wrong on their first attempt. Water stops at signs because signs count as solid for fluid mechanics. Without signs, water flows into the trench and down the drop shaft, drowning mobs before they fall and breaking the one-hit kill mechanic. The signs are a fluid stop, not decoration. Place them at the trench edge on the walls before placing water sources — the order matters because water placed first is harder to remove cleanly in a stone-walled room.

The slab kill station allows attacks through the slab gap by exploiting hitbox geometry: you stand on the floor, your attack reaches through the slab gap at waist height, and you hit the mob at foot level. This prevents mobs from hitting back at full reach because they are below the slab. Standing fully in the mob space instead would result in mob aggro and damage on every spawn cycle. The slab is a geometric one-way advantage.

Hopper-to-chest collection transforms the farm from an active kill station into a passive resource generator. Every drop that lands on the hopper routes to the chest automatically. After an AFK session, you collect from one chest rather than walking through a floor covered in individual item drops. This matters especially for arrow farming with skeleton spawners where high-volume drops quickly despawn without collection infrastructure.

Variations & Customization

Once you’ve completed the base build, try one of these modifications to make it your own:

Blaze Spawner Adaptation

Blaze spawners in the Nether use the same water-and-drop principle with one critical modification: no water. Blazes take damage from water, which would kill them before the drop. Replace horizontal water routing with two parallel ice lanes: pack ice slopes angled 1 block down per 2 blocks forward funnel blazes toward the drop shaft. The drop distance stays at 22 blocks. At the bottom, use a 2x1 opening at head height to attack safely. Blaze rods are essential for brewing, making this one of the highest-value spawner conversions.

Multi-Spawner Merger

When you find two dungeon spawners within 20 blocks of each other, build a shared collection shaft between them. Each spawner gets its own water-routing room but both feed into the same drop shaft. The combined mob rate is roughly double a single spawner. Route the water from both rooms through separate trenches that converge at one shared 1x1 shaft. This requires more precise water management but produces an XP rate competitive with purpose-built mob farms that require much more advanced construction.

Looting Optimization Setup

A Looting III sword dramatically increases rare drops — iron from zombies, bows from skeletons — and is worth setting up before extended AFK sessions. Build a small enchanting station adjacent to the kill chamber: a 2x2 alcove with an enchanting table, bookshelf ring, and single chest for lapis. The XP from the farm supplies the enchanting table directly — you can level up and enchant without traveling to a separate facility. This is the compound build: XP farm powers enchanting, enchanting produces the looting sword that improves the farm loot output.

Common Mistakes & Troubleshooting

These are the issues players most often run into with this build:

⚠️ Wrong drop shaft height

This is the most common failure mode and has no easy fix after the fact. 23 blocks kills mobs — you get loot but no XP, and XP is the point. 21 blocks requires two hits, which doubles your active effort. 22 blocks is the specific number. Measure from the landing point upward before digging: place a block at the future landing point, count 22 blocks straight up, and verify that block position is exactly level with the trench bottom. Then dig the shaft. Do not guess the height by digging and counting blocks fallen.

⚠️ Not placing signs at the trench edge

Water placed in a 9x9 room with no barriers at the trench edge flows into the trench and down the drop shaft. Mobs that enter water in the shaft swim rather than fall, arrive at the kill chamber without fall damage, and kill you on contact. Signs stop water flow because they are treated as solid for fluid mechanics. Place signs on the trench walls flush with the trench edge before placing any water source blocks. If you have already placed water and mobs are swimming, remove all water, place signs, then replace water sources.

⚠️ Standing too far from the spawner

Mob spawners have a strict 16-block activation radius. If you are standing at the kill chamber and the spawner is more than 16 blocks away, nothing spawns. Measure the distance: in most dungeon-plus-drop-shaft configurations, a 22-block deep kill chamber places you 26-30 blocks from the spawner — too far. The solution is a small AFK platform dug into the shaft wall at a height that keeps you within 16 blocks of the spawner while still allowing you to reach the kill slot. Mark this level during shaft construction.

⚠️ Leaving light in the spawn room

Mob spawners require darkness (light level 7 or below) to function. Any torch left in the spawn room after construction stops spawns entirely. Remove every torch after completing the water routing and before verifying the farm works. Also seal any gaps in the room walls that admit daylight — open passages to adjacent caves bring ambient light that suppresses spawning. The room should be completely lightproof before you remove the construction torches. Bring a shield for the transition.

⚠️ Building the hopper incorrectly

Hoppers have a directional output determined at placement. The hopper must be placed by shift-clicking on the chest while holding the hopper — this points the hopper output into the chest. A hopper placed on the ground without shift-clicking on a container has no output target and does nothing. Verify the connection by dropping a single item into the hopper and confirming it moves to the chest within 2-3 seconds. If it sits in the hopper, break and replace with the correct shift-click technique.

Related Builds

If you enjoyed this guide, these builds complement it well:

From the Blog

How to Plan Your First Minecraft Base Layout

Before you build more structures like this one, plan where they fit. This room-by-room system prevents base sprawl.

Read the article →

Want more builds like this?

Get new step-by-step guides delivered to your inbox when we release new content.