Hearts of Iron 4 Console Commands: Full List for PC
- Turn off ironman Start a single-player game with ironman off; the console is dead in ironman and multiplayer.
- Open the console Press ~, or §, Shift+2, Shift+3, \, `, ^ or TAB on other keyboard layouts.
Published by Andrew B.
No cheats match that filter.
Resources and equipment
| Cheat | Command | Effect |
|---|---|---|
| Add manpower | PCmanpower [amount] | Adds manpower to your reserves |
| Add political power | PCpp [amount] | Gives political power to the player, or removes it with a negative number |
| Add fuel | PCfuel [amount] | Adds the given amount of fuel |
| Add equipment | PCadd_equipment [amount] [equipment name] | Adds the named equipment to your stockpile |
| Add latest equipment | PCadd_latest_equipment [amount] | Gives you that many units of your latest equipment variants |
| Add nukes | PCnuke [number] | Adds nuclear bombs to your stockpile |
| Add experience | PCxp [amount] | Gives army, navy and air experience to the player |
Politics and stability
| Cheat | Command | Effect |
|---|---|---|
| Add stability | PCst [amount] | Adds stability, up to 100%; a negative number takes it away |
| Add war support | PCws [amount] | Adds war support, up to 100%; a negative number takes it away |
| Add command power | PCcp [amount] | Adds command power, up to 100% |
| Add party popularity | PCadd_party_popularity [ideology group] [value] | Adds popularity to the given ideology group |
| Set ruling party | PCset_ruling_party [ideology group] | Puts the given ideology group in power |
| Start a civil war | PCcivilwar [ideology] [country tag] | Spawns a civil war of the given ideology in the target country |
War and diplomacy
| Cheat | Command | Effect |
|---|---|---|
| Annex a country | PCannex [country tag] | Annexes the country you name, or every country with all |
| White peace | PCwhitepeace [country tags] | Forces a white peace with the countries you name |
| AI accepts everything | PCyesman | Every AI country accepts all your diplomatic offers |
| Free diplomacy | PCallowdiplo | Lets you use every diplomatic action whatever the rules say |
| Set province controller | PCsetcontroller [country tag] [province id] | Hands control of a province to the country you name |
Research and production
| Cheat | Command | Effect |
|---|---|---|
| Instant research | PCresearch [slot id] | Finishes the research in that slot, or all slots with all |
| Research by clicking | PCresearch_on_icon_click | Researches a technology when you click its icon in the tree |
| Instant construction | PCinstantconstruction | Toggles instant construction, so buildings and ships finish at once |
| Ignore focus rules | PCFocus.NoChecks | Ignores the requirements on national focuses |
Commanders and units
| Cheat | Command | Effect |
|---|---|---|
| Level up a commander | PCgain_xp [amount] | Adds experience to the selected leader, general or admiral |
| Free traits | PCallowtraits | Lets you assign general traits freely |
| Delete an army | PCdeleteallunits [country tag] | Deletes all armies and fleets of the countries you name |
Debug and camera
| Cheat | Command | Effect |
|---|---|---|
| Switch country | PCtag [country tag] | Switches the country you control |
| Observer mode | PCobserve | Drops you out of every country and watches the game play itself |
| Show tags and IDs | PCtdebug | Toggles the debug info, including country tags and province IDs, in tooltips |
| Remove fog of war | PCfow | Turns off fog of war, or only in the province you name |
A code here did not work? Tell us and it gets rechecked. Report a code
How to enter cheats in Hearts of Iron 4
PC
- Start a single-player game with ironman switched off.
- Press ~ to open the console; on some layouts it is §, Shift+2, Shift+3, \, `, ^ or TAB.
- Type a command and press Enter.
- Run a toggle command again to switch it back off.
Do cheats disable achievements in Hearts of Iron 4?
Using the console rules out achievements. The Paradox Wiki's achievements page says they only unlock in single-player ironman games with the 1936 start on regular, veteran or elite difficulty, and the console does not open in ironman. Mods that change the checksum block them too. Paradox Wikis: Hearts of Iron 4 achievements
Can you use these cheats in multiplayer?
No. GameWatcher says the console cannot be used in ironman or multiplayer matches, and PCGamesN notes the console is unavailable in multiplayer. These commands are for single-player games with ironman off. GameWatcher: Hearts of Iron 4 console commands and cheats
Compatibility notes
Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.
- Patches and DLC The Paradox Wiki warns that commands come and go with each DLC, so some stop working. It lists winwars as gone since patch 1.9.1 and debug_nuking as gone since 1.15.1, so neither is on this page. Paradox Wikis: Hearts of Iron 4 console commands
- Ironman saves The Paradox Wiki says the console only opens in non-ironman games, and GameWatcher adds that it is off in multiplayer too. Pick ironman off before you start the campaign if you want commands. Paradox Wikis: Hearts of Iron 4 console commands
- Turning commands off According to the Paradox Wiki, most commands switch off when you type them again, but some only end when you reload the save or quit the game. Paradox Wikis: Hearts of Iron 4 console commands
- Commands that affect the AI The Paradox Wiki marks instantconstruction, instanttraining, Focus.NoChecks and Decision.NoChecks as affecting the AI as well, so rival countries get the same boost. Paradox Wikis: Hearts of Iron 4 console commands
FAQ
How do you open the console in Hearts of Iron 4?
Start a non-ironman single-player game and press ~. On other keyboard layouts the key is §, Shift+2, Shift+3, \, `, ^ or TAB.
Do Hearts of Iron 4 console commands disable achievements?
You cannot earn achievements with them. Achievements only unlock in single-player ironman games, and the console does not work in ironman.
Is there a manpower cheat in Hearts of Iron 4?
Yes. Use manpower [amount] to add manpower, and pp [amount] for political power.
Do Hearts of Iron 4 cheats work in multiplayer?
No. The commands are for single-player games with ironman off.
How do I find a country tag for these commands?
Type tdebug in the console. It shows country tags and province and state IDs when you hover over the map.
