Borderlands 2 console commands let you enable God mode, give yourself cash and Eridium, level up instantly, spawn weapons and much more. Unlike most games, in Borderlands 2 you first have to enable the console by editing a config file —we explain how below— and then you can type the commands. They only work on the PC version (Windows and Mac).
Borderlands 2 is a looter-shooter by Gearbox set on the planet Pandora, famous for its millions of procedurally generated guns and its irreverent humor. Most of these are developer commands (they start with Developer) plus a long list of Unreal Engine debug commands.
How to enable the console in Borderlands 2
On Windows
- Go to the game’s install folder and open
WillowGame\Config. - Open the file
WillowInput.iniwith Notepad. - Find the
[Engine.Console]section. - Add or edit the line
ConsoleKey=Tilde(or any key you prefer). - Save the file and close Notepad.
On Mac
- Locate
BaseInput.iniin/Borderlands2.app/Contents/GameData/Engine/Config/(right-click the app → Show Package Contents). - Find the
[Engine.Console]section and addConsoleKey=Tilde. - Save the file.
Then run the game as administrator, press the key you assigned to open the console, type the command and press Enter.
Main cheat commands
These are the most searched Borderlands 2 console commands —cash, levels, God mode and items:
| Command | Effect |
|---|---|
DeveloperDemigod |
God mode: makes you invincible |
DeveloperGiveCash [amount] |
Gives you the specified amount of money |
DeveloperGiveEridium [amount] |
Gives you the specified amount of Eridium |
DeveloperFreeLevels [numLevels] |
Raises your character by the levels specified |
DeveloperSpawnAwesomeItems |
Spawns several weapons and items |
DeveloperLoaded |
Infinite ammo (no reloading) |
DeveloperUnlockAllCustomizations |
Unlocks all customizations (skins) |
DeveloperUnlockAnAchievement [titleID] |
Unlocks a specific achievement |
DeveloperCompleteAllChallengesToLevel [level] |
Completes all badass challenges up to the level specified |
KillEnemies |
Eliminates all nearby enemies |
Jump |
Increases your jump height |
FOV [degrees] |
Sets the field of view |
Camera 3rd |
Toggles third-person camera |
Game and utility commands
| Command | Effect |
|---|---|
Open [map] |
Loads the specified map |
RestartLevel |
Restarts the current level |
Pause |
Pauses the game |
nextweapon |
Switches to the next weapon |
StartFire / StopFire |
Starts or stops firing |
suicide |
Removes your health bar (kills you) |
ShowMap |
Shows the map |
ShowStatusMenu Inventory |
Opens the inventory |
ShowStatusMenu Skills |
Opens the skills menu |
StartActionSkill / EndActionSkill |
Starts or ends your action skill |
Exit |
Exits the game |
Performance and debug commands (advanced)
For developers and technical tweaks. Stat commands show performance counters; Show commands toggle element rendering; ShowDebug commands display debug info.
| Command | Effect |
|---|---|
Stat FPS |
Shows the FPS counter |
Stat GAME |
Game performance statistics |
Stat MEMORY |
Memory statistics |
Stat UNIT |
Frame times per hardware unit |
Stat AI |
Shows the amount of active AI |
Show COLLISION |
Toggles collision rendering |
Show FOG |
Toggles fog rendering |
Show PATHS |
Shows navigation paths |
ShowDebug AI |
AI debug information |
ShowDebug WEAPON |
Weapon debug information |
GetAll [class] |
Dumps the property values of a class |
Obj List |
Lists all loaded objects |
STARTMOVIECAPTURE / STOPMOVIECAPTURE |
Starts or stops video capture |
What is Borderlands 2?
Borderlands 2 is an action role-playing looter shooter developed by Gearbox Software and released in 2012. Set on the planet Pandora, it follows four Vault Hunters as they take on the villain Handsome Jack. It’s famous for its procedural weapon generation system —with millions of possible combinations— and its four-player co-op. The command console, inherited from Unreal Engine 3, allows both cheats and debugging functions.
Frequently Asked Questions
How do you open the console in Borderlands 2?
It isn’t enabled by default: you have to edit the WillowInput.ini file (Windows) or BaseInput.ini (Mac), find the [Engine.Console] section and add a ConsoleKey line with the key you prefer. Then run the game as administrator and press that key.
What is the infinite money command in Borderlands 2?
Use DeveloperGiveCash followed by the amount you want (for example, DeveloperGiveCash 99999999). For Eridium, use DeveloperGiveEridium with the desired amount.
How do you activate God mode in Borderlands 2?
The DeveloperDemigod command activates God mode and makes you invincible. Note that many of these developer commands may be disabled in future saves or patches.
Can you use the commands in co-op mode?
It’s not recommended. Using console commands in co-op can cause conflicts with the other players or corrupt the save. Use them only in single-player and back up your progress.






















i could not get DeveloperFreeLevels [numLevels] to work
i have tried using the commands but nothing is happening how do i fix this??
Interesting that when I enter the console command ‘DeveloperDemigod’ in game, close the console and proceed into battle, I am dead within 2 minutes.
My impression is that the console command doesn’t work…
Any suggestions as to why?