October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

How to Get Barrier Blocks in Minecraft (Java, Bedrock, and Education)

Use the edition-specific /give command to get a barrier block in Minecraft, provided commands are enabled or you have server permission.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Get a barrier block with a command: in Java Edition, enter /give @s minecraft:barrier; in Bedrock Edition, enter /give @s barrier. You must have commands enabled in your single-player world or permission to use commands on a server. In Bedrock single-player, enabling cheats permanently disables achievements for that world.

Get a barrier block with a command

  1. Check your edition and command access. In Bedrock single-player, open the world’s Game settings and enable Allow Cheats. In Java single-player, enable Allow Commands when creating the world, or use the setting in World Options. On a multiplayer server, you need sufficient permission; ask the operator if you do not have it. Minecraft’s command guide explains these access requirements.
  2. Open chat. Commands entered in chat begin with a slash. The general item-giving format is /give <player> <item> [amount].
  3. Enter the command for your edition:
    • Java Edition: /give @s minecraft:barrier
    • Bedrock Edition: /give @s barrier

    Here, @s targets the command’s executor, so the block goes to you. To give it to another player, replace @s with their player name or an appropriate target selector.

Bedrock’s current stable item registry lists both minecraft:barrier and barrier as identifiers: Microsoft Learn’s Bedrock item list. If the command is rejected by your installed version or platform, type /give in chat and use the game’s suggestions to check accepted names and arguments.

As an Amazon Associate I earn from qualifying purchases.

Why you cannot find barriers in the inventory

Barrier blocks are not in the ordinary Creative inventory. A Minecraft Education support reply says to obtain them with /give; it does not provide an exact command example. For Education Edition, enter /give and follow the suggestions shown by your installed version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Barriers are commonly documented as invisible during ordinary use and visible while held, though appearance may vary by version or resource pack. A user-contributed Minecraft Feedback post describes this behavior; it is not authoritative syntax documentation: Minecraft Feedback.

#1 Best Overall
Minecraft | Java & Bedrock Deluxe Collection | Windows Digital Code
  • DELUXE COLLECTION — Includes Minecraft: Java & Bedrock Edition, three Bedrock add-ons, three exclusive Character Creator items, and 700 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fix command errors or missing permission

  • “Unknown item” or syntax error: Check that you used the command for Java or Bedrock, then use chat autocomplete. Microsoft Learn lists the Bedrock identifiers, and Minecraft’s command guide describes suggestions for command arguments.
  • The command is rejected in single-player: Check the world’s command setting. For Bedrock, enabling Allow Cheats disables achievements for that world permanently, even if you later turn cheats off.
  • You are on someone else’s server: The server owner or operator controls command access. Ask them to grant the required permission.

For the command format and permission details, see Minecraft’s official command guide.

Quick Recap

Bestseller No. 4
Minecraft
Minecraft
Skins! We have biome settlers, city folk, town folk, and more!; The Nether and all its inhabitants. Fight Ghasts and make friends with Pigmen
$6.99
Bestseller No. 5
Minecraft - Bedrock Edition PS4
Minecraft - Bedrock Edition PS4
Play and share with friends on console, mobile and Windows 10; discover community creations in the new in-game store
$42.98
Best Value
Minecraft - Bedrock Edition PS4
  • Play and share with friends on console, mobile and Windows 10
  • discover community creations in the new in-game store
  • access new mini games and game modes through servers
Rank #4
Minecraft
  • Skins! We have biome settlers, city folk, town folk, and more!
  • The Nether and all its inhabitants. Fight Ghasts and make friends with Pigmen
  • Cross platform play for up to five players between Pocket Edition and Windows 10
  • Revamped touch controls, controller support, and a controller mapping screen
  • Enhanced Weather effects! Accumulating snow and more
Rank #3
Minecraft | Standard Edition | XBOX Digital Code
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that is unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world full of surprises.
  • SURVIVAL ADVENTURES — Face mysterious foes, travel across varied landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play solo or join friends in local split-screen and cross-platform play across console, mobile, and PC. Online multiplayer supports up to 8 players.
  • COMMUNITY PLAY — Connect with players on community servers, or subscribe to Realms Plus (sold separately) to play with up to 10 friends on a private server.
Rank #2
Minecraft | Java & Bedrock Ultimate Collection | Windows Digital Code
  • ULTIMATE COLLECTION — Includes Minecraft: Java & Bedrock Edition, five Bedrock add-ons, five exclusive Character Creator items, and 1000 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.