Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
VGSources
Blog

Hearts of Iron 4 Console Commands: How to Open the Console and Use Commands

Open the HOI4 console with the key that matches your keyboard layout, use in-game help to verify syntax, and find internal IDs with debug information before entering commands.
Length3 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In Hearts of Iron IV, open the in-game console with the key or key combination supported by your keyboard layout, then use help to check the syntax available in your current game. Treat command lists as starting points: commands and identifiers can differ with game versions, DLC, and mods, and console commands may be unavailable in Ironman.

How to open the Hearts of Iron IV console

The console is a debugging window for entering commands. A community-maintained Hearts of Iron 4 Wiki reference lists several possible keys and combinations, including ^, °, tilde (~), Shift+2, §, backtick (`), quotation mark, Alt+2+1, and Shift+3. The working option depends on your keyboard layout, so try the listed alternatives if the first key does not open it. The reference describes console access for non-Ironman games; commands may be restricted in Ironman by design.

Once open, the up and down arrow keys can move through previously entered commands, according to the same reference.

How to check command syntax in your game

Use help to display the command list, or enter help followed by a command name to request that command’s description. This is the most useful first check when an example from a guide does not work: syntax and availability can depend on the game build, DLC, and installed mods.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In the community wiki’s notation, parentheses after a command indicate aliases—for example, instantconstruction(ic). Square brackets by themselves mark an optional argument; brackets around an angle-bracket argument indicate a required argument. These are documentation conventions, not characters to type literally. For instance, replace a placeholder such as [country tag] with the actual tag rather than entering the brackets.

How to find the IDs commands require

Many commands need an internal identifier rather than a name as it appears in ordinary interface text. The community wiki says debug information can reveal identifiers for focuses, national spirits, technologies, provinces, states, and country tags when you inspect the relevant interface or map item.

Rank #2
Hearts of Iron IV: La Résistance Expansion - PC [Online Game Code]
  • New Focus Trees for France: New National Focuses for Free France Free France and the Vichy France Vichy France Regime, as well as an option for conservatives to restore the old French Monarchy.
  • More in Depth Spanish Campaign: New National Focuses for Republican Spain Republican Spain and Nationalist Spain Nationalist Spain, as well as an expanded Spanish Civil War that can spiral into a wider conflict.
  • Portuguese Focuses: Navigate the pressure of the World War, or involve yourself in the Spanish Conflict with the new Focus Tree for Portugal Portugal.
  • Espionage: Use your Intelligence agency to train spies to specialize in certain types of information warfare and develop passive resistance to enemy espionage, then let them perform Missions and Operations.
  • Support Resistance: Use your agents to assist allied resistance movements, giving them what they need to damage the enemy.

References use both debug and tdebug when discussing this information. The available documentation does not establish whether that difference reflects a version, context, or source-specific naming, so check help debug and help tdebug in your own game rather than assuming one spelling works everywhere. A 2022 PCGamesN guide specifically recommends tdebug for country tags and map IDs.

Common command examples

The examples below come from community and third-party references, not a verified current-build manual. Check each command with in-game help and substitute the exact ID or value your game expects.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Hearts of Iron IV: Battle for the Bosporus Expansion - PC [Online Game Code]
  • National Focus Tree for Bulgaria: Balance the factions in a divided land or reclaim territory lost in 1919. Follow the historical alliance with Germany or resist the German pressures on Tsar Boris, standing up for a free Bulgaria.
  • National Focus Tree for Greece: Riven by political division, Greek neutrality is maintained by the controversial Metaxas. Build a strong relationship with the Allies under the guidance of King George II, follow arch-conservatives into fascism or restore the glories of Greek Empire in the east.
  • National Focus Tree for Turkey: Robbed of its empire in the last war, what future is there for Turkey in a new one? Continue or halt the reforms of Kemalism, stand as the protector of the Balkans in a new regional faction, restore the Sultan to the throne or found a new Islamic state.
  • New Music Tracks
  • New 3D Unit Models for Balkan and Turkish Armies
Command Purpose What to verify
tag [country tag] Switch the country you control. Find the correct three-letter country tag using debug information; confirm the syntax with help tag.
add_ideas [idea] Add an idea to a country. Use the required internal idea identifier, not necessarily its displayed name.
add_equipment [amount] [equipment name] Add a specified amount of equipment. Check the argument order and equipment identifier for your build; the cited lists do not establish universal compatibility.
research [slot ID / 'all'] A research-related example in PCGamesN’s 2022 guide. That guide is dated, so confirm current syntax and accepted values in-game.
research_on_icon_click A research-related example in PCGamesN’s 2022 guide. Check whether the command is available and how it behaves in your current build.
annex [country tag] Annex the specified country in PCGamesN’s example list. Replace the placeholder with a valid country tag and verify availability in-game.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choosing a command list—and why lists can disagree

Console-command references are community or third-party resources rather than an official current-build manual. When comparing them, look for the game version and DLC coverage, whether cheat, debug, and tweakable commands are separated, whether full syntax and exact identifiers are supplied, and whether Ironman and modded games are addressed.

HOI4Commands.com separates commands into cheat, debug, and tweakable-variable categories and reports 438 entries in its own index. That is the website’s count, not an official or independently verified total, and it does not establish that every entry works with your game version or mod setup. PCGamesN’s examples date to June 13, 2022; treat them as useful starting points, not a guarantee of current compatibility.

Rank #4
Hearts of Iron IV: Man the Guns Expansion - PC [Online Game Code]
  • New Alternate American History: Use the American Congress to push for reform, at the risk of plunging the nation into another civil war.
  • New Alternate British History: Push for early decolonization of the British Empire or restore the ancient privileges of the monarchy.
  • Ship Design: Research new components and refit older vessels to take advantage of new knowledge. Outfit your submarines with snorkels or improved stealth.
  • Admiral Traits and Skills: Tailor and level up your Admirals with new traits and skills.
  • Governments in Exile: Welcome a government in exile to your democracy, boosting their legitimacy in return for more manpower and elite troops fighting to free their homeland.

Mods may add commands or tags, while commands can change or disappear with DLC and game updates. If a command is missing from your in-game help output or produces an error, check the exact name and required arguments first, then account for your active DLC and mods. The sources cited here do not establish comprehensive command compatibility for every current build or configuration.

Quick Recap

Bestseller No. 3
Hearts of Iron IV: Battle for the Bosporus Expansion - PC [Online Game Code]
Hearts of Iron IV: Battle for the Bosporus Expansion - PC [Online Game Code]
New Music Tracks; New 3D Unit Models for Balkan and Turkish Armies
$9.99
Bestseller No. 4
Hearts of Iron IV: Man the Guns Expansion - PC [Online Game Code]
Hearts of Iron IV: Man the Guns Expansion - PC [Online Game Code]
Admiral Traits and Skills: Tailor and level up your Admirals with new traits and skills.
$19.99
Best Value
Hearts of Iron IV: By Blood Alone Expansion - PC [Online Game Code]
  • Follow the historical path of Mussolini's Italy or rewrite history by restoring power to the monarchy, leading a Communist revolution or replacing Mussolini with one of a variety of new contenders.
  • Defy the odds to defeat the Italian invader or resist the conqueror from abroad using unique Government in Exile abilities.
  • Surrounded by France, Germany and Italy, the mountain nation of Switzerland finds strength in its neutrality, balancing competing factions and overtures from the great powers.
  • Demilitarize zones of the map or entire nations, bid on the capital ships of defeated powers, or claim control of enemy resources or factories as reparations.
  • Design and build your own planes, from nimble interceptors that prioritize speed to durable bombers crafted to unload tons of destruction from high above.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Turn On Vibrant Visuals in MinecraftMinecraftBlog3min
  2. Best Multiplayer Games for Low-End PCsBlog4min
  3. Minecraft: How To Use And Install OptiFineBlog5min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.