Guides

How to Make a Fence in Minecraft (2026 Guide)

Craft 3 fences from 4 planks and 2 sticks in a crafting table. Full guide to every wood fence, nether brick fence, fence gates, mob-proof heights, animal pens, and fence decoration tricks.

Aug 10, 2026 11 min readBy MineBuildr Team
How to Make a Fence in Minecraft (2026 Guide)

Key takeaways

  • Fence recipe: 4 matching wood planks and 2 sticks in a crafting table, arranged as two rows of plank-stick-plank. One craft gives 3 fences.
  • Fence gate recipe: 2 sticks and 2 planks in the same plank-stick pattern but only two columns wide, giving 1 gate.
  • A fence is 1 block tall visually but has a 1.5 block collision box, so players and mobs cannot jump over it.
  • Nether brick fence uses 4 nether bricks and 2 nether brick items, and it does not connect to wooden fences.
  • Fences do not connect to fence gates of a different material family visually, but every wood gate still works in any wood fence line.
  • Fences are fireproof only in the nether brick variant; wooden fences burn, so keep them away from lava and campfires.

Minecraft fence recipe

Fences need a crafting table because the recipe is 3 columns wide. The wood type of the planks decides the fence type, and both planks and sticks must be in the correct spots.

  1. Punch a tree to get logs, then place a log in your inventory grid to get 4 planks per log.
  2. Turn 2 planks into 4 sticks in the inventory crafting grid.
  3. Open a crafting table.
  4. Row 1: plank, stick, plank. Row 2: plank, stick, plank.
  5. Drag out 3 fences per craft.

Each craft consumes 4 planks and 2 sticks, so a single log plus a couple of sticks fences off about three blocks of perimeter. For a big pen it is worth counting first, and our material calculator work in the house planner can size the perimeter for you.

Every fence type and what it costs

  • Oak, spruce, birch, jungle, acacia, dark oak, mangrove, cherry, pale oak, bamboo and crimson or warped fences all use the same 4 planks plus 2 sticks pattern with matching planks.
  • Nether brick fence uses 4 nether bricks in the plank positions and 2 nether brick items in the stick positions, and it is fireproof.
  • Bamboo fence is crafted from bamboo planks and is the cheapest per block if you have a bamboo farm.
  • Crimson and warped fences come from the nether and never burn from a nearby fire block, unlike overworld woods.
  • Every fence gives 3 per craft except none. All of them give 3.

Fences of different wood types still connect to each other. The only fence that refuses to connect to the rest is the nether brick fence, which links only to other nether brick fences and to walls.

How to make a fence gate

You need a gate to walk into your own pen without breaking the fence line.

  1. Open a crafting table.
  2. Row 1: stick, plank, stick. Row 2: stick, plank, stick.
  3. That gives 1 fence gate.
  • Gates open by right-click and by redstone signal, so they work in automated farms.
  • Mobs cannot open fence gates, but villagers can path through open ones, and a gate placed a block lower than the fence still blocks jumps.
  • Unlike fences, a fence gate is only 1.5 blocks tall when closed and completely passable when open.

How tall is a fence and what can jump it

A fence occupies one block of space but has a collision height of 1.5 blocks. Players jump 1.25 blocks, so a single fence row is enough to hold you in. Most mobs are the same.

  • Cows, sheep, pigs, chickens and horses cannot jump a fence.
  • Spiders can climb any wall including fences, so a fully enclosed roof is needed for spider-proofing.
  • Endermen teleport past fences, so a lit and roofed enclosure is the real fix.
  • Foxes and cats can jump onto a fence post from a nearby block, so keep a two-block gap between fences and any raised terrain.
  • Baby animals fit through gaps at the corners in some versions, so build a closed rectangle without diagonal joins.

Building a safe animal pen

  1. Pick flat ground near your base and mark out the corners with four fence posts.
  2. Fill the edges with fences and leave a one-block gap for the gate.
  3. Light the interior so mobs cannot spawn inside.
  4. Lead animals in with wheat for cows and sheep, carrots for pigs, seeds for chickens, or use a lead to drag them.
  5. Breed pairs with their preferred food to grow the herd.

For horses, make the pen at least 7x7 so they have room to move without pushing against the gate. See how to breed horses in Minecraft for the stat inheritance rules before you start a breeding program.

Fence decoration tricks builders actually use

  • Table legs — a single fence post under a trapdoor or a carpet reads as a table in any interior.
  • Lamp posts — a stack of two or three fences with a lantern hung on top makes a street light.
  • Chimneys — a fence post above a campfire lets the smoke rise through and doubles the smoke column height.
  • Rustic railings — fences plus trapdoors along a balcony give more texture than walls.
  • Roof supports — dark oak fences under an overhang break up long eaves on cottage builds.
  • Nether brick fences on blackstone read as wrought iron for gothic and castle builds.

If you are planning a whole build around the fencing, the house planner and interior designer give you layouts and block counts before you place anything.

Fence vs wall vs gate

  • Fence — 1.5 block collision, connects to other fences and gates, made from planks and sticks, burns if wooden.
  • Wall — same 1.5 block collision, made from stone family blocks in a 6-block recipe, connects to other walls and to iron bars.
  • Fence gate — the openable section of a fence line, 1 per craft, redstone-operable.
  • Iron bars — 1 block tall visually and jumpable, so not a mob-proof fence substitute on their own.

Common fence mistakes

  1. Crafting in the 2x2 inventory grid. The fence recipe needs the 3-wide crafting table.
  2. Swapping the plank and stick positions. Sticks go in the middle column, planks on the outside.
  3. Mixing plank types in one craft. All four planks must be the same wood.
  4. Expecting nether brick fences to connect to wood. They will not.
  5. Leaving a one-block hole at a corner. Animals and baby mobs slip out through it.
  6. Putting a wooden fence next to a lava source or a campfire. It catches fire and the whole line burns.

Pair this with how to make a lead in Minecraft for moving animals, how to make a bed in Minecraft for the rest of your starter base, and the house planner for full block counts.

Frequently asked questions

How do you make a fence in Minecraft?+

In a crafting table, place 4 planks and 2 sticks in two rows: plank, stick, plank on the first row and plank, stick, plank on the second. One craft gives 3 fences.

How many fences do you get per craft?+

Every fence recipe gives 3 fences from 4 planks and 2 sticks.

How do you make a fence gate?+

In a crafting table, place stick, plank, stick on the first row and stick, plank, stick on the second. That gives 1 fence gate.

How tall is a fence in Minecraft?+

A fence looks 1 block tall but has a collision height of 1.5 blocks, which is why players and most mobs cannot jump over it.

Can mobs jump over fences in Minecraft?+

Normal mobs cannot. Spiders climb them, endermen teleport past them, and foxes or cats can hop on from a nearby raised block.

Why won't my nether brick fence connect to my wooden fence?+

Nether brick fences only connect to other nether brick fences and to walls. This is intended behaviour, not a bug.

Do wooden fences burn in Minecraft?+

Yes. Overworld wood fences catch fire from lava, fire, or campfires. Use nether brick fences or crimson and warped fences near fire hazards.

What is the cheapest fence in Minecraft?+

Bamboo fence, because bamboo grows fast and self-farms, so planks and sticks are effectively unlimited once you have a bamboo farm.