The Fallout 4 Database

Fallout 4 Cheats List

An updated list of all Fallout 4 console commands for PC and Mac (Steam). Cheats in this list include those for all DLCs: Nuka-World, Automatron, Far Harbor.

Fallout 4

How to Use Fallout 4 Console Commands

  1. 1

    Press ~ (tilde), ' (apostrophe) or ` (grave) on your keyboard to open the console

  2. 2

    Type in a command and press ENTER to run it.

More Help

Best Fallout 4 Cheats

Cheat Description
TGM

Toggles god mode for your character (makes you invincible).

TCL

Toggles noclip mode for your character (you can walk through walls, objects, etc).

TMM 1

Show all map markers.

unlock

Unlock the door, lock or terminal that you are looking at.

player.placeatme

Spawn the NPC with the specified ID in front of you.

player.setlevel

Sets your character's level to the specified level.

set gamehour to

Set the time of day to the specified hour. Based on a 24 hour clock so 19 is 7PM, 9 is 9AM, etc.

player.additem

Add the specified item to your inventory.

TFC

Toggles free camera (you detach from your body and can fly around as the camera).

kill

Kills your target (what your mouse is hovering over).

killall

Kills all NPCs that are nearby to you.

TCAI

Toggles combat AI on and off.

TAI

Toggles all AI on and off.

COC

Teleports you to the specified cell.

COC qasmoke

Teleports you to a developer area with every crafting station, almost all items in the game and lots more.

Note that if you collect a quest item from this area you will automatically initiate the quest it belongs to.

completequest

Completes the specified quest for your character.

resetquest

Uncompletes the specified quest for your character.

setscale

Scales your character by the specified multiplier, 0.5 would make your character half as big as usual, 2 would make them double in size.

Spawn Items

In Fallout 4, you can give yourself any item with the player.additem command. Select an item and an amount below and copy the command to spawn it!

Select an Item
Select an Amount
Select an item and an amount to generate a command...

Add Perks

In Fallout 4, you can add perks with the player.addperk command. Select a perk below and then apply the generated command in-game to give yourself a perk. Change player.addperk to player.removeperk if you want to remove a perk from your character instead.

Select a Perk
Select a perk to generate a command...

Set Skill Level

You can set the level of a skill (or other actor variable) with the player.setav command. Select a skill and the level you wish to set it to below, then copy the command to adjust your level in Fallout 4.

Select a Skill
Select a Level
Select a skill and a level to generate a command...

Level Up Command

The player.setlevel command sets your character's level in Fallout 4 to the specified number. Adjust the slider below to automatically generate a command that will set your character's level to the selected number.

Select a Level
Select a level to generate a command...

Teleport Command

In Fallout 4, you can teleport to a location using the COC (short for CenterOnCell ) command. This command teleports you to the cell with the cell ID you enter. We've collected all of the documented cell IDs from across the web and compiled them into the configurator below to make your life easier. Simply select a cell from the dropdown below and copy the console command to teleport to that location in Fallout 4!

Select a Cell
Select a cell to generate a command...

Fallout 4 Console Commands List

Command Description Syntax
player.addItem

This command will add the item of the specified ID to your inventory. You can also specify an amount, which will make the command give you that amount of the item. If you specify a 1 at the end of the command (silent), no confirmation message will be shown.

player.addItem < Item Code < Amount < Silent >
player.removeAllItems

This command will clear your character's inventory (remove all items).

player.removeAllItems
player.removeItem

This command, as the name would suggest, removes the specified item from your inventory. If an amount is specified, it will remove that amount of the item.

player.removeItem < Item Code < Amount >
player.kill

This command will set your health to 0, killing you.

player.kill
player.addperk

This command will give your character the perk with the specified ID.

player.addperk < Perk ID >
player.removeperk

The command will remove the perk with the specified ID from your character.

player.removeperk < Perk ID >
player.sexchange

This command will change the sex of your character (switch between male and female).

player.sexchange
player.setlevel

This cheat will set your character's level to level specified.

player.setlevel < Level >
player.resethealth

This command will restore your health to its maximum level (100%).

player.resethealth
player.setrace

This cheat will change the race of your Fallout character, relative to the specified race. Use 'human' to return to normal form. NOTE: You may experience issues switching races if your character does not have default appearance settings. Use the 'showlooksmenu' command to change your character's looks.

player.setrace < Race ID >
player.getav

This command will print to console the value of the specified player variable. For a list of player variable IDs, please see this page.

player.getav < Character Variable ID >
player.setav

This command will set the specified player variable to the specified value.

player.setav < Character Variable ID < Value >
player.modav

This cheat is similar to the setav command, but instead of setting the player variable to specified value, it will add the value to the existing value.

player.modav < Character Variable ID < Value >
player.forceav

This command will forcefully set the specified player variable to the specified value. The difference between this command and setav is that this command will set the value of the player variable irrespective of all modifiers. For example, if you had +10 sneak from armor and used setav to set your sneak to 20, you'd have a total of 30 sneak but with this command, your total sneak would be 20 as it ignores all factors and changes the absolute value, not the base value.

player.forceav < Character Variable ID < Value >
player.PlaceAtMe

This command will spawn an item, character (NPC), creature or object in front of your player.

player.PlaceAtMe < Item ID < Amount < Quality >
showlooksmenu player 1

This command will open up the looks menu so that you can change the look (e.g. hair, eyes, etc) of your character.

showlooksmenu player 1
showspecialmenu

This command opens up the special menu. The special menu can be used to change your character's name and modify S.P.E.C.I.A.L. points.

showspecialmenu
player.moveto

This command will teleport your character to the NPC, object or item with the specified ID.

player.moveto < Item/NPC/Object ID >
help

This command can be used to search for functions, item codes, IDs for NPCs/objects, settings and much more. See argument explanation for details.

help < "Search Term" < Search Type < Form ID >
Clear

This command clears the console of all existing messages.

Clear
ShowAllMapMarkers

This command can be used to enable (discover) and disable (undiscover) map markers. Map markers allow for fast travel.

ShowAllMapMarkers < Enable / Disable >
ToggleGodMode

This command toggles (enables and disables) god mode for your character. In god mode, your character is invincible, meaning you cannot take damage (from everything, including radiation, oxygen, etc).

ToggleGodMode
ToggleImmortalMode

This cheat toggles (enables and disables) immortal mode for your character. In immortal mode, your character will still takes damage but cannot die as your health will never reach 0.

ToggleImmortalMode
ToggleCollision

This command toggles (enables and disables) noclip mode. In no clip mode your character does not collide with solid objects in the world, this allows you to move through walls, etc. This command is useful for getting unstuck from a location and accessing usually out-of-bounds locations.

ToggleCollision
ToggleGamePause

This command toggles (enables and disables) the game pause. When paused, the game is frozen, after resuming, the game continues from the second before it was paused.

ToggleGamePause
SetCameraFOV

This command can be used to set both the first and third person field of views (FOVs). A field of view is how wide your character can see.

SetCameraFOV < Third Person FOV < First Person FOV >
ToggleFlyCam

This command toggles (enables and disables) flycam (freecam) for your character. In flycam mode, the camera becomes disconnected from your character - you can move it about to explore the world around your character (which will stay where it was when you enabled fly cam mode). After disabling flycam mode, your camera will return to its original position and control the character again.

ToggleFlyCam < Freeze >
SetUfoCamSpeedMult

This command can be used to change the speed the flycam mode camera moves at (slow it down or speed it up).

SetUfoCamSpeedMult < Speed >
ToggleMenus

This command will hide the UI, including the console. To enable the UI again, type the command into the console again - note that the console hotkey will still open the console, even though you can't see it (when the UI is hidden).

ToggleMenus
screenshot

This command will take a screenshot of your current screen

screenshot
UpdateGodraySettings

This command can be used to enable and disable God-Ray, or to change the value of a specified god ray setting.

UpdateGodraySettings < Setting / On / Off < Value >
CenterOnCell

This command will teleport your character to the cell with the specified cell ID.

CenterOnCell < Cell ID >
SetConsoleOuputFile

This command is incorrectly spelled in the game - it is missing a T in Output. This command will log the console's output in text to the specified file.

SetConsoleOuputFile < File Name >
RunConsoleBatch

This cheat will execute a list of commands in the specified file. It looks for the file in the root game directory (the main folder of the game). You do not need to specify the file ending (e.g. '.txt'), just the file name.

RunConsoleBatch < File Name >
tfow

This cheat enables and disables (toggles) fog of war (FoW) on the map you are currently playing.

tfow
ToggleGrass

This command will toggle the visibility of grass meaning after executing this command for the first time, grass will be hidden (run it again to show grass again).

ToggleGrass
ToggleTrijuicing

This command will enable and disable (toggle) trijuicing. Although untested, we believe Trijuicing refers to trilinear Anisotropic filtering, meaning toggling Trijuicing off is likely to increase your game's performance.

ToggleTrijuicing
ToggleLODLand

This command enables and disables (toggles) the distant LOD display.

ToggleLODLand
ToggleSky

This command toggles (enables and disables) the rendering of the sky.

ToggleSky
ToggleWaterSystem

This command disables the visibility of water for a few seconds, after which you will need to again execute the command to hide water.

ToggleWaterSystem
ToggleWireFrame

This command toggles (enables and disables) wireframe mode. In wireframe mode, wireframes are drawn around models (characters, objects, etc) rather than their usual textures. This creates a very unique/spoofy visual effect. The GUI is not affected by this cheat.

ToggleWireFrame
QuitGame

This command, as the name would suggest, will exit the game.

QuitGame
ClearScreenBlood

This command removes all visual effects like blood, dust, etc from your screen.

ClearScreenBlood
SaveGame

This command will save your current game/progress to the specified file.

SaveGame < Save File Name >
LoadGame

This command will load the specified save file.

LoadGame < Load File Name >
SetGlobalTimeMultiplier

This command can be used to speed up or slow down the pace at which the game runs at - a multiplier of 0.5 would make the game run in slow motion at half the usual rate, a multiplier of 2 would make it run twice as fast.

SetGlobalTimeMultiplier < Multiplier >
CharacterLight

This command can be used to enable, disable and edit rim lighting on character models.

CharacterLight < On / Off / Rim < Lighting Strength >
SetStage

This cheat can be used to advance (or return) to a specified stage in a quest.

SetStage < Quest ID < Stage # >
GetStage

This cheat will print the current stage you are at in the specified quest.

GetStage < Quest ID >
sqt

SQT stands for Show Quest Target - this command will print a list of targets for your current quests. The quest IDs of these quests will also be printed to the console, as a result, this command is commonly used to find out quest IDs.

sqt
CompleteQuest

This cheat will instantly complete the quest with the specified ID for your character.

CompleteQuest < Quest ID >
ResetQuest

This command can be used to return to the start point and restart an already completed (or already partially completed) quest. NOTE: Sometimes this command can result in a bug that prevents you being unable to progress in the reset quest again.

ResetQuest < Quest ID >
ShowQuestObjectives

This command prints a list of all objectives for the quest with the specified ID. If you do not specify a quest ID, a list of objectives for all quests in the game will be printed to console.

ShowQuestObjectives < Quest ID >
CompleteAllObjectives

This command will complete all existing objectives for the quest with the specified ID.

CompleteAllObjectives < Quest ID >
caqs

This cheat will complete every single quest in Fallout 4. All quest items and quest-related achievements will also be granted at this time. Because of the sheer amount of items and achievements, this often causes the game to crash during execution.

caqs
MoveToQuestTarget

This command will teleport your character to the current target of the specified quest.

MoveToQuestTarget < Quest ID >
ShowQuestStages

This command will print a list of all stages (completed and uncompleted) of the quest with the specified ID - useful for finding out quest stage numbers.

ShowQuestStages < Quest ID >
ShowQuestVars

This command will print a list of variables used by the specified quest.

ShowQuestVars < Quest ID >
addItem

This command can be used to add a specified amount of any item to the inventory of an NPC, player or any other target with an inventory.

addItem < Item ID < Amount < Silent >
cf "ObjectReference.AddItem"

This command is similar to the addItem command, but can be used to add items to inventories specified by their reference ID, not just their item ID. A reference ID is a unique ID assigned to any item/object/etc when it is spawned into the world. You can find out the reference ID of an item/object by clicking on it in your game whilst the console is open.

cf "ObjectReference.AddItem" < Reference ID < Amount < Silent >
cf "ObjectReference.AttachModToInventoryItem"

This command adds a mod to a specified item. The item should be in the inventory of the specified target.

cf "ObjectReference.AttachModToInventoryItem" < Item ID < Modification ID >
cf "ObjectReference.RemoveModFromInventoryItem"

This command removes a modification from the specified item in the inventory of the target.

cf "ObjectReference.RemoveModFromInventoryItem" < Item ID < Modification ID >
removeItem

This command can be used to remove an item from the inventory of a player, NPC or any other target with an inventory.

removeItem < Item ID < Amount >
drop

This command removes a specified item (and optionally, an amount) from the inventory of the target and places the item(s) on the floor near the target.

drop < Item ID < Amount >
removeAllItems

This command will remove all items from the inventory of the target. If you choose to specify a recipient ID as an argument, the items will be moved from the target to the recipient's inventory.

removeAllItems < Recipient ID >
showInventory

This command prints a list of all of the items in the inventory of the target to the console.

showInventory < Show Modifications >
equipItem

This command equips the target with the specified item. The item must be in the inventory of the target.

equipItem < Item ID >
unequipItem

This command unequips the item with the specified ID from the target and places it in the target's inventory.

unequipItem < Item ID >
unequipAll

This command unequips all items that are currently equipped by the target and places them in the target's inventory.

unequipAll
openActorContainer 1

This command will open an interface showing the target's inventory and equipped items. You can move contents into your player's inventory by dragging them into your own. Some equipped clothing items like outfits will not be shown in this interface however armor, etc is.

openActorContainer 1
kill

This command, as its name might suggest, kills the target (sets their health to 0).

kill
resurrect

This command will bring a dead NPC back to life after it has died.

resurrect
tai

This command will enable or disable (toggle) AI for the target. Usually, any target with a disabled ID will freeze until it their AI is re-enabled.

tai
ToggleCombatAI

This command will toggle (enable or disable) the combat AI for the target. When combat AI is disabled, NPCs will have usual behaviour for anything that isn't combat-related. They will not be able to attack you (or do anything related to their combat AI).

ToggleCombatAI
sexchange

This command will change the sex of the target. If the target is female, they will become male, if they target is male, they will become female. It is not recommended that you use this command on target's that are required for quests and cannot be re-spawned because it can often cause problems.

sexchange
isessential

This command will print 1 in console if the target is essential, and 0 in console if the target is not essential. An essential target (usually an NPC) cannot be permanently killed.

isessential
getav

This command will print the current value of the specified variable for the target to the console.

getav < Variable ID >
setav

This command can be used to set the value of the specified variable.

setav < Variable ID < Value >
modav

This command will modify the value of a specified variable.

modav < Variable ID < Value >
forceav

This command will forcefully set the value of a specified variable. This command sets the variable to the value specified and ignores all other modifiers. If you were to set your sneak to 5 using this command and you had +15 sneak from clothing, you would still have 5 sneak. If you were to set your sneak to 5 using the setav command, you would have a total of 20 sneak with clothing that offered +15.

forceav < Variable ID < Value >
moveto

This command will teleport the target to the player/NPC/object with the specified ID.

moveto < Reference ID >
ToggleControlsDriven

This command will put you in control of the target character. Execute the same command again to stop controlling the character. As this doesn't take you out of control of your player's character, you will need to execute player.tc or otherwise your inputs will apply to both your player and the target you are controlling.

ToggleControlsDriven
AddToFaction

This command adds the target to the faction with the specified ID as either an ally or a friend.

AddToFaction < Faction ID < Friend / Ally >
RemoveFromFaction

This command removes the target from the faction with the specified ID.

RemoveFromFaction < Faction ID >
removefromallfactions

This command removes the target from all factions that they are currently a member of.

removefromallfactions
setally

This command will make two factions become allies or friends with eachother.

setally < Faction ID 1 < Faction ID 2 < Friend / Ally < Friend / Ally >
setenemy

This command will make two factions either neutral or enemies of eachother.

setenemy < Faction ID 1 < Faction ID 2 < Neutral / Enemy < Neutral / Enemy >
ShowBarterMenu

This command opens up the Barter Menu, which allows you to barter with nearby NPCs.

ShowBarterMenu < Discount % >
recycleactor

This command resets your targeted (selected) NPC to the way they were when they first spawn (it will also revive NPCs). If used on a container, the container's contents will be cleared. If used on an object, it will move the object to position at which it spawned naturally.

recycleactor
killall

This command will kill all non-essential NPCs within your proximity (the cells of the map that are currently loaded). Note that essential NPCs and companions will not be killed when using this command.

killall
kah

This command kills all NPCs that are hostile in your proximity (the cells of the map that are currently loaded).

kah
setcommandstate

This command allows you to change the command state of your targeted NPC. A command state of 1 allows you to control an NPC in a similar way to that of a companion, even if they are outside of your settlement.

setcommandstate < Command State >
tdetect

This command can be executed as a targeted command - if you select a target before executing this command, the effect of this command will be applied to your target only, otherwise its effect will be applied to all actors. This command toggles (enables and disables) AI detetection. With AI detection disabled, actors/NPCs will be unaware of your actions (so they will not react to things you do).

tdetect
setessential

This command changes the 'essential status' of the NPC with the specified ID. When an NPC is essential, it cannot be killed.

setessential < NPC ID < Essential Status >
ForceRepath

If the targeted NPC is currently following a path, or calculating a path, this command will force that path to be recalculated. Useful for getting NPCs unstuck/finding a new way to a location if they are taking an improper route.

ForceRepath
ForcePathFailure

If the targeted NPC is currently following a path, this command will make the NPCs path fail. The path it is attempting to follow will be re-calculated, and it will not attempt to follow the same path as before.

ForcePathFailure
ResetAI

This command will reset the AI of the targeted NPC - useful for fixing NPCs that are broken/not working as intended.

ResetAI
CFG "Game.AddPerkPoints"

This command adds the specified amount of perk points.

CFG "Game.AddPerkPoints" < amount >
getgs

This command prints the value of the specified game setting to the console.

getgs < Game Setting >
setgs

This command can be used to change (set) the value of a specified game setting.

setgs < Game Setting < Value >
PickByRefId

This command selects the item/object/NPC with the specified reference ID.

PickByRefId < Reference ID >
GetPlayerGrabbedRef

This command prints the reference ID of the item you are currently holding.

GetPlayerGrabbedRef
GetSelectedRef

This command prints the currently selected object/item/NPC reference ID to the console.

GetSelectedRef
PickLastRef

This command will select the last object/item/NPC that you had selected. If you last spawned something (e.g. an item), this will be selected, rather than what you had selected before spawning it.

PickLastRef
PlaceThere

This command will place the object with the specified base ID in the location of the cursor. You can optional provide more arguments to change where it will be positioned.

PlaceThere < Base ID < Amount < Distance < Direction >
disable

This command will hide the targeted object, item or NPC.

disable
enable

This command will show the targeted object, item or NPC (if previously disabled).

enable
SpawnDupe

This command spawns a duplicate of the targeted item/object/NPC.

SpawnDupe
attachMod

This command will attach the mod specified by its base ID to the targeted item.

attachMod < Modification ID >
removeMod

This command will remove the mod specified by its base ID from the targeted item.

removeMod < Modification ID >
setScale

This command will set the scale of your targeted object/item/NPC. This can be used to make targets bigger and smaller. You may need to enable and disable the target for changes to apply (see the .enable and .disable commands).

setScale < Multiplier >
getScale

This command will print the current scale of the targeted object/item/NPC.

getScale
getPos

This command will print the current coordinate of the targeted item along the specified axis.

getPos < X / Y / Z >
setPos

This command can be used to set the position of an object, NPC or item along the X, Y or Z axis.

setPos < X / Y / Z < Position >
modPos

This command can be used to add and subtract numbers from the position of an object, NPC or item along the X, Y or Z axis.

modPos < X / Y / Z < Position >
lock

This command will lock doors, safes, containers and terminals. The lock requirements can be customized using the level requirement argument.

lock < Level Requirement >
unlock

This command will unlock the targeted door, safe, container or terminal.

unlock
activate

This command will activate an item that usually requires activation via something like a switch or button.

activate
markForDelete

This command will delete the target from the game (permanently, not just hide it).

markForDelete
setOpenState

This command can be used to set the open state of an object like a door. A state of 0 is closed, a state of 2 is open.

setOpenState < 0 / 2 >
setOwnership

This command will make you the owner of the targeted item/object.

setOwnership
setAngle

This command will change the angle of the target.

setAngle < X / Y / Z < Degrees >
modAngle

This command will modify the angle of the target by the specified amount.

modAngle < X / Y / Z < Degrees >
getAngle

This command will print the angle of the target's specified axis to the console.

getAngle < X / Y / Z >
set timescale to

This command changes how many seconds pass in-game for a second in real life. Default is 20, meaning every second in real life, 20 seconds in Fallout pass.

set timescale to < Seconds >
set gamehour to

This command changes the time of day (0-24 hours).

set gamehour to < Hour >
set gameday to

This command changes the day of the month in-game (1-31).

set gameday to < Day >
set gameyear to

This command changes the current year in-game.

set gameyear to < Year >
fDiffMultLegendaryChance_

This command can be used to change the chance of a legendary enemy spawning. Note that you do not need a space between the chance and the command, to set the chance to very easy you'd use the command fDiffMultLegendaryChanceVE.

fDiffMultLegendaryChance_ < Legendary Chance >
forceweather

This cheat forcefully changes the weather instantly.

forceweather < Weather ID >
setweather

This cheat changes the game weather gradually - as if it were changing naturally.

setweather < Weather ID >
setpv

This command can be used to change a Papyrus property value.

setpv < Papyrus Property Name < Value >
scrapall

This command will scrap all items/objects that can be scrapped within the map cells that are currently loaded.

scrapall

How to Open and Use the Fallout 4 Console

The console is a great utility that's avaiable on PC and Mac (Steam) versions of Fallout 4. Via the console, you can execute commands (cheats) that can change every part of the game - you can add items, spawn charcters, hide buildings, etc.

How to Open the Console

Opening the console is done with the press of a hotkey. The hotkey used to open the console in Fallout 4 varies based on your keyboard layout. The most common keys are:

  • ~ (tilde)
  • ' (apostrophe)
  • " (quotation mark or quote)
  • ` (grave, the key underneath the ESC key)

If you've tried pressing all 4 of the above and none work, we recommend taking a look at your keyboard/mouse settings in the in-game settings screen to see which hotkey has been assigned. There is also a table of less common hotkeys (other keyboard layouts) at the bottom of this article.

How to Use the Console

Commands are simply words/sentences typed into the console that tell the game what to do. To execute a command, simply type it into the console and hit enter. An example of a command is player.resethealth , if you were to type this into the console and hit enter, your health would be restored to 100%.

Sometimes commands require arguments. Arguments are simply extra bits of information separated by spaces after a command.

The command player.removeitem removes an item from your inventory. In order to tell the command what item you remove, you need to specify an item id as an argument. The item ID for a flare gun is 001025ac , if you wanted to remove that from your inventory with a command, you'd type player.removeitem 001025ac . In the command player.removeitem 001025ac , the argument is 001025ac .

In our command list, there are many commands that require a target ID (reference ID). For help with these commands, please see our reference ID guide.

Fly (No Clip) Command

Noclip is a feature that stops your player's model from "clipping", which is another word for colliding with objects and the rest of the world. Obviously if you don't collide with the world, you would just fall through the floor, so noclip also puts your character into fly mode.

This means with noclip enabled, you can fly through walls, NPCs, objects and all parts of the map (including mountains).

To activate noclip and fly, all you need to do is open the console by pressing the ~ (tilde), ' (apostrophe) or ````` (grave) key on your keyboard and type in the following command:

TCL

This will toggle off collisions. To disable noclip and fly, all you need to do is run the command again (this will toggle it off).

Give Player XP Command

To add XP to your character in Fallout 4, open up the console by pressing ~ (tilde), ' (apostrophe) or ````` (grave) on your keyboard. Then type the following console command in:

CGF "Game.RewardPlayerXP" [XP AMOUNT]

Replace [XP AMOUNT] with the amount of XP you wish to give to yourself. For example, replacing [XP AMOUNT] with 500 would give you 500 experience and the command would look like this:

CGF "Game.RewardPlayerXP" 500

To decrease your character's XP, simply enter a negative number.

Heal Command

To heal yourself or an NPC with console commands, first open the console by pressing the ~ (tilde), ' (apostrophe) or ` (grave) key on your keyboard. Then, follow one of the two sets of steps below, depending on what you want to heal:

Heal yourself with console commands

To heal yourself with console commands, use the following command:

player.resethealth

Heal an NPC with console commands

To another an NPC with console commands, click on the NPC with the console open, this will print its reference ID to the console. Then, replace [REFERENCE ID] in the below command with the reference ID of NPC you want to heal:

[REFERENCE ID].resethealth

For example, if the NPC had a reference ID of ff0084953 , the following command would reset that NPCs health:

ff0084953.resethealth

God Mode Command

To enable god mode in Fallout 4, first press ~ (tilde), ' (apostrophe) or ` (grave) on your keyboard to open the console. Then, with the console open, type in the following command:

TGM

TGM stands for "toggle god mode", so after running the above console command god mode will be enabled and give you the following benefits:

  • Invincibility (all damage, radiation and full oxygen under water)
  • Unlimited ammo, carry weight, AP and clip size (no need to reload)
  • Unlimited resources at settlements.

To disable god mode, just run TGM again.

Unlock Commands for Doors, Safes and Terminals

To unlock a door, terminal or safe with console commands in Fallout 4, first open the console by pressing ~ (tilde), ' (apostrophe) or ` (grave) on your keyboard.

Then, with the console open, click on the door, terminal, safe or other object you wish to unlock. This will print its reference ID to the console and "select" it as your target. With the object you wish to unlock now selected, simply type the following command into the console:

unlock

The door, terminal or safe should now be unlocked. If it didn't unlock, try selecting it as your target again and re-running the command.

To lock it again, select it as a target by clicking on it with the console open and run the following command:

lock 0

Unstuck Command

If you're stuck between two objects, a wall or have somehow glitched into somewhere you can't escape from, fear not! There's a console command to fix things.

First, open the console with the ~ (tilde), ' (apostrophe) or ` (grave) key (varies based on keyboard layout). Then, type the following command into the console:

TCL

This will disable collisions and allow you to escape from your trapped position. Once you've unstuck your character, run the command again (TCL ) to return your state to normal.