Cheats & codes
Valheim Cheat Codes
Grouped by type and platform, each one labelled reported working or tested.
There are 98 cheat codes for Valheim across PC (Microsoft Windows) and Xbox One. Each code below lists the exact button combination or console command, what it does, and whether using it disables achievements.
Console commands
98Change Character Model (PC)
Model 0 = male, model 1 = female body
Add -console to the launch options; press F5, type devcommands, then enter the command
Change Character Model (Xbox)
Model 0 = male, model 1 = female body
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Clear Ground Drops
Removes all dropped items on the ground around you.
Press F5 to open the console, type devcommands, then type removedrops.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Creative Debug Mode
Enables creative-style mode: fly with Z, build freely with B, kill nearby enemies with K, no workbench needed.
Press F5 to open the console, type devcommands, then type debugmode. Press Z, B or K while in it.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Debug Mode (Console Entry)
Enables debug mode itself (type it in the console; enables fly/toggles). PC-only
Press F5 to open the console, type debugmode and press Enter
Enable cheats first
Turns on every command below. Nothing else works until this is entered.
Press F5 to open the console, type the command, press Enter.
Only works in a world you host.
Fly
Move freely in any direction.
Requires devcommands first. Type it again to land.
Fly Mode
Toggles free flight for your character.
Press F5 to open the console, type devcommands, then type fly.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Fly Mode Enable Key (PC)
Fly-mode enable key: lets you fly around, climb steep slopes and slip through gaps
Add -console to the launch options; press F5, type devcommands, then enter the command
Fly Mode Enable Key (Xbox)
Fly-mode enable key: lets you fly around, climb steep slopes and slip through gaps
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Fly Mode Toggle (PC)
Toggles flying; pressing Z must enable it once first (often F11)
Add -console to the launch options; press F5, type devcommands, then enter the command
Fly Mode Toggle (Xbox)
Toggles flying; pressing Z must enable it once first (often F11)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Force World Save
Saves the world immediately.
Press F5 to open the console at any time and type save. Works without devcommands.
Free Building and Crafting
Building and crafting cost nothing.
Press F5 to open the console, type devcommands, then type nocost.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Free Camera Attach (PC)
Attaches the camera to your character slot for free-camera control
Add -console to the launch options; press F5, type devcommands, then enter the command
Free Camera Attach (Xbox)
Attaches the camera to your character slot for free-camera control
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Free Camera Photo Mode
Detaches the camera for screenshots.
Press F5 to open the console, type devcommands, then type freefly.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Full Heal
Restores your health to full.
Press F5 to open the console, type devcommands, then type heal.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Full Heal (PC)
Restores full health and full stamina
Add -console to the launch options; press F5, type devcommands, then enter the command
Full Heal (Xbox)
Restores full health and full stamina
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Ghost Mode
Enemies ignore you completely.
Press F5 to open the console, type devcommands, then type ghost.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Ghost Mode (PC)
Invisible to enemies; nothing notices or attacks you
Add -console to the launch options; press F5, type devcommands, then enter the command
Ghost Mode (Xbox)
Invisible to enemies; nothing notices or attacks you
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
God Mode
Toggles invulnerability; you cannot die.
Press F5 to open the console, type devcommands, then type god.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
God Mode Off (PC)
Turns god mode off so you can be hurt again
Add -console to the launch options; press F5, type devcommands, then enter the command
God Mode Off (Xbox)
Turns god mode off so you can be hurt again
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
God Mode On (PC)
Makes you invincible — you can't be hurt or killed
Add -console to the launch options; press F5, type devcommands, then enter the command
God Mode On (Xbox)
Makes you invincible — you can't be hurt or killed
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Kill All Nearby Enemies
Kills all nearby monsters and creatures.
Press F5 to open the console, type devcommands, then type killall.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Kill everything nearby
Kills every creature in the loaded area.
Requires devcommands first.
Kill Nearby Enemies (PC)
Instantly kills hostile creatures nearby (not bosses)
Add -console to the launch options; press F5, type devcommands, then enter the command
Kill Nearby Enemies (Xbox)
Instantly kills hostile creatures nearby (not bosses)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Kill Player (PC)
Kills your own character instantly
Add -console to the launch options; press F5, type devcommands, then enter the command
Kill Player (Xbox)
Kills your own character instantly
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Lower Skill (PC)
Lowers the chosen skill level
Add -console to the launch options; press F5, type devcommands, then enter the command
Lower Skill (Xbox)
Lowers the chosen skill level
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Raise Skill
Raises a skill by the given amount, e.g. raiseskill jump 100.
Press F5 to open the console, type devcommands, then type raiseskill followed by the skill name and amount.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Raise Skill (PC)
Raises the chosen skill to the level you set
Add -console to the launch options; press F5, type devcommands, then enter the command
Raise Skill (Xbox)
Raises the chosen skill to the level you set
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Reset Character (PC)
Resets your character (skills, inventory progress reset)
Add -console to the launch options; press F5, type devcommands, then enter the command
Resetting is effectively a full wipe; it cannot be undone
Reset Character (Xbox)
Resets your character (skills, inventory progress reset)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Resetting is effectively a full wipe; it cannot be undone
Reset Map Exploration
Restores fog of war to the map.
Press F5 to open the console, type devcommands, then type resetmap.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Reset Map Fog (PC)
Resets the map back to unexplored (fog returns)
Add -console to the launch options; press F5, type devcommands, then enter the command
Reset Map Fog (Xbox)
Resets the map back to unexplored (fog returns)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Reset Skill
Resets the named skill (accepts all since patch 0.219.13).
Press F5 to open the console, type devcommands, then type resetskill followed by the skill name.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Reveal the whole map
Uncovers the entire map for your character.
Requires devcommands first.
Reveal Whole Map
Removes fog of war and reveals the entire world map.
Press F5 to open the console, type devcommands, then type exploremap.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Reveal Whole Map (PC)
Uncovers the entire world map
Add -console to the launch options; press F5, type devcommands, then enter the command
Reveal Whole Map (Xbox)
Uncovers the entire world map
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Set Field of View (PC)
Changes your field of view to the # angle
Add -console to the launch options; press F5, type devcommands, then enter the command
Set Field of View (Xbox)
Changes your field of view to the # angle
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Set the time of day
Sets the clock. 0.5 is midday, -1 returns to normal.
Requires devcommands first.
Set Time Of Day
Sets the time of day from 0 to 1 (0.5 = noon, 0 or 1 = midnight).
Press F5 to open the console, type devcommands, then type tod followed by a value 0 to 1.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Set Time to Morning (PC)
Morning time value (0 = night, 0.5 = morning)
Add -console to the launch options; press F5, type devcommands, then enter the command
Set Time to Morning (Xbox)
Morning time value (0 = night, 0.5 = morning)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Set Weather Clear (PC)
Changes the weather to clear
Add -console to the launch options; press F5, type devcommands, then enter the command
Set Weather Clear (Xbox)
Changes the weather to clear
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Set Weather Misty (PC)
Changes the weather to misty
Add -console to the launch options; press F5, type devcommands, then enter the command
Set Weather Misty (Xbox)
Changes the weather to misty
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Set Weather Rain (PC)
Changes the weather to rain
Add -console to the launch options; press F5, type devcommands, then enter the command
Set Weather Rain (Xbox)
Changes the weather to rain
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Show Coordinates (PC)
Prints your x, y, z coordinates for teleporting
Add -console to the launch options; press F5, type devcommands, then enter the command
Show Coordinates (Xbox)
Prints your x, y, z coordinates for teleporting
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Show FPS (PC)
Shows your current frame rate
Add -console to the launch options; press F5, type devcommands, then enter the command
Show FPS (Xbox)
Shows your current frame rate
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Skip One Hour Ahead (PC)
Skips one hour ahead — skiptime 3600 skips to night
Add -console to the launch options; press F5, type devcommands, then enter the command
Skip One Hour Ahead (Xbox)
Skips one hour ahead — skiptime 3600 skips to night
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Skip To Next Day
Jumps forward to the next day.
Press F5 to open the console, type devcommands, then type sleep.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Spawn an item
Spawns the named item in the given quantity.
Requires devcommands first.
Spawn Any Item
Spawns the named item in front of you. Examples: spawn coins 1000, spawn Coal 50, spawn IronPickaxe, spawn SwordCheat, spawn Draugrfang.
Press F5 to open the console, type devcommands, then type spawn followed by the item name and optional amount. Item names are case-sensitive.
Spawned items are marked as cheated in inventory and cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Spawn Creature (PC)
Spawns the named creature at the level you set
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Creature (Xbox)
Spawns the named creature at the level you set
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Eikthyr (PC)
Spawns Eikthyr, the first boss
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Eikthyr (Xbox)
Spawns Eikthyr, the first boss
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Goblin (PC)
Spawns a Goblin
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Goblin (Xbox)
Spawns a Goblin
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Greydwarf (PC)
Spawns a level-2 Greydwarf
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Greydwarf (Xbox)
Spawns a level-2 Greydwarf
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Greydwarf Army (PC)
Spawns ten Greydwarves at once
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Greydwarf Army (Xbox)
Spawns ten Greydwarves at once
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Item (PC)
Spawns the named item in the amount you set
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Item (Xbox)
Spawns the named item in the amount you set
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Spawn Weapon (PC)
Spawns the named weapon (iron sword etc.)
Add -console to the launch options; press F5, type devcommands, then enter the command
Spawn Weapon (Xbox)
Spawns the named weapon (iron sword etc.)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Stop Active Event
Stops any raid or event currently happening.
Press F5 to open the console, type devcommands, then type stopevent.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Tame Nearby Creatures
Tames all nearby tameable animals.
Press F5 to open the console, type devcommands, then type tame.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Tame Nearby Wildlife (PC)
Tames animals in the area around you
Add -console to the launch options; press F5, type devcommands, then enter the command
Tame Nearby Wildlife (Xbox)
Tames animals in the area around you
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Teleport To Coordinates
Teleports you to the given X and Z coordinates.
Press F5 to open the console, type devcommands, then type goto followed by X and Z values.
Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.
Teleport to Coordinates (PC)
Teleports you to the coordinates you type
Add -console to the launch options; press F5, type devcommands, then enter the command
Teleport to Coordinates (Xbox)
Teleports you to the coordinates you type
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Time Scale Normal (PC)
Normal time speed (1x time scale)
Add -console to the launch options; press F5, type devcommands, then enter the command
Time Scale Normal (Xbox)
Normal time speed (1x time scale)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Time Scale Slow (PC)
Game time runs at half speed (0.5x time scale)
Add -console to the launch options; press F5, type devcommands, then enter the command
Time Scale Slow (Xbox)
Game time runs at half speed (0.5x time scale)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Time Scale x3 (PC)
Game time runs 3x faster (3x time scale)
Add -console to the launch options; press F5, type devcommands, then enter the command
Time Scale x3 (Xbox)
Game time runs 3x faster (3x time scale)
Press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command
Walk through terrain
Enemies stop noticing you and you pass through the world.
Requires devcommands first.
Tools for Valheim cheats
-
Why is my cheat not working?
Answer a few questions and get the specific reason, from our guides.
-
Search Valheim codes by effect
Type "money" or "god mode" and find the code, typos forgiven.
-
Test your controller and button sequences
See every button respond, and check a sequence press by press.
Quick answers