Fence
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.

Variants Edit
Obtaining Edit
Crafting Edit
All types of fences can be obtained through crafting.
Name | Ingredients | [hide]Crafting recipe |
---|---|---|
Wooden Fence | Matching Planks + Stick |
|
Nether Brick Fence | Nether Bricks + Nether Brick |
Usage Edit
Barrier Edit

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. Camels can walk over fences.
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.
Additionally, if a carpet, trapdoor, moss carpet or pale moss carpet is placed above a fence, players are able to jump over the fence while other mobs are unable to, including mobs like zombies with similar attributes to players.
Leads Edit

Fences can be used to attach mobs with a lead.
Block states Edit
Name | Default value | Allowed values | [hide]Description |
---|---|---|---|
east | false | false true | When true, the fence extends from the center post to the east. |
north | false | false true | When true, the fence extends from the center post to the north. |
south | false | false true | When true, the fence extends from the center post to the south. |
waterlogged | false | false true | Whether or not there's water in the same place as this fence. |
west | false | false true | When true, the fence extends from the center post to the west. |
Video Edit
History Edit
This table list changes affecting both wooden and nether brick fences.
[hide]Java Edition Alpha | |||||||
---|---|---|---|---|---|---|---|
v1.0.17 | Added fences. | ||||||
The player spawns with 64 fences. | |||||||
v1.0.17_01 | The player no longer spawns with 64 fences. | ||||||
v1.0.17_02 | Added a crafting recipe for fences[verify]. It requires 6 sticks. | ||||||
[hide]Java Edition Beta | |||||||
1.6 | Fences can now be placed below farmland to prevent it from decaying. | ||||||
[hide]Java Edition | |||||||
1.0.0 | Beta 1.9 Prerelease | Added nether brick fences. | |||||
Beta 1.9 Prerelease 2 | The collision boxes of fences have been reduced. | ||||||
Fences now connect to solid blocks. | |||||||
Fences no longer require a solid block underneath to be placed. | |||||||
Beta 1.9 Prerelease 5 | Fence selection area has been changed to match its collision box. | ||||||
Beta 1.9 Prerelease 6 | Fences no longer prevent farmland from decaying when placed below farmland. | ||||||
1.4.4 | 1.4.3 | Mobs no longer try to jump over nether brick fences.[more information needed] | |||||
The texture of fences has been fixed. There was a problem with attached single slabs or stairs, as the connected face was not rendered when attached to other blocks.[2] | |||||||
1.5 | 13w06a | 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 now be tied to fences. | |||||
1.6 | Fences now display a useless hand animation when right clicked. | ||||||
1.8 | 14w32b | Added fences for spruce, birch, jungle, acacia and dark oak wood. | |||||
1.9 | 15w44b | Fences now show glitchy elongated textures when connecting to other fences.[3] These may be GPU dependent. | |||||
15w45a | Fences no longer show a bugged texture, however they appear different to how they did prior to 15w44b. | ||||||
1.11 | 16w39c | Fences no longer show a useless hand animation when right clicked. | |||||
1.12 | 17w15a | Fences now connect to the solid back sides of stairs. | |||||
1.13 | 17w47a | 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. | |||||
18w10c | Water can now be placed on the same block as fences. | ||||||
1.16 | 20w06a | Added crimson and warped fences. | |||||
1.19 | 22w11a | Added mangrove fences. | |||||
22w14a | Due to the addition of mangrove trees and mangrove swamps, mangrove fences are now obtainable and renewable. | ||||||
1.19.3 Experiment | 22w42a | Added bamboo fences. | |||||
1.19.4 Experiment | 23w07a | Added cherry fences. | |||||
1.21.2 Experiment | 24w40a | Added pale oak fences. | |||||
[hide]Pocket Edition Alpha | |||||||
v0.12.1 | build 1 | There are now two types of fences: wooden and nether brick fences. | |||||
[hide]Legacy Console Edition | |||||||
Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
TU7 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | There are now two types of fences: wooden and nether brick fences. |
TU19 | CU7 | 1.12 | 1.12 | 1.12 | Moved both types of fences from the Miscellaneous tab, to the Building Blocks tab, in the Creative inventory. | ||
TU54 | CU44 | 1.52 | 1.52 | 1.52 | Patch 24 | 1.0.4 | Fences now connect to the solid back sides of stairs. |
[hide]New Nintendo 3DS Edition | |||||||
0.1.0 | Added two types of fences: wooden and nether brick fences. |
-
Underwater buildings with walls composed of stacked fences, before waterlogging.
Issues Edit
Issues relating to "Fence" are maintained on the bug tracker. Issues should be reported and viewed there.
Java Edition
- MC-196204 – Sneaking against a wall/fence while on top of another wall/fence causes the player to fall off of the wall/fence
- MC-7895 – Large amount of fences impact performance
- MC-12730 – TNT falls through fences and walls when ignited whilst on top of them
- MC-96347 – Mobs leashed to fences drop their lead but don't remove the leash knot when entering a boat
- MC-248092 – Untamed cats on lead despawn when attached to fence post
- MC-253065 – Frog doesn't follow on lead on fence like other animals
- MC-267281 – Fence multipart model system performance optimization
- MC-267587 – Some mobs attached to fences via leads don't pathfind or have difficulty pathfinding to players that are tempting them
- MC-268737 – Rolling pandas become stuck in fence corners
- MC-276925 – Distance limit of using lead on a fence is directional
- And 52 other open issues.
Bedrock Edition
- MCPE-185953 – Baby horses can go through gates and fences
- MCPE-59920 – Connected fence/wall/bar/pane hitbox is too large
- MCPE-156223 – Non-solid blocks from addons still cause fence/walls to connect
- MCPE-38029 – Cannot make Dirt Path blocks under Fence Gates
- MCPE-79487 – Placing an armor stand on a fence or wall causes it to fall through
- MCPE-87311 – Wall/Fence/Iron Bar/Glass Pane Not Attaching Correctly To Corner Stairs
- MCPE-112982 – Wall with a glass pane/iron bar/fence on top does not update when the glass pane/iron bar/fence connects to a block
- MCPE-123695 – Fence, Glass Pane, Wall, Iron Bars connect with honey block
- MCPE-162574 – Mobs think you are on the other side when pressed against a corner fence
- MCPE-163353 – Fences have inconsistent display models in inventory and in item frames
- And 14 other open issues.
Trivia Edit
- 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.
Gallery Edit
Screenshots Edit
-
Pressure Plates on fences, which used to create tables.
-
All fence types.
See also Edit
References Edit
External links Edit
- Block of the Month: Fence – Minecraft.net on December 1, 2022