Cheats & CodesStellaris

Stellaris Console Commands: Resources, Research, Ships and More

Stellaris 2
Stellaris

Short answer: Press the tilde key (~ or ` on a QWERTY keyboard) or Shift + Alt + C to open the console, type a command and press Enter. cash 5000 adds energy credits, max_resources fills every storage, research_all_technologies unlocks the tech tree and instant_build finishes construction at once. The console does not work in Ironman games, and using it disables achievements.

How to use the console

  1. Start or load a game that is not in Ironman mode.
  2. Press ~. If nothing happens, try Shift + Alt + C; the console key depends on your keyboard layout.
  3. Type a command and press Enter. Commands such as instant_build are toggles: type them again to turn them off.

Many commands need an ID for an empire, species, leader or planet. Type debugtooltip and hover over things in the game to see their IDs.

Resources

CommandWhat it does
cash 5000Adds energy credits (5,000 if you leave the number out).
minerals 5000Adds minerals.
food 5000Adds food.
alloys 5000Adds alloys.
influence 500Adds influence.
unity 5000Adds unity (500 by default).
max_resourcesFills all your resource storages.
Stellaris 1
Stellaris

Research and traditions

CommandWhat it does
research_all_technologiesInstantly researches every non-repeatable technology.
research_technology tech_automated_explorationResearches one technology by its ID.
finish_researchFinishes all active research.
physics 5000Adds physics research points. society and engineering work the same way.
techupdateRe-rolls the technologies you can pick from.
activate_all_traditionsActivates every tradition.
activate_ascension_perk ap_mind_over_matterActivates the ascension perk you name.
unlock_edictsUnlocks all edicts.

Ships, building and the galaxy

CommandWhat it does
instant_buildToggles instant construction and upgrades. It also applies to AI empires.
invincibleYour ships take no damage.
create_navy 0.5Creates a fleet of your newest designs using that share of your naval capacity (1 = 100%).
damage 100Deals that much hull damage to every ship in the selected fleet.
intelShows the entire galaxy.
surveySurveys every planet. You need at least one science ship.
communicationsEstablishes communications with every empire.
finish_special_projectsFinishes all special projects.
finish_terraformFinishes all terraforming.
create_megastructure gateway_finalBuilds a megastructure in the current system. Press Tab to see the IDs.

Planets and pops

CommandWhat it does
ownTakes control of the selected fleet, starbase or planet.
planet_class pc_aridChanges the selected planet to another planet class. Select a planet first.
planet_happiness 25Adds a happiness modifier to the selected planet.
add_trait_species 5 intelligentAdds a trait to a species. remove_trait_species takes it away.
effect add_building = building_fe_domeAdds a building to the selected planet.
effect add_deposit = d_arid_highlandsAdds a resource deposit or planet feature to the selected planet.

Empire, leaders and diplomacy

CommandWhat it does
debug_yesmenAI empires always accept your proposals. debug_nomen makes them always refuse.
add_opinion 1 0 100Raises one empire’s opinion of another (source, target, amount).
force_integrate 2Integrates that empire into yours.
free_governmentLets you change government without the time limit.
free_policiesLets you change policies without restrictions.
effect country_add_ethic = ethic_spiritualistAdds an ethic to your empire. country_remove_ethic removes one.
effect force_add_civic = civic_meritocracyAdds a civic to your empire. force_remove_civic removes one.
skills 1Adds skill levels to every leader you have hired.
add_trait_leader 1 leader_trait_gale_speedAdds a trait to a leader.
electionStarts a ruler election.
play 2Switches you to playing another empire.
aiTurns the AI on or off.

Be careful with planet_class: the Stellaris wiki warns that if no planet is selected, it changes every planet in the galaxy.

More strategy guides

Everything we have on the game is on the Stellaris page. For another Paradox game, see our Hearts of Iron IV console commands.

Sources

  • Stellaris Wiki (Paradox Wikis): Console commands
  • PCGamesN: Stellaris console commands and cheats

Last checked against sources: 11 November 2026.

Found a mistake or a step that no longer works? Tell us and we will check it.