Every Fallout 4 console command worth knowing: 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.
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.Type to filter, hit Copy, paste in-game. 46 commands. Placeholders in [brackets] are values you fill in, and you grab item and perk codes from the ID tool below.
| 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 | Reveal all map markers (tmm 0 hides them; markers still need discovering to fast-travel). | 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 |
| 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 |
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.
Fallout 4 is single-player, but if you host Palworld, Valheim, Enshrouded or Conan for your crew, our free config generators tune every setting with sliders. No hand-editing config files and no fighting a wiki.
~) 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.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.GamesOMG is not affiliated with, endorsed by, or sponsored by Bethesda Softworks. Fallout 4 and all related names and trademarks are the property of their respective owners. Base IDs verified against the Fallout wiki and cross-checked against game8/falloutcheats ID archives, PC base game. The full base-ID space runs to tens of thousands; this tool covers the commonly-searched few hundred. Also see our Fallout: New Vegas console commands tool.
Console open? Here's the rest of the toolkit.