How to Get a Command Block in Minecraft Bedrock Edition
Command blocks are one of Minecraft's most powerful tools — they let you run game commands automatically, build adventure maps, set up custom mechanics, and automate nearly anything the game's command system can do. But unlike most blocks, you can't craft them or find them in survival mode. Getting one in Bedrock Edition requires a specific process, and a few things need to be in place before it works.
What Is a Command Block?
A command block is a special block that executes a Minecraft command when activated — usually by a redstone signal or another command block. They're used by map makers, server admins, and players who want to create custom gameplay experiences: teleportation systems, scoreboards, custom mobs, automated messages, and more.
There are three types:
| Type | Color | Behavior |
|---|---|---|
| Impulse | Orange | Runs once when activated |
| Chain | Green | Runs after the block pointing to it fires |
| Repeat | Purple | Runs every game tick while powered |
Each serves a different role depending on what you're building. Most beginners start with the impulse type.
What You Need Before You Start
Getting a command block in Minecraft Bedrock isn't just about typing the right command — two conditions must be met first.
1. Creative Mode
Command blocks can only be obtained and placed while in Creative Mode. If you're in Survival, the /give command for command blocks will still work if cheats are enabled, but you won't be able to place or interact with the block properly unless you're in Creative. Most players switch to Creative mode first.
2. Cheats Must Be Enabled
This is the step many players miss. In Bedrock Edition, cheats are a world-level setting. If cheats weren't turned on when the world was created, the commands needed to get a command block won't work.
To check or enable cheats:
- Open the game menu while in your world
- Go to Settings → Game
- Find the Cheats toggle and make sure it's switched on
⚠️ Enabling cheats in an existing world will disable achievements for that world permanently, so keep that in mind if achievements matter to you.
How to Get a Command Block Using /give
Once you're in Creative Mode with cheats enabled, open the chat window and type:
/give @s command_block Press Enter. A command block will appear in your inventory. That's it — no crafting table, no materials required.
To get the other types:
/give @s chain_command_block /give @s repeating_command_block The @s selector targets yourself. You can replace it with a specific player name if you want to give one to someone else in a multiplayer world.
How to Use a Command Block Once You Have It
Place the command block in your world like any other block. Right-click (or tap and hold on mobile/console) to open the interface. You'll see:
- Command Input — where you type the command the block will execute
- Block Type — switch between Impulse, Chain, and Repeat
- Condition — set whether the block runs conditionally (only if the previous block succeeded) or unconditionally
- Redstone — set it to always active or require a redstone signal
🎮 On console or mobile, the interface looks slightly different but contains the same core options.
Common Issues and Why They Happen
"Unknown command" or nothing happens when you type /give: This almost always means cheats are disabled. Double-check the world settings.
Command block placed but won't open: You may have accidentally switched back to Survival Mode. Command block GUIs are locked in Survival — only Creative Mode players can open and edit them.
Can't find it in the Creative inventory: You technically can find command blocks in the Creative inventory on Bedrock, but they're tucked away in the Construction tab or you can search for "command." Using /give is faster and more reliable.
Block runs but nothing happens: Check that the command inside is valid and that the block is actually receiving a signal (for Impulse and Chain types). A common fix is placing a lever or button next to it and activating it manually to test.
Bedrock vs. Java: A Few Differences Worth Knowing
If you've used command blocks on Java Edition before, most of the logic carries over — but a few things work differently in Bedrock:
- Some commands and selectors have different syntax in Bedrock
- Bedrock uses its own command versions, and not every Java command works identically
- Bedrock supports behavior packs and functions alongside command blocks, which some builders use instead for more complex automation
The core /give method is the same across both editions, but command syntax inside the blocks varies enough that Bedrock-specific tutorials are worth seeking out when building something complex.
The Variables That Change Your Experience
How useful command blocks are — and how smoothly the process goes — depends on a few factors specific to your situation:
- What platform you're on (Windows, mobile, console) affects the interface layout and input method
- Your world's cheat settings, set at creation, determine what's even possible without starting over
- What you're trying to build determines which block type and command structure you actually need
- Your familiarity with Minecraft's command syntax shapes how quickly you can get results once the block is in your hand
Getting the block itself takes about thirty seconds. What you do with it — and whether the commands inside work the way you need them to — depends entirely on the project you're working on and how deep into Bedrock's command system you're prepared to go.