Adds political power
add_political_power 1000
Gives as much political power as the number at the end. The fastest fix when you get stuck in the focus tree or cannot afford an advisor.
In Hearts of Iron 4, cheats work as console commands. You open the console with a single key, type the command and press Enter. The range is wide, from adding political power and instant construction to switching countries and winning wars. The only condition is that you are not playing in Ironman mode. The archive below sorts the commands into categories.
The HOI4 console opens with the key in the top-left corner of the keyboard. This key can change with your keyboard layout, so on a non-US keyboard you may need to try alternative key combinations.
On non-US keyboard layouts the tilde key may be in a different place. If the console never opens, temporarily switch your keyboard layout to US English.
add_political_power 1000
This command adds 1000 political power. Try it first to check that the console works.
Political power, stability, war support, manpower and instant construction.
6 codes →Winning wars, experience, nukes and equipment.
5 codes →Annexing countries, switching countries and skipping war goals.
5 codes →Fog of war, observer mode, research and deleting units.
5 codes →add_political_power 1000
Gives as much political power as the number at the end. The fastest fix when you get stuck in the focus tree or cannot afford an advisor.
add_stability 0.5
The number at the end is a ratio, so 0.5 means fifty percent. Stability directly affects production and political power gain.
add_war_support 0.5
The number at the end is a ratio. War support decides your mobilization laws and manpower.
add_manpower 100000
Gives as much manpower as the number at the end. It keeps your army on its feet in long wars with heavy losses.
instantconstruction
Every construction project, such as factories, dockyards and fortifications, finishes instantly. Type the command again to turn it off.
fuel 100000
Gives as much fuel as the number at the end. It solves fuel shortages for armored and air units.
winwars
Gives you the war score in every war you are part of. You still make the peace deal yourself, but the score is yours.
xp 1000
Gives as much experience as the number at the end. It provides the points you need for division templates and equipment upgrades.
add_equipment 5000 infantry_equipment_1
Type the amount first and then the equipment's code name. The one in the example is basic infantry equipment.
nuke 10
Gives as many nukes as the number at the end. To use them, you need air superiority over the target.
deleteallunits
Permanently deletes every army and fleet of the country you name after the command. Used to clean up bloated armies.
annex TUR
Adds all the territory of the country with the three-letter tag at the end to yours. No war needed, just one command.
tag TUR
You take over the country with the three-letter tag at the end. Your old country is left to the AI.
nocb
You can declare war on any country without justifying a war goal first. Type the command again to turn it off.
yesman
The AI accepts every diplomatic offer. Alliances, military access and peace all take a single click.
whitepeace TUR GER
Ends the war between the two country tags you type without any territory changing hands.
fow
You can see every unit and front on the map. Type the command again to bring the fog back.
observe
You watch the war from the outside without playing any country. Use the country switch command to come back.
research_on_icon_click
After the command, clicking a technology in the research tree completes it instantly. Type it again to turn it off.
ai
Stops every AI country from making decisions. Used for testing and setting up scenarios.
teleport
After typing the command, click a province on the map and the selected unit moves there.