Stellaris – How to Use Console Commands

You are currently viewing Stellaris – How to Use Console Commands

Do you want a specific event to start, or want to test out some game theory ideas, or do you just want to cheat? Well, this Stellaris guide on how to use console commands is the one for you.

Console commands allow players to meddle with the game in a wide variety of ways. It is a great tool for developers and mod creators to test their work. Most average players use it to get an unfair advantage or to power through a bug.

Recommended Read: How to Get Minor Artifacts in Stellaris

This guide will teach you everything you need to know about how to use console commands in Stellaris.

To use console commands in Stellaris, you need to open the command interface using the tilde “`” key. After that, simply type in the key you wish to use and hit enter. The action is then triggered, and the game will carry out the command you gave it.


Table of Contents


How to Use Console Commands in Stellaris

Console commands can help you do almost anything within the confines of the game, of course.

Want to spawn all the end-game crises at once? Go nuts. Want to make every AI empire say yes to your proposals, no matter how wild they are? Go right ahead.

Console commands will only ever work in non-ironman, single-player games. So, if you were thinking of trolling your friends with them, you are out of luck.

Every possible console command is not covered in this guide. There is a list of the most useful ones at the end.

If you are looking for a very niche command, such as spawning a specific event or unlocking a game feature, the best place to go is the Stellaris Wiki. There, you will find a definitive list of almost every command there is.

Using the Debugging Window

Before you can enter any console commands, you first need to open a special window in the game called the debugging window. This is also sometimes called the command interface.

By default, and assuming that you are using a QWERTY keyboard, the standard shortcut is the tilde “`” key. If that doesn’t work, try pressing Shift + Alt + C.

You will know it has worked as a translucent box will appear on the top left hand of your screen.

In the event that none of those commands worked, check if you are in an ironman game. If that is the case, you will not be able to use console commands on that save file.

Many of the commands in the game require the input of a numerical ID. Every asset in the game has an ID, and to edit that asset with the debugging window, you will need to know that specific ID.

The first command we will learn is the debug tooltip command. Simply type debugtooltip and hit enter. This will now display the ID of any asset that you hover over with your mouse.

You now pretty much know everything you need to know about console commands. It is as simple as typing the command in, adding ad ID if required, and hitting enter.

IDs for quests, special characters, or events are on the Stellaris Wiki.


List of the Most Helpful Stellaris Console Commands

A table of the most helpful Stellaris commands is provided here for your convenience.

An image displaying multiple megastructures in one system. Just a small taste of what is possible when you know how to use console commands in Stellaris

While this list is not exhaustive, it contains everything you would want to know when getting started with the debugging window.

CommandWhat it DoesExample
cash [amount]Adds 500 energy credits. You can add a value after cash to obtain a specific amountcash 7500
communicationsAdds communications with all empirescommunications
research_all_technologiesUnlocks all non-repeatable technologies. You can add a one at the end to add crisis and creature techs. Add another number after that to unlock to that tier of repeatable techsResearch_all_technologies 1 7
resource [good] [amount]Adds an amount of a specific resource. If no amount is entered the default is 5000. Use an underscore if the resource is two words e.g. consumer_goodsResource alloys 1234
event [event id]Spawns a specific event, such as an end-game crisis or a machine uprisingevent anomaly.95
create_megastructure [megastructure id]Zoom into a specific system and enter this command to receive an instant megastructure. Pressing tab after entering create_megastructure will reveal all structure IDsCreate_megastructure think_tank_4
damage [amount]First, select a fleet, then enter this command. All ships in that fleet will take the amount entered in hull damagedamage [250]
activate_all_traditionsUnlocks every tradition for your empireactivate_all_traditions
aiSwitches the AI offai
build_pops [amount]Creates the specified amount of pops on a planet that you have selected. Will not work on non-colonized planetsbuild_pops 12
colonize [pop id]Begins the colonization process on a selected planet, as if you had sent a colony ship containing the pop with the assigned ID. Find the ID by using the debug tooltip from earlier in the guidecolonize 24
contactBegins first contact with all empires within the galaxycontact
annex [empire id]Take over an entire empire with this simple command. Find the empire ID by hovering over the target empire’s flagannex 13
debug_yesmenAI empires will always agree to any proposals you senddebug_yesmen
intelRemoves fog of warintel
effect force_add_civic = [civic name]Will add a civic to the player empire. Use underscores instead of spaces when entering the civic name. Invalid civics will not workeffect force_add_civic = vaults_of_knowledge
add_trait_leader [leader id] [trait name]Adds a trait to any leader in the game. Find the leader ID by hovering over their imageadd_trait_leader 26 disorder
max_resourcesFills all resources to their storage capacitymax_resources
invincibleShips will take no damageinvincible

You can deactivate a persistent effect, such as yes men, by re-entering it into the debugging menu.


This is everything you need to know about how to use console commands in Stellaris. 

If you have any questions or suggestions for this guide, please let us know in the comments section below. As always, have fun abusing the console commands in Stellaris.

Simon Neve

Simon lives in Northern Ireland with his wife and two children. When not caring for his family, Simon enjoys video games, board games, and tabletop roleplaying games. When playing isn't an option he writes about them instead.

Leave a Reply