To activate a cheat in most versions, one simply types the code while playing (this also applies while in automap mode). After the last letter has been entered, a message of acknowledgement will appear at the top of the screen. The status bar, face, and ingame view may also change, depending on the effects of the code. All of the codes for the original game work in all ports, unless otherwise noted.

Cheat codes in vanilla Doom are disabled on the "Nightmare!" skill level, except for the iddt and idclev cheats. However, many source ports enable cheats for all skill levels.

In some ports and in the original executables, cheat codes may be different on non-QWERTY keyboards. For example, in France, idkfa may be idkfq, because of the AZERTY keyboard layout commonly used there.

In some source ports, radiation suit effects obtained using idbeholdr protect the player from all radiation damage, even on surfaces which inflict 20% damage per second. Also, in some source ports, when a temporary powerup (e.g. invulnerability) is gained using idbehold, it is permanent until toggled off again (or the level ends).

In certain source ports, the idfa and idkfa cheats also include a backpack if the player does not have one already.

Some source ports enable both no-clipping cheats (idspispopd and idclip) to function while playing either game.


tntammo#, tntamo#Toggles the ammo for selected category or adds/removes a backpack. 1 for bullets, 2 for shells, 3 for rockets, 4 for cells, and B for backpack.
tntcompToggles compatibility with version 1.9 of the Doom executables.
tntemKills all monsters.
tntfastToggles fast monsters.
tnthomToggles HOM autodetector.
tnticeToggles variable friction on floors.
tntkaGives the player all keys.
tntkeybGives the player both blue keys.
tntkeybcGives the player the blue keycard.
tntkeybsGives the player the blue skull key.
tntkeyrGives the player both red keys.
tntkeyrcGives the player the red keycard.
tntkeyrsGives the player the red skull key.
tntkeyyGives the player both yellow keys.
tntkeyycGives the player the yellow keycard.
tntkeyysGives the player the yellow skull key.
tntpitchToggles pitched sounds.
tntpushToggles point pushers.
tntsmartToggles smart monsters.
tntran, tnttranToggles translucency.
tntweap#Gives or takes the weapon specified.


Below are Doomsday's cheat-like console commands. As indicated, they are all entered through the console.

godGod mode (toggle on/off).
warp #Warps to map #, same as the idclev cheat code.
kill kills all monsters of all types on the level.
suicide kills the player. A message will come up on screen asking the player to confirm that they wish to suicide.
noclipNo-clipping mode (toggle on/off).
spawnmobj (ID) X Y Z (facing angle) Spawns an actor at the specified co-ordinates facing the specified angle. The ID's for actors can be found in the mobj definitions (the default ones are in objects.ded).
makecam *Changes the player into a camera that allows them to fly through the level and walls like a ghost. Monsters become dormant and will not attack a camera player. 1 turns on Camera mode and 0 turns it off.
give (stuff) (plr) The give command allows the player to give themselves or another player a variety of abilities and items:

Stuff refers to the type of item you wish to give. If there is more than one item of a type, you can specify specific items from the group. If a specific item isn't specified, you will give all items of that type.

Example: 'give wk' gives the player all weapons and keys.

Example: 'give w2k1' gives weapon two and key one.

Plr is an optional field to specify the number of the player to give the items to. If no player is specified the items will be given to the player typing the command (i.e. yourself).

Below are all the items you can give yourself; these lists can be viewed within Doomsday by entering "give" by it'self.

All Games:

a - ammo
f - the power of flight
h - health
k - keys
r - armor
w - weapons

Doom Specific:

b - berserk
g - light amplification visor
i - invulnerability
m - computer area map
p - backpack full of ammo
s - radiation shielding suit
v - invisibility

Heretic Specific:

i - artefacts
p - backpack full of ammo
t - tome of Power

Hexen Specific:

i - artefacts
p - puzzle items

Doom Legacy

Most of Doom Legacy's additional cheat codes are executed via typing them into the console. All the cheat codes below are used this way, excluding the first.

idfly Toggles fly.
god Toggles god mode on/off.
noclip Toggles no-clipping mode on/off.
kill Kills the player (although without actually removing the player's health).
gimme weapons Gives all weapons.
gimme health Gives full health.
gimme keys Gives all keys.
gimme map Reveals the current level on the automap the same way as the Computer area map powerup.
gimme x weapon Give a specific weapon such as a plasma rifle (gimme plasma)


In addition to new cheat codes of its own, EDGE also allows the user to edit the cheat inputs to their own leisure through the language.ldf file. The codes below are the default forms of the new cheats.

idkillallKills all monsters on the map, except for lost souls that emerge from slain pain elementals
idsuicideKills the player [commits suicide]
idgive#Gives the player all weapons for slot#, along with ammo corresponding to those weapons. # can be from 1 to 10
idhomTurns "Hall of Mirrors" mode on. Any hall of mirrors effects are instead outlined by a green backdrop.


As well as supporting the additional Boom and MBF cheats, Eternity adds a number of its own.

ghostToggles Heretic Shadowsphere effect.
hidemeToggles total invisibility. Monsters are not activated unless they are hurt or hear a shot.
iamtheoneToggles god mode, total invisibility, silencer, and infinite ammo cheats, while also providing full armor, ammo, and weapons.
infshotsToggles infinite ammo.
silenceToggles silencer powerup. Weapon sounds will not activate monsters.


In order to use cheat codes in "Nightmare!" skill or multiplayer in ZDoom, the variable "sv_cheats" must be set to "1" (true). This variable can be set by launching ZDoom, accessing the console via the tilde ( ~ ) key, and typing "sv_cheats 1". One should then be able to use any ZDoom-specific cheat by typing it into the console.


An example of a player using cheats in ZDoom.

summon* Type summon and monster name like doomimp without space and doomimp will appear
anubisMakes monsters afraid of the player (toggle on/off).
buddhaMakes the player's health unable to drop below 1% from damage taken (toggle on/off).
flyAllows the player to fly (toggle on/off).
freezeFreeze Mode (stops all monsters, projectiles, friendlies and item animations, but not the player or environmental animations like wall and floor animations. Additionally allows the player to harmlessly walk through frozen projectile attacks. Toggle on/off).
give *Gives the player items: "*" can be "all" (give everything), "health" (give full health), "weapons" (give all weapons), "ammo" (give full ammo), "armor" (give full armor), "keys" (give all keys), "puzzlepieces" (puzzle items), or the name of a specific item. This can sometimes be used to obtain items from other Doom-based games; for example, "give upgradestamina" results in a stamina implant even while playing Doom, Doom II, Heretic, or Hexen.
godGod mode (toggle on/off).
hxvisit #Warps to map # using the map's warptrans value, same as the "visit" Hexen cheat.
idclev #Warps to map #, same as the idclev cheat code.
iddqdGod mode and 100% health.
infoPrints debugging information about the actor in the player's crosshair.
kill *"kill" by itself causes the player to commit suicide; with an actor name it eliminates all monsters of that type (for example "kill doomimp" kills all imps); "kill monsters" kills all monsters of all types on the level.
linetargetPrints the actor name, current health, and spawn health of the monster in the player's crosshair.
mdkKills whatever the player's crosshair is pointing at. Stands for "murder death kill", a reference to the movie Demolition Man.
The actual damage done to the target is 10,000,000 points, so a DeHackEd patch could conceivably allow certain monsters to survive. This code cannot be used in deathmatch games, even with cheats enabled.1
morphmeWhen playing in Hexen or Doom, turns the player into a Hexen pig, if the appropriate graphics are available. When playing Heretic, this code transforms the player into a Heretic chicken.
noclipNo-clipping mode (toggle on/off).
notargetMonsters will not see the player unless hurt. If a monster has already seen a player, it will still pursue the player even when the cheat is activated. (toggle on/off).
powerupGives the same power as the Tome of Power if playing Heretic.
resurrectIf the player is dead, revives them with full health. This cannot be used if the player's camera has been separated from the body, which happens for example if the player is frozen to death and shattered, or has been gibbed in Heretic, or as the Warrior in Hexen.
summon *Spawns an actor (monster). The dumpclasses actor command can be used to see all the spawnable actors.
summonfriend *Same as "summon", except that the spawned monster will attack enemies. A friendly Arch-Vile created this way will resurrect both friendly and enemy monsters, turning them friendly. Friendly Cyberdemons are also able to injure enemy Cyberdemons with their rockets (and vice-versa), ignoring Cyberdemon's immunity to their own rockets.
sv_fastweapons #Changes speed of weapons. "#" can be any number from 0-2; the default is 0.
sv_infiniteammo #If "#" is 1, enables infinite ammo. If "#" is 0, disables it.
sv_unlimited_pickup #(true/false) Enable to pick up ammunition beyond the maximum amount that could currently be held. (Originally meant as a debugging aid.)
turbo #Changes player speed, similar to the "-turbo" command line in vanilla Doom. "#" can be any number from 10-255; the default is "100".
  1. In the ZDoom source code, see the function cht_DoCheat in m_cheat.cpp.

See also

External links

Community content is available under CC-BY-SA unless otherwise noted.