Home → Minecraft → How to make a mob farm
Minecraft
How to Make a Mob Farm in Minecraft
Updated April 2026 · 3 min read
⚡ Quick Answer
Build a dark room at least 24 blocks away from your AFK spot to force mobs to spawn there instead of elsewhere. Funnel them into a drop shaft of at least 22 blocks to bring them to one hit point, then kill them at the bottom for XP and drops. The basic design works in any biome and requires only common materials — wood, slabs, and water.
Step by Step
1
Choose a location at least 24 blocks away horizontally from where you will AFK. Mobs only spawn within 128 blocks of the player and won’t spawn within 24 — your farm needs to sit in that middle zone to work efficiently.
2
Build the spawning platform — similar mechanics are used in structures like Ancient Cities where mob spawning depends on darkness — a large flat room at least 2 blocks tall with no light sources. Use slabs on the ceiling to prevent spiders from spawning (they need 2 full blocks of height). Make it as large as possible — bigger platforms mean more spawn attempts per second.
3
Place water streams along the edges of the platform to push mobs toward a central hole. Use a bucket to place water at the far end of each row — it will flow naturally toward the drop hole in the middle.
4
Build a drop shaft of exactly 22 blocks below the collection hole. Mobs falling 22 blocks land with half a heart remaining — one punch kills them and you collect full XP. A drop of 23+ blocks kills them outright and you lose the XP. Use this XP to enchant gear after you get diamonds fast.
5
At the bottom of the shaft, build a small collection room with a slab floor — stand on the slab to hit mobs through the gap at the base of the shaft without taking damage. Add a chest and hopper underneath to collect drops automatically. This setup is one of the best ways to get XP fast early and mid game.
6
Light up all caves and surface areas within 128 blocks of your farm. Every dark space nearby competes with your spawning platform for mob spawns — eliminating other spawn points makes your farm dramatically more efficient.
Tips
→
Build at Y=192 or higher if possible — above the cave layer means far fewer competing spawn locations underground, which increases your farm’s output significantly.
→
Use trapdoors on the drop hole edges — mobs pathfind toward open trapdoors thinking they’re walkable, which pulls them into the shaft faster without needing extra water streams.
→
Difficulty affects spawn rates — set your game to Hard for maximum mob spawning. Normal works fine but Hard produces noticeably more mobs per hour.
→
A Looting III sword at the killing spot multiplies rare drops — Wither Skeleton skulls, Ender Pearls, and Blaze Rods all benefit from Looting even in a general mob farm.
More Minecraft guides