Cheats & codes
Left 4 Dead 2 Cheat Codes
Grouped by type and platform, each one labelled reported working or tested.
There are 57 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
56Armed 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
Lets the player take damage but prevents normal death
Enable cheats first with sv_cheats 1, type the command in the console, press Enter
Achievements are disabled while cheats are enabled, so use a separate save
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 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 Health
Refills player health to full
Enable cheats first with sv_cheats 1, type the command in the console, press Enter
Achievements are disabled while cheats are enabled, so use a separate save
Give any weapon
Spawns the named weapon, for example give rifle_ak47.
Requires sv_cheats 1 first.
Give Dual Pistols
Hands you the standard dual pistols
Enable the console in options, press ~
Disables achievements for that session
Give First Aid Kit
Gives a first aid kit to the player
Enable cheats first with sv_cheats 1, type the command in the console, press Enter
Achievements are disabled while cheats are enabled, so use a separate save
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
Gives a molotov cocktail to the player
Enable cheats first with sv_cheats 1, type the command in the console, press Enter
Achievements are disabled while cheats are enabled, so use a separate save
Give Pipe Bomb
Gives a pipe bomb to the player
Enable cheats first with sv_cheats 1, type the command in the console, press Enter
Achievements are disabled while cheats are enabled, so use a separate save
God Mode
Makes the whole survivor team invincible
Enable Allow Developer Console in Options then Keyboard Mouse, press tilde during play, type sv_cheats 1, then type god
Cheats disable achievements while active, so use them in a separate 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
Gives unlimited ammunition with no need to reload from reserves
Enable Allow Developer Console in Options then Keyboard Mouse, press tilde during play, type sv_cheats 1, then type sv_infinite_ammo 1
Cheats disable achievements while active, so use them in a separate session
Laser Sight Upgrade
Adds a laser sight to your weapon
Enable the console in options, press ~
Disables achievements for that session
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 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
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
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 special infected
Spawns the named special infected next to you.
Requires sv_cheats 1 first.
Spawn AK-47
Gives the AK-47 assault rifle
Enter in console after sv_cheats 1
Requires sv_cheats 1
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 a chainsaw melee weapon for close combat
Enable Allow Developer Console in Options then Keyboard Mouse, press tilde during play, type sv_cheats 1, then type give chainsaw
Cheats disable achievements while active, so use them in a separate session
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 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 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 Witch
Materialises a Witch boss infected
Enable the console in options, press ~
Disables achievements for that session
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.
Buy Left 4 Dead 2 on Amazon
Opens Amazon search results; check the edition and platform before buying. As an Amazon Associate I earn from qualifying purchases.
Quick answers