Hearts of Iron 4 console commands and how to use them (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.

  • HOI4console commands list
  • How to useHearts of Iron 4 cheats

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.

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

Hearts of Iron 4console commands list

  • manpower [amount]– Adds a specified amount of manpower to your reserves
  • nu [number]– Adds the specified amount of National Unity to your pool
  • xp [XP amount]– Add a specified amount of XP to your Army, Navy, and Air forces
  • pp [political power amount]– Add a specified amount of political power to your pool
  • instantconstruction– Completes all construction tasks instantly. Can be toggled on or off
  • focus.autocomplete– Instantly complete your National Focus
  • research_on_icon_click– Instantly research any technology you click on in the tech tree
  • research [slot ID | all]– Research a specified technology slot, or all technologies at once
  • allowdiplo– Removes all diplomacy rules, letting you freely use all diplomatic actions
  • ai_accept– Makes AI opponents accept all diplomatic offers
  • winwars– Gives you the maximum war score for every current war
    debug_nuking – Removes all nuke rules, letting you use nukes against any province
  • 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
  • cp [amount]– Increase your Command Power by a specified amount (capped to 100%)
  • st [amount]– Increase your Government’s stability by a specified amount (capped to 100%)
  • ws [amount]– Increase your nation’s War Support by a specified amount (capped to 100%)
  • instant_prepare– Naval invasion preparations are instantaneous. Requires debug mode to be activated by enteringtdebuginto the command console
  • fow– Removes fog of war. Toggle on or off
  • teleport [province ID]– Teleport all selected units to the target province.
  • tag [country tag]– Change the country you’re playing as
  • Allowtraits– Lets you freely assign traits to Generals and Admirals.
  • add_equipment [amount] [name]– Add a specified amount of a selected equipment type to your national supply.
  • add_latest_equipment [amount]– Add a specified amount of the latest equipment type used to your supply.
  • whitepeace(wp) [country tags]– Impose a White Peace between two specified countries.
  • event [event ID] [country tag]– Executes an event in the target country.
  • annex [country tag]– Begin annexing the target country
  • add_opinion [country tag]– Increase the specified country’s opinion of you by 100
  • observe– Makes you a spectator in the game
  • spawn [sub unit type] [province ID] [amount]– Spawns the specified unit in a target province Requires debug mode to be activated by enteringtdebuginto the command console
  • setowner [country tag]– Give ownership of a state to a specified country. Select the state with your cursor before entering the code
  • setcontroller [country tag] [province ID]– Give control of a province to a specified country
  • fuel [amount]– Add a specified amount of fuel to your deposits
  • civilwar [ideology] [target country tag]– Create a civil war in the target country, instigated by one of four ideologies: ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’
  • add_party_popularity [ideology group] [value]– Add a specified amount of popularity to the chosen ideological group: ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’.
  • set_ruling_party [ideology group]– Make the specified ideological group the ruling party, from ‘communism’, ‘fascism’, ‘democratic,’ or ‘neutral’
  • Focus.NoChecks– Lets you ignore National Focus requirements
  • Focus.IgnorePrerequisites– Lets you ignore National Focus prerequisites
  • Decision.NoChecks– Lets you ignore Decision requirements
  • instanttraining– Divisions and ships are instantaneously trained
  • nuke [number]– Adds the specified number of nukes to your reserves
  • add_core [state ID] [country tag]– Makes the specified state a ‘core’ of the target country
  • Prevent_operative_detection– Prevents your operatives from being detected
  • Nomapicons– Removes icons from the map. Toggle on or off.
  • Nopausetext– Removes text on the pause menu. Toggle on or off
  • Instant_wargoal– Lets you use any war goal without a justification

And that’s all of ’em!

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.

How to use Hearts of Iron 4cheats

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 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.

Or, if you’re set on playing war, try our list of the best miniature wargames, our favoriteWW2 board games and the best war board games in general.

Hearts of Iron 4 console commands and how to use them (2024)

FAQs

How to use HOI4 console commands? ›

How to use console commands in HOI4. Depending on your keyboard layout, you can access the console by hitting Shift+2, §, ~, , `, ", ^ or ALT+2+1, or Shift+3. For UK QWERTY layouts, this should be the ` key below the escape key.

How to cheat heart of iron 4? ›

Hearts of Iron IV Cheats
  1. manpower - Extra Manpower.
  2. unity [#] - Increase Unity.
  3. xp - Added Infantry, Naval, and Air experience.
  4. Annex [Nation Tag] - Annex nation indicated.
  5. pp - Extra Political Power.
  6. research [slot number] - Complete Research for specified slot (or enter 'all')
  7. instantproduction - Instant Production.

What is the command to research everything in HOI4? ›

research_on_icon_click

What is the command to allow all diplomatic actions in HOI4? ›

1.) "allowdiplo" OR "adiplo" OR "nocb" - Allows the user to use all diplomatic actions for no matter the rules (however the AI may not accept certain diplomatic actions still.

How do I enter console commands? ›

The console is normally accessed by pressing the backtick key ` (frequently also called the ~ key; normally located below the ESC key) on QWERTY keyboards or the ² on AZERTY keyboards, and is usually hidden by default.

What is the max command power in HOI4? ›

Command power is capped at 200, however, both the growth and the cap can be increased by Doctrines and National Spirits.

What is the core cheat in HOI4? ›

HOI4 Add_core Command

This command adds the specified state as a 'core' of the specified country. A 'core' is a state that's considered to be a rightful part of a country.

How to give yourself command power in HOI4? ›

Hearts of Iron 4 cheats
  1. gain_xp [amount] – The selected leader or general will get the specified amount of XP.
  2. cp [amount] – Use this command to increase your Command Power (up to a max of 100%)
  3. st [amount] – Add stability (up to a max of 100%). ...
  4. ws [amount] – Add war support (up to a max of 100%).
Dec 7, 2021

Can you lose in Hearts of Iron 4? ›

If you are independent, and you capitulate. you lose. If you are a member of a faction, then you go in to exile. It depends though, if the enemy decides to fully annex you then you lose, but they might just take a few territories or puppet your or something, in which case you can keep going.

What are the 7 major powers in HOI4? ›

Major countries
  • Germany.
  • Italy.
  • Japan.
  • Soviet Union.
  • France.
  • United Kingdom.
  • United States.

Is there a command to win wars in HOI4? ›

HOI4 Winwars Command

This command will give your country the maximum war score for all wars it is currently engaged in. It should be noted that this command will only give war score for wars your country is a direct aggressor or defender in.

What are the cheats for diplomacy in Hearts of Iron 4? ›

HOI4 Allowdiplo Command

This command allows for the use of any diplomatic action (e.g. declaring war) without justification. The allowdiplo command is a toggle command - this means all you need to do to disable the allowdiplo feature (after enabling it) is execute the command again.

What is the always say yes command in HOI4? ›

HOI4 Yesman Command

This command causes country AI to automatically accept any diplomatic offers, regardless of the case. The yesman cheat in Hearts of Iron IV is a toggle command - this means all you have to do to disable the command is run it again.

Why can't I open the console in HOI4? ›

Check the box next to "Enable Console" to enable console commands in HOI4. Click on the "Play" button to start the game. Once the game is open, press the tilde key (~) on your keyboard to open the console. Now you can enter any console commands you want to use in HOI4.

How do I open the console menu? ›

Chrome. To open the developer console window on Chrome, use the keyboard shortcut Cmd-Shift-J on Windows or Cmd-Option-J on a Mac.

How do you use console commands in fo4? ›

To activate Fallout 4 cheats, you'll need to type in console commands. To use console commands, you need to press the grave key (`) – the key directly below Esc – if you're playing on a standard British English keyboard. If you're using an American English keyboard, meanwhile, you'll press the tilde key (~).

How do I open console commands in hoi3? ›

Enter ~ (or the key above Tab) to bring up console, enter code, and press Enter.

Top Articles
Latest Posts
Article information

Author: Eusebia Nader

Last Updated:

Views: 6274

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Eusebia Nader

Birthday: 1994-11-11

Address: Apt. 721 977 Ebert Meadows, Jereville, GA 73618-6603

Phone: +2316203969400

Job: International Farming Consultant

Hobby: Reading, Photography, Shooting, Singing, Magic, Kayaking, Mushroom hunting

Introduction: My name is Eusebia Nader, I am a encouraging, brainy, lively, nice, famous, healthy, clever person who loves writing and wants to share my knowledge and understanding with you.