Cheats & codes
Left 4 Dead 2 Cheat Codes
Grouped by type and platform, each one labelled reported working or tested.
There are 65 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
4Buddha mode
Take damage but cannot die, unlike god mode
Enter in console after sv_cheats 1; buddha 0 turns it off
Requires sv_cheats 1
God mode
Team-wide invincibility
Enter in console after sv_cheats 1; god 0 turns it off
Local server only
Infinite ammo
Endless ammo with no reloading
Enter in console after sv_cheats 1; sv_infinite_ammo 0 turns it off
Local server only
No clipping
Fly through walls and objects; toggle
Enter in console after sv_cheats 1
Local server only
Console commands
61Armed 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
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 first
Required before any other cheat command.
Enable the developer console in Options then press `.
Single-player and local server only.
Endless Panic Events
Forces the director into non-stop panic events with endless waves; director_panic_forever 0 to stop
Enable the console in options, press ~
Disables achievements for that session
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
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 refill
Refills ammunition for primary weapon
Enter in console after sv_cheats 1
Requires sv_cheats 1
Full Health
Restores your survivor to full health
Enable the console in options, press ~
Disables achievements for that session
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 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 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
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
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 bile bomb
Gives a Boomer bile jar that attracts hordes
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn Boomer
Materialises a Boomer special infected
Enable the console in options, press ~
Disables achievements for that session
Spawn chainsaw
Gives the chainsaw melee weapon
Enter in console after sv_cheats 1
Requires sv_cheats 1
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 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 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
Gives a Molotov cocktail
Enter in console after sv_cheats 1
Requires sv_cheats 1
Spawn pipe bomb
Gives a pipe bomb throwable
Enter in console after sv_cheats 1
Requires sv_cheats 1
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 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