The Fallout 4 console commands people actually type: god mode, add item, caps, level and SPECIAL boosts, spawning, perks, quest fixes. Plus a searchable item-ID and perk-code tool so you're not digging through a wiki for codes. PC only. Search, copy, paste, done.
# press ~ (tilde, just below Esc) to open the console # god mode: infinite health tgm # 1,000 caps player.additem 0000000F 1000 # start a quest that never triggered startquest [questID] # max a SPECIAL stat player.setav luck 10
Type to filter, hit Copy, paste in-game. Placeholders in [brackets] are values you fill in.
| Command | What it does | Category |
|---|---|---|
| tgm | God mode: infinite health, unlimited ammo, no reloading, no carry-weight limit. | God / Cheats |
| tim | Immortal mode: you can take damage down to 1 HP but never die. | God / Cheats |
| tcl | Toggle collision (noclip): walk or fly through walls and terrain. Run it again to land. | God / Cheats |
| tdetect | NPCs stop detecting you, the closest thing to permanent stealth. | God / Cheats |
| tmm 1 | Enables all map markers (tmm 0 hides them). | God / Cheats |
| tfow | Toggle the local-map fog of war on or off. | God / Cheats |
| player.additem 0000000F [amount] | Add caps, e.g. player.additem 0000000F 1000 for 1,000 caps (F also works). | Items / Inventory |
| player.additem [baseID] [amount] | Add any item by its Base ID. Grab codes from the ID tool below. | Items / Inventory |
| player.removeitem [baseID] [amount] | Remove items from your inventory. | Items / Inventory |
| help [term] 4 [type] | Search for an ID by name, e.g. help "combat rifle" 4 lists matching item codes. | Items / Inventory |
| player.setlevel [level] | Set your character level directly. | Player |
| player.rewardxp [amount] | Grant raw XP, e.g. player.rewardxp 15000. | Player |
| player.setav [stat] [value] | Set an attribute or value, e.g. player.setav luck 10 or player.setav carryweight 5000. | Player |
| player.modav [stat] [amount] | Add to or subtract from a stat, e.g. player.modav strength 5. | Player |
| player.forceav [stat] [value] | Force a stat to a value, ignoring normal caps. | Player |
| player.addperk [perkID] | Add one perk rank by its Base ID. Ranks are separate IDs. Add rank 1 first. Codes in the ID tool below. | Player |
| player.removeperk [perkID] | Strip a perk rank you added by mistake. | Player |
| showlooksmenu player 1 | Reopen the appearance editor to change your character's looks. | Player |
| sexchange | Switch the targeted character's gender. | Player |
| player.placeatme [baseID] [count] | Spawn an NPC or object at you (use sparingly, heavy spawns bloat saves). | Spawning |
| player.placeatme 2079e 1 | Spawn a Power Armor frame. Note additem won't work for frames, so use placeatme. | Spawning |
| coc [cellID] | Teleport to any named cell, e.g. coc sanctuaryhills or coc diamondcitymarket01. | Spawning |
| coc qasmoke | Warp to the hidden test room full of item containers (leave with coc to a real cell, never fast-travel out). | Spawning |
| kill | Kill the targeted actor instantly. | Targeting / NPCs |
| killall | Kill all loaded non-essential NPCs nearby. | Targeting / NPCs |
| resurrect | Resurrect the targeted corpse (resurrect 1 keeps its items). | Targeting / NPCs |
| setessential [baseID] [0/1] | Make a character immortal (1) or mortal (0). Uses the Base ID. | Targeting / NPCs |
| tai | Toggle AI for the target: they freeze. | Targeting / NPCs |
| tcai | Toggle combat AI: they won't fight. | Targeting / NPCs |
| setscale [n] | Resize the targeted actor or object (1 = normal; try 0.5 or 2). | Targeting / NPCs |
| unlock | Unlock the targeted door, container or terminal. | Targeting / NPCs |
| lock [0-100] | Lock the targeted object at a difficulty (0 = very easy, 100+ = requires key). | Targeting / NPCs |
| setownership | Make the targeted object yours so taking it isn't stealing. | Targeting / NPCs |
| startquest [questID] | Start a quest that never triggered. Get the quest ID from help "quest name" 4 or the wiki. | Quests |
| sqs [questID] | List every stage of a quest and which are done, so you pick the right setstage number. | Quests |
| movetoqt [questID] | Teleport straight to the quest's current target. | Quests |
| setstage [questID] [stage] | Advance a stuck quest to a specific stage. | Quests |
| getstage [questID] | Show a quest's current stage so you know what setstage number to use. | Quests |
| completequest [questID] | Force a specific quest to complete when it's bugged. | Quests |
| resetquest [questID] | Reset a quest to re-run it, useful for stuck objectives. | Quests |
| caqs | CAUTION: completes every quest stage in the game, commonly breaks saves. Testing only. | Quests |
| set gamehour to [n] | Set the in-game clock to an hour (0–24): jump day or night instantly. | World / Time |
| set timescale to [n] | How fast time passes (default 20; 1 = real-time; 0 freezes the clock). | World / Time |
| fw [weatherID] | Force a weather type immediately (sw transitions to it smoothly). | World / Time |
| tfc | Toggle free camera (tfc 1 also pauses for screenshots). | Camera / Debug |
| sucsm [n] | Set free-camera speed (default 10). | Camera / Debug |
| tm | Toggle the HUD/menus (also hides the console, type tm again blind to restore). | Camera / Debug |
| fov [n] | Set the field of view, e.g. fov 90. | Camera / Debug |
| getplayergrabbedref | Show the RefID of the item you're holding, reveals a DLC item's load-order (xx) prefix. | Camera / Debug |
PC only: the console exists on the Steam/GOG/Epic PC release, not on Xbox or PlayStation. Load a save or start a new game.
Press the tilde key (~), just below Esc and left of the 1, to open it. Type a command and press Enter; commands aren't case-sensitive.
To target an NPC or object, open the console and left-click it. Its RefID shows at the top, and commands like kill or unlock now apply to it. Click again to deselect.
`, ², ^, |, < or @, or just rebind it. Good news: Fallout 4 does not disable achievements when you use the console, so cheat all you want.Set a quantity, pick an item or perk, copy the exact player.additem / player.addperk command. Covers the most-searched weapons, armor, power armor, aid, chems, ammo, materials, caps and perks. A few hundred codes, not every trivial misc item nobody's ever looked up.
Base game items use IDs starting 00. DLC items start xx, a two-digit load-order prefix. Unlike New Vegas there's no fixed default here, so the number depends on how many add-ons you have and what order they load in. Hold a DLC item and run getplayergrabbedref, or check your load order, to find your prefix. Anything that needs this is flagged DLC below.
Pick an item or perk above.
~) key, just below Esc and left of the 1, during play on PC. There's no console on Xbox or PlayStation, and on non-US keyboards a different physical key may open it instead.player.additem [baseID] [amount]. So player.additem 0000000F 1000 adds 1,000 caps. Use the item-ID tool above to grab the code for any weapon, armor, aid item, ammo or perk.tgm toggles God Mode: infinite health, unlimited ammo, no reloading, no carry-weight limit. If you'd rather still take hits but never actually die, tim (immortal) is the one you want.player.addperk [perkID] adds a single perk rank. Fallout 4 perks are ranked and each rank is a separate ID, so to reach rank 3 you add rank 1, then 2, then 3 in order. The tool above lists rank-1 IDs for the most-used perks. Add a higher rank without the ones below it and you only get that rank's bonus.startquest [questID] starts one that never triggered. If it started but is stuck, sqs [questID] lists its stages and setstage [questID] [stage] moves it on; movetoqt [questID] takes you to the objective. Save first: forcing a quest can skip scripted events.xx instead of 00. Unlike New Vegas there's no fixed default here, so the two-digit prefix depends on how many add-ons you own and what order they load in. Hold a DLC item and type getplayergrabbedref, or check your plugin load order, to find yours, then swap xx for it.Console open? Here's the rest of the toolkit.