
HOI4 cheats
The 35 cheat commands worth knowing, each with a line you can paste into the console.
Press the key left of 1, under Esc: ~ on a US keyboard, § or ^ on many European ones, ё on a Russian one. Type a command and press Enter. Cheats turn off achievements for that game, and they do not work in Ironman or multiplayer.
Need the line for another country, state or piece of equipment? The command builder fills it in from the game's lists.
Political power, manpower and equipment
| Type this | What it does |
|---|---|
pp 500 | Adds political power. Use a minus number to take it away. |
cp 100 | Adds command power. |
manpower 1000000 | Adds manpower to your pool. |
xp 500 | Adds army, navy and air experience at once. |
add_equipment 1000 infantry_equipment_1 | Puts equipment in your stockpile: the amount, then the equipment ID from the equipment list. |
add_latest_equipment 1000 | Adds that many of the newest model of every equipment type you have researched. |
st 20 | Raises stability by the amount you give. A minus number lowers it. |
ws 20 | Raises war support. A minus number lowers it. |
nuke 10 | Adds nuclear bombs. |
Research, construction and focuses
| Type this | What it does |
|---|---|
research all | Finishes every technology. With a slot number it finishes the one in that slot. |
roic | After this, clicking a technology in the tree researches it at once. |
ic | Turns instant construction on or off. |
Focus.AutoComplete | Every national focus you pick finishes at once. Type it again to turn it off. |
Focus.IgnorePrerequisites | Lets you pick a focus without the ones before it. |
Focus.NoChecks | Skips the conditions a focus asks for. |
Decision.NoChecks | Skips the conditions of decisions. |
allowtraits | Lets generals and admirals learn every trait. |
gain_xp 500 | Gives experience to the selected general or admiral. |
Countries, war and peace
| Type this | What it does |
|---|---|
tag GER | Switches you to another country. The country tags list has every tag. |
annex POL | Annexes the country with that tag. |
wp ENG | Makes white peace with the countries you name. |
setowner GER 64 | Gives a state to a country: the tag, then the state ID. |
setcontroller GER 6521 | Gives control of a province: the tag, then the province ID. |
set_ruling_party communism | Changes your ruling party: democratic, communism, fascism or neutrality. |
add_party_popularity fascism 30 | Adds popularity to one party. |
civilwar communism | Starts a civil war with the ideology you give. |
yesman | The AI accepts every diplomatic offer. Type it again to turn it off. |
allowdiplo | Lets you use any diplomatic action, rules or not, such as declaring war without a war goal. |
ai | Turns the AI off or back on. |
observe | Stops playing any country and watches the game. |
Map, events and IDs
| Type this | What it does |
|---|---|
event germany.22 GER | Fires an event by its ID, here the one where Lithuania hands over Memel. A country tag after the ID picks who gets it. |
instantevents | Events that wait a random time fire straight away. |
fow | Turns the fog of war off or on. |
tp 6521 | Moves the selected armies or ships to a province. |
tdebug | Shows province and state IDs in the map tooltip. |
There are 317 commands in total. The full list with every argument is on the console commands page.