TF2 Console Commands: Full List for PC

Published by

God mode and health

CheatCommandEffect
Buddha modePCbuddhaYou still take damage but your health stops at 1 in most cases; type it again to turn it off
Refill health and ammoPCimpulse 101Refills your health and the ammo for all your weapons, like a resupply locker
Damage yourselfPChurtme 50Deals 50 damage to you; a negative number adds health instead
Spawn full health kitPCent_create item_healthkit_fullSpawns a full health kit where you are aiming
Spawn full ammo packPCent_create item_ammopack_fullSpawns a full ammo pack where you are aiming

Buffs and conditions

CheatCommandEffect
ÜberChargePCaddcond 5Gives you the ÜberCharge effect; it ends if a Medic or Dispenser heals you or you die
Lasting ÜberChargePCaddcond 57Gives you an ÜberCharge that stays until you die or remove it with removecond
Crit boostPCaddcond 11Gives you critical hits; it ends if a Medic or Dispenser heals you or you die
Lasting crit boostPCaddcond 56Gives you critical hits that stay until you die or remove them with removecond
Power UpPCaddcond 72Faster movement, firing and reloading, plus unlimited air jumps
Giant modePCaddcond 74Makes you much bigger and raises your max health
Tiny modePCaddcond 75Makes you much smaller and forces third-person view
Instant cloakPCaddcond 64Cloaks you right away, whatever your class

Movement and camera

CheatCommandEffect
NoclipPCnoclipFly freely and pass through walls and objects; type it again to turn it off
Third-person viewPCthirdpersonPuts the camera behind and above your character
First-person viewPCfirstpersonSwitches back to the normal first-person view

Spawning

CheatCommandEffect
Level 3 sentryPCent_create obj_sentrygun teamnum 2 defaultupgrade 2 spawnflags 8Spawns a level 3 RED Sentry Gun with infinite ammo where you are aiming
Spawn dispenserPCent_create obj_dispenserSpawns a level 1 Dispenser where you are aiming
Horseless Headless HorsemannPCent_create headless_hatmanSpawns the Halloween boss where you are aiming
MONOCULUS bossPCent_create eyeball_boss teamnum 5Spawns the boss version of MONOCULUS where you are aiming
Spawn MerasmusPCent_create merasmusSpawns Merasmus where you are aiming
Spawn tankPCent_create tank_bossSpawns a Mann vs. Machine Tank Robot where you are aiming
Remove entityPCent_removeRemoves whatever your crosshair is pointing at, such as a bot or a spawned object

Match and bots

CheatCommandEffect
Win the roundPCmp_forcewinInstantly wins the round for your team
Respawn everyonePCmp_forcerespawnplayersImmediately respawns all players and bots on the server
Add botsPCtf_bot_add 3 heavyweapons red easyAdds three easy Heavy bots to the RED team
MvM creditsPCcurrency_give 10000Gives you 10,000 credits in Mann vs. Machine

A code here did not work? Tell us and it gets rechecked. Report a code

How to enter cheats in TF2

PC

  1. Tick Enable developer console in Options Keyboard Advanced.
  2. Start your own server with Create Server, or type map and a map name in the console from the main menu.
  3. Press ~ to open the console, type sv_cheats 1 and press Enter.
  4. Type the command and press Enter.

How to enable developer mode in TF2

  1. Open Options, go to Keyboard and click Advanced.
  2. Tick Enable Developer Console and confirm.
  3. Start your own server with Create Server, or type map and a map name in the console.
  4. Press the console key, type sv_cheats 1 and press Enter.

Steam Community guide: Team Fortress 2 Console Commands

Do cheats disable achievements in TF2?

Yes, while you play on a cheat-enabled server. The TF2 Wiki says achievements cannot be earned on a server set to sv_cheats 1 and that your gameplay statistics are not counted there. Random item drops still happen on such a server. Official TF2 Wiki: Cheats

Can you use these cheats in multiplayer?

Only where the server operator turns on sv_cheats 1, which in practice means a server you host yourself. The TF2 Wiki says sv_cheats is a built-in setting, not hacking, and that using it does not lead to a VAC ban. Bot and server settings such as tf_bot_add are marked server operator only. Official TF2 Wiki: Cheats

Compatibility notes

Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.

FAQ

How do you open the console in TF2?

Tick Enable developer console in Options Keyboard Advanced, then press the ~ key.

Do TF2 console commands disable achievements?

Yes. You can't earn achievements on a server with sv_cheats 1, and your stats aren't counted there.

Can you get VAC banned for using sv_cheats in TF2?

No. sv_cheats 1 is a built-in server setting, not a hack, and it doesn't lead to a VAC ban.

Do the cheats work on public servers?

No. Only the server operator can turn on sv_cheats, so you need to host your own server.

Is there a god mode command in TF2?

The closest is buddha, which keeps your health from dropping below 1 in most cases. addcond 57 also gives you a lasting ÜberCharge.

Part of

References: Official TF2 Wiki: Cheats; Official TF2 Wiki: List of useful console commands; Steam Community guide: Team Fortress 2 Console Commands.