Barrier blocks are only obtainable in Creative Mode or with commands

Barrier blocks cannot be found, mined, or crafted in Survival Mode on Minecraft PC. They exist only as a building tool for map makers and server administrators. If you want to use them, you need either Creative Mode inventory access or command-line entry. There is no crafting recipe, no loot chest, and no mining method that produces them in Survival.

Barrier blocks are invisible solid blocks designed to create invisible walls, floors, and boundaries. They show up as a red-and-white checkerboard pattern only when you hold one in your hand or look directly at it — once placed, they vanish from view. This makes them useful for keeping players out of certain areas without breaking the visual landscape.

Key Takeaways

  • Barrier blocks only exist in Creative Mode inventory or through the /give command; Survival Mode has no way to obtain them.
  • In Creative Mode, open your inventory and search for "barrier" in the search box to find and grab them.
  • Using commands, type /give @s barrier to add one barrier block to your inventory when ready.
  • Barrier blocks are invisible once placed but show a red-and-white checkerboard pattern when held or targeted.
  • You need operator (op) status on a server or Creative Mode access to use barrier blocks at all.

Getting barrier blocks in Creative Mode

Open your Creative Mode inventory by pressing E (or your custom inventory key). The full Creative inventory appears with every block and item in the game. Scroll through the list or use the search box at the top to find "barrier" faster. Click the barrier block icon once to select it, then click in your hotbar at the bottom to place it there. You can now grab as many as you need.

If the search box is not visible, make sure you are in the full Creative inventory screen, not a crafting menu. The search box appears only in the main inventory view. Type "barrier" and the list will filter down to show only the barrier block. Grab it and close the inventory with E again.

Using the /give command to add barrier blocks

Open the chat window by pressing T, then type the command exactly as shown: /give @s barrier. Press Enter. One barrier block appears in your inventory when ready. The @s means "yourself" — if you want to give barrier blocks to another player, replace @s with their username, like /give PlayerName barrier.

To give yourself more than one at a time, add a number at the end: /give @s barrier 64 gives you a full stack of 64 barrier blocks. You must have cheats turned on in your world for commands to work. If you are on a server, you need operator (op) status from the server owner.

Turning on cheats if they are off

If you created your world in Survival Mode without cheats, you can still turn them on. Pause the game and look for "Open to LAN" in the pause menu. Click it, then toggle "Allow Cheats" to on. Click "Start LAN World." Cheats are now active for your current session. Commands like /give will work when ready.

This method works only in single-player worlds you created yourself. On multiplayer servers, only the server owner or someone with op status can enable commands. If you are playing on someone else's server and want to use barrier blocks, ask the owner to give you op status or to enable commands on the server.

Placing and using barrier blocks

Once you have barrier blocks in your inventory, place them like any other block — aim at a surface and right-click (or your custom place block key). The block appears but is invisible once placed. To see where you have placed them, hold a barrier block in your hand and look around — all placed barrier blocks nearby will show the red-and-white checkerboard pattern so you can see their outline.

Barrier blocks are solid to players and mobs. They stop movement, prevent fall damage if you land on one, and block projectiles. They do not drop items when broken and cannot be broken in Survival Mode at all — only in Creative Mode or with commands. Use them to create invisible boundaries, seal off areas, or build secret rooms without visual obstruction.

Barrier blocks versus other invisible options

Barrier blocks are not the only way to create invisible structures. Bedrock can be obtained in Creative Mode and is also solid and mostly invisible (though it has a faint texture). Structure Void blocks are invisible but do not block movement — they are used only in structure files. Air is the default empty space and has no collision.

Barrier blocks are the best choice when you want an invisible solid wall that players cannot pass through. Bedrock works too but is harder to remove if you make a mistake. Structure Void blocks are useful only if you are working with structure files or command blocks. For most map-building purposes, barrier blocks are the standard tool.

Common mistakes and fixes

If you type a command and nothing happens, cheats are probably off. Go back to the pause menu, check "Open to LAN," and make sure "Allow Cheats" is toggled on. If you are on a server, ask the owner to enable commands or give you op status. Commands do not work without one of these.

If you place barrier blocks and cannot see them at all, even when holding one, make sure you are looking at the right location. Barrier blocks show only when you are holding one in your hand and looking at a placed one nearby. If you placed them far away, walk closer. If you still cannot see them, try breaking them with your sword in Creative Mode and placing them again in a visible area.

Frequently Asked Questions

Can I get barrier blocks in Survival Mode without commands?

No. Barrier blocks do not spawn in any loot chest, cannot be mined, and have no crafting recipe. They exist only in Creative Mode inventory or through commands. If you want them in Survival, you must turn on cheats and use /give.

Do barrier blocks work the same way on servers?

Yes, but you need op status to use commands or access Creative Mode. Ask your server owner or an admin to give you op permissions if you want to place barrier blocks on a multiplayer server.

Can other players see barrier blocks I place?

No. Barrier blocks are invisible to all players once placed. Other players can walk through them only if they also have a barrier block in their hand — then they see the checkerboard outline too. This makes them useful for invisible traps or secret boundaries.

What happens if I break a barrier block?

In Creative Mode, it breaks and disappears. In Survival Mode, you cannot break barrier blocks at all — they are indestructible. You must switch to Creative Mode or use a command to remove them.

Can I use barrier blocks to stop mobs?

Yes. Barrier blocks are solid to all entities, including mobs and animals. They work as invisible walls to contain or exclude mobs just as they do for players.