How to Enable Cheats in Minecraft: Simple Guide for Single & Multiplayer Use

If you’ve ever spent 3 hours mining for diamonds only to fall into lava right as you pick up your first stack, you’ve probably wondered how to enable cheats in Minecraft to fix that frustrating loss. I’ve been there too — last year I spent two weeks building a mountain base only to have a creeper blow up half the storage room, and I had no idea how to spawn replacement materials without starting over. Cheats aren’t just for messing around with infinite TNT, either. They let you adjust game rules, fix glitches, teleport to friends, and customize your play experience exactly how you want it, as long as you set them up correctly. This guide covers every platform you might play on, plus common mistakes to avoid so you don’t accidentally corrupt your save or get locked out of achievements.

How to Enable Cheats in Minecraft for New Single Player Worlds

The easiest way to access cheat commands is to turn them on when you first create a world, and the process only takes a couple of extra clicks no matter what version you play. For Minecraft Java Edition, you’ll find the cheats toggle under the “World Options” tab right below the game mode selection menu. For Bedrock Edition (the version used on consoles, mobile, and Windows 10/11), the toggle is labeled “Activate Cheats” and sits near the bottom of the world creation settings page.

Enabling cheats for a new world will permanently disable achievements for that save, even if you turn cheats off later. That’s a common point of confusion for new players, so if you care about earning in-game achievements, you’ll want to make a separate cheat-enabled world for testing builds or messing around. You can also keep your main achievement-friendly world separate, and only use cheats on a duplicate copy if you want to experiment without losing progress.

If you didn’t think you’d need cheats when you first created your world, you don’t have to start over to access them. The process for existing saves is just as simple, and you won’t lose any of your existing builds or progress if you follow the right steps.

How to Turn On Cheats for an Existing Minecraft World

Most players don’t realize they can add cheat access to a world they’ve already been playing on for weeks or months, and you don’t need to download any third-party tools to do it. For Bedrock Edition, the process is straightforward: just open your world settings, scroll down to the “Activated Cheats” toggle, and flip it on. You’ll get a pop-up warning you that achievements will be disabled, and then you can load right back into your world with full cheat access.

For Java Edition, the process is slightly different, since the game doesn’t have a built-in permanent toggle for existing worlds by default. The simplest temporary method takes less than 10 seconds:

  • Pause your existing world and select “Open to LAN” from the pause menu
  • Toggle the “Allow Cheats” option to On, and leave the game mode setting as is
  • Click “Start LAN World” — you’ll now have access to all cheat commands for your current play session

Note that this LAN method only works for your current play session on Java, so you’ll need to repeat these steps every time you reopen the world if you don’t edit the save file directly. If you want permanent cheat access for a Java save, you can edit the level.dat file with a free online NBT editor, but always make a full backup of your world before modifying any save files to avoid data loss. That means you don’t have to abandon a 100-hour survival save just to learn how to enable cheats in Minecraft when you run into a game-breaking glitch.

Enabling Cheats on Multiplayer Minecraft Servers

If you play on a public or private multiplayer server, you won’t be able to enable cheats for yourself unless the server owner has given you explicit permission. Regular players can’t toggle cheats on their end to bypass server rules, which is a good thing — it stops random users from spawning TNT or deleting builds on community servers.

If you own the server, you can grant cheat access by giving yourself or other players operator (OP) permissions. You can do this by typing “op [your username]” directly into the server console before you launch the game, or by adding your username to the ops.json file in your server’s root folder. Most third-party server hosting panels also have a built-in menu to add OP users without editing files manually.

Never give OP permissions to players you don’t trust completely, as they can delete builds, ban other users, and break your server irreparably. If you’re playing on a friend’s server and need to use a cheat to fix a glitch or teleport back to your base after getting lost, just ask the owner for temporary OP access. Most server hosts are happy to help with legitimate requests, and asking is far easier than trying to find workarounds that might get you banned.

Useful Cheat Commands to Try First

Once you have cheats enabled, you don’t have to memorize hundreds of complicated commands to get value out of them. Start with these simple, high-impact commands that fix most common frustrations without requiring any advanced technical knowledge.

/gamemode creative lets you switch to creative mode instantly, so you can grab hard-to-find materials, test build designs, or fly across the map without wasting time walking. If you want to switch back to survival, just type /gamemode survival to return to your normal play state.

/tp [your username] [friend’s username] teleports you directly to a friend’s location, which is perfect if you got lost exploring 10,000 blocks away from base and don’t want to spend an hour walking back. You can also use /tp with coordinates if you know the exact location of a build or resource you want to visit.

/give [your username] minecraft:diamond 64 gives you a full stack of diamonds, and you can replace “minecraft:diamond” with any item ID to spawn whatever supplies you need. This is perfect for replacing materials you lost to a creeper explosion or lava pit, so you don’t have to spend hours re-mining everything you lost.

If you accidentally run a command that breaks part of your world, you can use /undo to reverse most recent command actions, as long as you run it immediately after the mistake. It’s still a good idea to make a backup of your world before you start testing new commands, just in case you make a change you can’t reverse.

At the end of the day, learning how to enable cheats in Minecraft is all about making the game work for you, not following strict rules set by other players. Some people prefer to play completely vanilla with no cheats, and that’s totally fine, but having access to commands can save you hours of frustration when things go wrong. Just remember to back up your world before you enable cheats for the first time, and only use commands that you understand to avoid breaking your save. Whether you’re fixing a creeper explosion, teleporting to a friend, or spawning enough TNT to blow up a whole mountain, cheats are a fun way to customize your Minecraft experience exactly how you want it.