• How to open the Portal 2 console on PC and enter commands

    From the main menu, go to Options -> KEYBOARD/MOUSE -> Allow Developer Console and set it to Enabled. Note: to make some of these codes work, you need to enter this code into the console: sv_cheats 1

    host_timescale # (default=1)Changes speed of game, 0.1 = 10% of original game speed, 2 = twice the original game speed
    sv_speed_paint_acceleration (default = 500.0f)Changes the acceleration of the speed gel
    sv_speed_paint_max (default = 800.0f)Changes the maximum speed obtainable from speed gel
    portalgun_held_button_fire_fire_delay (default = 0.5)Changes the minimum speed (in seconds) in which the portal gun shoots when you hold click. (Affected by portalgun_fire_delay)
    portalgun_fire_delay (default = 0.20)Changes the minimum speed (in seconds) in which you can fire a portal gun
    firstpersonChanges view to first person
    thirdpersonChanges view to third person
    ent_create_portal_companion_cubeCreates a Companion Cube
    ent_create_portal_reflector_cubeCreates a reflector cube for lasers
    ent_create_portal_weighted_sphereCreates a Weighted Sphere
    ent_create_portal_weighted_antiqueCreates the 1900s version of the Weighted Storage Cube (from "The Fall" chapter
    ent_create_portal_weighted_cubeCreates the original Weighted Storage Cube (the normal one)
    give_portalgungives you the basic portal gun. Upgrade with upgrade_portalgun
    sv_gravity # (600=normal)Lets you change the gravity in the game
    noclipLets you go through walls and fly around
    sv_portal_placement_never_fail # (1 or 0)Place portals anywhere
    buddhaPlayer can take damage but won't die
    ent_create_paint_bomb_portalShoots conversion gel out of your face
    ent_create_paint_bomb_speedShoots propulsion gel out of your face
    ent_create_paint_bomb_jumpShoots repulsion gel out of your face
    ent_create_paint_bomb_eraseShoots water out of your face
    cl_showfps 1Shows FPS Rate
    sv_cheats (0=off/1=on)Turns Cheats on/off
    notargetTurrets won't shoot at you
    cl_showpos 1Used to see your position and speed


  • Achievement Items

    Some items from the store can be unlocked by completing achievements:

    UnlockableHow to Unlock
    Bionic BeanieComplete "Lunacy"
    WCC FlagComplete "High Five"

    Contributed By: And_Man.

Easter Eggs

  • Singing Turrets

    In test chamber 16, there is a turret inside a ventilation grate right past the elevator. Jump over it, get the refraction cube and use the laser to destroy that turret. The grate will open up, and when you go in, there will be 4 turrets singing a song in unison.

    Contributed By: greatskeeve.

Know Something We Don't?

You can submit new cheats for this game and help our users gain an edge.

Have We Been Fooled?

You can submit a problem report for any non-working or fake code in the lists above.