How to Turn on Cheats in Your Minecraft World

  • You can turn on cheats in your Minecraft world when making it, or through the Settings menu.
  • Enabling cheats in Minecraft lets you spawn items, teleport, change the game mode, and more.
  • Both Minecraft Java and Minecraft Bedrock support cheats.
  • Visit Insider’s Tech Reference library for more stories.

They say that cheaters never win. But in Minecraft, they can at least pull off some pretty cool tricks.

Turning on cheats in your Minecraft world unlocks dozens of chat commands that let you control the game with ease. You can change the weather, teleport anywhere, summon or slay enemies — it’s like a whole new game.

Both versions of Minecraft (Java and Bedrock) let you turn on cheats when you’re first creating a world, or once you’re inside. Here’s how to set it up.

How to turn on cheats in Minecraft: Java Edition

You can enable cheats whenever you want, whether you’re creating a new world or opening an old one.

To turn on cheats when you’re creating a new world:

1. Open Minecraft and click Singleplayer, and then Create New World.

2. On the options page that appears, click Allow Cheats: OFF so it turns to Allow Cheats: ON.

The Minecraft Java "Create New World" screen. The "Allow Cheats" option is highlighted.

Toggle on “Allow Cheats.”

Mojang; William Antonelli/Insider

3. Once cheats are turned ON, click Create New World again to generate the world.

If you want to turn on cheats in a world that you’ve already created, that can be done just as quickly.

1. While playing in that world, press Esc to open the Game Menu.

2. Select Open to LAN, and then click Allow Cheats: OFF so it turns to Allow Cheats: ON.

3. Click Start LAN World.

The "LAN World" menu in Minecraft Java.

Enable cheats in your LAN world.

Mojang; William Antonelli/Insider

Cheats are now turned on in your Minecraft world. You can use them by pressing T and typing into the chat box. Keep reading for some sample cheat codes you can test out.

And remember that once you’ve turned cheats on, you can’t turn them off without creating an entirely new world.

How to turn on cheats in Minecraft: Bedrock Edition

Enabling cheats in the Bedrock edition isn’t much different than in Java. This works on PC, PlayStation, Nintendo Switch, and Xbox. The “Pocket” versions on iPhone, iPad, and Android also have similar steps.

To turn on cheats for a new world:

1. Launch Minecraft and select Play.

2. Select Create New, and then Create New World.

3. On the Game Settings page, scroll down until you find the Cheats section.

4. Toggle on Activate Cheats and confirm that you’re okay with disabling achievements.

5. You can use the toggles below to quickly change some specific world options, but once you’re ready click Create on the left side.

The "Create new world" screen in Minecraft Bedrock.

Switch on the “Cheats” option.

Mojang; William Antonelli/Insider

And if you’ve already created a world without cheats but want to enable them:

1. While in your world, press the Esc key on your keyboard, the Start/Options button on your controller, or the Pause icon on your touchscreen to pause the game.

2. Select Settings, and in the Game Settings menu that opens, scroll down to the Cheats section.

3. Toggle on Activate Cheats and resume the game.

Once you turn on cheats, you can use them by pressing T on your keyboard or the right D-pad button on your controller to open the chat.

You can turn cheats off later by going back to that menu and toggling the switch off again.

Some easy Minecraft cheat codes to try out

You’ll enter all your cheat codes into the chat box, as if you were talking to another player. You can open the chat box by pressing T on your keyboard, or the right D-pad button on your controller.

Here are some powerful cheats to get started with. 

/give to spawn any item

This lets you give yourself — or another player in your world — any amount of almost any item. You’ll type it as /give PlayerName ItemName Quantity.

So for example, if your username was JohnDoe and you wanted to give yourself 30 diamonds, you’d type /give JohnDoe diamond 30.

If you don’t know your username, you can type @s in its place instead.

/weather to change the weather

This lets you start or stop rain and thunderstorms.

Just type /weather clear, /weather rain, or /weather thunder.

You can also use the /time command to mess with the day-to-night cycle.

/tp to teleport anywhere

This lets you teleport anywhere in the world, as well as teleport to other dimensions like The Nether and The End.

There are lots of different ways to use this command, so check out our full article on how to teleport in Minecraft for more details.

/gamemode to change your game mode

Did you start your Minecraft world in Creative Mode, but now you want to give Survival a go? You don’t need to create a new save file — just use cheats.

You can use cheats to switch between Creative, Survival, Adventure, and Spectator modes on the fly. Check out our article on changing game modes for the full details.

/kill to slay every enemy in the area

If you’ve found a cave full of Creepers that you really don’t want to deal with, you can take them all out in one go with the /kill command. You’ll type it like this: /kill @e[type=EnemyName].

So if you wanted to destroy every Creeper in the area, type /kill @e[type=creeper]. Just note it’ll only kill the ones that have already spawned — it won’t stop more from appearing.

A screenshot of Minecraft, with the /kill command entered into the chat.

The /kill command will work on any spawned “entity.”

Mojang; William Antonelli/Insider

Source News