OGTOOLS

7 Days to Die cheats and cheat codes

In 7 Days to Die, cheats are typed into the command console on PC. You open the console with F1, then turn on debug mode with dm and the creative menu with cm. Commands for items, XP, teleporting, time, weather and spawning zombies all work from the same place. The list was checked against version V3.3 (October 2026). PS5 and Xbox Series versions have no command console, so this page covers the PC method only.

40 codes 6 categories 3 code builders updated October 31, 2026

How do you open the cheat console?

Your choice is remembered

The 7 Days to Die command console opens with F1 on PC. In single player every command works; on a dedicated server you need admin permission first. Type the command and press Enter, then press F1 again to close the console.

F1
  1. While in game, press F1 and the command console opens.
  2. Type the command and press Enter.
  3. To see how a command is written, put help in front of it, for example help settime.
  4. Press F1 again to close the console.

On some keyboard layouts the console is bound to another key as well. The official wiki lists " for the US layout and @ for some European layouts.

dm

Turns on debug mode: God mode, flying and the entity spawn menu on F6 come with it. Typing the same command again turns it off. If you only want items, turning on the creative menu with cm is enough.

  • PS5 and Xbox Series versions have no F1 command console. Sources say cheat and creative options sit in the in-game menus on consoles and that they change between builds, so this page covers the PC method only.
  • While cheat mode, the creative menu or debug mode is on, you cannot earn achievements. If you are hunting achievements, try cheats on a separate save.
  • On a dedicated server, most commands are open only to full admins (level 0) by default.
  • Commands from old guides such as spawnwh and giveselfskillxp are not in the current version. Type help in the console to see the full list for your version.
  • Commands that change the time also shift timers tied to the game clock. Back up your save before big jumps.

Categories

Every category has its own page

All codes

Copy, paste into the game
40 codes listed

Basic commands

Category page →

Turns on debug mode

dm

God mode, flying and spawning entities with F6 come with this mode. Typing the same command again turns it off; the long form is debugmenu.

Blocks achievements; if you are hunting them, use a separate save.
PC

Turns on the creative menu

cm

After that, press U to open the list of items and blocks and take what you want. The same command turns it off; the long form is creativemenu.

Blocks achievements; if you are hunting them, use a separate save.
PC

Opens the creative menu screen

U key (after cm)

After typing cm in the console, the U key opens the list of items and blocks. Take what you want from the list into your inventory.

PC

Turns on god mode

Q or G key (after dm)

While debug mode is on, god mode is bound to a key. Sources give it as Q or G; you can see the key for your version in the Controls settings.

PC

Turns on flying

H key (after dm)

While debug mode is on, the H key turns flying on and off. If the key does nothing, check the fly key in the Controls settings.

PC

Shows how a command is written

help settime

Typing help on its own lists every command in your version. Add a command name after it to see that command's full syntax.

PC

Shows the game version

version

Prints the version you are playing and any loaded mods. If a command does not work, check your version first.

PC

Item commands

Category page →

Puts any item in your backpack

giveself <item name> 6 1 true

Replace the item name with the game's internal name. The numbers are quality (1 to 6) and amount, and the true at the end puts the item in your backpack.

PC

Searches for an item's internal name

listitems sniper

Lists every item name that contains the word at the end. Use the name you find in the giveself command; the short form is li.

PC

Gives a sniper rifle

giveself gunRifleT3SniperRifle 6 1 true

Puts a sniper rifle of the highest quality (6) straight into your backpack.

PC

Gives ten first aid kits

giveself medicalFirstAidKit 1 10 true

The 1 is the quality value, and quality only matters for weapons, tools and armor. The 10 is the amount, and the true puts the kits in your inventory.

PC

Gives 1000 Dukes casino tokens

giveself casinoCoin 1 1000 true

Puts Dukes casino tokens, the game's money, in your backpack. For another amount, type the number you want instead of 1000.

Without the true at the end, the tokens drop at your feet.
PC

Character and teleport commands

Category page →

Gives 10,000 XP

giveselfxp 10000

You get as much XP as the number at the end. You earn skill points as you level up; there is no command that gives skill points directly.

As your level rises, your gamestage rises too and blood moon hordes grow.
PC

Shows your gamestage

gamestage

Prints your gamestage, which sets the size of zombie hordes. It is worth checking after you level up with a command.

PC

Switches the camera view

sv

Switches between the first-person and third-person camera. The long form is switchview.

PC

Teleports you to coordinates

tp 500 -1 -1200

The numbers are east-west, height and north-south in that order. Typing -1 for the height puts you on the ground; west and south are negative.

PC

Teleports you to another player

tp <player name>

Takes you to the player whose name you type. The player's entity ID works instead of the name too, and lpi lists the IDs.

PC

Teleports you up from where you stand

tp offset 0 20 0

The numbers are added to your position; this example moves you 20 units up. You can use it to get out when you are stuck.

If god mode is off, you may take damage when you land.
PC

Time and weather commands

Category page →

Sets the day and time

settime 8 6 0

The numbers are day, hour and minute: This example takes you to 6 in the morning on day 8. It is the safest form if you want to keep the day count.

Quest, bedroll and land claim timers and the blood moon schedule also run off the game clock. Back up your save before a big jump.
PC

Sets the time to noon on day 1

settime day

According to the game's own help text, the clock goes to 12:00 on day 1.

In a world you have played for a while, the day count goes back too. Use the form with day, hour and minute instead.
PC

Sets the time to midnight on day 2

settime night

According to the game's own help text, the clock goes to 00:00 on day 2.

In a world you have played for a while, the day count changes too. Use the form with day, hour and minute instead.
PC

Shows the day and time

gettime

Prints which day it is and what time it is in the console. The short form is gt.

PC

Sets rain to full strength

weather Rain 1

The number at the end is rain intensity from 0 to 1. A 0 stops the rain and -1 returns it to default.

PC

Sets the fog

weather Fog 0.5

The number at the end is fog density, 0 is clear and 1 is the thickest fog. Type -1 to return to default.

PC

Resets the weather settings

weather d

Undoes every weather change you made with commands, and the weather goes back to the game's own settings. The long form is weather defaults.

PC

Zombie and spawn commands

Category page →

Kills all enemies

killall

Zombies die instantly. According to the game's own help text, the command does not touch players.

Old guides say it kills players too. On a multiplayer server, type help killall first and read the description for your version.
PC

Kills living things, animals included

killall alive

Animals die along with the zombies. According to the game's help text, vehicles and turrets are not affected.

PC

Spawns a wandering zombie horde

spawnw h

Brings in one of the wandering hordes that roam the map right away. The long form is spawnwandering h; the old spawnwh no longer works.

PC

Spawns screamer zombies

spawnscouts

Spawns scout zombies (screamers) near you. Add a player name at the end and they appear near that player.

PC

Calls in an air drop

spawnairdrop

Starts an air drop, so you do not have to wait for the next one to get a supply package.

PC

Spawns a supply crate

spawnsupplycrate

Brings a supply crate to where you stand.

PC

Shows when the next wandering horde is due

shownexthordetime

Prints when the next wandering horde that roams the map will arrive. It does not show the blood moon horde.

PC

Opens the entity spawn menu

F6 key (after dm)

While debug mode is on, the F6 key opens a list of zombies and animals you can spawn. Pick from the list and spawn them without typing a code.

PC

Server and admin commands

Category page →

Makes a player an admin

admin add <player name> 0

The number at the end is the permission level, and 0 is full access. To take it back, type admin remove and the player's name.

PC

Kicks a player from the server

kick <player name>

The player is removed from the server. You can add a reason in quotes at the end.

PC

Bans a player for a set time

ban add <player name> 2 days

The time unit can be minutes, hours, days, weeks, months or years. To lift the ban, use ban remove.

PC

Lists players with their IDs

lpi

Shows each connected player's name, entity ID and platform ID. For the full list with position and health, type lp.

PC

Saves the world right away

saveworld

Writes the world to disk as it is; the short form is sa. It does not create a backup you can roll back to.

PC

Gives an item to another player

give <player name> <item name> <amount>

The item drops in front of the player you name. Add one more number after the amount to set the item's quality.

PC

Gives XP to another player

givexp <player name> 5000

The player you name gets as much XP as the number at the end.

PC

Code builders

No more typos

Some commands need the game's internal code names. Pick from the lists below and the command is written out for you with the right spelling.

Item code builder

Pick the item, quality and amount, and the giveself command is ready.

giveself {item} {quality} {amount} true

Quality only matters for weapons, tools and armor. To find the internal name of an item that is not on the list, type listitems and part of its name in the console.

Time builder

Enter the day, hour and minute, and the settime command is ready.

settime {day} {hour} {minute}

On default settings, a blood moon starts every 7 days at 22:00. Moving the clock forward also shifts timers tied to the game clock, so back up your save first.

Teleport code builder

Enter the map coordinates; use negative numbers for west and south.

tp {x} -1 {z}

The -1 in the middle puts you on the ground. If the map shows 500 E, 1200 S, type 500 in the east-west box and -1200 in the north-south box.

Common questions

How do you open the console in 7 Days to Die?
On PC, press F1 while in game and the console opens. Type the command and press Enter, then press F1 again to close it. On some keyboard layouts the console is bound to another key as well.
How do I enable cheats in 7 Days to Die?
Typing dm in the console turns on debug mode, and typing cm turns on the creative menu. Open the creative menu with the U key and take the items you want. The Cheat Mode option in the world settings when you start the game also unlocks the creative menu.
Do cheats disable achievements?
Yes. While cheat mode, the creative menu or debug mode is on, you cannot earn achievements. Sources differ on whether the block lasts only for that session or for the whole save, so if you are hunting achievements, try cheats on a separate save.
Are there cheats on PS5 and Xbox?
PS5 and Xbox Series versions have no F1 command console, so the commands on this page only work on PC. Sources say cheat and creative options sit in the in-game menus on consoles and that they change between builds. We could not confirm the exact steps with two separate sources, so the console method is not on this page.
Is there a money cheat in 7 Days to Die?
The game's money is Dukes casino tokens, which are given as an item. Typing giveself casinoCoin 1 1000 true in the console puts 1000 tokens in your backpack, and you can change the amount as you like.
A command does not work, what should I do?
First check your version with the version command; some commands from old guides (such as spawnwh and giveselfskillxp) no longer exist. To see the current syntax, type help and the command name. On a dedicated server, check that you have admin rights.

Other games in the archive