How to make a fence post in minecraft

Learn how to make a fence and a fence gate in Minecraft.

Fences are important functional and decorative items in Minecraft. Use fences around a house for decoration or use a fence to contain your horses, sheep, pigs or other animals.

Fence Types

Fences can be made from each type of Minecraft Wood including Oak, Dark Oak, Spruce, Birch, Acacia and Jungle. Iron bars made from iron ingots can also be placed on the ground and will join together similar to wood fences.

An example of a Wooden fence.

How to make a fence post in minecraft
Oak Wood Fence

An example of an iron fence.

How to make a fence post in minecraft
Iron Fence

Fences will automatically join together with adjacent fence pieces and gates and smoothly connect to other solid blocks to form an enclosed area.

Fences spawn naturally in many of the biomes in which their wood type is found. Fences also spawn on shipwrecks and at woodland mansions.

Additionally, many types of stone and brick in Minecraft can be made into walls and perform the same useful or decorative function as a fence. See Stone Walls and Brick Walls. A stone wall is sometimes referred to as a stone fence.

Fences can also act as fence posts where you can tie a horse or other animal that is leashed with a lead.

Fence Gates

Fences can also be joined to fence gates. Fence gates can open and close by clicking on the gate with the right mouse button or the use button on other editions. Each type of Wood Fence has a corresponding Fence Gate, e.g. Oak Fence Gate, Dark Oak Fence Gate, Spruce Fence Gate, Jungle Fence Gate and Acacia Fence Gate. While often requested, iron gates do not exist at the present time.

An open fence gate.

How to make a fence post in minecraft
Open Fence Gate

A closed fence gate.

How to make a fence post in minecraft
Closed Fence Gate

The fence recipe is simple and requires 4 matching wood planks and 2 sticks.

How to make a fence post in minecraft

How to Make A Fence Gate in Minecraft

To make a fence gate, use 4 sticks and 2 wood planks.

How to make a fence post in minecraft

Nether Brick Fences

Nether brick fences are made from 4 Nether Bricks and 2 Nether Brick. Since it takes 4 Nether Brick (singular) to make one Nether Bricks (plural), it takes a total of 18 Nether Brick to craft one recipe of Nether Brick Fence. The recipe yields 6 fence pieces.

How to Make a Fence in Minecraft and Fence Gates

  1. Make 4 Wood Planks and 2 Sticks for a fence.

    Use 4 planks of a matching type, e.g. oak, dark oak, spruce, birch, acacia or jungle. The recipe makes 3 fence segments.

  2. To make a Fence, place 4 Wood Planks and 2 Stick in the Crafting Table

    Arrange the planks and sticks in the recipe pattern shown. Remove your completed fence.

    How to make a fence post in minecraft

  3. To Craft a Fence Gate, use 4 sticks and 2 matching Wood Planks.

    How to make a fence post in minecraft

This article is about the barrier made out of wood or Nether brick. For the fence-like barrier made out of stone types, see wall. For the openable fence, see Fence Gate.

A fence is a barrier block that cannot normally be jumped over, similar to a wall. Unlike a wall, a player (but not mobs) can see through the openings in a fence.

Obtaining[]

Breaking[]

Wooden fences are broken most quickly with an axe, but drop when broken with any tool. Nether brick fences require a pickaxe; mining it with anything else destroys it and drops nothing.

Block Fences Nether Brick
Hardness 2 2
Tool
Breaking time[A]
Default 3 10
Wooden 1.5 1.5
Stone 0.75 0.75
Iron 0.5 0.5
Diamond 0.4 0.4
Netherite 0.35 0.35
Golden 0.25 0.25

  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

Natural generation[]

How to make a fence post in minecraft

Fence blocks naturally generate as mineshaft supports.

Oak

Oak fences generate as part of:

Spruce

Spruce fences generate as part of:

Birch

Birch fences generate as part of:

  • Woodland mansions
  • Shipwrecks
Jungle

Jungle fences generate as part of:

  • Desert village armorer houses as the window.
  • Shipwrecks
Acacia

Acacia fences generate as part of:

  • Savanna villages, where they appear in tables, animal pen, butcher and shepherd house, stilt house buildings, and other buildings.
  • Shipwrecks
Dark oak

Dark oak fences generate as part of:

Nether brick

Nether brick fences generate as part of:

Crafting[]

Usage[]

Barrier[]

How to make a fence post in minecraft

Fences and Nether brick fences connected by fence gates. Notice that they do not form a connection directly between the two types of fences (in the middle).

While fences appear to be a single block tall and have a hitbox height of one block, their collision box (for entities) is 1.5 blocks tall, meaning most mobs cannot jump over them without the Jump Boost status effect. They are transparent to light and have visual gaps in the model. Spiders can climb over a fence, just like any other vertical object.

A fence occupies the center space of blocks and automatically connects to any solid block that is placed next to it. Wooden fences connect to other wooden fences, but do not connect to Nether brick fences. However, Nether brick fences connect to wooden fence gates.[1]

Leads[]

How to make a fence post in minecraft

A horse tied to a tall fence post with a lead.

Fences can be used to attach mobs with a lead.

Fuel[]

Overworld wooden fences can be used as fuel in furnaces, smelting 1.5 items per block.

Note Blocks[]

Wooden fences can be placed under note blocks to produce "bass" sound.

Nether brick fences can be placed under note blocks to produce "bass drum" sound.

Sounds[]

Wood[]

Java Edition:

Bedrock Edition:

Nether Brick[]

Java Edition:

Bedrock Edition:

Data values[]

ID[]

Java Edition:

NameIdentifierFormBlock tagsItem tagsTranslation key
Oak Fenceoak_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.oak_fence
Spruce Fencespruce_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.spruce_fence
Birch Fencebirch_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.birch_fence
Jungle Fencejungle_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.jungle_fence
Acacia Fenceacacia_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.acacia_fence
Dark Oak Fencedark_oak_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.dark_oak_fence
Mangrove Fencemangrove_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.mangrove_fence
Crimson Fencecrimson_fenceBlock & Itemfences
non_flammable_wood
wooden_fences
fences
non_flammable_wood
wooden_fences
block.minecraft.crimson_fence
Warped Fencewarped_fenceBlock & Itemfences
non_flammable_wood
wooden_fences
fences
non_flammable_wood
wooden_fences
block.minecraft.warped_fence
Nether Brick Fencenether_brick_fenceBlock & Itemfencesfencesblock.minecraft.nether_brick_fence

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
Wood Fencefence85Block & Giveable Item[i 2]Identical[i 3]tile.fence.name
tile.spruceFence.name
tile.birchFence.name
tile.jungleFence.name
tile.acaciaFence.name
tile.darkOakFence.name
Nether Brick Fencenether_brick_fence113Block & Giveable Item[i 2]Identical[i 3]tile.nether_brick_fence.name
Crimson Fencecrimson_fence511Block & Giveable Item[i 2]Identical[i 3]tile.crimson_fence.name
Warped Fencewarped_fence512Block & Giveable Item[i 2]Identical[i 3]tile.warped_fence.name

  1. ID of block's direct item form, which is used in savegame files and addons.
  2. ↑ a b c d Available with /give command.
  3. ↑ a b c d The block's direct item form has the same id with the block.

Block states[]

Java Edition:

Name Default value Allowed values Description
eastfalsefalse
true
When true, the fence extends from the center post to the east.
northfalsefalse
true
When true, the fence extends from the center post to the north.
southfalsefalse
true
When true, the fence extends from the center post to the south.
waterloggedfalsefalse
true
Whether or not there's water in the same place as this fence.
westfalsefalse
true
When true, the fence extends from the center post to the west.

Bedrock Edition:
Wooden fence (minecraft:fence):

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
wood_type0x1
0x2
0x4
oakoak
spruce
birch
jungle
acacia
dark_oak
0
1
2
3
4
5
The type of wood this fence is made of.

Video[]

History[]

For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see /Asset history

Java Edition Infdev
?A prototype fence model has been added to the game. There are three defined states: north-south, east-west and a cross. These models are currently unused.
Java Edition Alpha
v1.0.17
How to make a fence post in minecraft
How to make a fence post in minecraft
Added fences.
Nothing can be placed on top of fences.
Fences do not connect to solid blocks.
v1.0.17_01The player no longer starts with fences in their inventory.[needs testing]
Java Edition Beta
1.3Standing on top of fences causing players to get stuck and crashing the server in multiplayer have now been fixed.
1.6Test Build 3Fences are now flammable and the visibility of them has now been improved.[more information needed]
1.7
How to make a fence post in minecraft
How to make a fence post in minecraft
The application of textures to the fence model has been changed slightly.
Any block,[verify] including torches and other fences, are now able to be placed on fences.
1.8Pre-releaseAdded villages and strongholds, where wooden fences naturally generate.
Dropped fence items no longer appear larger than normal blocks.
1.8.1Fences now generate in mineshafts.
Unknown
?Fences no longer require a solid block underneath to be placed.
Java Edition
1.0.0Beta 1.9 Prerelease
How to make a fence post in minecraft
Added nether brick fences.
Beta 1.9 Prerelease 2The collision boxes of fences have now been reduced.
Fences now connect to solid blocks.
Beta 1.9 Prerelease 5Fence selection area has now been changed to match its collision box.
How to make a fence post in minecraft
The texture of planks was slightly changed, resulting in fences also changing appearance.
Beta 1.9 Prerelease 6Fences no longer prevent farmland from decaying when placed below farmland.
Axes now break fences faster.
1.4.212w36aIt is now possible to place pressure plates on top of Nether brick fences.
1.4.41.4.3Mobs no longer try to jump over Nether brick fences.[more information needed]
The texture of fences has now been fixed. There was a problem when attached single slab or stairs because the face not rendered when attached other blocks.[2]
1.513w06aFence 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.113w16aMobs can now be tied to fences.
1.6Fences now display a useless hand animation when right clicked.
1.814w10a
How to make a fence post in minecraft
The nether brick fence item model is now a flat plane.
14w10bNether brick fences now have a proper item model again.[3]
14w32bFences now have a new crafting recipe using 4 planks of the same type to produce 3 fences. Previously, it required six sticks in a 2×3 grid to produce 2.
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
Fences now vary in appearance based on the planks used to make them.
"Fence" has now been renamed to "Oak Fence".
1.915w44bFences now show glitchy elongated textures when connecting to other fences.[4] These may be GPU dependent.
15w45aFences now no longer show a bugged texture, however they appear different to how they did prior to 15w44b.
1.10pre1The correct fence wood types now generate in villages.
1.1116w39aOak, birch and dark oak wood fences now generate in woodland mansions.
16w39cFences now no longer show a useless hand animation when right clicked.
1.1217w15aFences now connect to the solid back sides of stairs.
1.1317w47aThe oak fence ID has now been changed from fence to oak_fence.
It is now possible to place a fence when the player is within a corner of three fences to form a ring of four, provided the space is sufficient.
Prior to The Flattening, these blocks' numeral IDs were 85, 113, 188, 189, 190, 191 and 192.
18w10cWater can now be placed on the same block as fences.
1.1418w43a
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
The textures of fences have now been changed.
Nether brick fence recipe has now been changed to avoid conflict with the nether brick wall recipe.
18w47a
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
The textures of fences have now been changed.
18w49aSpruce fences now generate in the newly added snowy tundra villages.
18w50aThe updated desert villages now generate with jungle fences instead of oak fences.
How to make a fence post in minecraft
The texture of spruce fences has now been changed.
19w03aWood fences can now be used to craft composters.
1.1519w45aFences are no longer used to craft composters.
1.1620w06a
How to make a fence post in minecraft
How to make a fence post in minecraft
Added crimson and warped fences.
20w13aCrimson and warped fences now connect to other types of fences.[5]
October 16, 2021File:Mangrove Fence (pre-release).pngMangrove fences are shown at Minecraft Live 2021.
1.1922w11a
How to make a fence post in minecraft
Added mangrove fence.
22w12aMangrove fences can now be used as a fuel.[6]
22w13aDark oak fences now generate in ancient cities.
22w14aDue to the addition of the mangrove tree and mangrove swamp, make mangrove fence obtainable and renewable.
Pocket Edition Alpha
v0.2.0
How to make a fence post in minecraft
Added fences.
v0.3.0Survival players no longer start out with an infinite amount of fences in the inventory.
v0.9.0build 1Fences now naturally spawn in strongholds, mineshafts and villages.
Added smooth lighting to fences.
v0.10.0build 1
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
Added spruce, birch, jungle, acacia and dark oak variants.
"Fence" has now been renamed to "Oak Fence".
v0.12.1build 1
How to make a fence post in minecraft
Added Nether brick fences.
build 12Torches can now be placed on top of Nether brick fences.
v0.14.0build 1Spruce wood fences now generate in witch huts.
v0.14.2
How to make a fence post in minecraft
The texture of Nether brick fences is now brighter.
v0.15.0build 1Savanna villages now generate with acacia wood fences rather than oak fences.
Spruce wood fences now generate in taiga, snowy tundra and snowy taiga villages.
Pocket Edition
1.1.0alpha 1.1.0.0Oak, birch and dark oak wood fences now generate in woodland mansions.
Bedrock Edition
1.4.0beta 1.2.14.2Wooden fences now generate in shipwrecks.
1.9.0beta 1.9.0.0The recipe for Nether brick fences has now been changed to avoid conflict with the Nether brick wall recipe.
1.10.0beta 1.10.0.3
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
The textures of fences have now been changed.
Dark oak fence gates now generate in pillager outposts.
Due to architecture changes, oak fences no longer generate in desert villages.
Jungle fences now generate in desert village armorers.
1.16.0beta 1.16.0.51
How to make a fence post in minecraft
How to make a fence post in minecraft
Added crimson and warped fences.
beta 1.16.0.63
How to make a fence post in minecraft
The texture of Nether brick fences now matches Java Edition's again.
1.16.20beta 1.16.20.50Crimson and warped fences now uses regular plank sounds instead of their stem variant sounds.
1.19.0beta 1.19.0.20
How to make a fence post in minecraft
Added mangrove fence.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1
How to make a fence post in minecraft
Added fences.
TU3Fences are now stackable.
TU5Pressure plates are now placeable on fences.
TU6The fence collision box has now been decreased to size of fence block.
TU7
How to make a fence post in minecraft
Added Nether brick fences.
TU25CU14 1.17
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
Added spruce, birch, and jungle variants.
The crafting recipe now uses 4 planks and 2 sticks instead of 6 sticks.
"Fence" has now been renamed to "Oak Fence".
TU27CU15 1.18
How to make a fence post in minecraft
How to make a fence post in minecraft
Added acacia and dark oak fences to the creative inventory. When they were actually added to the game is unknown.
TU54CU44 1.52 Patch 241.0.4Fences now connect to the solid back sides of stairs.
1.90
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
The textures of fences have now been changed.
New Nintendo 3DS Edition
0.1.0
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
How to make a fence post in minecraft
Added fences.

Issues[]

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

Trivia[]

  • If a carpet is placed on top of a fence, a player can jump onto the carpet, while mobs cannot (except rabbits).
  • Getting hit by someone else (or shooting yourself with a Punch enchanted bow while sprinting forward) while in midair can cause the knockback to propel you over a fence you would not be able to jump over normally.
  • Placing a carpet on top of a fence does not reduce the fence or wall collision box down to one block, it just provides a platform one block high around the fence/wall to make it easier for climbing on the top of the fence.
  • Projectiles get stuck in the collision box of the fence and remain there if shot from upward.

Gallery[]

See also[]

  • Fence Gate
  • Cobblestone Wall

References[]

  1. MC-197992
  2. MC-38
  3. MC-50220
  4. MC-91715
  5. MC-171286
  6. MC-249316