All cheats for this game by platform: PC
Downloadable Portal Cheats
There are 3 more download(s) available for our registered users. Log in
now to access them!
Primary Collection of Cheats
Enter the options menu, select "Controls", then "Advanced". Turn on the option for the console. Then press ~ during game play to display the console window. Type sv_cheats 1 to enable cheat mode. Then, enter one of the following codes at the console window to activate the corresponding cheat function. Note: In addition to these codes, most codes from Half-Life 2 also work in Portal.
change_portalgun_linkage_id <0-3> - Allow separate sets of portals to be created.
fire_energy_ball - Fire an energy ball.
sv_portal_placement_never_bump 1 - Portal placement cannot be bumped.
sv_portal_placement_never_fail 1 - Portals can be placed on almost any surface.
upgrade_portalgun - Allow use of second portal placement.
npc_create npc_citizen - Spawn citizen.
npc_create npc_breen - Spawn Breen.
npc_create npc_zombie - Spawn zombie.
npc_create npc_fastzombie - Spawn Half-Life 2 "fastzombie".
npc_create npc_poisonzombie - Spawn zombie that tosses Poison Headcrabs from its back.
npc_create npc_headcrab_fast - Spawn fast Headcrab.
npc_create npc_poisonheadcrab - Spawn Poison Headcrab.
npc_create npc_zombine - Spawn "ERROR" character.
npc_create npc_headcrab - Spawn live Headcrab.
npc_create npc_barnacle - Spawn Barnacle.
npc_create npc_combine_s - Spawn Combine soldier.
npc_create npc_gman - Spawn G man with suitcase.
npc_create npc_alyx - Spawn Alyx.
npc_create npc_metropolice - Spawn Metro policeman.
npc_portal_turret_floor - Spawn standing turret.
ent_create_portal_metal_sphere - Spawn Bouncy metal ball.
ent_create_portal_weight_box - Spawn Weighted Storage Cube.
npc_create_aimed npc_rocket_turret - Spawn a rocket turret.
ch_createairboat - Spawn an airboat.
give weapon_portalgun - Basic portal gun.
ent_fire npc_rocket_turret toggle - Toggle rocket turrets.
ent_fire !picker skin 1 - Turn targeted storage cube into a companion cube.
firstperson - First person view.
thirdperson - Third person view.
fire_rocket_projectile - Fire rocket from head (glitched).
impulse 101 - All weapons, including those from Half Life 2.
impulse 200 - Invisible weapon.
god - Invincibility.
buddha - Take damage but cannot die.
sv_gravity <number> - Set gravity; "600" is default.
noclip - No clipping mode.
sv_bonus_map_complete 1 - All challenges completed.
host_timescale <number> - Set game speed; default is "1".
notarget - Turrets do not shoot at you.
sv_cheats 0 - Disable cheat mode.
Alternate Title Screen
Successfully complete the game to see the cake title screen.
The graffiti in the game are clues for the ApertureScience.com web site. Go to the site and enter LOGIN as a command. Enter CJOHNSON as a username and TIER3 as a password. After logging in, type HELP for a list of commands.
Using Cheats and Unlocking Achievements
There are achievements that you can get for completing certain tasks, however if the sv_cheats code is enabled the achievements are disabled. There is a way around this. There are a few command strings that can be bind to keys which allow you to enable or disable God mode when desired, get all equipment such as weapons, plus the better portal gun. To do this, use the bind <key> "sv_cheats 1; wait; god; wait; wait; wait; sv_cheats 0" console command. For God mode use the Bind <key> "sv_cheats 1; wait; Impulse 101; wait; wait; wait; sv_cheats 0" console command.
Complete the indicated task to unlock the corresponding achievement:
Aperture Science: Earn gold medals on all Portal challenges.
Basic Science: Earn bronze medals on all Portal challenges.
Camera Shy: Detach security cameras from the walls.
Cupcake: Beat two Portal advanced maps.
Fratricide: Do whatever it takes to survive.
Friendly Fire: Knock down a turret with another turret.
Fruitcake: Beat four Portal advanced maps.
Heartbreaker: Complete Portal.
Lab Rat: Acquire the fully powered Aperture Science Handheld Portal Device.
Long Jump: Jump 300 feet.
Partygoer: Make the correct party escort submission position decision.
Rocket Science: Earn silver medals on all Portal challenges.
Terminal Velocity: Fall 30,000 feet.
Vanilla Crazy Cake: Beat all six Portal advanced maps.
Play the level where you face off with the laser guided robots. Once you get past the first few robots, you must start dropping the boxes on the robots heads so that they fall over. In the little place that you find the first two boxes, crouch and walk behind where the boxes were. You will find a little room with odd music playing and graffiti on the walls that says things such as "The cake is a liar". There also seems to be an Xbox 360 with a pot inside of it. The Xbox 360 is overheating and boiling the water.
Box Head Pictures
On the level where you get the companion cube after you run past the energy balls and are in the room with the three elevators, there are two doors leading to a catcher, and a platform that is pushed out of the wall. Walk up to the platform that is pushed out. Crouch behind it and walk through the opening. On the left hand side are a group of pictures of people with boxes for heads and hearts around them.
You will need the fully upgraded Portal Gun for this trick. Enable the sv_portal_placement_never_fail 1 and sv_portal_placement_never_bump 1 codes. Place a portal on a flat surface and the second one on top of the first one. The second will cover the first and you will be looking at yourself as if in a mirror.
Fun with Turrets
You can pick them up, toss them around, make them fall indefinitely through two portals, drop a cube on them, etc. Also try the following. Use the incandescent particle field in front of the exit. The computer voice said before that all objects other than yourself and the portal gun will be destroyed. Pick up a turret and toss it into the energy field. The turret will say "ayayayay" as if being electrocuted and disintegrate.
Still Alive Song
Listen to the radio in the room you start out in. If the music sounds familiar, it is because the song is an up-tempo version of the "Still Alive".
Glitch: Spawn Huge Error Text
Enter the console then type npc_create npc_zombine or bind <key> "sv_cheats 1; wait; npc_create npc_zombine; wait; wait; sv_cheats 0". Press the bound key if you do not want to get kicked from the server (it will not allow you to earn achievements, etc.