Swamp Hut structure in Minecraft

Swamp Huts are small spruce cabins on stilts that generate only in the Swamp biome. Each one comes with a Witch and a black Cat, and inside the hut's area every hostile mob that spawns is a Witch, which makes it the classic spot for a witch farm.
Game data
- Dimension
- Overworld
- Biomes
- 1 biomes
- Spacing
- 32 chunks
- Separation
- 8 chunks
How to find a Swamp Hut
/locate structure minecraft:swamp_hutCheats on, in the right dimension. It gives the coordinates of the nearest one.
Map by Chunkbase, shown as a companion to this guide. Without your seed, it shows an example world. Results depend on the edition and version you pick.
Found in these biomes · 1
Swamp Hut in numbers
- Nearest from spawn
- ~2,980 blocksmedian, 1,000 worlds
- Within 500 blocks
- 3.2%of worlds
- Density
- 0.041per 1,000 × 1,000 blocks
// 1,000 random seeds, normal world. Positions from the placement rules and a biome check (cubiomes, Java 26.2 generation, plus the 26.3 Dappled Forest rule and Abandoned Camp). Terrain is not simulated. Estimates, not exact 26.3 values.
Mobs in a Swamp Hut
What a Swamp Hut is built from
Share of the structure’s own blocks, terrain excluded. Example: Swamp Hut.
Key blocks
How to find a Swamp Hut
/execute in minecraft:overworld run tp @s -2233.5 65 1215.5 160 0The game places at most one Swamp Hut in each 32 × 32 chunk region, never closer than 8 chunks to the next, and only in the Swamp. The Mangrove Swamp never has one, so do not waste time searching among the roots. Look for a small dark-wood cabin standing on four oak log legs above the water, with a little porch at the front. Swamps are flat and fairly open, so a hut is easy to spot from a distance during the day.
A Swamp Hut Map saves you the search. Apprentice Cartographers sell it for emeralds and a compass, but only villagers of the taiga, snowy and jungle types offer it.
What's inside a Swamp Hut
The hut is a single room of spruce planks. It holds a crafting table, an empty cauldron and a flower pot with a red mushroom. There is no chest and no loot table: the value of the hut lies in its residents and in its spawning rules.
The Witch and the black Cat
When the hut generates, the game places a Witch and a Cat inside (no Witch on Peaceful). Neither of them despawns, but both wander, so the Witch may be standing outside on the porch or in the water nearby.
The Witch is the real threat. It throws splash potions of Poison, Slowness, Weakness and Harming, and drinks its own potions to heal or to resist fire. Close the distance fast and hit hard, or shoot it from cover. A Milk Bucket clears the poison if a fight drags on. Witches drop redstone dust, glowstone dust, sugar, gunpowder, spider eyes, glass bottles and sticks.
The Cat is a stray with a black coat, and any Cat that appears at the hut is black too. Tame it with raw cod or raw salmon if you want a black cat at home: like every cat, it keeps Creepers and Phantoms away.
How witch spawning works at the hut
The hut defines its own spawning zone: a box of 7 × 7 × 9 blocks that covers the hut from just under its floor to a little above its roof. Inside that box, any hostile mob the game spawns is a Witch, and any passive mob is a Cat. The usual monster rules still apply. The spot must be dark (no light from torches or other blocks), and monsters only spawn more than 24 blocks away from the nearest player.
In practice, that means the original hut can keep producing Witches at night for as long as you leave it standing. Do not light up the hut if you plan to farm it later.
Turning the hut into a witch farm
- Mark the box before you build. The zone does not move: it stays where the hut generated, even if you remove the hut.
- Keep the spawning floors dark. Replace the hut with dark platforms inside the box, so Witches have more places to appear.
- Make them fall. Push the Witches off the platforms with water into a collection point below, where you finish them off and the drops gather in one place.
- Wait at a distance. Stand more than 24 blocks from the spawning floors, but not too far, or the area stops spawning.
- Light up the surroundings. Torches across the nearby swamp stop other mobs from using up the spawn cap.
✓ Checked in Java Edition 26.3 · updated 1 November 2026
Swamp Hut — FAQ
Do Witches respawn in a Swamp Hut?
The original Witch does not come back once killed, but new Witches can spawn inside the hut's area whenever it is dark and you are more than 24 blocks away. That is what witch farms rely on.
Why is the Cat in a Swamp Hut black?
The game gives Cats that spawn at a Swamp Hut the all-black coat. It is the only structure with this rule.
Can a Swamp Hut generate in a Mangrove Swamp?
No. Swamp Huts only generate in the regular Swamp biome.
Is there a chest in a Swamp Hut?
No. The hut only holds a crafting table, an empty cauldron and a potted red mushroom. Its value lies in the Witch, the Cat and its spawning rules.
How do you find a Swamp Hut?
Use /locate structure minecraft:swamp_hut with cheats on, or look in Swamp.