Skip to main content
GamesRadar+ GamesRadar+
US EditionUS CA EditionCanada UK EditionUK AU EditionAustralia
Sign in
  • View Profile
  • Sign out
  • Games
    • Game Insights
      • Games News
      • Games Features
      • Games Reviews
      • Games Guides
      • Big in 2026
      • The Big Preview
      • On The Radar
      • Indie Spotlight
      • Future Games Show
      • Golden Joystick Awards
    • Genres
      • Action Games
      • RPGs
      • Action RPGs
      • Adventure Games
      • Third Person Shooters
      • FPS Games
    • Platforms
      • PS5
      • Xbox Series X
      • PC
      • Nintendo Switch
      • Nintendo Switch 2
      • Tabletop Gaming
    • Franchises
      • Grand Theft Auto
      • Pokemon
      • Assassin's Creed
      • Monster Hunter
      • Fortnite
      • Cyberpunk
      • Red Dead
      • The Elder Scrolls
      • The Sims
  • Entertainment
    • TV Shows
      • TV News
      • TV Reviews
      • Anime Shows
      • Sci-Fi Shows
      • Superhero Shows
      • Animated Shows
      • Marvel TV Shows
      • Star Wars TV Shows
      • DC TV Shows
    • Movies
      • Movie News
      • Movie Reviews
      • Big Screen Spotlight
      • Superhero Movies
      • Action Movies
      • Anime Movies
      • Sci-Fi Movies
      • Horror Movies
      • Marvel Movies
      • DC Movies
    • Streaming
      • Apple TV Plus
      • Disney Plus
      • Netflix
      • HBO
      • Amazon Prime Video
      • Hulu
    • Comics
      • Marvel Comics
      • DC Comics
    • Toys & Collectibles
    • Lego
    • Dungeons and Dragons
    • Merch
  • Hardware
    • Insights
      • Hardware News
      • Hardware Reviews
      • Hardware Features
    • Computing
      • Desktop PCs
      • Laptops
      • Handhelds
    • Peripherals
      • Headsets & Headphones
      • TVs & Monitors
      • Gaming Mice
      • Gaming Keyboards
      • Gaming Chairs
      • Speakers & Audio
    • Accessories & Tech
      • Gaming Controllers
      • Tech
      • SSDs & Hard Drives
      • VR
      • Accessories
      • Retro
  • Deals
    • Game Deals
    • Tech Deals
    • TV Deals
    • Buying Guides
  • Video
  • Newsletters
    • Quizzes
    • About Us
    • How to pitch to us
    • How we score
    • Newsarama
    • Retro Gamer
    • Total Film
  • home
  • Games
    • View Games
      • Games News
      • Games Features
      • Games Reviews
      • Games Guides
      • Big in 2026
      • The Big Preview
      • On The Radar
      • Indie Spotlight
      • Future Games Show
      • Golden Joystick Awards
      • Action Games
      • RPGs
      • Action RPGs
      • Adventure Games
      • Third Person Shooters
      • FPS Games
    • Platforms
      • View Platforms
      • PS5
      • Xbox Series X
      • PC
      • Nintendo Switch
      • Nintendo Switch 2
      • Tabletop Gaming
      • Grand Theft Auto
      • Pokemon
      • Assassin's Creed
      • Monster Hunter
      • Fortnite
      • Cyberpunk
      • Red Dead
      • The Elder Scrolls
      • The Sims
  • Entertainment
    • View Entertainment
    • TV Shows
      • View TV Shows
      • TV News
      • TV Reviews
      • Anime Shows
      • Sci-Fi Shows
      • Superhero Shows
      • Animated Shows
      • Marvel TV Shows
      • Star Wars TV Shows
      • DC TV Shows
    • Movies
      • View Movies
      • Movie News
      • Movie Reviews
      • Big Screen Spotlight
      • Superhero Movies
      • Action Movies
      • Anime Movies
      • Sci-Fi Movies
      • Horror Movies
      • Marvel Movies
      • DC Movies
    • Streaming
      • View Streaming
      • Apple TV Plus
      • Disney Plus
      • Netflix
      • HBO
      • Amazon Prime Video
      • Hulu
    • Comics
      • View Comics
      • Marvel Comics
      • DC Comics
    • Toys & Collectibles
    • Lego
    • Dungeons and Dragons
    • Merch
  • Hardware
    • View Hardware
      • Hardware News
      • Hardware Reviews
      • Hardware Features
      • Desktop PCs
      • Laptops
      • Handhelds
    • Peripherals
      • View Peripherals
      • Headsets & Headphones
      • TVs & Monitors
      • Gaming Mice
      • Gaming Keyboards
      • Gaming Chairs
      • Speakers & Audio
      • Gaming Controllers
      • Tech
      • SSDs & Hard Drives
      • VR
      • Accessories
      • Retro
  • Deals
    • View Deals
    • Game Deals
    • Tech Deals
    • TV Deals
    • Buying Guides
  • Video
  • Newsletters
    • Quizzes
    • About Us
    • How to pitch to us
    • How we score
    • Newsarama
    • Retro Gamer
    • Total Film
Trending
  • Pokemon Winds and Waves
  • New Games for 2026
  • GamesRadar+ Replay
  • Mario Day deals
Jump to:
  • Java Edition cheats
  • Bedrock Edition cheats
  • Player cheats
  • World and Environment cheats
  • Item and Mob cheats
  1. Games
  2. Adventure
  3. Minecraft

The best Minecraft cheats and console commands

Guides
By Iain Wilson Contributions from Joel Franey, Will Sawyer, Marloes Valentina Stella last updated 8 November 2024

We've got cheats and console commands for both Java and Bedrock Minecraft

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Minecraft Cheats and Commands
(Image credit: Mojang)
Jump to:
  • Java Edition cheats
  • Bedrock Edition cheats
  • Player cheats
  • World and Environment cheats
  • Item and Mob cheats
  • Facebook
  • X
  • Pinterest
  • Flipboard
  • Email
Share this article
Join the conversation
Follow us
Add us as a preferred source on Google
Get the GamesRadar+ Newsletter

Weekly digests, tales from the communities you love, and more


By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

You are now subscribed

Your newsletter sign-up was successful


Want to add more newsletters?

GamesRadar+

Every Friday

GamesRadar+

Your weekly update on everything you could ever want to know about the games you already love, games we know you're going to love in the near future, and tales from the communities that surround them.

GTA 6 O'clock

Every Thursday

GTA 6 O'clock

Our special GTA 6 newsletter, with breaking news, insider info, and rumor analysis from the award-winning GTA 6 O'clock experts.

Knowledge

Every Friday

Knowledge

From the creators of Edge: A weekly videogame industry newsletter with analysis from expert writers, guidance from professionals, and insight into what's on the horizon.

The Setup

Every Thursday

The Setup

Hardware nerds unite, sign up to our free tech newsletter for a weekly digest of the hottest new tech, the latest gadgets on the test bench, and much more.

Switch 2 Spotlight

Every Wednesday

Switch 2 Spotlight

Sign up to our new Switch 2 newsletter, where we bring you the latest talking points on Nintendo's new console each week, bring you up to date on the news, and recommend what games to play.

The Watchlist

Every Saturday

The Watchlist

Subscribe for a weekly digest of the movie and TV news that matters, direct to your inbox. From first-look trailers, interviews, reviews and explainers, we've got you covered.

SFX

Once a month

SFX

Get sneak previews, exclusive competitions and details of special events each month!


An account already exists for this email address, please log in.
Subscribe to our newsletter

Minecraft cheats and console commands provide a handy shortcut for those who wish to circumvent the resource grind. With the right spawn commands at hand, there's no need to dig deep for gold, iron, and diamonds. On top of that, Minecraft cheats allow you to change the weather, alter the world, boost your equipment, and even switch the game mode. You're free to play by your own rules, regardless of whether you play the Java or Bedrock edition.

This guide will show you how to enable cheats and use console commands in-game. We'll also show you the essential Minecraft cheat codes - to use at your own discretion.

How to use Minecraft cheats and commands in Java Edition

Minecraft Cheats and Commands Java Edition

(Image credit: Mojang)

To use cheats in Minecraft Java Edition, do the following:

  1. Start by choosing to create a new Minecraft world.
  2. On the 'Create New World' page, click on "Allow Cheats" so that it's toggled on.
  3. Generate and enter the world.
  4. Once you've loaded in, press the forward slash key (/) to open the chat menu with a slash already in the text box.
  5. Type a command and press enter to run it. You can also use the up and down arrow keys to scroll through previous commands to re-enter them.

If you haven't generated your world with cheats enabled, or you want to enable cheats on an existing world, you need to open the game menu, choose 'Open to LAN', then toggle 'Allow Cheats' to on. Click 'Start LAN World' to properly enable you to enter Minecraft commands and cheats. Do note that you'll have to follow these steps to enable cheats every time you log back into that Minecraft world, as the cheats won't stay enabled after you stop playing.

How to use Minecraft cheats and commands in Bedrock Edition

Minecraft Cheats and Commands Bedrock Edition

(Image credit: Mojang)

To use cheats in Minecraft Bedrock Edition, even on consoles, you can create a new single-player world, go to the Cheats tab on the 'Create New World' menu, and turn Cheats on. Doing this will permanently disable the ability to unlock achievements in Bedrock Edition, even if you turn cheats off later.

Alternatively, you can turn your cheats on or off while in-game, in a pre-existing world. To do so, follow these steps:

  1. Generate and enter the world.
  2. Open settings.
  3. Scroll down until you see the 'cheats' list. Toggle the 'activate cheats' button on or off. You can already enable some basic cheat options here, such as an everlasting day or the ability to keep your inventory upon death.
  4. With cheats enabled, go back to the game and click the '/' icon and choose a Minecraft command from the list or open the on-screen keyboard to begin typing commands - make sure you start each one with a '/'.
  5. With the command entered - you'll see it at the bottom of the screen - press 'X' to run the command.
Best Minecraft Mods

Best Minecraft Mods

(Image credit: Mojang Studios)

Discover the best Minecraft mods here!

If you're playing Bedrock Edition using a keyboard, you enter Minecraft commands and cheats much in the same way as Java Edition. When you're in a world with cheats enabled, press '/' to bring up the chat menu already with a slash in the text box. Now type in your command and press enter to run it. Of course, you need to be the owner of a world if you want to enable Minecraft cheats - if you wish to play on the best Minecraft servers, you'll have to abide by the rules.

Sign up to the GamesRadar+ Newsletter

Weekly digests, tales from the communities you love, and more

By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

Minecraft player cheats and commands

  • /kill [player] 
    • Kill yourself (or specified player)
  • /tp [player] <x y z> 
    • Teleport yourself (or specified player) to the coordinates entered
  • /effect <player|entity> <effect> [duration] 
    • Applies the effect to the specified player or entity, for an option duration in seconds. A list of effect codes can be found here
  • /effect clear <player|entity> [effect] 
    • Clear all effects, or optionally just the specified effect, from the player or entity
  • /enchant <player> <enchantment> [level] 
    • Apply the enchantment to the specified player's selected item, at an optional level. A list of enchantment code can be found here
  • /experience add <player> <amount> 
    • Adds the stated amount of experience points to the specified player. Put the word levels on the end to add experience levels instead

Whether you're on Bedrock or Java Edition, speed up entering Minecraft cheats and commands by using these shortcuts to quickly to select specific targets for your command:

  • @p = the nearest player to you 
  • @r = a random player 
  • @a = all players in the world 
  • @e = all entities in the world 
  • @s = you

Not that these Minecraft cheats won't drastically change your character appearance or the look of your world. If that's what you're after, considering equipping the best Minecraft skins or install the best Minecraft shaders. 

Minecraft world and environment cheats and commands

If you want to use coordinates in your Minecraft commands, these are expressed as x, y, z, where x is the distance east (+) or west (-) of the origin point, z is the distance south (+) or north (-) of the origin point, and y is the height from -64 to 320, where 62 is sea level. You can also use tilde (~) or caret (^) notation with a number to express relative coordinates offset from your current position, with the notation by itself representing ~0 or ^0 means no offset. Tilde offsets are based on the world coordinates, so ~5 ~ ~-5 would be +5 blocks on x (east), 0 blocks on y (same height), and -5 blocks on z (north). Caret offsets are based on the direction the player's head is facing along left, upward, and forward axes, so ^5 ^ ^-5 would be 5 blocks left, 0 blocks upward (same height), and 5 blocks backward.

Here's an overview of Minecraft commands used to alter the world and environment:

  • /seed 
    • Produces a seed code so you can recreate your world later
  • /setworldspawn [x y z] 
    • Set the world spawn location to the player's current position, or optional specified coordinates if entered
  • /gamemode <type> [player] 
    • Sets the game mode type (use survival, creative, adventure, or spectator) for yourself or an optional player
  • /gamerule <rule> [value] 
    • Queries the value of a game rule, or amends it if an optional value is entered. A list of rule codes can be found here
  • /difficulty <level> 
    • Sets the difficulty level (use peaceful, easy, normal, or hard)
  • /time set <value> 
    • Sets the world game time, use 0 (Dawn), 1000 (Morning), 6000 (Midday), 12000 (Dusk), or 18000 (Night) as the value
  • /gamerule doDaylightCycle false 
    • Turn off the day/night cycle, replace false with true to reactivate
  • /weather <type> [duration] 
    • Sets the weather type (use clear, rain, or thunder) for an optional duration in seconds
  • /gamerule doWeatherCycle false 
    • Turn off weather changes, replace false with true to reactivate
  • /clone <x1 y1 z1> <x2 y2 z2> <x y z> 
    • Clones the blocks in the region between coordinates <x1 y1 z1> and <x2 y2 z2>, then places them with coordinates <x y z> in the lower northwest corner

Minecraft Cheats and Commands list

(Image credit: Mojang)

Minecraft Item and Mob cheats and commands

  • /give <player> <item> [quantity] 
    • Adds item to player's inventory, in specified quantity if the item is stackable. A list of item codes can be found here
  • /gamerule keepInventory true 
    • Keep your inventory items after you die, replace true with false to reverse
  • /summon <entity> [x y z] 
    • Spawns the entity at the player's location, or optional specified coordinates if entered. A list of entity codes can be found here

Those should be more than enough Minecraft cheats to let you mess around in your worlds to your heart's content. If you need any more assistance with using any of these commands, then simply type /help [command] for additional information and guidance.

With Minecraft cheats and commands enabled, modify your adventure even more by adding the best Minecraft seeds.

© GamesRadar+. Not to be reproduced without permission

CATEGORIES
PS4 PS5 Xbox Series X Xbox One PC Gaming PlayStation Xbox iPhone Android Nintendo Nintendo Switch Wii-u Platforms PlayStation Xbox Mobile Gaming Nintendo
Iain Wilson
Iain Wilson
Social Links Navigation
Guides Editor

Iain originally joined Future in 2012 to write guides for CVG, PSM3, and Xbox World, before moving on to join GamesRadar in 2013 as Guides Editor. His words have also appeared in OPM, OXM, PC Gamer, GamesMaster, and SFX. He is better known to many as ‘Mr Trophy’, due to his slightly unhealthy obsession with amassing intangible PlayStation silverware, and he now has over 1,000 Platinum pots weighing down the shelves of his virtual award cabinet. He does not care for Xbox Achievements.

With contributions from
  • Joel FraneyGuides Editor, GamesRadar+
  • Will SawyerGuides Editor, GamesRadar+
  • Marloes Valentina StellaFreelance Writer
Latest in Minecraft
Jack Black as Steve in A Minecraft Movie.
Former Microsoft VP says it "maybe" should have taken "full advantage of Minecraft" before buying more studios
 
 
Minecraft Aether 2
Minecraft modders behind the sandbox game's most popular unofficial dimension unveil its sequel, flying mounts and all
 
 
Minecraft key art showing Steve holding a pickaxe.
15 years later, infamous Minecraft anarchy servers strengthen chat moderation at the reported request of Mojang itself
 
 
Minecraft Steve
An 81-year-old grandma has been streaming Minecraft to pay for her grandson's cancer treatment - he's now "cancer free"
 
 
Minecraft baby mobs
Minecraft has redesigned its baby mobs to be even cuter, and I need you to look at them because they're just so precious
 
 
Minecraft screenshot with Xbox Series X five year anniversary overlay
Minecraft is a testament to player creativity above all else – and 16 years later, no other game comes close
 
 
Latest in Guides
A ditto takes a selfie when visiting the Pokopia developer island
How to visit the Pokopia developer island
 
 
Marathon introducing Traxus contract player fighting UESC commander
Marathon Introducing Traxus contract guide and UESC terminal locations for Intersection, Complex, and Bio-Research
 
 
A ditto who looks like a human smiles for a selfie in front of the Pokopia area map.
How many areas there are in Pokemon Pokopia?
 
 
Marathon Introducing NuCaloric shooting tick nest in infested building
Marathon Introducing NuCaloric contract walkthrough and how to find the employee ID card
 
 
Fruit Piece Incremental codes
Fruit Piece Incremental codes (March 2026) and how to redeem them for free Beli, Scrolls, Rolls, and more
 
 
Taking a picture in front of the smelting furnace with Rolycoly in Pokemon Pokopia
How to make glass in Pokemon Pokopia
 
 
LATEST ARTICLES
  1. Pickmon
    1
    Pokemon and Palworld clones are officially out of hand, as fans react to "lawsuitmaxxing" new game Pickmon and its "straight up rip-offs" of iconic 'mons like Charizard
  2. 2
    After years of torturing myself over NES color accuracy, it turns out there is no consensus for how the retro console should look
  3. 3
    Kinda sounds like Elijah Wood WILL be in Lord of the Rings: The Hunt for Gollum, as he admits he "wouldn't want anybody else to play Frodo"
  4. 4
    Resident Evil Requiem Grace actor says Capcom wanted more "cinematic performances" to keep pace with the devs "leveling up" the technical side of the horror game
  5. 5
    How many areas there are in Pokemon Pokopia?

GamesRadar+ is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

Add as a preferred source on Google Add as a preferred source on Google
  • Terms and conditions
  • Contact Future's experts
  • Privacy policy
  • Cookies policy
  • Accessibility statement
  • Careers
  • About us
  • Advertise with us
  • Review guidelines
  • Write for us
  • Accessibility Statement

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...