Minecraft Wiki
Advertisement
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[]

Mineshaft with fences

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:

Jungle

Jungle fences generate as part of:

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

Acacia fences generate as part of:

Dark oak

Dark oak fences generate as part of:

Nether brick

Nether brick fences generate as part of:

Crafting[]

Name Ingredients Crafting recipe
Wood Fence Matching Planks +
Stick
Nether Brick Fence Nether Bricks +
Nether Brick

Usage[]

Barrier[]

FenceConnectivity

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]Mobs cannot pass between Nether brick fences and wooden fences, although players can.

Leads[]

HorseLeashedOnAFence

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[]

Normal wood[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5
PlayersFalling on the block with fall damagefall.wood0.41.0
PlayersWalking on the blockstep.wood0.31.0
PlayersJumping from the blockjump.wood0.121.0
PlayersFalling on the block without fall damageland.wood0.181.0

Cherry wood[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.cherry_wood.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.cherry_wood.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.cherry_wood.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.cherry_wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.cherry_wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokenbreak.cherry_wood1.00.8-1.0
BlocksWhen the block is placedplace.cherry_wood1.00.8
BlocksWhile the block is in the process of being brokenhit.cherry_wood0.230.5
PlayersFalling on the block with fall damagefall.cherry_wood0.41.0
PlayersWalking on the blockstep.cherry_wood0.21.0
PlayersJumping from the blockstep.cherry_wood0.121.0
PlayersFalling on the block without fall damagestep.cherry_wood0.181.0

Bamboo wood[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.bamboo_wood.breaksubtitles.block.generic.break0.90.816
Block placedBlocksWhen the block is placedblock.bamboo_wood.placesubtitles.block.generic.place0.90.816
Block breakingBlocksWhile the block is in the process of being brokenblock.bamboo_wood.hitsubtitles.block.generic.hit0.2250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.bamboo_wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.bamboo_wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokenbreak.bamboo_wood0.90.8-1.0
BlocksWhen the block is placedplace.bamboo_wood0.90.8
BlocksWhile the block is in the process of being brokenhit.bamboo_wood0.2070.5
PlayersFalling on the block with fall damagefall.bamboo_wood0.41.0
PlayersWalking on the blockstep.bamboo_wood0.21.0
PlayersJumping from the blockstep.bamboo_wood0.121.0
PlayersFalling on the block without fall damagestep.bamboo_wood0.181.0

Nether wood[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.nether_wood.breaksubtitles.block.generic.break1.00.7216
Block placedBlocksWhen the block is placedblock.nether_wood.placesubtitles.block.generic.place1.00.7216
Block breakingBlocksWhile the block is in the process of being brokenblock.nether_wood.hitsubtitles.block.generic.hit0.250.4516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.nether_wood.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.nether_wood.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokenbreak.nether_wood1.00.8-1.0
BlocksWhen the block is placedplace.nether_wood1.00.8
BlocksWhile the block is in the process of being brokenhit.nether_wood0.230.5
PlayersFalling on the block with fall damagefall.nether_wood0.41.0
PlayersWalking on the blockstep.nether_wood0.31.0
PlayersJumping from the blockstep.nether_wood0.121.0
PlayersFalling on the block without fall damagestep.nether_wood0.181.0

Nether brick[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Block brokenBlocksOnce the block has brokenblock.nether_bricks.breaksubtitles.block.generic.break0.80.816
Block placedBlocksWhen the block is placedblock.nether_bricks.placesubtitles.block.generic.place0.80.816
Block breakingBlocksWhile the block is in the process of being brokenblock.nether_bricks.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.nether_bricks.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.nether_bricks.stepsubtitles.block.generic.footsteps0.151.016
  1. a b MC-177082

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.stone1.00.8-1.0
BlocksWhen the block is placeddig.stone1.00.8-1.0
BlocksWhile the block is in the process of being brokenhit.stone0.370.5
PlayersFalling on the block with fall damagefall.stone0.41.0
PlayersWalking on the blockstep.stone0.31.0
PlayersJumping from the blockjump.stone0.121.0
PlayersFalling on the block without fall damageland.stone0.221.0

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
Cherry Fencecherry_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.cherry_fence
Bamboo Fencebamboo_fenceBlock & Itemfences
wooden_fences
fences
wooden_fences
block.minecraft.bamboo_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:

NameIdentifierAlias ID Numeric ID FormItem ID[i 1]Translation key
Oak Fenceoak_fencefence / 085Block & Giveable Item[i 2]Identical[i 3]tile.fence.name
Spruce Fencespruce_fencefence / 1-579Block & Giveable Item[i 2]Identical[i 3]tile.spruceFence.name
Birch Fencebirch_fencefence / 2-576Block & Giveable Item[i 2]Identical[i 3]tile.birchFence.name
Jungle Fencejungle_fencefence / 3-578Block & Giveable Item[i 2]Identical[i 3]tile.jungleFence.name
Acacia Fenceacacia_fencefence / 4-575Block & Giveable Item[i 2]Identical[i 3]tile.acaciaFence.name
Dark Oak Fencedark_oak_fencefence / 5-577Block & Giveable Item[i 2]Identical[i 3]tile.darkOakFence.name
Mangrove Fencemangrove_fenceNone-491Block & Giveable Item[i 2]Identical[i 3]tile.mangrove_fence.name
Cherry Fencecherry_fenceNone-532Block & Giveable Item[i 2]Identical[i 3]tile.cherry_fence.name
Bamboo Fencebamboo_fenceNone-515Block & Giveable Item[i 2]Identical[i 3]tile.bamboo_fence.name
Crimson Fencecrimson_fenceNone-256Block & Giveable Item[i 2]Identical[i 3]tile.crimson_fence.name
Warped Fencewarped_fenceNone-257Block & Giveable Item[i 2]Identical[i 3]tile.warped_fence.name
Nether Brick Fencenether_brick_fenceNone113Block & Giveable Item[i 2]Identical[i 3]tile.nether_brick_fence.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. a b c d e f g h i j k l Available with /give command.
  3. a b c d e f g h i j k l The block's direct item form has the same id as the block.

Block states[]

See also: 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 (oak, spruce, birch, jungle, acacia, and dark oak):

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
wood_type
(Deprecated)
0x1
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.17Oak Fence (EW) JE1 Oak Fence (item) JE1 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.7Oak Fence (EW) JE2 Oak Fence (item) JE2 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.
Java Edition
1.0.0Beta 1.9 PrereleaseNether Brick Fence (EW) JE1 Added nether brick fences.
Beta 1.9 Prerelease 2The collision boxes of fences have now been reduced.
Fences now connect to solid blocks.
Fences no longer require a solid block underneath to be placed.
Beta 1.9 Prerelease 5Fence selection area has now been changed to match its collision box.
Oak Fence (EW) JE3 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.814w32bFences 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.
Spruce Fence JE1 BE1 Birch Fence JE1 BE1 Jungle Fence JE1 BE1 Acacia Fence JE1 BE1 Dark Oak Fence JE1 BE1 Fences now vary in appearance based on the planks used to make them.
"Fence" has now been renamed to "Oak Fence".
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.
18w11aFences now generate as part of the newly added shipwrecks.
1.1418w43aOak Fence JE3 Spruce Fence JE2 Birch Fence JE2 Jungle Fence JE2 Acacia Fence JE2 Dark Oak Fence JE2 Nether Brick Fence JE2 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.
18w47aOak Fence JE4 BE2 Spruce Fence JE3 Birch Fence JE3 BE2 Jungle Fence JE3 BE2 Acacia Fence JE3 BE2 Dark Oak Fence JE3 BE2 Nether Brick Fence JE3 BE4 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.
Spruce Fence JE4 BE2 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.1620w06aCrimson Fence JE1 BE1 Warped Fence JE1 BE1 Added crimson and warped fences.
October 16, 2021Mangrove fences are shown at Minecraft Live 2021.
1.1922w11aMangrove Fence JE1 BE1 Added mangrove fence.
22w13aDark oak fences now generate in ancient cities.
22w14aDue to the addition of the mangrove tree and mangrove swamp, mangrove fences are now obtainable and renewable.
October 15, 2022Bamboo Fence JE1 BE1 Bamboo fences were shown on Minecraft Live 2022.
1.20
(Experimental)
22w42aBamboo Fence JE1 BE1 Added bamboo fences behind the Update 1.20 experimental datapack.
Added unique sounds for Nether and bamboo wood fences.
23w07aCherry Fence (EW) JE1 Added cherry fences behind the Update 1.20 experimental datapack.
1.2023w12aBamboo and cherry fences are now available without using the aforementioned datapack.
Pocket Edition Alpha
v0.2.0Oak Fence JE2 BE1 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 1Spruce Fence JE1 BE1 Birch Fence JE1 BE1 Jungle Fence JE1 BE1 Acacia Fence JE1 BE1 Dark Oak Fence JE1 BE1 Added spruce, birch, jungle, acacia and dark oak variants.
"Fence" has now been renamed to "Oak Fence".
v0.12.1build 1Nether Brick Fence JE1 BE1 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.2Nether Brick Fence BE2 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.3Oak Fence JE4 BE2 Spruce Fence JE4 BE2 Birch Fence JE3 BE2 Jungle Fence JE3 BE2 Acacia Fence JE3 BE2 Dark Oak Fence JE3 BE2 Nether Brick Fence BE3 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.51Crimson Fence JE1 BE1 Warped Fence JE1 BE1 Added crimson and warped fences.
beta 1.16.0.63Nether Brick Fence JE3 BE4 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.20Mangrove Fence JE1 BE1 Added mangrove fence.
Next Major Update
(Experimental)
beta 1.19.50.21Bamboo Fence JE1 BE1 Added bamboo fences behind the "Next Major Update" experimental toggle.
Added unique sounds for Nether and bamboo wood fences.
beta 1.19.80.20Cherry Fence (EW) JE1 Added cherry fences behind the "Next Major Update" experimental toggle.
1.19.80beta 1.19.80.21The different block states for the fence ID have now been split up into their own IDs.
1.20.0beta 1.20.0.21Bamboo and cherry fences are now available without using the "Next Major Update" experimental toggle.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1Oak Fence JE2 BE1 Added fences.
TU3Fences are now stackable.
TU5Pressure plates are now placeable on fences.
Fences can be found in the Miscellaneous tab in the Creative inventory.
TU6The fence collision box has now been decreased to size of fence block.
TU7Nether Brick Fence JE1 BE1 Added Nether brick fences.
TU19CU7 1.12 Moved fences from the the Miscellaneous tab, to the Building Blocks tab, in the Creative inventory.
TU25CU14 1.17 Spruce Fence JE1 BE1 Birch Fence JE1 BE1 Jungle Fence JE1 BE1 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 Acacia Fence JE1 BE1 Dark Oak Fence JE1 BE1 Added acacia and dark oak fences to the Creative inventory. When they were actually added to the game is unknown.
TU31CU19 1.22 Patch 3Acacia doors and dark oak fences are now obtainable in survival mode.
TU54CU44 1.52 Patch 241.0.4Fences now connect to the solid back sides of stairs.
1.90 Oak Fence JE4 BE2 Spruce Fence JE4 BE2 Birch Fence JE3 BE2 Jungle Fence JE3 BE2 Acacia Fence JE3 BE2 Dark Oak Fence JE3 BE2 Nether Brick Fence BE3 The textures of fences have now been changed.
New Nintendo 3DS Edition
0.1.0Oak Fence JE2 BE1 Spruce Fence JE1 BE1 Birch Fence JE1 BE1 Jungle Fence JE1 BE1 Acacia Fence JE1 BE1 Dark Oak Fence JE1 BE1 Nether Brick Fence JE1 BE1 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).
    • 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.
  • Getting hit by someone else (or shooting themselves with a Punch enchanted bow while sprinting forward) while in midair can cause the knockback to propel the player over a fence they would not be able to jump over normally.
  • Projectiles get stuck in the collision box of the fence and remain there if shot from above.
  • Bamboo fences are designed to resemble actual dried bamboo stems, unlike other fences that simply use their respective planks' textures.[3]

Gallery[]

Screenshots[]

Concept Art[]

See also[]

References[]

External links[]

Advertisement