KOTOR Console Commands: How to Enable and Use Cheats (PC)

November 11, 2026 · Cheat Codes, RPG
Quick answer: KOTOR console commands work on PC and Mac after you add EnableCheats=1 under [Game Options] in swkotor.ini. Press ~ in game, then type commands such as givecredits 10000, addlevel or heal and press Enter.

KOTOR console commands let you add credits, levels, skills and alignment points in Star Wars: Knights of the Old Republic. The console is hidden by default, so you first switch it on by editing one line in the game’s ini file. It works on the PC and Mac versions, not on Xbox or Android.

The setup steps and command list were checked against the commands.gg KOTOR guide and the Steam and GameBanshee community notes on cheats. The sequel uses almost the same list, which is covered in KOTOR 2 console commands.

How to enable and open the KOTOR console

  1. Close the game completely.
  2. Open the game folder. On Steam, right-click the game, choose Properties, then Local Files, then Browse Local Files.
  3. Open swkotor.ini in a text editor. KOTOR 2 uses swkotor2.ini.
  4. Under the [Game Options] line add a new line: EnableCheats=1.
  5. Save the file. If Windows will not let you save, run your editor as administrator.
  6. Start the game, then press ~ on a US keyboard or ` on a UK keyboard. Other layouts may use §, ö, @ or ç.
  7. Type a command and press Enter. Codes are case sensitive.

In KOTOR 1 the console window is visible. In KOTOR 2 it is invisible but still accepts typing. To check, press W: if your character does not move, the console is open.

Platforms: commands.gg says console commands work only on the PC and Mac desktop versions, not Xbox or Android. Save before experimenting, because some commands change the whole game state.

KOTOR console commands list

Command What it does
givecredits <amount> Gives credits.
giveitem <item code> Adds an item by its item code.
heal Refills health and Force points.
addexp <amount> Adds experience to your current total.
addlevel Gives the experience needed for the next level.
addlightside [amount] Adds light side points, or the maximum with no amount.
adddarkside [amount] Adds dark side points, or the maximum with no amount.
invulnerability Toggles god mode. Run again to turn off.
infiniteuses Toggle: limited-use items do not run out.
turbo Toggle: three times movement speed.
bright Toggle: full brightness in dark areas.
revealmap Reveals the current area’s map, including hidden parts.
warp <warp code> Teleports to a location.
restartminigame Restarts the current minigame.

Items, credits and kits

Use givecredits 10000 to add credits at once. The same guide lists shortcut commands that each give 100 of a common supply.

  • givemed: 100 med kits.
  • giverepair: 100 advanced repair kits.
  • givecomspikes: 100 computer spikes.
  • givesecspikes: 100 security spikes.
  • giveparts: 100 repair parts.
  • givesitharmour: 100 armor.

For any other item, type giveitem, a space, then the item code. Underscores in a code are typed as underscores. A mod tool such as a game-file viewer can show the codes in your install.

Levels, skills and attributes

Type addlevel to reach the next level, or addexp 5000 to add experience instead. Skills and attributes are set to a value you choose, not added to.

  • Skills: setcomputeruse, setdemolitions, setstealth, setawareness, setpersuade, setrepair, setsecurity, settreatinjury.
  • Attributes: setstrength, setdexterity, setconstitution, setintelligence, setwisdom, setcharisma.

Each takes a level, for example setstrength 14. The command overwrites the current value, so check it before you lower anything.

God mode, speed and other toggles

Type invulnerability for god mode. Type it again to switch it off. The commands infiniteuses, turbo and bright work the same way: one entry turns the effect on, the next turns it off.

Turbo triples your movement speed, which makes backtracking across big maps quicker. Use it with care in cutscene areas, and turn it off before story triggers if the game behaves oddly.

Light side and dark side points

Use addlightside 50 or adddarkside 50 to move your alignment. With no number they give the maximum. This is handy if you want to test a path without replaying a quest.

Warp and map commands

The warp command takes a module name, such as ebo_001, according to community guides. Module names are listed in the modules folder of your install. Some modules load as a black screen and others can crash the game, so save first.

On KOTOR 1, whereami prints your coordinates in the visible console. It has no use in KOTOR 2 because that console is invisible.

Using KOTOR commands in other BioWare games

BioWare’s older RPGs use different consoles. For Dragon Age, see Dragon Age Origins console commands and Dragon Age Inquisition console commands. For the Mass Effect line, see Mass Effect Legendary Edition console commands. Our full index lives under all game cheat codes.

KOTOR console commands not working

  • Nothing opens: check that EnableCheats=1 is under [Game Options] and that you edited the right file for your game.
  • You cannot see the console in KOTOR 2: that is normal. Type blind and press Enter.
  • Wrong key: try ~, ` or the key your layout puts there.
  • File will not save: close the game and run your text editor as administrator.
  • Command ignored: codes are case sensitive, so type them in lower case as written.
  • On Xbox or Android: these commands do not work there.

FAQ

How do I enable KOTOR console commands?

Close the game, open swkotor.ini in the game folder, add EnableCheats=1 under the [Game Options] line, save it, then press ~ in game to open the console. KOTOR 2 uses swkotor2.ini.

What are the KOTOR console commands for credits?

Type givecredits followed by an amount, for example givecredits 10000, and press Enter. The console must be enabled first with EnableCheats=1 in swkotor.ini.

How do I level up in KOTOR with the console?

Type addlevel to receive the experience for the next level, or addexp followed by a number to add experience. Both need the console enabled in swkotor.ini.

Do KOTOR console commands work on Xbox or mobile?

No. commands.gg says they work only on the PC and Mac desktop versions, not on Xbox or Android. The console needs the ini edit and a keyboard.

Why can I not see the console in KOTOR 2?

In KOTOR 2 the console is invisible but still works. Press W to test: if your character does not move, the console is open. Type the command and press Enter.

What is the KOTOR console command for god mode?

Type invulnerability to toggle god mode. Type it again to turn it off. It sits in the same list as turbo, infiniteuses and bright, which are also toggles.

Sources

  • commands.gg – KOTOR console help and command pages
  • Steam Community – KOTOR cheats discussion
  • GameBanshee forums – KOTOR cheats

Leave a Reply

Your email address will not be published. Required fields are marked *