How to Make an XP Farm

Learn how to build a reliable XP farm in Minecraft 1.21+ (Java and Bedrock) using a mob spawner dungeon to collect experience points quickly.

BothMedium15 minutes
How to Make an XP Farm

Gathering experience points is essential for repairing gear and how-to-enchant-items. Building a spawner-based XP farm is one of the safest and most efficient methods to level up quickly in both Java and Bedrock editions.

Stand within 16 blocks of the monster spawner cage so that it remains active and continuously generates new mobs.
Never remove all your armor while clearing the dungeon, as sudden mob spawns can easily overwhelm you in the dark.

Find a Mob Spawner

Explore underground cave systems and dungeons until you find a monster spawner cage, most commonly containing zombies, skeletons, or cave spiders. Bring torches to light up the area immediately so mobs stop spawning while you prepare.

Clear and Shape the Room

Clear out the blocks around the spawner so that there is a 9x9 room with the spawner centered at the ceiling. Dig down at least four blocks beneath the spawner floor to create a collection and drop chamber.

Install Water Streams

Place water sources in the corners of the room so that the flowing water pushes all spawning mobs toward a central collection trench. Guide the trench toward a single exit chute leading down to your drop area.

Build the Fall Chute

Construct a vertical shaft where mobs fall down from the water stream. Make sure the drop height is carefully measured—usually around 22 to 23 blocks—so that the mobs are left with just half a heart of health remaining without dying completely.

Set Up Your Killing Platform

Create a safe standing spot at the bottom of the chute where you can reach the mobs with a sword or weapon without them being able to attack you back. Once your platform is secure, remove the torches from around the spawner to activate the farm.

Frequently Asked Questions

Why aren't any mobs spawning from my cage?

Check if you left torches placed on or right next to the spawner cage. Mobs require a light level of 7 or lower to spawn, and torches will prevent them from appearing.

Do zombie and skeleton spawners work the same in Bedrock and Java?

Yes, standard dungeon spawners function identically in both editions, though overall mob caps and spawning rates can vary slightly depending on your simulation distance.

You May Also Like