To turn on cheats in Minecraft, open your world settings and switch Allow Cheats or Activate Cheats to on, then start or resume the world. In Java Edition, you can also open the world to LAN and enable cheats there; in Bedrock, you usually turn them on from the world’s Game settings, and enabling them can disable achievements for that world.

Quick steps

  1. Pause the game.
  2. Open Settings or World Settings.
  3. Find Cheats , Allow Commands , or Activate Cheats.
  4. Turn it On.
  5. Go back into the world and type a command in chat with a leading /, like /gamemode creative.

Java Edition

In Java, the common method is to pause the world, choose Open to LAN , then set Allow Cheats: On and start the LAN world. After that, commands like /time set day or /gamemode creative should work in that session.

Bedrock Edition

In Bedrock, go to Settings > Game and scroll until you find Activate Cheats or Allow Commands , then switch it on. Some guides note that turning this on will warn you about achievements being disabled for that world.

Example command

If cheats are enabled, try:

text

/gamemode creative

That changes your mode to Creative right away in a world where commands are allowed.

TL;DR

Enable cheats in the world’s settings, then use commands starting with /. Java often uses Open to LAN , while Bedrock usually uses Activate Cheats in Game settings.