From Minecraft Wiki
Jump to: navigation, search
Fence.pngSpruce Fence.pngBirch Fence.pngJungle Fence.pngDark Oak Fence.pngAcacia Fence.png
Oak FenceSpruce FenceBirch FenceJungle FenceDark Oak FenceAcacia Fence

Solid Block









Blast resistance





This block can be broken with any tool, but an axe is the quickest




Yes (64)



First appearances

See History



Data values

See Data values


See Data values

Fences are wooden wall blocks that cannot be jumped over.


Fences are broken most quickly with an axe.

Block Hardness Tool Breaking time (seconds)
Hand Wooden Stone Iron Diamond Golden Shears Sword

3 1.5 0.75 0.5 0.375 0.25

Natural generation[edit]

Only oak fences spawn naturally:

  • Fences form the uprights for the supports in abandoned mine shafts, where they are plentiful.
  • They are also found in villages, where they appear in tables, lampposts, and even enclosures on roofs or behind buildings.
  • Fences occur in library rooms of strongholds as railings and chandeliers. In the latter case, there are many torches attached to them.
  • Fences appear on the "patios" and in the front window of witch huts.


Ingredients Crafting recipe

Any Wood Planks +

Grid layout Arrow (small).png Oak Fence3Spruce Fence3Birch Fence3Jungle Fence3Acacia Fence3Dark Oak Fence3
Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks
Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks Stick Oak Wood PlanksSpruce Wood PlanksBirch Wood PlanksJungle Wood PlanksAcacia Wood PlanksDark Oak Wood Planks


While fences appear to be a single block tall, they are actually 1.5 blocks tall, meaning most mobs cannot jump over them. They can also be used as a form of window, since the player can see through the gaps in the fence.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Since their hitbox is smaller than a single block, it will allow a mob in the block to breathe even when submerged.

Fences can be used to hitch mobs with a lead.


When used as a fuel in a furnace, a fence lasts 15 seconds (or 1.5 items).

Data values[edit]

Type ID Name Numerical ID
Oak fence 85
Spruce spruce_fence 188
Birch birch_fence 189
Jungle jungle_fence 190
Dark Oak dark_oak_fence 191
Acacia acacia_fence 192

Block state[edit]

Name Value Description




When true, the fence extends from the center post in this direction.



1.0.17 Added fences. Nothing could be placed on top of them.
1.3 Fixed standing on top of fences causing players to get stuck and crashing the server in SMP.
1.6 Fences made flammable and visibility improved
1.7 Any block, including torches and other fences, now able to be placed on fences.
1.8 Axes break fences faster.
Official release
1.0.0 Beta 1.9-pre2 Fence collision box reduced.
Fences now connect to solid blocks.
Beta 1.9-pre5 Fence selection area changed to match its collision box.
Fences no longer prevent farmland from decaying when placed below farmland.
1.5 Fence corners now have a smaller collision box, allowing players to fall through the gap in the middle of four fences placed in a square.
1.6.1 13w16a Mobs can be tied to fences.
1.8 14w32b Fences have a new crafting recipe, previously requiring six sticks in a 2×3 grid. The recipe also now produces 3 fences instead of 2.
Fences now vary in appearance based on the planks used to make them. The recipe now requires 4 plank blocks of the same species, but fence blocks of different woods can connect.
Pocket Edition Alpha
0.2.0 Added fences.
0.9.0 build 1 Fences now naturally spawn in strongholds, abandoned mine shafts and villages.
Added smooth lighting to fences.
0.10.0 build 1 Added spruce, birch, jungle, acacia and dark oak variants.
Console Edition
TU1 Added fences.
TU3 Fences are now stackable.
TU5 Pressure plates are placeable on fences.
TU6 Fence collision box decreased to size of fence block.
Pi Edition
0.1.1 Added fences.


Issues relating to "Fence" are maintained on the issue tracker. Report issues there.


  • If a carpet is placed on top of a fence, a player can jump onto the carpet, while mobs cannot (and won't even try). This is safer than a fence gate that might be left open, but it also can't be opened to mobs short of breaking it.
  • If you try to use an item with a right-click function while looking at a fence, the item will not perform its function but will instead appear to be attempting to mine the fence. The fence will never break from this "mining".
  • Getting hit by someone else (or shooting yourself with a knockback enchanted bow while sprinting forwards) while in midair can cause the knockback to propel you over the fence.


See also[edit]