Below is a searchable list of all KOTOR cheats and KOTOR 2 cheats, working for the latest version of the games on PC and Mac (Steam and non-Steam versions of the game). Unfortunately, as console commands are only available on desktop editions of the game, these cheat codes will not work on the XBOX or Android editions of Star Wars Knights of the Old Republic.
The console in both editions of KOTOR can be enabled by adding the line EnableCheats=1 to the swkotor.ini (KOTOR I) or swkotor2.ini (KOTOR II) file. If you are having trouble opening or enabling the console, view our comprehesive guide by clicking the button below:
How to Enable and Open the KOTOR Console
After having enabled the console it can be opened by pressing the ~ (tilde) or ` (grave) keys on your keyboard. In KOTOR II, the console is invisible - pressing the console hotkey will still open the console, but you cannot see it (so press the console button, type a cheat, and hit ENTER to send a command, even though it might seem like you aren't typing into a console window). If those hotkeys aren't opening the console for you, click the button above this paragraph to view our in-depth guide on using the console.
Click the "Table View" and "Card View" buttons to change how commands are displayed. Visit a command's info page to find more documentation and working examples by clicking on its name. Type the name of a command into the search box below to instantly search our complete database of 37 cheats from both KOTOR I and KOTOR II.
Name | Syntax | Description |
---|---|---|
heal | heal | This command refills all of your health and force points (to full). |
giveitem | giveitem [item code] | This command adds the item with the specified item ID to your inventory. See https://commands.gg/kotor/items for a list of all item codes. |
warp | warp [warp code] | This command warps your character to the specified location. See command page for a list of all warp codes. |
setcomputeruse | setcomputeruse [level] | This command sets your character's Computer Use skill to the specified level. |
setdemolitions | setdemolitions [level] | This command sets your character's Demolitions skill to the specified level. |
setstealth | setstealth [level] | This command sets your character's Stealth skill to the specified level. |
setawareness | setawareness [level] | This command sets your character's Awareness skill to the specified level. |
setpersuade | setpersuade [level] | This command sets your character's Persuasion skill to the specified level. |
setrepair | setrepair [level] | This command sets your character's Repair skill to the specified level. |
setsecurity | setsecurity [level] | This command sets your character's Security skill to the specified level. |
settreatinjury | settreatinjury [level] | This command sets your character's Treat Injury skill to the specified level. |
setstrength | setstrength [level] | This command sets your character's Strength skill to the specified level. |
setdexterity | setdexterity [level] | This command sets your character's Dexterity skill to the specified level. |
setconstitution | setconstitution [level] | This command sets your character's Constituion skill to the specified level. |
setintelligence | setintelligence [level] | This command sets your character's Intelligence skill to the specified level. |
setwisdom | setwisdom [level] | This command sets your character's Wisdom skill to the specified level. |
setcharisma | setcharisma [level] | This command sets your character's Charisma skill to the specified level. |
addexp | addexp [amount] | This command adds the specified amount of experience to your character. Unlike the set commands, this command adds the amount you specify to your existing experience (addexp 10 would add 10 experience, not set your experience to 10). |
addlightside | addlightside [amount] | This command has two different functions. If you do not specify an amount of light side points to add, it will give you the maximum possible amount of light side points. If you specify an amount of light side points to add, it will add that amount to your existing amount of light side points. |
adddarkside | adddarkside [amount] | This command has two different functions. If you do not specify an amount of dark side points to add, it will give you the maximum possible amount of dark side points. If you specify an amount of dark side points to add, it will add that amount to your existing amount of dark side points. |
revealmap | revealmap | This command completely reveals the map of the area your are currently in (all hidden areas are shown/unlocked). |
givecredits | givecredits [amount] | This command gives you the specified amount of credits. |
givemed | givemed | This command gives your character 100 med kits. |
giverepair | giverepair | This command gives your character 100 advanced repair kits. |
givecomspikes | givecomspikes | This command gives your character 100 computer spikes. |
givesecspikes | givesecspikes | This command gives your character 100 security spikes. |
givesitharmour | givesitharmour | This command gives your character 100 armor. |
giveparts | giveparts | This command will give your character 100 repair parts. |
infiniteuses | infiniteuses | This command will enable and disable (toggle) the infinite uses cheat. With the infinite uses cheat enabled, limited use items will not expire. |
invulnerability | invulnerability | This command enables and disables (toggles) god mode for your character. In god mode, you are invincible and do not take any damage - as a result of this, you also cannot die when in god mode. |
bright | bright | This command enables and disables (toggles) full brightness. With full brightness enabled, every location in the game has maximum brightness, so all dark areas will be light. |
turbo | turbo | This command enables and disables (toggles) turbo mode. In turbo mode, characters move at 3x their usual speed - things will seem as if they have been fast-forwarded. |
addlevel | addlevel | This command adds the "needed" amount of experience to your current experience level (i.e. leveling you up). |
restartminigame | restartminigame | This command restarts your current minigame, provided you are in one when you run the command. |
whereami | whereami | This command works in both versions of the game, but as there is no visible console in KOTOR 2, it only has a use in KOTOR 1. It will print your current coordinates to the console. |
dancedancemalak | dancedancemalak | You need to run this command just before you enter KOTOR 1's final battle for it to have an effect. It will turn Malak into a dancing Twi'Lek at the final battle - an.. alternate ending for sure. |
dance_dance_revan | dance_dance_revan | Just like the dancedancemalak command in KOTOR 1, this command should be ran just before the final battle in KOTOR 2. It will turn Revan into a dancing Twi'lek. |