All Starfield console commands, cheats & how to use them

An image of Starfield keyart.Bethesda

Console commands in Starfield are a great way to mix up your experience on PC — and from making yourself immortal, summoning new weapons, or reviving NPCs, there’s plenty that can be done with these cheats.

Bethesda has always offered a high degree of player freedom in their RPGs, evidenced by their continuous mod support for Skyrim, Fallout 4, and even mods for Starfield itself. Console commands offer fans another way to customize their experience, so here’s how you can use them in-game.

Article continues after ad

How to use console commands

To enable console commands in Starfield, you first have to press the tilde (~) key. At the touch of the button, Starfield will halt the action and open its console command display.

From there, it’s just a matter of typing in your desired code and pressing the enter key to trigger the effect.

Best console commands in Starfield

While the best commands will typically depend on the kind of experience you’d want in your Starfield playthrough, there are a handful that are particularly useful in any playthrough:

Article continues after ad
  • unlock – Unlocks Doors and Containers. Great way to bypass any trickier locked doors without having to waste lockpicks.
  • kah – If you want to get out of trouble quickly, this command will Eliminate all hostile NPCs in the area.
  • player.additem 0000000f – Adds Credits to your inventory.
  • psb – Immediately unlock all Player Spellbook powers.
  • tim – Toggles Immortal Mode on. With it you can still take damage but your HP will never hit 0.
  • tgm – Activates God Mode. You won’t take any damage, and you’ll have access to infinite ammo.
  • resurrect – Revives NPCs. Handy if you lose any allies during a firefight.
An image of the carryweight console command being activated in Starfield.Dexerto / Bethesda
You can adjust your carryweight using console commands.

List of all cheats

Below, we’ve included a full list of every console command in the space RPG and the cheat’s particular effects:

Console CommandEffect
tgmActivates God Mode – Grants invulnerability and infinite ammunition.
player.setav carryweight (carryweight number)Modifies carryweight capacity – Replace (carryweight number) with your desired carryweight amount.
additem (Item ID) (Value)Inserts Items – The chosen items in place of ‘(Item ID)’ will be added to your inventory (refer to our separate item ID list).
timActivates Immortal Mode – Allows you to receive damage without ever dropping to 0 health.
psbUnlocks all Player Spellbook powers.
player.additem [Item ID] [#]Adds a specified item to your inventory.
player.setav health [#]Sets your max health level
player.setav speedmult [#]Set player speed multiplier. Set this number to anything more than 100 to speed up movement
ToggleImmortalModeActivates Immortal mode – Health, O2, and Magic can reduce but never hit 0.
player.removeperk (Perk ID)Eliminates Skills, Traits, or Backgrounds – Removes the specified ‘(Perk ID)’ Skill, Trait, or Background.
player.addperk (Perk ID)Inserts Skills, Traits, or Backgrounds – Adds the specified ‘(Perk ID)’ Skill, Trait, or Background. Requires at least one Skill point to work.
tdetectActivates Toggle Detect – NPCs can no longer detect you.
tcaiActivates Toggle Combat AI – Prevents Combat AI from targeting you. Reactivate to toggle on/off.
tclActivates No Clip – Disables character collision, allowing passage through walls and objects. Reactivate to toggle on/off.
tmActivates Toggle Menus – Turns UI menus on/off.
tfcActivates Freefly Camera – Detaches the camera from the player for free map exploration.
(Ref ID).amod (OMOD ID)Attaches Weapon Mods – Applies specified weapon mods in place of ‘(OMOD ID)’ to your ‘(Ref ID)’ reference weapon.
(Ref ID).rmod (OMOD ID)Removes Attached Weapon Mod – Takes off specified weapon mods in place of ‘(OMOD ID)’ from your ‘(Ref ID)’ reference weapon.
killallExterminates All NPCs – Eliminates all NPCs in the vicinity.
kahEliminates All Hostiles – Destroys all hostile NPCs in the vicinity.
resurrectRevives NPC – Brings the selected NPC back to life. Select the NPC in the console command menu to see their Reference ID, then input the code.
unlockUnlocks Doors and Containers – Unseals your current target door or container. Select the door in the console menu, then enter the command.
sexchangeAlters your character’s gender.
showmenu sleepwaitmenuDisplays the sleep/wait menu without needing a bed or chair.
player.setlevel (Value)Elevates Character Level – Raises your character to the ‘(Value)’ specified level.
player.additem (Item ID) (Value)Adds the specified ‘(Item ID)’ item to your inventory.
player.placeatme (Item ID) (Value)Summons Item – Generates the specified ‘(Item ID)’ item directly in front of your character.
player.paycrimegold 0 0 (Faction ID)Clears Bounties – Settles any outstanding Bounties for a specified Faction.
showlooksmenu player 1Opens Character Creator – Accesses the character creation menu.
saqInitiates All Quests – Begins all Main Story and Side Quests (high risk of game crash if used).
caqsCompletes Main Quests – Finishes all Main Story Quests (high risk of game crash if used).
ShowHighMaxHeights (shmh)Reveals or conceals the high-resolution max height data.
EnableStoryManagerLoggingActivates story manager logging.
DumpPapyrusStacks (dps)Outputs all Papyrus stack data to the log.
DumpPapyrusTimersOutputs all Papyrus timer registrations to the log.
DumpPapyrusLOSEventsOutputs all Papyrus LOS event registrations to the log.
DumpPapyrusDistanceEventsOutputs all Papyrus distance event registrations to the log.
DumpPapyrusPersistenceInfo (dppi)Outputs everything in Papyrus persisting the referenced call, or passed.
DumpPapyrusEventRegistrationsOutputs all Papyrus event registrations for the specified object (and script).
RunCompactionExecutes compaction.
SetSubgraphToDebugSpecifies Subgraph To Debug.
EnableRumbleToggles rumble on/off.
HavokVDBCaptureCaptures Havok VDB.
ToggleNavmeshInfoToggles a view mode displaying navmesh information.
PlaySyncAnimExecutes Sync Anim.
SetFormKnownMarks a form as known.
SetDebugQuestDesignates the quest as the only startable one from its event type.
SetQuestAliasLoggingToggles alias logging on/off for a quest.
SetRaceAssigns the passed actor’s race.
FindForm (find)Locates a form.
StartPapyrusScriptProfile (StartPSP)Begins profiling a Papyrus script.
StopPapyrusScriptProfile (StopPSP)Ends profiling a Papyrus script.
StartPapyrusFormProfile (StartPFP)Begins profiling Papyrus scripts on a form.
StopPapyrusFormProfile (StopPFP)Ends profiling Papyrus scripts on a form.
StartPapyrusStackRootProfileBegins profiling all Papyrus stacks starting at a script.
StopPapyrusStackRootProfileEnds profiling all Papyrus stacks starting at a script.
TogglePapyrusGlobalProfiler (TPGP)Toggles Papyrus global profiling on/off (profiles everything).
PrintQuestSceneInfoOutputs to the Quest Inf file the current state of scenes.
IsInvulnerableChecks if the actor is invulnerable.
CollisionMeshToggles Mesh Collision Info.
HavokWorldStep (hkstep)Toggles BhkWorld Havok Step Info.
IsolateRenderingActivates isolated rendering for selected object.
ToggleWaterCurrentGeometryShows/hides water current geometry.
PerformActionExecutes the specified action on the selected actor.
StartTrackPlayerDoorsBegins tracking player-activated teleport doors.
StopTrackPlayerDoorsEnds tracking player-activated teleport doors.
CheckPlayerDoorsCompares the Tracked Player path with the quest target path.
SetInChargenToggles Chargen Mode aspects on/off [savingDisabled] [waitingDisabled] [activationMessageDisabled]
ForceResetForces the game to perform a full reset.
ForceCloseFilesCloses masterfile and plugins. Useful for letting CreationKit save to a plugin also loaded in-game. Caution advised.
HotLoadPlugin (HLP)Loads/reloads the named plugin. Useful for applying changes without restarting (risk of crashes and corrupted saves).
GenerateBendableSpline (Spline)Generates bendable spline geometry.
Reload (Papyrus script)Reloads the specified ‘(Papyrus script)’ Papyrus script.
TestAimTests an actor’s aiming capabilities.
TestLookTests an actor’s looking capabilities.
PushCameraPushes camera to the editor.
MoveToEditorCameraMoves to the editor camera.
MoveToEditorSelectionMoves to the editor selection.
PlaceFurnitureTester (PFT)Places an actor to use selected furniture. Can specify actor type.
DumpConditionsFunctionsOutputs condition function call counters.
ReloadAnimationGraphsReloads current animation graphs.
ToggleWeaponOverlayToggles the weapon overlay.
ForceDetectForces the selected actor to detect a specified actor.
ChangeAnimArchetype (caa)Changes the selected actor’s animation archetype.
ChangeAnimFlavorChanges the selected actor’s animal flavor.
SetAngryWithPlayerSets the angry with player flag.
ForceRepathForces the actor to find a new path.
ForcePathFailureCauses the actor’s path to fail.
DumpFormListOutputs contents of a formlist to the console.
TraceAnimationEventsTraces an actor’s animation events.
ShowModsDisplays all property mods on an object.
DumpInputEnableLayersOutputs all used input enable layers to the console.
AttachModAttaches a mod to an object.
RemoveModRemoves a mod from an object.
SpawnTemplatedObjectSpawns a reference to a templated object (object, ilevel, pkeyword1, pkeyword2)
CallFunctionCalls a Papyrus function on the targeted reference.
CallQuestFunction (cqf)Calls a Papyrus function on a quest.
CallGlobalFunction (cgf)Calls a global Papyrus function.
ResetInputEnableLayerResets control disables on a specific input enable layer.
ForceEnablePlayerControls (fepc)Force-enables player controls, overriding layers.
ResetForceEnabledPlayerControlsResets all force-enabled player controls.
GetActorRefOwnerDisplays the owner of a selected reference.
SetActorRefOwner (saro)Sets ownership of a selected reference.
HasActorRefOwner (haro)Checks if a reference has an owner.
SetOutfitChanges the default outfit for an actor.
PassTimeAdvances a specified number of hours as though the player were resting.
LinkLocationsConnects two locations using a specified keyword.
ShowLinkedLocationsDisplays all locations connected to a specific location using a certain keyword.
SetLinkedRefAssociates the current reference with a specified reference under a chosen keyword.
ResetContainerResets the currently selected container, or resets all containers if “1” is specified.
SetSceneForDebugEstablishes the current scene for debugging purposes.
PreloadExteriorPreloads exterior data for the currently selected reference.
TestPathA debugging function to test a path.
ToggleControlsOverlayToggles the Controls Overlay feature.
RefreshA debugging function to refresh a reference.
DynamicResolutionAlters the dynamic resolution settings.
TestLoadingMenuA debugging function to open/close the Loading menu in the Loading thread.
RecalcInstanceDataA debugging function to recalculate instance data for the selected reference, or all loaded references if none are selected.
ToggleReferencePoseToggles forcing an animation graph for the selected actor to be in the reference pose. Options include “target” or “rig”.
SetPersistLocationA debugging function to set the persist location on a reference.
SetLocationRefTypeA debugging function to set the location reference type for a location on a reference.
ShowLocDataA debugging function to display data about a location.
ReserveLocA debugging function to reserve a location, preventing its use for most aliases.
UpdateAwakeSound (UAS)Updates the selected actor’s current conscious loop.
SetHarvestedMarks the current reference as Harvested or not.
PauseScenePauses or unpauses a specified scene.
SpawnDupeCreates a duplicate reference of the selected reference.
DisableDistantReferencesDisables references that are beyond a certain distance from the selected reference.
FireAssertTriggers an assert (with optional text).
ForcePersistentForces a reference to become persistent.
PlayActionCamera (pac)Activates an action camera on the reference with a target reference.
StopActionCameraStops the action camera.
ChangeStanceAlters the actor’s stance.
AuditionWwiseEventA set of commands for auditioning Wwise events.
AuditionReverbForm (arf)Forces a specified Reverb form to be active.
SetWwiseState (sws)Sets a global Wwise State.
BuildAnimationData (bad)Constructs the animation data for the actor.
SwitchSkeletonSwitches between standard and character generation skeletons for an actor.
SetBoneTintRegionApplies bone tint data to an object’s 3D model using a region ID (integer) of the object.
GetHelloorGreeting ()Outputs information ID for an actor.
SendDialogueEventSends a dialogue event for the selected and target actor.
SetForceSpeechChallengeAlwaysSucceed ()Ensures the player always succeeds at speech challenges.
SetForceSpeechChallengeAlwaysFail ()Ensures the player always fails at speech challenges.
RunMaterialsAnalysis (rma)Compares the materials of the selected reference.
CaptureMessages (Message)Captures specified ‘(Message)’ DebugString, USER1, and USER2 messages using a Message Event Listener and sends the output to CaptureMessage.lua
ToggleTrijuiceToggles Trijuicing in the renderer, potentially trading texture filtering quality for improved performance.
SetPresentThreshold (spt)Sets the percentage (0-100) of scanlines covered before swap threshold is met; default is 0 (always swap).
LinkFullAccountLinks a full Bnet account to a game-account: (username) (password).
IsLoggedIn (isonline)Checks if the player is logged into Bethesda.net.
GetLegalDocs (getlegaldocs)Retrieves a list of all required legal documents.
AcceptLegalDocAccepts a legal document based on its ID: acceptlegaldoc (id).
GetDataAttachmentPrints data from Bethesda.net Profile Data Attachment: getattachment (type) (id).
DeleteDataAttachmentDeletes a Bethesda.net Profile Data Attachment: deleteattachment (type) (id).
UploadCharacterDataUploads character data payload as bnet Profile Data Attachment.
GetAttachmentLeaderboard (getattachmentleaderboard)Gets attachment leaderboard page: getattachmentleaderboard (attachment type) (leaderboard type).
LoadUnitedDataGets character data from the leaderboard and caches it.
MakeUnityNPCUpdates NPC with data from unity cache.
SetVolumetricLighting Parameters (vl)Set volumetric lighting parameters.
StartWorkshop (workshop)Enter Workshop mode if the player is within the buildable area of a Workshop.
ToggleVBlankOptimToggles VBlank optimization.
AddKeywordAdds the given keyword to the reference.
RemoveKeywordRemoves the given keyword from the reference.
SetAmbientParticlesEnabledEnables(1)/disables(0) ambient particles.
RemoveOutposts ()Removes the given Outpost and all built items.
SetESRAMSetupForce specific ESRAM setup (-1 for automatic setup).
CallStackTraceDepthSet the callstack depth when tracing it.
CommandedActivatedCommands selected actor to use a reference.
EnableGalaxyModeEnables/Disables galaxy mode.
ToggleStarFieldDebugToggles the StarField debug on or off.
SetStarFieldCoordinateScale ()Sets the StarField coordinate scale.
SetStarSystemScale (sss)Sets the star system scale.
MoveToPlanetIf target player ship, move to or give path to pilot to (target) (1 to do full jump sequence).
SetOrbitSpeedScaleSets global orbit speed scale.
InstanceNamingRulesExport instance naming rule data to file INRExport.txt.
GetOrbisModInfoPrints info relating to Orbis mod game data files.
ToggleSceneDebugShow debug state for scene.
SetFarClipSet far clip value (-1 to clear override).
ToggleOverdrawToggle overdraw.
RecordSceneCapture screen shots of scene. (Scene EditorID, [FPS 60 default])
LandOnPlanet (lop)Land on a planet. (lop)
TakeOffToSpaceTake off to space.
PreviewBodyResources (pbr)Previews resources for a planet.
SendAffinityEvent(AffinityEvent [ObjRef]) Run an affinity event on an optional object reference.
AddPowerAddPower (part) #
RemovePowerRemovePower (part) #
MatlockCaptureForce matlock to realize a capture.
ToggleSnapNodeMarkersToggle snap node markers.
SetVoiceTypeSet an override voice type on an actor.
AddWorldSpaceToPlanetAdds a world space to a planet.
DebugDataProviderSet the name of the UI Data Provider we want to debug.
LoadAll3DLoad all queued 3D.
PrintAllMenus (pam)Print all active menus.
PrintAllInputContext (paic)Print the input context stack.
AddPlotToBody (AddPlot)Plot a route to this body.
ReloadFaceDataReload face data.
SetGravityScaleSets gravity scale on a ref’s parent cell.
PreviewBlockPreviewBlock (blockname) (biome).
ExportTerrainTexturesExport terrain textures.
ExportTerrainGridsExport terrain grids.
ExportTerrainHeightMapExport terrain height map.
ExportTerrainSplatMapExport terrain splat map.
ExportTerrainMaterialIndexMapExport terrain material index map.
ExportTerrainFilesExport terrain files.
UpdateTerrainClipmapsRefresh Terrain Clipmaps.
ToggleDebugCameraToggle debug camera (mode name).
CyclePrevDebugCameraCycle to previous debug camera.
CycleNextDebugCameraCycle to next debug camera.
ToggleDebugCameraControlsToggle debug camera controls.
SetImGuiWindowFunction (siw)Activate an ImGui window.
HotReloadUIHot Reloads the User Interface SWFs.
SetPosRelativeToRefScript function to set the position of the picked ref relatively to another ref (defaulted to the player).
FaceRefMake a ref face towards another ref (defaulted to the player), with an extra angle offset.
SetWorkshopItemSet the Workshop menu’s Node Cursor to the currently selected reference, if any.
GenerateNavMeshGenerates nav-mesh on the current cell.
LandOnPlanetAnimatedLand players spaceship with animation.
startNewGameCommand to trigger new game on main menu without UI.
ForcedBleedoutForce an actor to enter bleedout.
ForceConditionFormTrueForce a condition form to true. args: FromID, (enable)0/1, (permanent)0/1.
ForceConditionFormFalseForces a condition form to a false state. Arguments: FromID, (enable)0/1, (permanent)0/1.
LandOnPlanetBiomeDescends onto a specific biome of a planet. Syntax: (lopb (planet name) (biome index) [(centered)0/1]).
LandOnPlanetMarkerLands at a designated marker on the current planet.
TestAllPlanetsConducts a test on all planets.
ClearLinkedRefRemoves a linked reference.
SetLocalTimeAdjusts the local time on the current planet, with an option to update the galaxy simulation.
ReloadMaterialsRefreshes all material data.
PlacementOnCellTests overlay placement on a cell. Syntax: (poc (cellindex.x)(cellindex.y)).
ToggleWorkshopFlyCamSwitches the workshop flycam on or off.
CheckBiomeMarkerSearches for uses of a specific biome marker in the loaded area.
TestBiomePlanet (tbp)Generates a planet using only the specified biome and places the player there.
PreviewPatternPreviews a pattern. Syntax: (pattern name)(biome).
SetHavokDynamicSets reference motion to dynamic, with an optional mass in kilograms.
SetHavokKinematicSets reference motion to kinematic.
SetHavokActiveActivates or deactivates reference Havok physics.
SetHavokLODAssigns a level of detail to reference collision.
SetHavokLinearVelocityDefines linear velocity for a reference.
SetHavokAngularVelocitySets angular velocity for a reference.
SetHavokCollisionLayerAssigns a Havok collision layer to a reference.
SetHavokRagdollFrictionAdjusts Havok ragdoll friction parameters.
SetHavokParamConfigures specific Havok parameters.
ShowHavokRagdollValuesDisplays values related to Havok ragdoll physics.
StartHavokPartTestBegins or resets a Havok particles test.
StopHavokPartTestTerminates a Havok particles test.
SetOrientationAdjusts the orientation of a reference.
ToggleDebugText3DSwitches 3D debug text on or off.
ToggleBioOverlayToggles the BI Overlay.
ToggleMetricViewerActivates the Metric Viewer.
PrintMessageDisplays a message on the screen. Syntax: (message) (duration) (clear previous messages flag).
AddDebugTestAttaches debug text to a reference. Syntax includes text, size, color, and positional parameters.
DisableActorPackageDisables or enables an actor’s package. Syntax: (DisableActorPackage (0/1)).
StopBatchFileHalts a currently running batch file.
CenterOnSpaceCellTransports to a specified space cell, with an option to specify a ship.
DependencyGraphDumpOutputs the Dependency Graph.
ToggleExperimentalShadersSwitches experimental shaders on or off.
SetTestPlanetAndBiomeAssigns a test planet and biome for interior testing with biome markers. Syntax: (stpb [planet name] [biome form]).

Enabling achievements

Console commands will typically disable Achievements as your save file will be a unique modded one, but the fanmade Achievement Enabler mod bypasses this by preventing your save from being marked as modded.

This means you can cause all the chaos you like in god mode for example, and still earn those all-important Achievements.

Article continues after ad

Simply download the mod via this link, install it in your game, and you’re good to go.

That’s everything you need to know about console commands in Starfield! If you’re just diving into the Shattered Space DLC, check out our quest guides for The Duel, What Remains, Conflict of Conviction, and Zealous Overreach.