PC Fallout 4 Cheat Codes
Updated June 5, 2024 at 2:32 pm
Discover the ultimate cheat codes for Fallout 4 on PC that can enhance your gameplay, from infinite ammo to invincibility, and get tips on using them effectively to elevate your Wasteland experience.

PC Fallout 4 Cheat Codes
Fallout 4 is an incredibly expansive open-world RPG that provides countless hours of entertainment. But sometimes, you might find yourself needing a bit of help to get through a tough spot or just to have some extra fun. That’s where cheat codes come in! With a few simple console commands, you can unlock all sorts of goodies and alter your game experience dramatically.
To activate these cheat codes, you will need to open the developer console by pressing the tilde (~) key on your keyboard. Once it’s open, you can type in any of the following commands and press Enter to execute them. Let’s dive into the real cheat codes you can use in Fallout 4 on PC.
God Mode
The “God Mode” cheat is perfect for those times when you just don’t want to worry about taking damage or running out of resources.
Code: tgm
Entering this code activates God Mode, making you invincible. You will not take any damage and will have unlimited ammo and resources.
Unlimited Caps
If you need more in-game currency, this cheat will give you all the caps you could ever need.
Code: player.additem 0000000f [amount]
Replace “[amount]” with the number of caps you want. For instance, “player.additem 0000000f 1000” will give you 1000 caps.
Free Crafting Materials
Running out of materials while building your settlements can be frustrating, but this cheat makes sure you have everything you need.
Code: player.additem [item code] [amount]
Each crafting material has a code associated with it. Here are a few examples:
- Steel – 000731a4
- Wood – 000731a3
- Concrete – 00106d99
- Ceramic – 000aec5e
Just replace “[item code]” with one of the above codes and “[amount]” with the quantity you need.
Unlock All Perks
If you want to try out every perk without having to earn them the hard way, this cheat is for you.
Code: player.addperk [perk code]
Here’s a short list of some useful perk codes:
- Iron Fist – 00065e3a
- Big Leagues – 00065e3b
- Armorer – 0004b254
- Blacksmith – 00065e44
Simply replace “[perk code]” with one of the above perk codes to unlock it.
Max Special Stats
By using this cheat, you can max out your character’s special stats, making them super powerful.
Code: player.setav [special stat] [number]
Replace “[special stat]” with one of the following attributes:
- strength
- perception
- endurance
- charisma
- intelligence
- agility
- luck
Set “[number]” to 10 to max out the stat.
Move Faster
This cheat allows you to adjust your character’s running speed to make traveling faster and more efficient.
Code: player.setav speedmult [number]
Replace “[number]” with your desired multiplier. For example, setting “player.setav speedmult 150” will make you run 50% faster than normal.
Reveal All Map Markers
If you’re looking to explore every location without finding them manually, use this cheat to reveal all map markers.
Code: tmm 1
Entering this code will reveal all map markers, allowing you to fast travel to any location instantly.
No Clip Mode
No clip mode lets you pass through walls and explore the game’s world seamlessly.
Code: tcl
Typing this code will toggle no clip mode, allowing you to move through walls and other objects freely.
Change Time Scale
Want to speed up or slow down time? This cheat lets you control the game’s time scale.
Code: set timescale to [number]
Default timescale is 16. Setting it to a lower number will slow down time, while a higher number will speed it up.
Resurrect NPCs
If you accidentally killed an NPC and wish to bring them back, this code will resurrect them.
Code: resurrect [NPC ID]
Replace “[NPC ID]” with the ID of the character you want to resurrect. If you don’t know their ID, click on them while the console is open to select them.
Spawn Items
You can spawn almost any item in the game with the right code.
Code: player.placeatme [item code] [quantity]
Here are a few item codes for commonly wished items:
- Stimpak – 00023736
- Fusion Core – 00075fe4
- Power Armor – 001e22a5
Replace “[item code]” with the desired item’s code and “[quantity]” with the amount.
Change Character Appearance
If you’re not happy with how your character looks, this cheat lets you change their appearance at any time.
Code: showlooksmenu player 1
Entering this will bring up the character customization screen, allowing you to tweak your character’s looks.
Instant Level Up
This cheat allows you to level up your character instantly.
Code: player.advlevel
Simply type this code and press Enter to level up your character.
Reveal Cell IDs
Identifying cell IDs can be useful when teleporting to specific locations.
Code: help “location name” 0
This will display the cell ID of the specified location, which you can use for teleporting.
Teleport to Any Location
Once you know a cell ID, you can teleport to that location instantly.
Code: coc [cell ID]
Replace “[cell ID]” with the ID of the location you want to teleport to. For example, “coc Sanctuaryext” will take you to Sanctuary.
Kill All Enemies
This command wipes out all enemies in your vicinity instantly.
Code: killall
Entering this code will immediately kill all nearby enemies. Use it wisely!
Toggle AI Detection
If you want to engage or avoid enemies without being detected, you can use this cheat to toggle enemy AI detection on and off.
Code: tai
This command will toggle all AI detection in the game. You’ll become invisible to enemies and NPCs won’t respond to any player’s actions.
Disable AI Combat
Make combat zones more peaceful or simply walk through hostile areas unchallenged with this command.
Code: tcai
Typing this will disable all combat AI in the game, ensuring no enemies will attack you.
Increase Carry Weight
Carry as much as you want without worrying about the over-encumbrance penalties using this cheat code.
Code: player.modav carryweight [number]
Replace “[number]” with the new carry weight limit you desire. For example, “player.modav carryweight 500” will allow you to carry up to 500 extra units.
Instantly Complete Quests
If you want to skip certain quests or just see the resulting end, this cheat allows you to complete any quest instantly.
Code: completeallobjectives [Quest ID]
Entering the quest ID will instantly complete all objectives for that quest. You can find the quest ID by typing “sqt” (Show Quest Targets) in the console.
Reset a Quest
Sometimes, you might need to restart a quest from the beginning. This command allows you to do just that.
Code: resetquest [Quest ID]
Input the quest ID to reset the quest to its initial state. Like with completing a quest, you can find the Quest ID using the “sqt” command.
Reveal Quest Stages
To keep track of quest stages or troubleshoot quests, you can use this code to reveal all stages of a quest.
Code: player.sqs [Quest ID]
This lists all the stages and their current status for the specified quest ID.
Change FOV (Field of View)
Adjusting the field of view can significantly enhance your gaming experience. This code lets you tweak it to your liking.
Code: fov [number]
Replace “[number]” with the desired FOV value. For example, “fov 90” sets the field of view to 90 degrees.
Unlock Doors and Terminals
Don’t want to bother with lockpicking or hacking? This cheat will easily unlock any door or terminal.
Code: unlock
Simply click on the locked door or terminal while the console is open and then type “unlock” to open it.
Activate Free Camera
Perfect for taking cinematic screenshots or exploring areas from different perspectives, the free camera cheat is a must-know.
Code: tfc
Entering this command will toggle the free camera mode, allowing you to move the camera independently of your character.
Set Player Relationship
This command lets you alter the relationship status between the player and any NPC.
Code: player.setrelationshiprank [NPC ID] [relationship rank]
Replace “[NPC ID]” with the ID of the NPC and “[relationship rank]” with a value between -4 (Archenemy) and 4 (Lover).
Change Weather
If you want to change the current weather conditions in the game, you can use this cheat code.
Code: fw [Weather ID]
Replace “[Weather ID]” with the desired weather type. For example, “fw 001f61e9” sets the weather to clear skies.
Instantly Recruit Companions
You can instantly recruit any companion using this cheat, bypassing any quest or relationship requirements.
Code: player.moveto [Companion ID]
Use the companion ID to instantly move to their location or recruit them.
Toggle Map Markers
If you only want to reveal specific types of map markers, this code comes in handy.
Code: tmm [number]
Replacing “[number]” with “0” will hide map markers and “1” will reveal them. Use “2” to toggle undiscovered markers too.
Remove All Items
If you’re looking to clear your inventory quickly, this cheat allows you to remove all items from your inventory instantly.
Code: removeallitems
This will empty your inventory of all items currently held.
Apply Special Effect to Weapons
Enhance your weapons with special effects that are otherwise only found on legendary gear.
Code: attachmod [mod ID]
Use the mod ID to attach a specific effect to your selected weapon. Find mod IDs by searching for help “weapon mod” 4.
Reset NPC Inventory
You can reset the inventory of any NPC, which is particularly useful if you want to trade with them again.
Code: resetinventory
Target the NPC and type this command to reset their inventory.
Boost Settlement Happiness
If you’re aiming to achieve a happier settlement faster, this cheat can help you out.
Code: player.setav 396 [amount]
Replace “[amount]” with your desired happiness level. For example, “player.setav 396 100” will set your settlement’s happiness to 100.
Custom Weapon and Armor Names
You can rename your weapons and armor to add a personal touch.
Code: setname “[desired name]”
Target the item you want to rename and enter this command with the desired new name in parentheses.
Clone Yourself
This fun cheat allows you to create a clone of your character.
Code: player.placeatme [NPC ID]
Use your character’s NPC ID, typically “player.placeatme 7”. You’ll create an exact copy of yourself.
Toggle Essential NPC Status
Sometimes you may want certain NPCs to be essential (they cannot die) or non-essential.
Code: setessential [NPC ID] [0 or 1]
Replace “[NPC ID]” with the NPC’s ID, and “0” to make them non-essential or “1” to make them essential.
Change Faction Alignment
Alter your relationship with factions in the game with this cheat.
Code: player.modfactionrank [Faction ID] [rank]
Replace “[Faction ID]” with the ID of the faction and “[rank]” with the desired rank level.
Legendary Item Spawning
Instantly equip yourself with legendary items using this command.
Code: player.additem [item ID] [quantity]
Use existing item IDs for legendary items to spawn them directly into your inventory.
Toggle Third-Person Camera
If you prefer playing in third-person view, this command will switch your perspective.
Code: tfc 1
This toggles the third-person camera perspective.
Make Settlers Invincible
Protect your settlement by making settlers invincible.
Code: setessential [NPC ID] 1
Find the NPC’s ID and replace “[NPC ID]” in the command to make them essential.
Force NPC Trade
For those moments when you need to trade with an NPC right away.
Code: openactorcontainer 1
Select the NPC and use this command to open their trade inventory immediately.
Super Jump
Enhance your jumping ability to reach high places with super jumps.
Code: player.setav jumpingheight [number]
Replace “[number]” with your desired jump height. For example, “player.setav jumpingheight 900” sets a super jump.
Manipulate Weather for Better Driving Conditions
Ever wanted to modify the weather to make traveling less cumbersome in the Fallout 4 universe? Command “fw [Weather ID]” lets you control the weather for an immersive yet customized experience while navigating through the world.
For more tips on maintaining favorable driving conditions, check out these driving tips for rainy days.
Adjust Pip-Boy Colors
Personalize your Pip-Boy display for a more appealing HUD experience.
Code: setpipboycolor [red] [green] [blue]
Replace “[red] [green] [blue]” with the RGB values you desire. For example, “setpipboycolor 255 0 0” will change the Pip-Boy color to red.
Increase NPC Reaction Distance
Make NPCs react to you from greater distances.
Code: player.setav detect 500
This sets the distance at which NPCs will react to the player.
Toggle Free-Roam NPCs
This command allows you to let NPCs roam freely without scripts guiding their actions.
Code: tfc free
Trigger this command to set NPCs into Free-Roam mode.
Reset Blood Effects
Clean up your game world by resetting all blood effects.
Code: setgs fjumpHeightMin 0
Entering this will reset all blood effects in the game.
Modify Stealth Detection
Wish to test your sneaking abilities? Use this command to modify stealth detection for more challenging gameplay.
Code: player.setav stealthboy [number]
Set the stealth level you want to test your skills.
Customize HUD Color
Personalize your HUD for a more visually pleasing display.
Code: sethudcolor [red] [green] [blue]
Change “[red] [green] [blue]” to the desired RGB values to adjust the HUD color.
Change Weapon Damage
Boost your weapon’s damage output for an easier run through difficult fights.
Code: playerforceav weaponspeedmult [number]
Replace “[number]” with the damage multiplier for your weapon.
Monitor Special Stats
Keep track of any changes made to your character’s special stats for better customization.
Code: getavinfo [special stat]
This shows detailed information about the specified special stat.
Toggle Global Game Pause
Pause the entire game world, giving you time to plan your next moves.
Code: togglepause
Typing this command will toggle the pause status of the game world.
Adjust In-Game Clock
You can manually set the in-game time to suit your preferences.
Code: settimescale to [number]
This determines how fast time passes in the game, relative to real-world time.
Set Armor Health
Maintain high durability for your armor by setting its health value.
Code: set objecthealth [health value]
This manages the health value of the selected piece of armor.
Enhanced Carry Weight for Travel
While exploring new areas or even traveling in real life, knowing how to increase your carry weight can be helpful. For further insights on enhancing travel experiences, check out these tech tips that can save you money.
Modify Player Reputation
Set your reputation within various settlements for different interactive experiences.
Code: setreputation [faction ID] [reputation amount]
This allows you to change how factions perceive you in the game.
Edit Light Brightness
Modify the brightness of your light source for better visibility.
Code: rim lighting
Adjust the lighting settings as per your requirement.
Summon Ammo Types
Access different types of ammo without scavenging.
Code: player.additem [ammo ID] [quantity]
Find the ammo ID for the type you need and gain instant ammo.
By using these cheat codes in Fallout 4, you can drastically alter your gameplay experience. Whether you’re looking to breeze through challenging sections or simply experiment with the game’s mechanics, these cheat codes offer countless possibilities. Have fun exploring the Commonwealth with these powerful tools at your fingertips!

Avery Ingram
Contributor