Skip to content
[/craft]
Give a Command Block

Give a Command Block

Get a command block (it isn't in the creative menu)

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Command blocks are hidden from Creative mode inventories — this is the only vanilla way to obtain one. Once given, place the block on the ground and right-click (Java) or tap (Bedrock) to open the interface and type commands. Powered by redstone or by always-active conditional modes.

/give @p command_block
22 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — the command block lands in your inventory.
  4. Place it in the world and right-click to program it with your desired command.

Related commands