Console Commands are a debugging tool available to PC players, adding a wide range of functionality to the game. On American English keyboards, the tilde key ( ~ ) will toggle the console screen, but on British English keyboards, that key is the backtick key ( ` ). The key is located below Escape ( Esc ) and just left of the 1 ( one ) key
Comparisons with other games
Using the console
- Codes are not case sensitive; "a" is same as "A".
- Codes are shown as:
Code <Variable> <#>
>are not entered with the code, and # is replaced by the desired quantity.
- The code to add an item is listed as:
Player.AddItem <ItemID> <#>
- If you wanted to add 500 gold, it would be entered as:
player.additem 00000f 500
To target an object, open the console and click the object. Its name will appear about center screen. An item targeted in the console is also called a reference.
A target may also be selected using the PRID command and the target's Reference ID.
Short Code or
Short code refers to a code having a short form that can be used interchangeably with the Long form.
ToggleFogOfWaris the long code form.
TFOWis the short code form.
Prefix Required refers to a code needing a prefix to work as intended.
SetHealth <#>will set the max health of the target selected by clicking or the PRID command to <#>.
Player.SetHealth <#>will set your max health to <#>.
|Toggle Run Mode. Will switch between run mode and walking mode. Same function as <Caps Lock> key.|
|Toggles display of skybox and fog.|
|Toggle Immortal Mode (Still take damage, health will never reach zero. Final blow animations may cause a permanent decapitation bug.)|
|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.|
|Toggle Menus (Disables all GUI elements, including menus, the compass, subtitles and messages. Very useful for taking screenshots.)|
|Toggle freefly camera. Add <1> to pause.|
Toggle Artificial Intelligence (Characters will not react to non-combat stimuli and dialog may not function. Used in conjunction with
|Toggle Combat Artificial Intelligence (Characters may turn hostile, but will not attack the player.)|
|Toggle AI Detection. Doesn't work with Pickpocket detection.|
|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 |
|Toggle Map Markers; <0> Disable all. <1> Enable all. <1,0,1> Show all, no fast travel.|
|Toggle God Mode (Infinite health, magicka, and stamina. Carry weight will never affect movement or fast travel.)|
|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.|
|Forces the target to equip <SpellID>, <left/right> will equip the spell in the left or right hand. spells cannot be acquired by |
|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.|
|Make NPC mortal (0) / immortal(1).|
|This will make the target disappear, but still loaded with the cell (see also: |
|Used to make disabled targets re-appear. Useful for when you made a pointing mistake when disabling targets.|
|Unlock the desired chest or door. Note: This may not work in some cases.|
|Lock chests, doors or people. <#> = the level of difficulty. (0-100, any larger and the lock cannot be picked)|
|Instantly kills target. (Does not kill characters/creatures marked 'essential', only causes them to fall to the ground for a few minutes.)|
|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.|
|Removes all items in the targets inventory. Use the |
|Change gender of target NPC, or PC. Note: Only BODY changes, not the head.|
|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.|
|Sets the level of an NPC compared to the player. |
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.
|Returns the current value of the specified actor value.|
|Changes <AV> by <+/-#>|
|Forces <AV> to <#>|
|As above, but some values don't stay set through saves.|
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.
|Teleports the targeted NPC to you. (Works similar to |
|Used to set an NPCs disposition towards the player. <#> = 1-4 Note: If this doesn't help when attempting to add Follower dialogue, try |
<#> = 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.
|Returns the position value of given axis (x,y,z) of the target|
|Sets the position value of given axis (x,y,z) of the target.|
|Returns the value of given rotational axis (x,y,z) of the target.|
|Sets the value of given rotational axis (x,y,z) of the target (the change happens when the targeted object is picked up).|
|Permanently deletes the selected item either instantaneously or upon reload. This command is cleaner than |
|Allows you to make things ownerless. They won't become yours. When used on chests, applies to everything inside.|
- Most "Target commands" can be used on the player by self-targeting or prefixing with
Player.in the console window. Some commands, such as
Disablewill crash the game when self-targeted, while others may produce unexpected results.
|Used to get the current quest stage for quest (use |
|Used to display all the stages of a quest|
|Used to set the quest stage as being completed or uncompleted.|
|Used to set the quest stage (Useful for bugged quests).|
|Move to quest target.|
|Shows all current quest IDs.|
Complete all Stages of EVERY quest.
|Complete a quest. May cause buggy behavior, |
|Add shout to player skill list. Shouts are also part of spells so in order for this command to work you would need the spells unlocked. List of Shout Codes.*NOTE: Shouts can be unlocked using: |
|Doing this will allow you to change your race without using |
|A variant of |
|Adjust field of view. The maximum value appears to be 160. Higher numbers allow a wider field of vision, but it can be distorted. Lower numbers show a "zoomed" view. 60-90 is a useful range.|
|Bring up character customization menu. Magicka, Stamina, and Health will be spread evenly on using this depending on your character's level. It will remove any custom point distributions. Note: Using TGM command before entering the menu will retain your original levels. Will only modify your attributes/skills/points/etc. if you change the race, sex, or select a preset from the list. Modifying cosmetic things like skin color/warpaint/hair/face shape/etc. will leave your points.|
|Adds the perk.|
|Removes a perk.; does not return the point used to gain the perk.|
|Adds a spell, disease, or power. can be used for acquiring unused spell. ex: Conjure Dragon Priest, does not work for vampiric spells.|
|Removes a spell, disease, or power.|
|Add an item to the inventory.|
For example, to add 100 gold to the inventory, use
|Remove an item from the inventory.|
|This will drop the item.|
|Lists all items in your inventory and their codes. PgUp and PgDwn to scroll through.|
|Adds <#> to your current bounty with <FactionID>|
|Sometimes, does not pay off your bounty fully.|
X = 1 Remove stolen items. 0 Don't remove stolen items.
Y = 1 Go to jail. 0 Don't go to jail.
|Sets current level to <#>.|
|Teaches a word of power, words can be found with the "help <word> 4" command and are recognizable by the WOOP tag. See Dragon Shouts|
|Sets the Actor Value to <#>.|
|Modifies the Actor Value by <#>.|
|Should be avoided for use, as it overrides/ignores game's automatic calculations such as item bonuses, spell bonuses, etc.|
|Places an item or actor next to the player.|
|Adds object to inventory with any two magic effects (not limited to enchants). Codes|
|Increase the players skill points by one point |
|Give the player the desired amount of skill usage points. NOTE: Very inconsistent between skills. E.g. "|
|Player Spell Book. Unlocks all spells and shouts. NOTE: Using this command will unlock every spell, even those used to test Skyrim, this may cause bugs so you should backup the game before using this.|
|Force a Level Up (Does not add ability to pick a new perk)|
|This command is used to enable controls during cinematics when they're disabled. Occasionally the game will glitch, instead of reloading put in this command and carry on.|
|Sets the number of Dragon Souls the player has. Replace # with the desired number.|
- Most "Player commands" can be used on any NPC by left clicking them while in the console window, and typing the code without the
- The addperk command does not seem to work on NPCs, as they seem to rely upon the perks assigned to them.
|Sets height for character. Use Tsun as an example for height. He ranks 1.23 on the height scale.
|Adds the selected NPC to a faction. May cause undesired and buggy AI behavior, 1-4 affects faction rank|
|Alternate version of AddFac, adds the selected NPC to a faction. May cause undesired and buggy AI behavior, 1-4 affects faction rank|
|Removes the selected NPC from a faction. Usually used for unaligning hostile NPC from hostile factions, May cause undesired and buggy AI behavior.|
|0 Clears followers and allows you to recruit again.|
|Sets the NPC as reference, allowing other commands to be used, good for targeting NPCs that you cant reach/select on screen or fixing quest glitches about Npcs not appearing.|
|Executes a .bat file. For more info read this.|
|Show all console commands with descriptions. Add descriptors to search for IDs. ex: |
|Quits the game without going through the menus. (May cause crash.)|
|Kills all non-essential NPCs in the vicinity.|
|Set the rate at which time passes (20 is the default, 1 is realtime)|
|Set Weather. Changes the current weather to the one entered. It may vanish quickly depending on the area you're in, due to the area's climate being forced; like where rain isn't common.|
|Force Weather. Will automatically change the current weather to the one specified. (May also vanish as with the sw command).|
List of locations accessible only through Console Commands
Not a complete list:
|Center On Cell. Teleports you to the center of the cell. A list of coc codes is here.|
|Center on World. Teleports you to the given coordinates.|
|Holds the bodies of NPCs that have died.|
|Move to an NPC.|
This section contains bugs related to Console Commands (Skyrim). Before adding a bug to this list, consider the following:
- Kill command: In third person mode, the player can go into console and select themselves, and then use the kill command. This will cause the Dragonborn to die. However, this is easily glitched. If the Dragonborn is still selected, the "resurrect" command will cause major problems. First, the view will be stuck in third person mode from the angle visible at the time of death. The HUD will be completely invisible unless the Dragonborn is crouching. Animations will be broken as well, i.e. holding an iron dagger won't always register, so the fists animation will be used. The iron dagger will still be in-hand. Ragdoll physics also apply when in this state.
- This can be fixed by being attacked by a Greybeard using Ice Form.