All Hearts of Iron 4 console commands and cheats (2024)

Hearts of Iron 4console commandsare basically cheats – manual code inputs that automatically change important stuff about the game, without having to play your way there – like resource or equipment cheats to give you an economic boost, or puppet cheats to help grow your empire faster.To help you out, this guide lists all the HOI4 cheats, and explains exactly how to use them in game.

Once you’ve found your feet, you should definitely check out our guides to the bestHearts of Iron 4 modsandHearts of Iron 4 DLC, to expand the historical horizons of your HOI4 campaigns.

For now, though, read onfor the full list of codes, plus a no-nonsense beginner’s tutorial on how to use them in-game.

Code
acclimization [climate type] [amount]Makes the selected division acclimatize to a specified climate by a specified amount
add_autonomy [country tag] [num]alter a country’s degree of autonomy
add_cic_bank [number]puts Economic Capacity Surplus into the International Market
add_core [state ID] [country tag]Makes the specified state a ‘core’ of the target country
add_equipment [amount] [name]Add a specified amount of a selected equipment type to your national supply. Can be abbreviated to “ae”.
add_ideas [idea name]give a specific idea to the country
add_intel [country tag 1] [country tag 2] [civilian,army,navy,airforce]=[number]permanently set the intel that country 1 holds on the specified armed force of country 2
add_latest_equipment [amount]Add a specified amount of the latest equipment type used to your supply.
add_minesfill your stockpile of naval miles in the selected regions
add_opinion [country tag]Increase the specified country’s opinion of you by 100
add_party_popularity [ideology group] [value]Add a specified amount of popularity to the chosen ideological group: ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’.
add_war_support [amount]Increase your nation’s War Support by a specified amount (capped to 100%). Can be abbreviated to “ws”.
addfundsall military industrial organizations gain 1,000 funds
addSize [mio id][number]give the specific military industrial organization trait points. Leaving out the id will apply the bonus to all MIOs
addTaskCapacity [number]give the specific military industrial organization task capacity. Leaving out the id will apply the bonus to all MIOs
Agency.Autocompletecomplete agency upgrades immediately
Agency.Instantmake all agency activities instantaneous
Agency.InstantSlotUnlockrecruiting agents doesn’t take any time
ai_acceptMakes AI opponents accept all diplomatic offers
allowdiploRemoves all diplomacy rules, letting you freely use all diplomatic actions
AllowtraitsLets you freely assign traits to Generals and Admirals.
annex [country tag] or allBegin annexing the target country
civilwar [ideology] [target country tag]Create a civil war in the target country, instigated by one of four ideologies: ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’
compliance [amount]increase compliance in the selected province
cp [amount]Increase your Command Power by a specified amount (capped to 100%)
debug_crashcrash the game. Can be abbreviated to “crash”
debug_nukingRemoves all nuke rules, letting you use nukes against any province
Decision.FastRemovedecisions only take one day
Decision.NoChecksLets you ignore Decision requirements
deleteallunits [country]wipe out all the armies and fleets in the specified country. Can be abbreviated to “delall”
deleteallunitsbut [country]wipe out all the armies and fleets on the world map, except for the specified country. Can be abbreviated to “delallbut”.
event [event ID] [country tag]Executes an event in the target country.
focus.autocompleteInstantly complete your National Focus. Can be abbreviated to “fa”
Focus.IgnorePrerequisitesLets you ignore National Focus prerequisites
Focus.NoChecksLets you ignore National Focus requirements
force_operative_detectionall your operatives and spies will be instantly detected
fowRemoves fog of war. Toggle on or off
fuel [amount]Add a specified amount of fuel to your deposits
gain_xp [amount]Add a specified amount of XP to a selected General, Admiral, or Leader
gain_xp [trait]Add a specified trait to a selected General, Admiral, or Leader
help [command name]prints a list of all the console commands. Specifying one command will provide its description
instant_prepareNaval invasion preparations are instantaneous. Requires debug mode to be activated by entering tdebug into the command console
Instant_wargoalLets you use any war goal without a justification
instantconstructionToggles on/off instant construction for all tasks, including AI. Can be abbreviated to “ic”
instanttrainingDivisions and ships are instantaneously trained. Can be abbreviated to “it”
manpower [amount]Adds a specified amount of manpower to your reserves
NomapiconsRemoves icons from the map. Toggle on or off.
NopausetextRemoves text on the pause menu. Toggle on or off
nu [number]Adds the specified amount of National Unity to your pool
nuke [amount]Adds the specified number of nukes to your reserves
observeMakes you a spectator in the game
occupationpaint [country tag]toggles on occupation painting. When used with a country tag, it occupies all the land they own. Can be abbreviated to op
Operation.instantfinish all operations
political_power [PP amount]Gain political power, or remove it if you use a negative number. Can be abbreviated to “pp”
pp [political power amount]Add a specified amount of political power to your pool
Prevent_operative_detectionPrevents your operatives from being detected
puppet [country tag 1] [country tag 2]country 2 becomes the puppet of country 1
remove_ideas [idea name]removes a national idea
research [slot ID | all]Research a specified technology slot, or all technologies at once
research_on_icon_clickInstantly research any technology you click on in the tech tree. Can be abbreviated to “roic”
resistance [amount]increases the resistance in the selected province
set_ruling_party [ideology group]Make the specified ideological group the ruling party, from ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’
setcontroller [country tag] [province ID]Give control of a province to a specified country
setowner [country tag]Give ownership of a state to a specified country. Select the state with your cursor before entering the code
spawn [sub unit type] [province ID] [amount]Spawns the specified unit in a target province Requires debug mode to be activated by entering tdebug into the command console
st [amount]Increase your Government’s stability by a specified amount (capped to 100%)
tag [country tag]Change the country you’re playing as
tdebugtoggle debug information on or off
teleport [province ID]Teleport all selected units to the target province.
whitepeace [country tags]Impose a White Peace between two specified countries. Can be abbreviated to “wp”
winwarsGives you the maximum war score for every current war
xp [XP amount]Add a specified amount of XP to your Army, Navy, and Air forces

Hopefully you find some to deploy in your next alternate history WW2 that’ll either turn the tide in your favor, or at the very least make something silly, ahistorical, and entertaining happen.

To use Hearts of Iron 4 cheats, you’ll first have to open the game’s command console. Load up a save file and press the TAB key to bring up the panel (the key might differ between keyboards, so try ~, `, “, or ^ if nothing happens). After that, simply type in the relevant console command code, and slam the enter button. Hey presto, you’ve just activated a cheat!

Some codes will require a ‘country tag’ or ‘state ID’ to use. Finding these is super easy using our HOI4 country tags guide, which lists every country tag in the game. Or, if you want to create more work for yourself, open the command console, enter tdebug, and hover your cursor over the relevant country to reveal an info panel. The country tag will be a three-letter code (e.g. POL for Poland), and its other IDs will be listed.

As a final word of advice, it’s best to save your game before entering a console command. They’re unlikely to corrupt your save file, but it would be a shame if you entered the wrong code by mistake, and cheated any more than you had to.

If you’re just looking for a quick way to get ahead, these are the best HOI4 cheats that everyone should know about:

If you’re on the lookout for codes, commands, and cheats for other PC games – hit up our sister site CodesDb for a massive database of the best freegame codes.

Alternatively, you could take a Hearts of Iron break and check out our broader guides to the bestWW2 games,the bestgrand strategy games,and the best4x gamesavailable.

All Hearts of Iron 4 console commands and cheats (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Terence Hammes MD

Last Updated:

Views: 6230

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.