TL;DR
- A creeper farm in Minecraft gives you unlimited gunpowder without any risk of explosions.
- The best design uses a trapdoor ceiling to block other mobs and a trapped cat to scare creepers off the edge.
- A 22-block drop leaves creepers at half a heart for a manual Looting kill, or use 24 blocks to kill them outright.
- Since the 1.18 update, creepers need a light level of 0 to spawn, so the room must be fully dark.
- Gunpowder from this farm is used for TNT, fireworks, and splash potions.
A creeper farm in Minecraft is one of the most useful builds for players who want a steady supply of gunpowder without hunting creepers in the wild. Gunpowder is needed for TNT, fireworks, and splash potions, so having a farm saves a lot of time. This guide walks you through a simple, safe design that anyone can build, even without redstone experience.
What You Need Before Building a Creeper Farm
Before starting, gather a few basic materials. You do not need anything rare, and the whole build can be finished in under an hour.
- Building blocks such as cobblestone or any solid block
- Trapdoors for the ceiling and floor trick
- A tamed cat or ocelot
- Fencing or fence posts to trap the cat in place
- Water buckets for the collection trench
- Hoppers and chests to store gunpowder
- A sword with a Looting enchantment for the kill chamber
If you want to automate the kill step later on, it also helps to understand basic redstone circuits, though this guide keeps things simple with a manual kill chamber.
Why Build a Creeper Farm in Minecraft

Creepers are the only mobs that drop gunpowder reliably. Without a farm, you would need to search caves or open areas at night, which is slow and dangerous. A dedicated farm removes the risk entirely and gives you a steady gunpowder income while you do other tasks like mining or building.
Gunpowder collected here is also useful for crafting TNT for quick mining, fireworks for elytra flight, and splash potions such as the water breathing potion or invisibility potion.
Best Location for a Creeper Farm
Creepers spawn on any solid block once the light level requirement is met. The best location for a creeper farm is:
- High above the ground, near the build height limit, to avoid other spawns
- Fully enclosed so no sunlight or torches can leak in
- Separate from your main base, so the cat trap and drop shaft do not interfere with anything else
Building the farm in the sky also keeps it away from natural cave systems, which reduces competition for the mob spawn cap.
Step 1: Build the Spawning Platform
Start by building a flat 9×9 or larger room out of any solid block, at least 3 blocks tall. Place trapdoors across the entire ceiling of this room. This is the ceiling trapdoor trick: creepers are just short enough to spawn in the 1.8-block gap left under the trapdoors, while zombies, skeletons, husks, and drowned are too tall and get blocked out completely.
Step 2: Set Up the Cat Trap
In the center of the spawning room, place a fence post and lure a tamed cat or ocelot onto it, then box it in with more fencing so it cannot move or wander off. A cat sitting in the middle of the room causes every creeper that spawns nearby to immediately turn and flee in fear.
Surround the cat with open trapdoors laid flat against the floor. Mobs treat open trapdoors as solid ground, so fleeing creepers will walk straight over the edge and drop into the water trench below without ever noticing it is there.
Step 3: Build the Water Trench and Drop Shaft
Ring the room with a shallow water trench just outside the trapdoor edge. This catches falling creepers and carries them toward a central drop shaft without dealing any fall damage on the way in.
Build the drop shaft 22 blocks deep. A 22-block fall leaves creepers with about half a heart of health, so they survive long enough for a manual kill with a Looting sword, which means more gunpowder per creeper. If you would rather skip the manual kill entirely, extend the shaft to 24 blocks instead: that distance deals 21 points of fall damage, which kills a creeper’s 20 HP outright with no sword needed, though you lose the Looting bonus.
Step 4: Set Up the Kill Chamber
At the bottom of the shaft, build a small 1×1 room with a half slab or trapdoor gap so you can hit the weakened creepers without letting them explode near you. Add hoppers underneath connected to a chest to automatically collect the gunpowder drops.
Step 5: AFK at the Right Spot
Stand close enough to the platform to keep it loaded but far enough that creepers do not notice you and explode early. Most players build an AFK platform a short distance away with a bit of cover, allowing spawns to continue while staying safe.

How to Increase Creeper Farm Efficiency
If your farm feels slow, try these improvements:
- Expand the spawning platform to increase the mob cap usage
- Build multiple platforms stacked above each other, each with its own cat trap
- Make sure no other dark caves or rooms nearby are stealing spawns
- Double check the cat cannot escape its fence trap, since a missing cat means creepers stop fleeing
These same spawning principles apply to other builds too, like an XP mob farm or an iron golem farm, so once you understand this design, other farms become much easier to build.
Using Gunpowder From Your Creeper Farm
Once your farm is running, gunpowder will pile up fast. Here are the best uses for it:
- Crafting TNT for quick terrain clearing or mining
- Making splash potions from your potion recipe list
- Crafting firework rockets for elytra flight
If you enjoy building automated systems, a creeper farm pairs well with a general automatic farm setup or even a food farm like an automatic sugar cane and bamboo farm to keep your base fully self-sufficient.
Common Mistakes to Avoid
- Forgetting the cat, which means creepers never flee toward the drop shaft
- Leaving gaps in the walls or ceiling that let sunlight in
- Using a drop shaft that is too short, so creepers survive with too much health for one hit
- Standing too close to the platform, causing early explosions
Play Minecraft Anywhere
You can build and test your creeper farm design across devices. Get Minecraft on the official Minecraft website, download the trial version from the Google Play Store, or grab it on Xbox to keep farming gunpowder on the go.
Frequently Asked Questions
Do creepers need darkness to spawn?
Yes. Since the 1.18 update, creepers need a light level of 0 to spawn, down from light level 7 in earlier versions. Your spawning room must be fully enclosed and completely dark for spawns to happen.
Why are no creepers spawning in my farm?
This usually happens because of leftover light sources or a ceiling that is not fully covered in trapdoors. Check every block of the ceiling and make sure no torches or glowing blocks are nearby.
Why is my cat not scaring creepers away?
The cat needs to be tamed and sitting within range of the spawning area. If it can wander off its fence post, it may not be positioned correctly when creepers spawn.
How far should the drop shaft be?
A 22-block drop leaves creepers with half a heart for a manual Looting kill. A 24-block drop deals 21 points of fall damage, which kills them outright without needing a sword.
Can creepers explode inside the farm?
They can if they detect a player nearby. Keeping the kill chamber small with a slab gap prevents them from targeting you directly.
What is the best height for a creeper farm?
Building near the top of the world, above other mob spawning areas, gives the most consistent spawn rates.



