HoI4 Console Commands

HoI4 Console Commands and Cheats List (2026)

A practical HoI4 console commands list with how to open the console, debug mode tips, useful cheats, examples, and troubleshooting notes.

World War II officers studying a map at a command post for a Hearts of Iron IV console commands guide.
Image: U.S. Army Signal Corps / DVIDS, public domain.

Quick Answer

Open the HoI4 console in a non-Ironman save with keys such as Shift+2, ALT+2+1, Shift+3, ~, or ^, depending on your keyboard layout. The fastest useful commands are tdebug for IDs, pp for political power, xp for army/navy/air XP, manpower, add_equipment, research, instantconstruction, annex, and tag.

This HoI4 console commands list is built for single-player testing, sandbox saves, mod debugging, and recovery from broken runs. Console commands can remove challenge from Hearts of Iron IV very quickly, so use them on a throwaway save before changing a campaign you care about.

Source checked: Updated May 5, 2026 against the HoI4 Paradox Wiki console commands page and cross-checked with current editorial references from PCGamesN and Dot Esports. HoI4 patches and DLC can change command behavior, so use help, helplog, and tdebug in your own build when exact syntax matters.

Table of Contents

How to Open the Console in HoI4

Start or load a non-Ironman single-player save, then press the console key for your keyboard layout. Common keys include Shift+2, ALT+2+1, Shift+3, ~, `, ^, and ยง. If one key does not work, try another layout option before assuming the console is disabled.

The console is not meant for Ironman achievement runs. If you want achievements, keep Ironman on and do not use console commands. If you want to test strategies, fix a save, inspect tags, or accelerate a learning campaign, use a separate non-Ironman save.

How to Use HoI4 Console Commands

Type the command, add any required amount, country tag, state ID, province ID, or equipment name, then press Enter. A command such as pp 500 adds 500 political power. A command such as tag ENG switches your controlled country to the United Kingdom. Use tdebug to reveal the IDs and country tags you need by hovering the map or interface.

Tip: Many commands are toggles. If instantconstruction, ai, fow, or tdebug behaves oddly, run the same command again, reload the save, or restart the game after testing.

Best HoI4 Console Commands

These are the commands most players want first because they solve common sandbox problems: political power, XP, equipment, research, construction, manpower, country switching, and war control.

CommandEffectExampleNotes
helpShows command help in the console.help annexUse this first when syntax changes after a patch.
helplogWrites available console commands to the game log.helplogUseful when you want a searchable local command list.
tdebugToggles debug tooltip details.tdebugUse it to find country tags, state IDs, province IDs, and database keys.
pp [amount]Adds political power.pp 500Negative values can reduce political power.
xp [amount]Adds army, navy, and air experience.xp 300Good for testing templates, ship designs, and aircraft designs.
cp [amount]Adds command power.cp 100Command power is capped by normal game limits.
st [amount]Adds stability.st 20Use a negative amount to lower stability.
ws [amount]Adds war support.ws 25Some builds also accept add_war_support.
manpower [amount]Adds manpower.manpower 1000000Large values can make the campaign unrealistic immediately.
add_equipment [amount] [equipment]Adds equipment to stockpiles.add_equipment 10000 infantry_equipment_1The equipment usually needs to be researched first.
add_latest_equipment [amount]Adds the latest researched equipment variants.add_latest_equipment 5000Faster than typing many equipment IDs.
research allResearches all technologies.research allVery disruptive in a normal campaign.
research_on_icon_clickResearches technologies when clicked.research_on_icon_clickRun again to turn it off.
instantconstructionToggles instant construction.instantconstructionCan affect AI too, so pause before using it.
annex [tag]Annexes a country.annex FRAUse tdebug if you do not know the tag.
tag [tag]Switches the country you control.tag GERSave first before switching countries.
yesmanMakes AI countries accept diplomatic offers.yesmanRun again to return to normal behavior.
whitepeace [tag] [tag]Forces white peace between two countries.whitepeace GER SOVCan produce odd border states in complex wars.
fowToggles fog of war.fowCan also target a province ID in some builds.
savegameForces a save.savegameUse before risky tests.

HoI4 Console Commands List

This list focuses on practical commands that are useful for players, modders, and test saves. Some internal developer commands exist but are not useful for normal play.

Country, War, and Diplomacy Commands

CommandEffectExampleNotes
tag [country tag]Switches player control to another country.tag ITAUse tag carefully because AI may alter your original country.
observeSwitches to observer mode.observeGood for AI simulations and hands-off testing.
aiToggles the AI.aiCan freeze AI decision-making while testing.
human_aiLets AI control the current player country too.human_aiUse in simulations, not normal play.
allowdiploAllows diplomatic actions without normal restrictions.allowdiploAlso known by aliases in some builds.
instant_wargoalToggles instant war goal justification.instant_wargoalRun again to disable it.
annex [country tag]Annexes the target country.annex POLCan reshape wars and peace conferences abruptly.
whitepeace [tag] [tag]Creates white peace between two countries.whitepeace JAP CHIBest used on a test save.
winwarsAdds maximum war score in active wars.winwarsUsually used before a peace deal.
civilwar [ideology] [tag]Starts a civil war in a country.civilwar democratic GERCommon ideologies include fascism, democratic, neutrality, and communism.
add_party_popularity [ideology] [amount]Adds ideology popularity.add_party_popularity fascism 20Use with set_ruling_party for political tests.
set_ruling_party [ideology]Changes the ruling ideology.set_ruling_party cShort forms often include f, d, n, and c.
add_opinion [source] [target]Adds opinion from one country to another.add_opinion ENG USASyntax may vary by build, so confirm with help.
add_autonomy [tag] [amount]Adds or removes autonomy.add_autonomy RAJ 500Negative values reduce autonomy.
add_interest [tag]Adds a country to your interest list.add_interest TURUseful for monitoring test scenarios.
remove_interest [tag]Removes a country from your interest list.remove_interest TURReverses add_interest.

Resources, Production, and Research Commands

CommandEffectExampleNotes
pp [amount]Adds political power.pp 150Useful for laws, advisors, and decisions.
xp [amount]Adds army, navy, and air XP.xp 200Use for design and template testing.
gain_xp [amount]Adds XP to a selected leader.gain_xp 500Select the general or admiral first.
cp [amount]Adds command power.cp 50Caps still apply.
st [amount]Adds stability.st 15Use negative values to test instability.
ws [amount]Adds war support.ws 30Some versions accept add_war_support.
manpower [amount]Adds manpower.manpower 250000Does not automatically equip divisions.
add_equipment [amount] [equipment]Adds a specific equipment type.add_equipment 1000 support_equipment_1Exact equipment IDs matter.
add_latest_equipment [amount]Adds latest researched equipment.add_latest_equipment 2000Convenient for quick army setup.
addfundsAdds funds to military industrial organizations.addfundsRelevant when MIO systems are enabled.
research [slot/all]Researches a slot or all technologies.research allUse a slot ID for narrower testing.
research_on_icon_clickInstantly researches clicked technology.research_on_icon_clickRun again to toggle off.
instantconstructionToggles instant construction.icic is a common alias.
allowtraitsAllows free trait assignment.allowtraitsUseful for testing leaders.
allowideasAllows selecting ideas without normal restrictions.allowideasUse on a test save.
add_ideas [idea]Adds a national idea.add_ideas war_economyFind exact idea IDs with files or debug tools.
remove_ideas [idea]Removes a national idea.remove_ideas war_economyGood for mod testing.

Map, State, Unit, and Interface Commands

CommandEffectExampleNotes
setowner [tag] [state id]Changes ownership of a state.setowner GER 64Use tdebug to find state IDs.
setcontroller [tag] [province id]Changes controller of a province.setcontroller GER 6521Useful for border and occupation tests.
add_core [state id] [tag]Adds a core state to a country.add_core 64 GERCan affect compliance, manpower, and claims.
remove_core [state id] [tag]Removes a core state from a country.remove_core 64 GERUse carefully on active saves.
teleport [province id]Teleports selected units.teleport 6521Select units first; tp may work as an alias.
moveunit [unit id] [province id]Moves a specific unit.moveunit 100 6521Use debug info to find IDs.
spawn [unit] [province id] [amount]Spawns units.spawn infantry 6521 3May require the -debug launch option.
deleteallunits [tag]Deletes all units for a country.deleteallunits SOVDestructive. Use only on test saves.
nuke [amount]Adds nuclear bombs.nuke 10You still need delivery conditions unless debug nuking is active.
debug_nukingAllows nuking regardless of normal conditions.debug_nukingRun again to toggle.
fow [province id]Toggles fog of war.fowWithout an ID it toggles global fog of war.
weatherToggles weather simulation.weatherUseful for performance and combat tests.
reloadweather [seed]Reloads and regenerates weather.reloadweatherMostly useful for testing.
mapnamesToggles map names.mapnamesInterface/debug command.
reloadinterfaceReloads the interface.reloadinterfaceHelpful when working on UI mods.
reloadtechnologiesReloads the technology database.reloadtechnologiesUsed in mod testing.
updateequipmentsUpdates the equipment database.updateequipmentsUseful after equipment edits.
updatesubunitsUpdates the subunit database.updatesubunitsUseful after unit file edits.
run [file]Runs commands from a file.run test.txtUseful for repeatable test scripts.
errorPrints errors from the log.errorUseful after mod or script changes.

Focus, Decision, and Event Commands

CommandEffectExampleNotes
event [event id] [tag]Fires an event.event germany.4 GEREvent IDs depend on game files and mods.
focus.autocompleteCompletes focuses instantly when clicked.focus.autocompleteCan affect AI if left on.
focus.nochecksIgnores focus requirements.focus.nochecksUse with caution in focus trees.
focus.ignoreprerequisitesIgnores focus prerequisites.focus.ignoreprerequisitesCan create invalid focus paths.
decision.nochecksIgnores decision requirements.decision.nochecksRun again to turn it off.
trigger [scripted_trigger]Tests a scripted trigger.trigger my_triggerModding/debug use.
effect [scripted_effect]Executes a scripted effect.effect my_effectAdvanced use; confirm syntax first.
trigger_docsWrites trigger and effect documentation to logs.trigger_docsUseful for modders.

HoI4 Debug Mode and IDs

The most important HoI4 helper command is tdebug. After you run it, hover countries, states, provinces, national spirits, focuses, technologies, and interface items to reveal internal IDs. These IDs are required for commands such as tag, setowner, setcontroller, event, add_ideas, and add_equipment.

For equipment commands, the visible name is often not the same as the internal ID. For example, infantry equipment commonly uses IDs such as infantry_equipment_1, while support equipment commonly uses support_equipment_1. If a command fails, check that the equipment is researched and that the ID matches your current version or mod.

HoI4 Console Troubleshooting

  • The console will not open: confirm the save is not Ironman, then try the alternate keyboard shortcuts for your layout.
  • A command does nothing: run help [command], check spelling, check required IDs, and confirm the command exists in your game version.
  • add_equipment fails: research the equipment first or use the exact equipment ID from the game files.
  • Instant construction helps the AI too: pause the game, run the command, queue your construction, then run the command again before unpausing.
  • Your save behaves strangely after testing: reload a save from before the command or restart the game.

HoI4 Console Commands FAQ

Can you use HoI4 console commands in Ironman?

No. The console is intended for non-Ironman play. If you want achievements, use a clean Ironman save and do not use console commands.

What is the best HoI4 command for country tags and IDs?

Use tdebug. It turns on debug tooltips that reveal country tags, state IDs, province IDs, and many internal database names when you hover the relevant item.

How do you add political power in HoI4?

Open the console and type pp [amount]. For example, pp 500 adds 500 political power.

How do you add equipment in HoI4?

Use add_equipment [amount] [equipment id]. For example, add_equipment 10000 infantry_equipment_1 adds infantry equipment if that equipment is available in your current build and has been researched.

What command gives HoI4 manpower?

Use manpower [amount]. For example, manpower 1000000 adds one million manpower to your pool.

How do you research everything in HoI4?

Use research all. If you only want targeted research, use research_on_icon_click, click the technologies you want, then run the command again to turn it off.

Can HoI4 commands break a save?

Yes. Commands that change ownership, tags, wars, focuses, and technologies can create strange outcomes. Save first and test commands on a duplicate save.

Where should I go next?

Use the Console Commands hub for more cheat sheets, the HoI4 hub for Hearts of Iron IV guides, or compare this with the EU5 console commands list.