Cheats & CodesHearts of Iron IV

Hearts of Iron IV Console Commands: Political Power, Research and More

Hearts of Iron IV 1
Hearts of Iron IV

Short answer: Press the tilde key (~, the key under Esc; on some keyboard layouts it is ^, ° or §) to open the console, type a command and press Enter. pp 1000 gives political power, instantconstruction finishes every building at once, research all unlocks every technology and allowdiplo lets you declare war without a justification. Commands do not work in Ironman or multiplayer games.

How to use the console

  1. Start or load a game that is not in Ironman mode.
  2. Press ~ (the key depends on your keyboard layout) to open the console.
  3. Type a command and press Enter. Many commands are toggles: type them again to turn them off. The up and down arrow keys bring back earlier commands.

Many commands need a three-letter country tag, such as ENG for the United Kingdom. Type tdebug, then hover over a country on the map to see its tag and the state and province IDs. Make a separate save before you experiment.

Resources and national stats

CommandWhat it does
pp 1000Adds political power (use a negative number to remove it).
cp 100Adds command power, up to the cap of 100.
st 100Adds stability, up to 100%. A negative number lowers it.
ws 100Adds war support, up to 100%. The long form is add_war_support.
manpower 100000Adds manpower to your reserves.
xp 500Adds army, navy and air experience.
fuel 100000Adds fuel, up to your storage capacity.
nuke 10Adds nuclear bombs to your arsenal.
Hearts of Iron IV 2
Hearts of Iron IV

Equipment, construction and research

CommandWhat it does
add_equipment 1000 infantry_equipment_1Adds equipment to your stockpile. You must have researched it first, and it does not work for ships. Short form: ae.
add_latest_equipment 1000Adds that amount of your latest equipment variants. Short form: ale.
instantconstructionToggles instant construction, ships included. Short form: ic. It also affects the AI.
instanttrainingToggles instant training of divisions and ships. Short form: it.
research allResearches every technology. Use a slot number instead of all to finish one research slot.
research_on_icon_clickResearches any technology you click in the tree, ignoring prerequisites. Short form: roic.

Focuses and decisions

CommandWhat it does
Focus.AutoCompleteNational focuses finish instantly. Short form: fa.
Focus.NoChecksIgnores focus requirements.
Focus.IgnorePrerequisitesLets you start a focus in the middle of the tree.
Decision.NoChecksIgnores decision requirements.

War and diplomacy

CommandWhat it does
allowdiploAllows any diplomatic action, including declaring war without a justification.
instant_wargoalJustifies war goals instantly.
yesmanThe AI accepts every diplomatic offer. Also ai_accept.
whitepeace ENGMakes a white peace with the country tag you type.
annex POLAnnexes the country tag you type.
setowner GERGives the state you have selected to the country tag you type.
civilwar fascism ENGStarts a civil war in a country. Ideologies: fascism, communism, democratic, neutrality.
set_ruling_party dChanges your ruling party: d democratic, f fascist, n neutral, c communist.
add_party_popularity f 10Adds popularity to a party, using the same letters.
deleteallunits SPRDeletes every army and fleet of that country.

Generals, map and other commands

CommandWhat it does
gain_xp 1000Adds experience to the selected general or admiral. A trait name instead of a number adds that trait.
allowtraitsLets you assign general traits freely.
tag GERSwitches you to playing another country.
observeStops playing any country so you can watch the game play itself.
fowTurns fog of war off or on.
tdebugShows country tags and province and state IDs when you hover over the map.
nomapiconsHides map icons, handy for screenshots.
nopausetextHides the pause banner.

Commands that no longer work

winwars used to give you full war score in all your wars. The Hearts of Iron IV wiki notes that it was removed in patch 1.9.1. airealism is a joke command that makes the AI trash-talk in chat, but it does nothing useful because the chat is not available in single-player.

More strategy guides

Everything we have on the game is on the Hearts of Iron IV page. If you play other strategy games, see our Age of Empires IV cheats too.

Sources

  • Hearts of Iron 4 Wiki (Paradox Wikis): Console commands
  • PCGamesN: Hearts of Iron 4 cheats and console commands
  • GameWatcher: Hearts of Iron 4 console commands and cheats

Last checked against sources: 11 November 2026.

Found a mistake or a step that no longer works? Tell us and we will check it.