Command blocks only appear in Creative mode or with cheats enabled

A command block is a special block in Minecraft Bedrock that runs commands when activated. You cannot find it in Survival mode without turning on cheats first. The block itself does not exist in the creative inventory on Realms or in multiplayer worlds where cheats are off.

To get a command block, you need either Creative mode (where you can grab it from the inventory) or Survival mode with cheats turned on (where you summon it with a command). The method depends on which game mode you are playing and whether you want to build with commands or just experiment.

Key Takeaways

  • In Creative mode, open your inventory and search for "command" to find the command block in the creative inventory.
  • In Survival mode, you must enable cheats in world settings before you can summon a command block with the /give command.
  • Command blocks do not work in multiplayer worlds on Realms unless the world owner has cheats enabled for that world.
  • Once you place a command block, you open it by sneaking and right-clicking (or pressing the use button on controller) to enter your command.

Getting a command block in Creative mode

Open your inventory by pressing E on keyboard, or the inventory button on your controller. The creative inventory appears as a list of every block and item in the game. At the top, you will see a search box.

Type "command" into the search box. The command block will appear in the results. Click or select it, then click the output slot or press the button to add it to your hotbar. You can now place it anywhere in your world by selecting it and right-clicking (or pressing the use button).

Enabling cheats in Survival mode

If you are already in a Survival world, you need to turn on cheats before you can summon a command block. Pause the game and go to Settings. Look for the section called "Cheats" or "Game" depending on your platform.

Find the toggle for "Activate Cheats" or "Command Blocks" and turn it on. The game will warn you that turning on cheats will prevent achievements from being earned in that world. Accept the warning. Once cheats are on, you can use the /give command to summon a command block into your inventory.

Summoning a command block with the /give command

With cheats enabled, open the chat window by pressing T on keyboard or the right bumper on controller. Type the following command exactly as written:

/give @s command_block

Press Enter or the button to send the command. A command block will appear in your inventory. If nothing happens, check that cheats are actually on in your world settings — the most common mistake is thinking cheats are enabled when they are not.

You can also use /give @s repeating_command_block or /give @s chain_command_block to get the other two types of command blocks. Repeating blocks run their command every tick, and chain blocks run only when powered by another command block.

What to do after you place the command block

Once the command block is in your inventory, place it in the world by selecting it and right-clicking. The block will appear as a dark purple cube with a question mark on it (or with a different texture depending on the type).

To enter a command into the block, sneak (hold Shift on keyboard or press the sneak button on controller) and then right-click the block. A window will open where you can type your command. Type the command you want to run, then press Done or the confirm button. The command block is now ready to be activated by redstone power or by right-clicking it again.

Command blocks in multiplayer and Realms

If you are playing on a Realm or a multiplayer world, command blocks only work if the world owner has enabled cheats for that world. You cannot turn on cheats yourself in someone else's world — only the owner can do this in the world settings.

If you own the Realm or world, go to the world settings and look for the cheats option. Turn it on, then all players in that world can use command blocks. If you do not own the world, ask the owner to enable cheats if you want to use commands.

Troubleshooting command blocks that do not work

The most common reason a command block does not run is that it is not receiving redstone power. Command blocks need a redstone signal to activate — you can send this signal with a button, lever, redstone dust, or a repeating command block. Place a button next to your command block and press it to test whether the command runs.

If the command block still does not work, check that your command is spelled correctly. Open the command block again and read the text carefully. Common mistakes include forgetting the @ symbol in @s (which means "self" or "the player running the command") or using the wrong block name. If you see a red error message in the command block window, the syntax is wrong — fix the spelling and try again.

Frequently Asked Questions

Can I get a command block in Survival mode without turning on cheats?

No. Command blocks only exist in Creative mode or in Survival worlds where cheats are enabled. There is no other way to obtain one. Once you enable cheats, achievements will be disabled for that world, so plan ahead if you care about earning them.

What is the difference between command block, repeating command block, and chain command block?

A regular command block runs once when powered by redstone. A repeating command block runs every game tick (20 times per second) as long as it has power. A chain command block only runs when the command block before it in a chain finishes. Use /give @s repeating_command_block or /give @s chain_command_block to get the other types.

Why does my command block show a red error message?

The command syntax is wrong. Check that you spelled the command correctly, included all required symbols like @s, and used the right block or item names. Open the command block again and compare your text to the command you intended to type. Even a single missing letter will cause an error.

Can I use command blocks on a server or in multiplayer without the owner's permission?

No. Only the world owner can enable cheats, and command blocks only work in worlds where cheats are on. If you want to use commands in someone else's world, ask them to enable cheats in the world settings.

Do command blocks work the same way in Java Edition and Bedrock?

Command blocks exist in both versions, but the commands themselves are different. Java Edition uses a different command syntax than Bedrock. If you copy a command from a Java guide, it will not work in Bedrock. Make sure you are following guides written for Bedrock Edition.