Barrier — Minecraft block

Barrier

Barrier is a Creative-only invisible solid block with bedrock-level blast resistance of 3,600,000, used to create indestructible hidden walls in Minecraft.

Block ID minecraft.barrier
Mod Vanilla
Game versions
1.21

Description

The Barrier block is a Creative-only, completely invisible solid block introduced in Minecraft Java Edition 1.8 (2014). Unlike most blocks, Barrier cannot be crafted or found in survival mode — it is obtained exclusively via the command `/give @p minecraft:barrier` or from the "Operator Utilities" tab in the Creative inventory (added in Java Edition 1.19). Barrier has a blast resistance of 3,600,000, identical to bedrock, making it completely indestructible by TNT, creeper explosions, or any other explosive force in the game.

Map makers and server operators rely on Barrier blocks to build invisible walls, death zones, and out-of-bounds boundaries that players cannot see or destroy in Survival or Adventure mode. The only players who can see a Barrier block are those in Creative mode who hold a Barrier item — it then appears as a red circle with a diagonal line. Barrier blocks block all entities including arrows, tridents, and falling sand or gravel, and pistons cannot push or pull them. Because Barrier does not emit or block light, it is ideal for creating hidden boundaries without affecting the visual environment.

Guide

How to use Barrier blocks in Minecraft

  1. 1

    Obtain Barrier blocks via command

    Barrier blocks cannot be crafted. In Creative mode, run `/give @p minecraft:barrier 64` to receive a stack of 64 Barrier blocks. In Java Edition 1.19+, Barrier also appears in the Creative inventory under the "Operator Utilities" tab.

  2. 2

    Place Barrier blocks to define boundaries

    Place Barrier blocks exactly like any other block while in Creative mode. Barrier blocks are invisible to players in Survival and Adventure mode, so plan the boundary carefully before switching modes. Use F3 debug overlay or hold a Barrier item to see placed blocks.

  3. 3

    Visualize placed Barriers in Creative mode

    To see all placed Barrier blocks, switch to Creative mode and hold a Barrier item in your main hand or off-hand. Each Barrier block will appear as a red circle with a diagonal line, indicating its exact position.

  4. 4

    Test the barrier from Survival mode

    Switch to Survival or Adventure mode (use `/gamemode survival`) to verify that Barrier blocks are invisible and that players and mobs cannot pass through them. Remember that arrows, tridents, and all other projectiles are also blocked.

  5. 5

    Remove Barrier blocks when needed

    In Creative mode, break a Barrier block by right-clicking and holding on it. The block will drop as an item. Barrier blocks cannot be destroyed by explosions (blast resistance 3,600,000) or by pistons, so removal always requires Creative mode.

Note

Barrier blocks are not available in Survival mode under any circumstances. If a Survival player obtains one through commands or exploits, placing it creates a permanent invisible obstacle that cannot be removed without operator access.

Frequently asked questions

How do I get a Barrier block in Minecraft?

Barrier blocks are obtained using the command `/give @p minecraft:barrier`. In Java Edition 1.19 and later, Barrier also appears in the Creative inventory under the "Operator Utilities" tab. Barrier cannot be found in Survival mode or crafted.

Can players see Barrier blocks in Survival mode?

No. Barrier blocks are completely invisible to players in Survival and Adventure mode. Only players in Creative mode who are holding a Barrier item in their hand can see the block — it appears as a red circle with a diagonal line.

Can Barrier blocks be destroyed by TNT or explosions?

No. Barrier blocks have a blast resistance of 3,600,000 — the same as bedrock — making them completely indestructible by any explosion in Minecraft, including TNT, creepers, and withers.

Do arrows and mobs pass through Barrier blocks?

No. Barrier blocks stop all entities, including arrows, tridents, falling sand, falling gravel, and mobs. Mobs cannot pathfind through Barrier blocks, making them effective invisible walls in mob arenas and adventure maps.

Can pistons move Barrier blocks?

No. Pistons cannot push or pull Barrier blocks. Barrier is immovable by all piston types, including sticky pistons, which makes it a stable choice for permanent invisible boundaries.

Minecraft and all related materials are trademarks and copyrights of Mojang Studios © 2009–2026. This site is not an official Minecraft product and is not affiliated with or endorsed by Mojang Studios or Microsoft Corporation.