Console Commands in The Elder Scrolls V: Skyrim (Special Edition) are used as a debugging tool for PC players. You can access the Console by hitting the ` or ~ key on your keyboard (right under ESC). This brings up a pop-up window in which you can enter text commands.



How to Use the Console

  • To use the console, simply type using the keyboard.
  • Codes are not case-sensitive (a = A)  and is entered as Code <Variable> <#>.
  • Example of an add item code is:  Player.AddItem <ItemID> <#>. # represents the amount (quantity) of needed item. The ItemIDs can be seen from the list below.
  • The code for adding 500 gold for example is: player.additem f 500 .


 NOTE: These commands can cause game-crashes and may corrupt your profile. USE THEM AT YOUR OWN RISK.

Toggle Commands

Command Effect
rm Toggle Run Mode. Will switch between run mode and walking mode. Same function as <Caps Lock> key.
tg Toggles grass
tt Toggles trees
tws Toggle water display when not underwater
twf Toggles framework border
ts Toggles display of skybox and fog.
tfow Toggles regions on the local map. i.e. loads all unexplored areas on the local map.
TLL Toggles LOD
teofis Toggle relatively taxing image settings such as blur. May result in an increase in frames per second.
tscr Toggles script processing
TIM Toggle Immortal Mode (Character will still take damage, but their health will never reach zero. Final blow animations may cause a permanent decapitation bug.)
TCL Toggle Collision. Using the TCL command with a target toggles clipping for the target. If used while falling off a cliff, may cause a crash. Useful for unsticking your character or finding items or bodies that have fallen through a wall or floor.
TM Toggle Menus (Disables all GUI elements, including menus, the compass, subtitles and messages. Very useful for taking screenshots.)
TFC Toggle freefly camera. Add <1> to pause.
TAI Toggle Artificial Intelligence (Characters will not react to non-combat stimuli and dialog may not function. Used in conjunction with TCAI will completely disable NPC actions.)
TCAI Toggle Combat Artificial Intelligence (Characters may turn hostile, but will not attack the player.)
TDetect Toggle AI Detection. Doesn't work with Pickpocket detection.
TC Toggle player Control of target entity. If used when targeting an NPC, will transfer control to said NPC, and any command inputs will be applied both characters. To fix, use TC on the player character to turn off its actions.
TMM <#> Toggle Map Markers; <0> Disable all. <1> Enable all. <1,0,1> Show all, no fast travel.
TGM Toggle God Mode (Grants infinite health, magicka, and stamina. Carry weight will never affect movement or fast travel.)


 Targetted Commands

Command Effect
Equipitem <ItemID> <#><left/right> Forces the target to equip <ItemID>, if it is in their inventory. Adding a '1' after the ID seems to make some items un removable, while '0' keeps them removable as normal. <left/right> will equip the weapon in the left or right hand.
Equipspell <SpellID> <left/right> Forces the target to equip <SpellID>, <left/right> will equip the spell in the left or right hand. spells cannot be acquired by addspell command such as Vampiric Drain can be acquired temporarily in this way. as for player variant: type "player.Equipspell <SpellID> <left/right>"
Unequipitem <ItemID> <#><left/right> Forces the target to unequip <ItemID>, similiar to Equipitem command except this one is for unequiping items. if it is in their inventory. Adding a '1' after the ID seems to make some items un removable, while '0' keeps them removable as normal. <left/right> will unequip the weapon in the left or right hand.
setessential <BaseID> <#> Make NPC mortal (0) / immortal(1).
Disable This will make the target disappear, but still loaded with the cell (see also: MarkForDelete).
Enable Used to make disabled targets re-appear. Useful for when you made a pointing mistake when disabling targets.
unlock Unlock the desired chest or door. Note: This may not work in some cases.
lock <#> Lock chests, doors or people. <#> = the level of difficulty. (0-100, any larger and the lock cannot be picked)
kill Instantly kills target. (Does not kill characters/creatures marked 'essential', only causes them to fall to the ground for a few minutes.)
Resurrect <#> Return a dead NPC to life. Replace <#> with 1 to resurrect with all current items intact. Leave off <#> to have the corpse removed & a new copy spawned.
removeallitems Removes all items in the targets inventory. Use the <player> variable to transfer all items to own inventory.
sexchange Change gender of target NPC, or PC. Note: Only BODY changes, not the head.
additem <ItemID> <#> Adds <ItemID> to target NPC, Note: Use on a merchant to set the amount of barter gold. This gold may not go to your inventory when selling items to the vendor.
setlevel <1>,<2>,<3>,<4> Sets the level of an NPC compared to the player. SetLevel 1000,0,1,81 will make target level with you from 1 to 81.
1: <% of PC's level * 10> The NPC's level in comparison to player, based on % of players level. (1000 = 100.0%)
2: <1 level +/-> How many levels this NPC will be above or below the level in 1.
3: <starting level> The lowest level this NPC can be.
4: <level cap> The highest level this NPC can be.
getav <AV> Returns the current value of the specified actor value.
modav <AV> <+/-#> Changes <AV> by <+/-#>
forceav <AV> <#> Forces <AV> to <#>
setav <AV> <#> As above, but some values don't stay set through saves.
setscale <#> Sets the scale of an object. "1" is default. If no object is selected, applies to PC.NOTE: When used on an actor, it increases or decreases speed and damage. Also note that the lowest possible value to change the scale, is 0.1, and the highest possible value to change the scale, is 10.00, exactly on the dot.
moveto player Teleports the targeted NPC to you. (Works similar to player.placeatme <BaseID> <#> but does not create a new reference of the base object.)
player.setrelationshiprank <RefID> <#> Used to set an NPCs disposition towards the player. <#> = 1-4 Note: If this doesn't help when attempting to add Follower dialogue, try setrelationshiprank <RefID> <#> then player.setrelationshiprank <RefID> <#>.
openactorcontainer <#> <#> = 1,2, 3, or 4. Depending on the actors faction ranking to the player will depend on what you see in their inventory. Use the correct ranking for their current status.) This allows you to add or retrieve items from that actor. Some actors will not equip armor or weapons you store on them.
GetPos <axis> Returns the position value of given axis (x,y,z) of the target
SetPos <axis> <#> Sets the position value of given axis (x,y,z) of the target.
GetAngle <axis> Returns the value of given rotational axis (x,y,z) of the target.
SetAngle <axis> <#> Sets the value of given rotational axis (x,y,z) of the target (the change happens when the targeted object is picked up).
MarkForDelete Permanently deletes the selected item either instantaneously or upon reload. This command is cleaner than disable, as it removes the item completely instead of just hiding it from view.
setownership Allows you to make things ownerless. They won't become yours. When used on chests, applies to everything inside.
setfavorstate <#> 0 = inactive, 1 = active. Makes any targeted NPC obey player commands by moving the cursor over an interactable object or NPC while activated. In example, typing setfavorstate 1 while having a Guard selected in the command console and clicking on a dropped item, makes that Guard pick-up and automatically equip that item. After issueing a command, typing setfavorstate 0 while a command has not yet been issued or pressed the TAB button will cancel and deactivate the command.
recycleactor Cycle between different actors within the same actor ID randomly.




Tired of anon posting? Register!
    • Anonymous

      That was useless I need the console command to forcibly respawn a character I need for a quest who disappeared

    Load more
    ⇈ ⇈