Making a fence in Minecraft is one of the first structural projects you'll tackle when securing a base or building an animal pen. To craft three wooden fences, you need four matching wood planks and two sticks arranged inside a crafting table. Leave the top row empty, then place a plank, stick, and plank in both the middle and bottom rows.
The resulting fence blocks stand 1.5 blocks high in the game world. Because mobs and farm animals cannot jump over a 1.5-block barrier, fences form reliable perimeter walls that keep hostile mobs out and livestock in.
The Standard Wood Fence Recipe
Every Overworld wood family uses the exact same layout. Whether you're working with oak, spruce, birch, jungle, acacia, dark oak, mangrove, cherry, bamboo, crimson, or warped wood, the formula remains identical.
To craft three fences:
- Open your crafting table to access the 3x3 grid.
- Leave the top row completely empty.
- In the middle row, place a wood plank in the left square, a stick in the center square, and a matching wood plank in the right square.
- Repeat this exact pattern in the bottom row: plank, stick, plank.
- Drag the three resulting fence pieces into your inventory.
Crucial rule: All four planks used in a single crafting operation must be the same wood type. If you mix oak and birch planks in the grid, the recipe won't output anything.
Crafting Alternative Fence Types
Beyond standard wood families, you can build specialized barriers for unique building styles or functional needs.
Nether Brick Fences
If you venture into the Nether and explore a Nether fortress, you can gather Nether bricks. To craft Nether brick fences, use four full Nether brick blocks and two individual Nether bricks.
- Open your crafting table.
- Leave the top row empty.
- Place a Nether brick block in the left and right slots of the middle and bottom rows, placing a single Nether brick item in the center slots of those same rows. Unlike wood, crafting Nether brick fences yields six fence pieces per craft instead of three. They are entirely fireproof, making them ideal for base designs near lava or campfires.
Adding a Fence Gate
A fence creates an absolute barrier, meaning you can't walk through it unless you break a block. To solve this, you need a fence gate.
- Open your crafting table.
- Place a stick in the left slot, a wood plank in the center slot, and a stick in the right slot for the top row.
- Repeat that exact pattern (stick, plank, stick) in the bottom row.
- This outputs one functional fence gate that opens and closes when you interact with it.
You can learn more about official item properties and mechanics on the Minecraft Wiki.
Advanced Building Mechanics and Design Tricks
Fences possess unique collision properties that savvy builders use to create detailed architecture.
Automatic Connectivity
When you place two fences adjacent to each other, they automatically snap together to form a continuous barrier. If you turn a corner, the game instantly generates a vertical post at the junction without requiring extra materials. However, wooden fences will never connect visually to Nether brick fences or iron bars, allowing you to run distinct material lines right past each other without unwanted merging.
Invisible Barriers and Mob Control
While regular blocks have a standard 1.0-block height, fences possess a collision height of 1.5 blocks. This mechanic prevents sheep, cows, pigs, and zombies from walking or jumping over them. Spiders are the notable exception, as they can climb vertical walls regardless of fences.
You can also use single fence posts as decorative lamp holders or tie animals to them using a lead to keep wandering mobs anchored in place.
Common Mistakes to Avoid
Players often run into frustrating crafting dead ends because of a few common oversights:
- Using the 2x2 inventory grid: Fences require the 3x3 crafting table. Trying to craft them in your small character inventory grid won't work.
- Swapping planks and sticks: Reversing the layout and putting sticks on the outside creates a fence gate instead of a fence.
- Mixing wood types: Combining different plank variants in the same recipe halts the output entirely.
- Fire hazards: Placing standard wooden fences directly next to open fire sources, lava, or active campfires risks burning down your boundary walls. Use stone or Nether brick variants for fire-prone areas.
Frequently Asked Questions
How many fences do you get per craft?
Each standard crafting operation yields three fence pieces for wood types and six pieces for Nether brick variants.
Can you dye fences different colors?
Vanilla Minecraft does not allow you to dye placed wood fences. To get different colors, you must craft your initial planks using specific tree variants like dark oak, cherry, or mangrove.
Can you open a fence gate with redstone?
Yes. Fence gates can be wired to redstone dust, buttons, levers, or pressure plates, allowing you to automate animal pens or security gates around your base.
Do fences connect to solid blocks?
Fences connect to full solid blocks like dirt, stone, and wood planks, but they will not connect to half-slabs, glass panes, carpets, or torches because those blocks lack a full solid face.