
Left 4 Dead 2 was released in 2008 and was the sequel to the award-winning Left 4 Dead video game. LFD2 won multiple awards and continues to be a popular game even today. It’s perfect for playing with friends online or at LAN parties due to its cooperative nature. While it can be played without any cheats or additional server settings configured, you may want to tinker with the settings to make things more interesting.
In this guide we’ll show you how to open the developer console in Left 4 Dead 2 and list out ALL of the console commands for this game.
How to Open Developer Console in Left 4 Dead 2
Option A – Launch the game. Go into your settings and click on “Keyboard/Mouse” and enable the “Allow Developer Console”

Once this is done – when you’re in game you can click the “~” tilde key (one key to the left of the 1 key) to open the console.
Option B – You can enable the developer console through your launch options too! To enable the developer console through the launch options, you’ll right click “Left 4 Dead 2” under the Steam games library. Go to “Properties.” Next you’ll need to choose “General” and “Launch Options.” Write out “-console” inside of the launch options and this will enable your developer console.
Once you’ve enabled your developer console you’ll be able to input console commands in Left 4 Dead 2 to change your settings!
All Left 4 Dead 2 Console Commands
Result Console Command
Enable cheats sv_cheats 1
Enable God mode god 1
Enable noclip noclip
Enable Incendiary Ammo upgrade upgrade_add incendiary_ammo
Enable Explosive Ammo upgrade upgrade_add explosive_ammo
Enable infinite ammunition sv_infinite_ammo 1
Refill health give health
Refill ammo give ammo
Refill ammo for primary weapon Impulse 101
Spawn double pistol Give pistol
Spawn Magnum give pistol_magnum
Spawn auto shotgun give autoshotgun
Spawn chrome shotgun give shotgun_chrome
Spawn pump shotgun give pumpshotgun
Spawn SPAS shotgun give shotgun_spas
Spawn SMG give smg
Spawn silenced SMG give smg_silenced
Spawn AK-47 give rifle_ak47
Spawn M16 give rifle
Spawn combat rifle give rifle_desert
Spawn hunting rifle give rifle_hunting
Spawn sniper rifle give rifle_military
Spawn grenade launcher give weapon_grenade_launcher
Spawn hunter claws give melee
Spawn boomer bile give vomitjar
Spawn chainsaw give chainsaw
Spawn frying pan give frying_pan
Spawn guitar give electric_guitar
Spawn katana give katana
Spawn machete give machete
Spawn nightstick give tonfa
Spawn molotov cocktail give molotov
Spawn pipe bomb give pipe_bomb
Spawn active pipe bomb beneath you boom
Spawn propane tank give propanetank
Spawn gascan give gascan
Spawn oxygen tank give oxygentank
Spawn first aid kit give first_aid_kit
Spawn defibrillator give defibrillator
Spawn adrenaline give adrenaline
Spawn pain pills give pain_pills
Spawn a common infected z_spawn zombie
Spawn a horde z_spawn mob
Spawn spitter z_spawn spitter
Spawn jockey z_spawn jockey
Spawn charger z_spawn charger
Spawn boomer z_spawn boomer
Spawn hunter z_spawn hunter
Spawn witch z_spawn witch
Spawn smoker z_spawn smoker
Spawn tank z_spawn tank
Enable received damage, but cannot die budda 1
Enable bot friendly fire sb_friendlyfire 1
Set amount of damage done to survivors z_pounce_damage x
Change noclip speed sv_noclipspeed x
Bot survivors shoot infinitely open_fire
Change zombie health z_health x
Change zombie speed z_speed x
Change maximum smoker tongue range tongue range x
Change how long a Witch can withstand fire z_witch_burn_time x
Toggle witch to change targets or focus on the survivor that first alerted her z_witch_allow_change_victim x
Enable infinite panic event time director_panic_forever 1
Force panic event director_force_panic 1
Remove all bots ent_remove
Change witch damage z_witch_damage x
Change maximum common infected z_common limit x
Change tank’s maximum health z_tank_health x
Change number of seconds until player loses control of the tank from not attacking survivors z_frustration_lifetime x
Change CEDA bile jar drop rate sv_infected_ceda_vomitjar_probability x
Third person thirdperson
first person firstperson
Over the shoulder thirdperson thirdpersonshoulder
Toggle crosshair crosshair 1
Suicide explode
Disconnect disconnect
Quit quit
Map Commands for Left 4 Dead 2 Developer Console
Left 4 Dead Campaigns
The Sacrifice:
Docks: map c7m1_docks
Barge: map c7m2_barge
Port: map c7m3_port
No Mercy:
Apartments: map c8m1_apartment
Subway: map c8m2_subway
Sewers: map c8m3_sewers
Hospital: map c8m4_interior
Rooftop: map c8m5_rooftop
Crash Course:
The Alleys: map c9m1_alleys
The Truck Depot Finale: map c9m2_lots
Death Toll:
The Turnpike: map c10m1_caves
The Drains: map c10m2_drainage
The Church: map c10m3_ranchhouse
The Town: map c10m4_mainstreet
Boathouse Finale: map c10m5_houseboat
Dead Air:
The Greenhouse: map c11m1_greenhouse
The Crane: map c11m2_offices
The Construction Site: map c11m3_garage
The Terminal: map c11m4_terminal
Runway Finale: map c11m5_runway
Blood Harvest:
The Woods: map C12m1_hilltop
The Tunnel: map C12m2_traintunnel
The Bridge: map C12m3_bridge
The Train Station: map C12m4_barn
Farmhouse Finale: map C12m5_cornfield
Left 4 Dead 2 Campaigns
Cold Stream:
Alpine Creek: map c13m1_alpinecreek
South Pine Stream: map c13m2_southpinestream
Memorial Bridge: map c13m3_memorialbridge
Cut-Throat Creek: map c13m4_cutthroatcreek
Dead Center:
The Hotel: map c1m1_hotel
The Streets: map c1m2_streets
The Mall: map c1m3_mall
The Atrium: map c1m4_atrium
Dark Carnival:
The Highway: map c2m1_highway
The Fairgrounds: map c2m2_fairgrounds
The Coaster: map c2m3_coaster
The Barns: map c2m4_barns
The Concert: map c2m5_concert
Swamp Fever:
Plank Country: map c3m1_plankcountry
The Swamp: map c3m2_swamp
The Shantytown: map c3m3_shantytown
The Plantation: map c3m4_plantation
Hard Rain:
The Milltown: map c4m1_milltown_a
The Sugar Mill: map c4m2_sugarmill_a
Mill Escape: map c4m3_sugarmill b
Return to Town: map c4m4_milltown_b
Town Escape: map c4m5_milltown_escape
The Parish:
The Waterfront: map c5m1_waterfront
The Park: map c5m2_park
The Cemetery: map c5m3_cemetery
The Quarter: map c5m4_quarter
The Bridge: map c5m5_bridge
The Passing:
The Riverbank: map c6m1_riverbank
The Underground: map c6m2_bedlam
The Port: map c6m3_port
That’s all of the console commands! Use them to make some seriously fun setups within Left 4 Dead 2! A personal favorite of mine is spawning lots of gas cans in an area and than forcing a panic so that there’s tons of zombies to explode all at once!
Or just putting on God Mode and destroying millions of zombies! A great way to relieve stress after a long day. Enjoy these console commands and good luck surviving the zombie apocalypse.