Valheim

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.

Verified

Console commands

98

Change Character Model (PC)

Model 0 = male, model 1 = female body

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Clear Ground Drops

Removes all dropped items on the ground around you.

Press F5 to open the console, type devcommands, then type removedrops.

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

Only works in a world you host.

Fly

Move freely in any direction.

Requires devcommands first. Type it again to land.

PC Reported working
Did this work for you?

Fly Mode

Toggles free flight for your character.

Press F5 to open the console, type devcommands, then type fly.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Force World Save

Saves the world immediately.

Press F5 to open the console at any time and type save. Works without devcommands.

PC Reported working
Did this work for you?

Free Building and Crafting

Building and crafting cost nothing.

Press F5 to open the console, type devcommands, then type nocost.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Free Camera Photo Mode

Detaches the camera for screenshots.

Press F5 to open the console, type devcommands, then type freefly.

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Ghost Mode

Enemies ignore you completely.

Press F5 to open the console, type devcommands, then type ghost.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

God Mode

Toggles invulnerability; you cannot die.

Press F5 to open the console, type devcommands, then type god.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Kill All Nearby Enemies

Kills all nearby monsters and creatures.

Press F5 to open the console, type devcommands, then type killall.

PC Reported working
Did this work for you?

Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.

Kill everything nearby

Kills every creature in the loaded area.

Requires devcommands first.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Kill Player (PC)

Kills your own character instantly

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Lower Skill (PC)

Lowers the chosen skill level

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Reset Character (PC)

Resets your character (skills, inventory progress reset)

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.

Reveal the whole map

Uncovers the entire map for your character.

Requires devcommands first.

PC Reported working
Did this work for you?

Reveal Whole Map

Removes fog of war and reveals the entire world map.

Press F5 to open the console, type devcommands, then type exploremap.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Set the time of day

Sets the clock. 0.5 is midday, -1 returns to normal.

Requires devcommands first.

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Set Weather Clear (PC)

Changes the weather to clear

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Set Weather Misty (PC)

Changes the weather to misty

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Set Weather Rain (PC)

Changes the weather to rain

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Show FPS (PC)

Shows your current frame rate

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Skip To Next Day

Jumps forward to the next day.

Press F5 to open the console, type devcommands, then type sleep.

PC Reported working
Did this work for you?

Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them.

Spawn an item

Spawns the named item in the given quantity.

Requires devcommands first.

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Spawn Eikthyr (PC)

Spawns Eikthyr, the first boss

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Spawn Goblin (PC)

Spawns a Goblin

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Spawn Greydwarf (PC)

Spawns a level-2 Greydwarf

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Spawn Greydwarf Army (PC)

Spawns ten Greydwarves at once

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Spawn Weapon (PC)

Spawns the named weapon (iron sword etc.)

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Stop Active Event

Stops any raid or event currently happening.

Press F5 to open the console, type devcommands, then type stopevent.

PC Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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.

PC Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Time Scale Normal (PC)

Normal time speed (1x time scale)

Add -console to the launch options; press F5, type devcommands, then enter the command

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

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

PC Reported working
Did this work for you?

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

XONE Reported working
Did this work for you?

Walk through terrain

Enemies stop noticing you and you pass through the world.

Requires devcommands first.

PC Reported working
Did this work for you?
A code stopped working after a patch? Tell us and we will retest it. Know one we are missing? Submit it here. What the tested badge means, and which codes carry it.

Tools for Valheim cheats

Quick answers

About Valheim cheats

How many cheats does Valheim have?
This page lists 98 for Valheim, all of them console commands.
How do you enter cheats in Valheim?
On PC: add -console to the launch options; press F5, type devcommands, then enter the command. On Xbox One: press LB+RB+LT+RT (or LB+RB+View) to open the console, enable devcommands, then type the command. A few codes use a different method, shown beside each one.
Do cheats disable achievements in Valheim?
19 of the 98 codes here carry a warning about achievements or trophies. The note reads: "Cheats lock achievements. Run yesiuseddevcommandsbutiwantmyachievementsanyway to keep earning them."
Which platforms are these Valheim cheats for?
The codes on this page are listed for PC (63 codes) and Xbox One (35 codes). Button codes differ between systems, so use the ones listed for yours.
Are these Valheim cheats still working?
All 98 are marked "Reported working": each comes from a documented source, and none has been run by us yet. A code we test gets a dated "Tested" badge.