Half-Life 2 Cheat Codes

12 cheat codes for Half-Life 2 on PC.

sv_cheats 1 (Misc)

Master switch — most other commands only work after this.

sv_cheats 1

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

god (God Mode)

Invincibility (toggle).

god

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

noclip (Misc)

Fly and walk through walls (toggle).

noclip

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

notarget (Misc)

Enemies ignore you completely.

notarget

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

buddha (God Mode)

Take damage but never drop below 1 HP.

buddha

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

impulse 101 (Weapons)

Gives ALL weapons and full ammo.

impulse 101

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

impulse 82 (Vehicles)

Spawns a buggy/jeep where you're looking.

impulse 82

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

give weapon_ar2 (Weapons)

Spawn the Pulse Rifle. Other weapons: weapon_smg1, weapon_shotgun, weapon_crossbow, weapon_rpg, weapon_frag, weapon_357, weapon_pistol, weapon_physcannon.

give weapon_ar2

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

give item_healthkit (Misc)

Spawn a health kit (also item_battery for suit power).

give item_healthkit

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

map d1_trainstation_01 (Misc)

Jump to any chapter/map instantly (e.g. d1_canals_01, d2_prison_08, d3_citadel_01).

map d1_trainstation_01

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

host_timescale 2 (Misc)

Speeds up (or slows below 1.0) the whole game.

host_timescale 2

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.

How to enter cheat codes (Tips)

Enable the developer console in Options > Keyboard > Advanced, open it with ~, type sv_cheats 1, then any command. Single-player only.

Options > Keyboard > Advanced > Enable Developer Console, then open it with ~. Type sv_cheats 1 first, then the command. Single-player only.