XCOM 2 Cheats: Console Commands for PC
- Enable the console On Steam, add -allowconsole to XCOM 2's launch options (Epic Games: -allowconsole -log -autodebug).
- Run a command Press ~ in-game to open the console, type a command, then press Enter.
Codes last checked on against the sources listed at the bottom of this page. Covers the base game and War of the Chosen on PC.
Published by Andrew B.
No cheats match that filter.
God mode and combat
| Cheat | Command | Effect |
|---|---|---|
| God mode | PCPowerUp | Turn on invincibility and remove the reload requirement for your squad |
| No damage | PCTakeNoDamage | Toggle immunity to damage for all soldiers |
| Unlimited actions | PCToggleUnlimitedActions | Toggle unlimited action points |
| Guaranteed crits | PCForceCritHits | Toggle guaranteed critical hits |
| Unlimited ammo | PCToggleUnlimitedAmmo | Toggle unlimited ammunition |
| Toggle fog of war | PCToggleFOW | Toggle fog of war |
Resources and research
| Cheat | Command | Effect |
|---|---|---|
| Add resource | PCGiveResource [resource] [amount] | Add a resource, such as Supplies or Intel |
| Instant research | PCGiveTech [tech] | Instantly research the named technology |
| Heal all soldiers | PCHealAllSoldiers | Fully heal every soldier in your barracks |
| Reduce Avatar counter | PCRemoveFortressDoom [amount] | Reduce the Avatar Project counter |
Turns and movement
| Cheat | Command | Effect |
|---|---|---|
| Add action points | PCGiveActionPoints [amount] | Give the selected unit extra action points |
| Skip enemy turn | PCSkipAI | End the enemy's turn immediately |
| Teleport unit | PCTTC | Teleport the selected unit to the cursor |
| Teleport squad | PCTATC | Teleport your whole squad to the cursor |
| Pause game | PCPause | Pause or unpause the game |
Soldiers and missions
| Cheat | Command | Effect |
|---|---|---|
| Change soldier class | PCMakeSoldierAClass ["soldier name"] [class] | Change a soldier's class (demotes them to squaddie rank) |
| Restart with same seed | PCRestartLevelWithSameSeed | Restart the mission with the same random seed |
| End the mission | PCEndBattle [0/1] | End the mission now, as a win (1) or a loss (0) |
| Change game speed | PCSloMo [multiplier] | Change game speed, for example 2 for double speed or 0.5 for half |
How to enter cheats
PC
- On Steam, right-click XCOM 2, choose Properties, and add -allowconsole to the launch options.
- On Epic Games, use -allowconsole -log -autodebug instead.
- Start the game and press ~ (tilde) to open the console.
- Type a command and press Enter.
FAQ
How do you enable the console in XCOM 2?
Add -allowconsole to the launch options on Steam (or -allowconsole -log -autodebug on Epic Games), then press ~ in-game to open it.
Is there a god mode command in XCOM 2?
Yes. PowerUp turns on invincibility and removes the reload requirement for your squad.
Do XCOM 2 console commands work in War of the Chosen?
Yes, though War of the Chosen adds an extra true/false argument to a few soldier commands.
How do you turn off an XCOM 2 toggle command?
Type the same command again. Most, like PowerUp, TakeNoDamage and ToggleFOW, are switches rather than one-time effects.
