Cheats & codes
Left 4 Dead 2 Cheat Codes
Grouped by type and platform, each one labelled reported working or tested.
There are 79 cheat codes for Left 4 Dead 2 across PC (Microsoft Windows). Each code below lists the exact button combination or console command, what it does, and whether using it disables achievements.
Cheat codes
1No clipping
Fly through walls and objects; toggle
Enter in console after sv_cheats 1
Local server only
Console commands
78Armed Pipe Bomb at Feet
Arms a live pipe bomb directly beneath your feet, which detonates shortly after
Enable the console in options, press ~
Disables achievements for that session
Bot Friendly Fire
Lets survivor bots damage each other with friendly fire; sb_friendlyfire 0 to disable
Enable the console in options, press ~
Disables achievements for that session
Buddha Mode
Take damage but your health never drops below 1; use buddha 0 to disable
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Common infected cap
Changes the max number of common infected at once
Enter in console after sv_cheats 1; default is 30
Requires sv_cheats 1; very high values risk crashes
Control another survivor
Switches control to another survivor bot
Enter in console after sv_cheats 1; add a name, e.g. sb_takecontrol zoey
Requires sv_cheats 1; only works on AI-controlled survivors
Damage Self
Inflicts a chosen amount of damage on yourself (here, 50 points); replace 50 with any number
Enable the console in options, press ~
Disables achievements for that session
Delete All NextBots
Deletes every existing NextBot (zombies and AI survivors) from the map; combine with director_stop for an empty map
Enable the console in options, press ~
Disables achievements for that session
Enable cheat mode
Enables developer cheats on the local server; required before other commands
Open console with ~ and enter the command
Cheats only work on local/listen servers; disables achievements
Enable Cheats
Enables cheat commands; most codes below require this to be on first
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Enable cheats first
Required before any other cheat command.
Enable the developer console in Options then press `.
Single-player and local server only.
Endless Panic Events
Panic events never stop; use 0 to disable
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Explosive Ammo Upgrade
Equips your weapon with explosive ammunition
Enable the console in options, press ~
Disables achievements for that session
First-Person Camera
Returns your camera to the default first-person view
Enable the console in options, press ~
Disables achievements for that session
Force Panic Event
Forces the AI director to start a panic event
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Freeze survivor bots
Makes survivor bots stand still
Enter in console after sv_cheats 1; sb_stop 0 resumes them
Requires sv_cheats 1
Full Ammo
Refills all ammunition for all weapons
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Full ammo refill
Refills ammunition for primary weapon
Enter in console after sv_cheats 1
Requires sv_cheats 1
Full Health
Restores you to full health
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Give any weapon
Spawns the named weapon, for example give rifle_ak47.
Requires sv_cheats 1 first.
Give Automatic Shotgun
Hands you the automatic shotgun
Enable the console in options, press ~
Disables achievements for that session
Give Dual Pistols
Hands you the standard dual pistols
Enable the console in options, press ~
Disables achievements for that session
Give First Aid Kit
Hands you a first aid kit
Enable the console in options, press ~
Disables achievements for that session
Give Hunting Rifle
Hands you the hunting rifle
Enable the console in options, press ~
Disables achievements for that session
Give M16 Assault Rifle
Hands you the M16 assault rifle
Enable the console in options, press ~
Disables achievements for that session
Give Molotov
Hands you a Molotov cocktail
Enable the console in options, press ~
Disables achievements for that session
Give Pipe Bomb
Hands you a pipe bomb
Enable the console in options, press ~
Disables achievements for that session
God Mode
Invincibility; no damage from any source
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
God Mode Off
Removes god mode so the team takes damage again
Enable the console in options, press ~
Disables achievements for that session
God Mode On
Makes your entire survivor team invulnerable to damage
Enable the console in options, press ~
Disables achievements for that session
Incendiary ammo upgrade
Applies incendiary rounds to current weapon
Enter in console after sv_cheats 1
Requires sv_cheats 1
Infinite Ammo
Never run out of ammunition; use 0 to disable
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Infinite ammunition
Weapons never run dry.
Requires sv_cheats 1 first.
Laser Sight Upgrade
Adds a laser sight to your weapon
Enable the console in options, press ~
Disables achievements for that session
No Clip
Fly through walls and objects
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
No Mob Rushes
Stops mob rushes from spawning; use 0 to re-enable
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Noclip
Toggles collision off/on so you can fly through walls and across the map
Enable the console in options, press ~
Disables achievements for that session
Over-Shoulder Camera
Switches your camera to over-the-shoulder third-person view
Enable the console in options, press ~
Disables achievements for that session
Raise Team-Switch Cap
Raises the cap on how often players may swap teams in Versus mode (default 1)
Enable the console in options, press ~
Disables achievements for that session
Refill all ammo
Gives full ammunition reserve
Enter in console after sv_cheats 1
Requires sv_cheats 1
Refill Ammo
Tops up your current reserves to full ammunition
Enable the console in options, press ~
Disables achievements for that session
Refill Current Weapon Ammo
Refills the ammunition of the weapon you are holding
Enable the console in options, press ~
Disables achievements for that session
Refill Primary Ammo
Refills ammo for your primary weapon
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Remove Bots
Removes all survivor bots from the game
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Restart AI Director
Wakes the AI director back up after director_stop
Enable the console in options, press ~
Disables achievements for that session
Restore full health
Restores survivor health to full
Enter in console after sv_cheats 1
Requires sv_cheats 1
Set Common Infected Limit
Sets how many common infected may exist at once (default 30); set higher for bigger swarms
Enable the console in options, press ~
Disables achievements for that session
Spawn a horde
Spawns a horde of common infected
Enter in console after sv_cheats 1
Requires sv_cheats 1; can cause lag or crash
Spawn a special infected
Spawns the named special infected next to you.
Requires sv_cheats 1 first.
Spawn a Tank
Spawns a Tank boss in front of you
Enter in console after sv_cheats 1
Requires sv_cheats 1; too many spawns can lag or crash the game
Spawn a Witch
Spawns a Witch in front of you
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn AK-47
Gives the AK-47 assault rifle
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn Auto Shotgun
Spawns the automatic shotgun
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Bile Bomb
Spawns a bile bomb (boomer bile jar)
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Boomer
Materialises a Boomer special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Chainsaw
Spawns the chainsaw
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Charger
Materialises a Charger special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Common Infected
Materialises one common infected in front of you
Enable the console in options, press ~
Disables achievements for that session
Spawn defibrillator
Gives a defibrillator to revive dead survivors
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn First Aid Kit
Spawns a first aid kit
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Horde
Materialises a whole horde of common infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Hunter
Materialises a Hunter special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Hunting Rifle
Spawns the hunting rifle
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Jockey
Materialises a Jockey special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Magnum
Gives the Desert Eagle magnum pistol
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn Molotov
Spawns a molotov cocktail
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Pain Pills
Spawns pain pills
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Pipe Bomb
Spawns a pipe bomb
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Rifle
Spawns the rifle machine gun
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn SMG
Spawns an SMG
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Spawn Smoker
Materialises a Smoker special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Spitter
Materialises a Spitter special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Tank
Materialises a Tank boss infected
Enable the console in options, press ~
Disables achievements for that session
Spawn Witch
Materialises a Witch boss infected
Enable the console in options, press ~
Disables achievements for that session
Stop AI Director
Halts all zombie spawns for undisturbed map exploration
Enter in console after sv_cheats 1; director_start re-enables it
Requires sv_cheats 1
Stop the director spawning zombies
The AI director stops sending hordes.
Requires sv_cheats 1 first.
Suicide
Instantly drops your own health to zero, killing your character
Enable the console in options, press ~
Disables achievements for that session
Third Person View
Switches to third person view; use firstperson to return to first person
Enable the developer console in Options, Keyboard and Mouse. Press the tilde key during gameplay, type sv_cheats 1, then the command and press Enter
Cheats disable achievements; use sv_cheats 0 to turn them off
Third-Person Camera
Switches your camera to third-person view
Enable the console in options, press ~
Disables achievements for that session
Tools for Left 4 Dead 2 cheats
-
Why is my Left 4 Dead 2 cheat not working?
Answer a few questions and get the specific reason, from our guides.
-
Search Left 4 Dead 2 codes by effect
Type "money" or "god mode" and find the code, typos forgiven.
-
Build a console command for Left 4 Dead 2
Change the amount, item or location and copy a checked line.
-
Test your controller and button sequences
See every button respond, and check a sequence press by press.
Quick answers