Minecraft Wiki
This article is about the invisible block in current versions. For the similar block used in old worlds in Bedrock Edition, see Invisible Bedrock. For the enchantment in Minecraft Dungeons, see Minecraft Dungeons:Barrier. For barrier at the edge of the world, see World border.

Barrier is an invisible block used to create solid boundaries.


Barriers can be obtained only using commands such as /give, /item on Java Edition, and /replaceitem on Bedrock Edition and cannot be broken in survival mode.

In Java Edition, barriers are available in the creative inventory when the "Operator Items Tab" is enabled in control settings.

Natural generation[]

In normal worlds, barriers don't generate naturally. They only generate in debug mode worlds, where barriers generate as the floor exclusively on Java Edition as the Debug mode world type is not on Bedrock Edition. However, due to a glitch, barrier blocks used to generate on Java Edition snapshot 20w16a in Treasure Room Bastion Remnants, specifically in Lava pools.


Barrier blocks are mainly used to build an impenetrable barrier that cannot be broken in standard survival mode play but can be placed in survival. For example, they can be used to protect a reserved area from entry by players, mobs, and other entities. Unlike other kinds of unbreakable blocks that could be used for this purpose (such as bedrock), barrier blocks are unobtrusive because they are invisible. Barrier blocks cannot be destroyed by TNT, creeper explosions, or any other explosions.

In the player's inventory, the block is displayed as a red box with a slash through it, but when placed it is completely invisible.

Barriers are transparent to light and do not block a beacon. Fences, iron bars, glass panes, and similar blocks do not visually connect with barriers. Barriers interact with blocks and mobs as a solid block. All dependent blocks can be placed on a barrier, such as torches or redstone, and it can suffocate mobs. Mobs cannot spawn on barriers. The red cross texture, however, is revealed as particle effects when falling or sprinting on them, regardless of what game mode the player is in.

In Creative mode, if a player is holding a barrier block in their hand, all placed barrier blocks display the barrier icon as a particle. This effect is client-side, and if a player holds a barrier block in survival, the particle does not appear. Barrier blocks are not shown if the particle setting is set to "minimal". Furthermore, they have a greater amount of blast resistance than any other unbreakable block.

Barrier blocks can be waterlogged by being placed into water source blocks on Bedrock Edition. See waterlogging for more details on what blocks can be waterlogged.

Barrier blocks are the most resistant blocks in Minecraft.

Piston interactivity[]

Barriers cannot be pushed by pistons. They also cannot be pushed nor pulled by sticky pistons.


Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
Block brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break1.00.816
Block placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place1.00.816
Block breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit0.250.516
None[sound 1]Entity-DependentFalling on the block with fall damageblock.stone.fallNone[sound 1]0.50.7516
FootstepsEntity-DependentWalking on the blockblock.stone.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.27 [sound 1]0.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
  1. MCPE-169612 — Many blocks make very slightly different sounds to stone

Data values[]


Java Edition:

NameIdentifierFormBlock tagsTranslation key
BarrierbarrierBlock & Itemdragon_immune

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1]Translation key
Barrierbarrier416Block & Giveable Item[i 2]Identical[i 3]tile.barrier.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. The block's direct item form has the same id as the block.


This section is missing information about Did sprinting on or punching (without breaking) barriers ever create particles in java?. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition
1.8January 30, 2014Grum posted about an invisible block.
14w05aBarrier JE1 BE1 Added barriers.
14w06aBarriers now use block of redstone breaking particles instead of lava.
A barrier particle effect has been added to the particle command. With this, the player can now see where there are barriers.
14w06bBarriers are now visible when holding the item in creative mode.
14w20aWithers and ender dragons can no longer break barriers.
14w25aMissing Model (inventory) JE1 The barrier no longer has an item model.
Missing Texture JE3 Barriers now display the missing texture as a particle when held.
Barriers now also use the missing texture for usual block particles, for example when broken.
14w25bThe barrier has an item model again.[1]
Barriers now display the expected texture as a particle when held.[1]
14w26aBarriers now use the barrier item texture for particles, fixing the missing texture use.[2]
releaseBarriers can now be broken by withers, once again.
1.8.1pre3Withers no longer break barriers.
1.1317w47aPrior to The Flattening, this block's numeral ID was 166.
1.1418w43aBarrier JE2 BE2 The texture of barriers has been changed.
1.1620w16aBarrier blocks now generate naturally within Treasure room bastion remnants.
20w17aBarrier blocks no longer generate naturally within Treasure room bastion remnants.
1.1721w20aBarrier (shown) JE1Barrier Outline Box (shown) JE1 Barriers are now revealed by save-mode structure blocks.[3]
1.19.322w42aBarriers no longer emit block particles when broken.[4]
22w44aBarriers are now available in the creative inventory, but only if cheats are enabled.
22w45aMoved barriers behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.
1.20.223w31aBarriers can now be waterlogged by players in Creative mode.
Barriers can no longer produce particles when fallen onto[5] or brushed[6].
Bedrock Edition
1.6.0beta JE1 BE1 Added barriers.
1.10.0beta JE2 BE2 The texture of barriers has been changed.
Legacy Console Edition
TU31CU19 1.22 Patch 3Barrier JE1 BE1 Added barriers.
PlayStation 4 Edition
1.90Barrier JE2 BE2 The texture of barriers has been changed.


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


  • The symbol used is not compliant with ISO 3864-1, as the diagonal line is mirrored.[7]
  • Invisible bedrock, a technical block in Bedrock Edition, shares many features with the barrier block.
  • The barrier's vanilla block model defines only what texture to use for block breaking particles, and doesn't have a parent model or anything that would give the block a physical shape.
  • Barriers are hardcoded to not render any block model.[8]



  1. a b MC-57041
  2. MC-57883
  3. MC-102220
  4. MC-221568
  5. MC-122547 — "Barriers can produce fall particles" — resolved as "Fixed".
  6. MC-260085 — "Particles are created when using a brush on a barrier" — resolved as "Fixed".
  7. MC-64322 — resolved as "Works As Intended".
  8. MC-131775