Stellaris Console Commands: Resources, Research, Ships and More

On this page
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
- Start or load a game that is not in Ironman mode.
- Press ~. If nothing happens, try Shift + Alt + C; the console key depends on your keyboard layout.
- Type a command and press Enter. Commands such as
instant_buildare 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
| Command | What it does |
|---|---|
cash 5000 | Adds energy credits (5,000 if you leave the number out). |
minerals 5000 | Adds minerals. |
food 5000 | Adds food. |
alloys 5000 | Adds alloys. |
influence 500 | Adds influence. |
unity 5000 | Adds unity (500 by default). |
max_resources | Fills all your resource storages. |

Research and traditions
| Command | What it does |
|---|---|
research_all_technologies | Instantly researches every non-repeatable technology. |
research_technology tech_automated_exploration | Researches one technology by its ID. |
finish_research | Finishes all active research. |
physics 5000 | Adds physics research points. society and engineering work the same way. |
techupdate | Re-rolls the technologies you can pick from. |
activate_all_traditions | Activates every tradition. |
activate_ascension_perk ap_mind_over_matter | Activates the ascension perk you name. |
unlock_edicts | Unlocks all edicts. |
Ships, building and the galaxy
| Command | What it does |
|---|---|
instant_build | Toggles instant construction and upgrades. It also applies to AI empires. |
invincible | Your ships take no damage. |
create_navy 0.5 | Creates a fleet of your newest designs using that share of your naval capacity (1 = 100%). |
damage 100 | Deals that much hull damage to every ship in the selected fleet. |
intel | Shows the entire galaxy. |
survey | Surveys every planet. You need at least one science ship. |
communications | Establishes communications with every empire. |
finish_special_projects | Finishes all special projects. |
finish_terraform | Finishes all terraforming. |
create_megastructure gateway_final | Builds a megastructure in the current system. Press Tab to see the IDs. |
Planets and pops
| Command | What it does |
|---|---|
own | Takes control of the selected fleet, starbase or planet. |
planet_class pc_arid | Changes the selected planet to another planet class. Select a planet first. |
planet_happiness 25 | Adds a happiness modifier to the selected planet. |
add_trait_species 5 intelligent | Adds a trait to a species. remove_trait_species takes it away. |
effect add_building = building_fe_dome | Adds a building to the selected planet. |
effect add_deposit = d_arid_highlands | Adds a resource deposit or planet feature to the selected planet. |
Empire, leaders and diplomacy
| Command | What it does |
|---|---|
debug_yesmen | AI empires always accept your proposals. debug_nomen makes them always refuse. |
add_opinion 1 0 100 | Raises one empire’s opinion of another (source, target, amount). |
force_integrate 2 | Integrates that empire into yours. |
free_government | Lets you change government without the time limit. |
free_policies | Lets you change policies without restrictions. |
effect country_add_ethic = ethic_spiritualist | Adds an ethic to your empire. country_remove_ethic removes one. |
effect force_add_civic = civic_meritocracy | Adds a civic to your empire. force_remove_civic removes one. |
skills 1 | Adds skill levels to every leader you have hired. |
add_trait_leader 1 leader_trait_gale_speed | Adds a trait to a leader. |
election | Starts a ruler election. |
play 2 | Switches you to playing another empire. |
ai | Turns 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.





