Learning how to enable cheats in Minecraft opens up a whole new way to play. Cheats let you switch game modes, teleport across the map, change the time of day, summon items and fix mistakes without starting over. They are switched on per world, so one survival world can stay cheat-free while another is for experimenting and building. If you are still deciding whether to buy the game, our guide to is Minecraft free explains your options first. This guide covers new worlds and existing worlds on both Java Edition and Bedrock Edition, plus Realms and servers, so you can get commands working wherever you play.

What Are Cheats in Minecraft?
Cheats in Minecraft are console commands typed into the chat bar. They begin with a forward slash, such as /gamemode creative, and let you change things that normal play does not allow. You can give yourself blocks, teleport to a friend, stop rain, keep your inventory after dying or skip to morning when night falls.
They are called cheats because they bypass the usual rules of survival mode, but they are a built-in part of the game, not a hack or a mod. They work whether you type them yourself or run them from a command block. The only catch is that they must be switched on for the world you are playing in; if they are off, the game will say you do not have permission.
Before You Switch Cheats On
Before you change anything, note that the effects differ between Java and Bedrock.
On Bedrock Edition, turning cheats on permanently disables achievements for that world, even if you switch cheats off again later. There is no way to earn them back in that world, so if achievements matter, copy the world first or use a separate world for cheats. On Java Edition, the position is kinder: advancements keep working normally after you enable commands, so you lose nothing by switching them on.
Cheats are per world, not per account. Turning them on in one world changes nothing in your others, and each new world starts with cheats off unless you enable them during setup. On a multiplayer server you cannot switch cheats on for yourself: you need operator status, and most commands need permission level 2, granted by the server owner or an administrator.
Finally, cheats are not available in Hardcore worlds on Java Edition, which locks the difficulty and disables commands entirely. Use a normal survival or creative world to experiment instead.
How to Enable Cheats in Minecraft Java Edition
Java Edition gives you two moments to switch commands on: when you create a world, and later, while you are already playing in it. Both routes lead to the same result.
For a new world
From the main menu, click Singleplayer, then Create New World. Set Allow Commands to On before you click Create New World. Commands will work from the moment the world loads; open the chat with T and start typing.
For an existing world
If your world already exists and commands are off, you can still switch them on without losing anything. Newer versions of Java Edition offer a direct route: press Esc to open the pause menu, choose World Options, and switch Allow Commands to On. Your commands will work straight away, and the change stays with that world.
If your version does not show a World Options menu, use the older route instead: press Esc, choose Open to LAN, toggle Allow Cheats to On, then click Start LAN World. This works in every version, but it only lasts for the current session — you will need to repeat it each time you reload the world.

How to Enable Cheats in Minecraft Bedrock Edition
Bedrock Edition, which covers Windows, consoles and mobile, handles cheats through the world settings. As with Java, you can switch them on when you create a world or at any point afterwards.
For a new world
From the main menu, tap Play, then Create New, then Create New World. Scroll down the Game settings until you find the Cheats section, and switch the Activate Cheats toggle on. The game will warn you that achievements will be disabled for this world; confirm if you are happy with that, then create the world.
For an existing world
Open your world list, find the world you want to change, and tap the pencil icon next to it to open its settings. Scroll to the Cheats section and switch Activate Cheats on. You will see the same achievements warning. Once you confirm, load the world and press the chat button to start entering commands.
Remember this is permanent for achievements in that world: even if you turn cheats off later, achievements stay disabled, so only switch them on where you are happy to give them up.

How to Enable Cheats on Realms and Servers
On a Realm, only the owner can change the world settings: they open the Realm settings, select the world, and switch cheats on just as in a single-player Bedrock world. Joining players need to change nothing.
On a regular multiplayer server there is no settings toggle for players: the owner controls commands through operator status. If you run the server, make yourself an operator from the console with /op, or add your username to the server’s ops file. Most everyday commands, such as changing game mode or teleporting, need permission level 2, while more powerful ones such as stopping the server need level 4. If you are joining someone else’s server, ask the owner or an administrator to grant you operator status at a level that matches what you need.
Useful Commands to Try First
Once cheats are on, a handful of commands cover most of what new players want to do. Type them into the chat bar — T on Java, the chat button on Bedrock — and press Enter.
| Command | What it does |
|---|---|
/gamemode creative | Switches you to Creative mode, with flight and unlimited blocks |
/gamemode survival | Switches you back to Survival mode |
/give @s diamond 64 | Gives you 64 diamonds (replace “diamond” with any item) |
/tp @s 100 64 100 | Teleports you to the coordinates 100, 64, 100 |
/time set day | Sets the time to morning |
/weather clear | Clears rain and storms |
/gamerule keepInventory true | Keeps your inventory when you die |
The /give command is handy for building: instead of mining or crafting every block, give yourself a stack of what you need and get back to the build. If you would rather craft by hand, our guide to how to make a brick on Minecraft shows the normal crafting route. The same applies to explosives: give yourself TNT with /give @s tnt 64, or follow our guide to how to make TNT in Minecraft PC to craft it in survival. For a longer list of commands, see the Minecraft cheats guide on GamesRadar.

Troubleshooting: Cheats Won’t Turn On
If commands are not working, work through these checks in order. Most problems come from one of them.
Commands say you do not have permission. The world still has cheats off. On Java, press Esc, open World Options and check Allow Commands is On. On Bedrock, check Activate Cheats in the world settings. Also make sure you are in the same world you changed, not a similar-named save.
Cheats stop working after you reload the world. If you enabled them through Open to LAN, the change only lasts for that session. Use Esc, then World Options, then Allow Commands to switch them on permanently — or repeat the Open to LAN steps each time you load the world.
Nothing happens when you type a command. Check your message starts with a forward slash and that you pressed Enter rather than just closing the chat. Also check the spelling: one wrong letter makes the game reject the whole command.
You are in a Hardcore world. Hardcore worlds on Java Edition do not allow commands at all, and no setting changes that. Use a different world.
You are on someone else’s server or Realm. Only the owner or an administrator can enable commands or grant operator status. Ask them to run /op for your username, or to switch cheats on in the Realm settings. GamesRadar’s Minecraft cheats guide is a useful cross-check if you want a second opinion.
FAQs
Does enabling cheats disable achievements in Minecraft?
On Bedrock Edition, yes. Turning cheats on permanently disables achievements for that world, even if you switch cheats off again later. On Java Edition, advancements keep working normally, so enabling commands costs you nothing.
Can I enable cheats in an existing Minecraft world?
Yes. On Java Edition, press Esc, open World Options and switch Allow Commands on. On Bedrock Edition, open the world’s settings from the world list and switch Activate Cheats on. Neither route needs a new world or a restart.
Do cheats work in Hardcore mode?
No. Hardcore worlds on Java Edition do not allow commands, and there is no setting to enable them. If you want to use cheats, play in a normal survival or creative world instead.
Can I use cheats on a Minecraft server?
Yes, but only if you have operator status. Most commands need permission level 2, which the server owner or an administrator grants with the /op command. Without it, the server will reject your commands even if cheats are enabled in your own single-player worlds.















Leave a Reply