Portal 2 Cheat Codes: All Console Commands — god, noclip, slow motion (2026)
Portal 2 is Valve's main puzzle: a portal gun, Wheatley, GLaDOS and brilliant co-op. The game is great without cheats, but with console commands you can create real madness: fly through cameras, slow down time and teleport anywhere. We collected all the useful commands into tables.
How to enable the console in Portal 2
- "Settings" → "Keyboard/Mouse" → enable "Developer Console".
- Press tilde ~ in game.
- Enter sv_cheats 1 - without this, most commands will not work. In co-op, cheats are enabled by the host.
Basic Portal 2 cheat codes
| Code | What does |
|---|---|
| god | invulnerability (turrets, acid, falls are not scary) |
| noclip | flying through walls - ideal for exploring levels |
| notarget | turrets and enemies can't see you |
| host_timescale X | time speed: 0.5 - deceleration, 2 - acceleration (1 - normal) |
| sv_gravity X | gravity (norm 600) |
| thirdperson / firstperson | third/first person view |
| cl_showfps 1 | FPS counter |
| kill | instant death (helps if you get stuck) |
| impulse 101 | works weakly, but resets equipment and gel around |
Useful commands for experimentation
| Code | What does |
|---|---|
| ent_create_portal_weighted_cube | create a cube right in front of you |
| ent_create_portal_companion_cube | create a companion cube |
| ent_create_portal_reflector_cube | laser redirector cube |
| prop_dynamic_create npc/turret_floor/turret_floor.mdl (with binding) | turret (simpler: ent_create npc_portal_turret_floor) |
| fire_rocket_projectile | shoot a rocket (like bosses) |
| phys_timescale X | the speed of the physics of objects separately from time |
| sv_portal_placement_never_fail 1 | place portals on any surface |
Jump through cameras (map)
The map NAME command loads any camera: map sp_a1_intro1 (awakening), map sp_a2_laser_intro , map sp_a4_finale4 (finale with the Moon). Co-op: map mp_coop_start . Full list - maps * .
Frequently asked questions
- Do cheats work in co-op? Yes, if they are enabled by the lobby host, both players receive the effect.
- Will achievements be disabled? Yes, with sv_cheats 1, achievements in the current session are not counted.
- Does it work in Portal Reloaded/mods? In mods based on the Portal 2 engine, the commands are the same.
