Valheim cheats: All codes and console commands to wield godly power

Looking for Valheim cheats and console commands on Steam or PC Game Pass? The Viking survival game may appear fairly peaceful when you're starting out, but you'll soon find mythical Valheim bosses to battle. You might discover that you need some extra juice to weather Valheim's tougher regions—or maybe you just want to build the ultimate base without having to worry about gathering materials. Here are all the Valheim console commands and cheats from god mode to item spawning, and how to activate them whether you're playing on Steam or on PC Game Pass.

You can only use Valheim console commands in singleplayer mode but there are lots of fun cheats to use, including a god mode which makes you invulnerable, the ability to add skill points and spawn weapons and armor, and even the power to fly through the air like Thor. There's also a 'debug mode' that lets you build without the need for a workbench or resources. For those in a multiplayer world, there are some console commands that can be used by server admins and these have also been listed below.

Recent updates

April 2025: Valheim cheats haven’t changed much since our last update, but we’ve gone through our console command hub to fix up the format and add a few images. We'll update our list here as the game keeps adding more secrets and biomes in future updates.

How to use Valheim cheats

Activating Valheim cheats with PC Game Pass version

Before you can use cheats, you need to activate the in-game console. Here are the instructions for players using PC Game Pass.

  1. Navigate to the game's installation folder. Typically, it's C:\XboxGames\Valheim\Content
  2. In that folder, find Valheim.exe
  3. Right-click Valheim.exe and select Create shortcut
  4. Drag the shortcut to your desktop or preferred location
  5. Right-click the shortcut and select Properties
  6. In the Shortcut tab, add -console to the end of the Target field
  7. Click Apply, then click OK
  8. Launch the game from the shortcut

(Image credit: Windows)

Activating Valheim cheats with Steam version

To activate the console so you can use cheats, you will need to set it as a launch option in Steam. By default, the command console is locked.

Here's how to activate the console:

  1. Right-click Valheim in your Steam library
  2. Select Properties
  3. In the General tab, look for the Launch Options field
  4. In it, type -console
  5. Close the General tab

Valheim cheats and console commands for singleplayer

(Image credit: Iron Gate Studios)

How to use singleplayer Valheim cheats

You can activate Valheim cheats in a singleplayer game by using F5 to open the console, then type devcommands, and press enter. (Previously, the command was 'imacheater' but that has changed). Deactivate cheats by entering devcommands again.

You'll be able to use the following cheats in Valheim's singleplayer mode. They won't work on a multiplayer server.

Swipe to scroll horizontally
Godmode and character-related cheats

god

Enables god mode

heal

Restores current max health

puke

Empties stomach of food and resets health and stamina

killall

Kills all nearby enemies

tame

Tames all nearby creatures

ghost

Enemies will ignore you

Swipe to scroll horizontally
Edit character skills and appearance

raiseskill [skill] [amount]

Raises the named skill by the value entered

resetcharacter

Resets all of your character data

hair

Removes character's hair (permanently)

beard

Removes character's beard (permanently)

model 0

Switches character to masculine body

model 1

Switches character to feminine body

Swipe to scroll horizontally
Map and camera cheats

resetmap

Hides entire map

pos

Shows player coordinates

goto [x,z]

Teleports player to the specified coordinates

location

Sets spawn location

freefly

Activates the free camera

ffsmooth 1

Adds smooth movements to free camera

ffsmooth 0

Resets smooth movements to normal

exploremap

Reveals the entire map

dpsdebug

Toggles dps debug print on and off

Swipe to scroll horizontally
Time and weather

wind [angle][intensity]

Adjusts direction and intensity of the wind

resetwind

Resets the wind angle and intensity

tod

Sets time of day. Values are between 0-1 (tod .5 is noon, 0 and 1 are midnight. tod -1 returns time of day to default.)

Swipe to scroll horizontally
Events and world cheats

event [name]

Starts the named event

players [nr]

Adjusts the difficulty scale. Enter 0 to reset difficulty

randomevent

Starts a random event

removedrops

Removes all items dropped in the area

stopevent

Stops the current event

save

Forces the game to save the current world state

Valheim cheats: Debug/creative mode commands

A house featured from the Valheim trailer, built in its creative mode

(Image credit: Iron Gate Studios)

How to enter the Valheim Creative mode

Also in singleplayer, you can enter debug mode to access a few more cheats and a creative mode, where you can build without a workbench or resources.

  • debugmode - Enters creative mode
  • B - Toggle for creative mode building, no workbench or resources needed
  • Z - Toggle to fly. Spacebar gives you altitude, Ctrl brings you back down
  • K - Tap to kill all nearby enemies and creatures within range

Valheim cheats: Server admin console commands

Valheim admin commands for multiplayer servers

Admins on multiplayer Valheim worlds can use the console to enter commands on the server. To open the console, the admin can press F5. From there, they can use the following commands.

  • help - Shows all the available server commands
  • kick [name/ip/userID] - Kicks the named user
  • ban [name/ip/userID] - Bans the named user
  • unban [ip/userID] - Unbans the named user
  • banned - Shows a full list of banned users
  • ping - Pings the server to measure latency.
  • lodbias [number] - Sets the server draw distance, using values 1 to 5
  • info - Prints the current system information
Ark cheatsValheim cheatsBannerlord cheatsRed Dead Redemption 2 cheatsCrusader Kings 3 console commands

Ark cheats: Expedited evolution
Valheim cheats: Godly powers
Bannerlord cheats: Cheat victory
Red Dead Redemption 2 cheats: Most wanted
Crusader Kings 3 console commands: Divine rights

Valheim cheats for Mistlands

Valheim Mistlands update

(Image credit: Iron Gate Studio)

Valheim Mistlands console commands

The Valheim Mistlands update added a number of new resources, weapons, armor, foods, and other items to the game. Type spawn [item] [number] in the console to spawn an item from the Mistlands. For instance, if you wanted 10 yggdrasil wood, you would type:

  • spawn yggdrasilwood 10

Here are the item codes for the spawnable Mistlands items we've found so far:

Mistlands materials

  • Bilebag
  • blackcore
  • Blackmarble
  • carapace
  • DvergrKeyFragment
  • eitr
  • GiantBloodSack
  • Mandible
  • sap
  • ScaleHide
  • Softtissue
  • wisp
  • yagluthdrop
  • Yggdrasilwood

Mistlands foods

  • cookedegg
  • MagicallyStuffedShroom
  • MeatPlatter
  • MisthareSupreme
  • MushroomMagecap
  • seekeraspic
  • YggdrasilPorridge

Mistlands weapons

  • AxeJotunBane
  • BoneSpineSnap
  • Himminafl
  • KnifeSkollAndHati
  • SledgeDemolisher
  • SwordMistwalker
  • THSwordKrom

Mistlands armor

  • ArmorCarapaceChest
  • ArmorCarapace
  • ArmorMageChest
  • ArmorMageLegs
  • CapeFeather|
  • HelmetCarapace
  • HelmetMage
  • ShieldCarapace
  • ShieldCarapaceBuckler

Valheim cheats for Ashlands

A Viking from Valheim wearing armor from the Ashlands update

(Image credit: Iron Gate Studios)

Valheim Ashlands console commands

The Valheim Ashlands update added a new biome suitable only for the bravest dead Vikings, plus lots of new weapons, armor, and resources. After enabling cheats, type the spawn [item] [number] command and press enter.

Here are the item names for the spawnable Ashlands items we know about:

Ashlands materials

  • AsksvinCarrionNeck
  • AsksvinCarrionRibcage
  • AsksvinCarrionSkull
  • AsksvinEgg
  • AsksvinMeat
  • Blackwood
  • CharcoalResin
  • CharredCogwheel
  • CharredSkull
  • FlametalOreNew
  • GemstoneBlue
  • GemstoneGreen
  • GemstoneRed
  • Grausten
  • MoltenCore
  • ProustitePowder
  • SulfurStone

Ashlands weapons

  • SwordNiedhoggLightning
  • THSwordSlayerLightning
  • MaceEldnerLightning
  • AxeBerzerkrLightning
  • SpearSplitner_Lightning
  • BowAshlandsLightning
  • CrossbowRipperLightning
  • SwordDyrnwyn
  • StaffRedTroll
  • StaffLightning
  • DvergerArbalest_shootAshlands

Ashlands armor

  • ArmorMageChest_Ashlands
  • ArmorMageLegs_Ashlands
  • HelmetMage_Ashlands
  • DvergerSuitArbalest_Ashlands
  • HelmetAshlandsMediumHood
  • ArmorAshlandsMediumChest
  • ArmorAshlandsMediumlegs

Valheim cheats: Item spawn list

Two stacks of potions, all with different functions, laid out on a shelf in Valheim.

(Image credit: Iron Gate Studios)

Valheim item IDs for other biomes

To spawn items, type spawn in the console, followed by the item you want, followed by the amount of that item. For instance, if you wanted 50 coal, you would type:

  • spawn Coal 50

Remember, items are case-sensitive! We’ve split them by category and excluded codes with no in-game implementations (for now). Also, spawned items won’t appear in your inventory but beside you.

Swipe to scroll horizontally
Ore and metal materials

Copper

Iron

Silver

BlackMetal

CopperOre

IronNails

SilverOre

BlackMetalScrap

Bronze

IronOre

Tin

Flametal

BronzeNails

IronScrap

TinOre

FlametalOre

Gatherables, monster drops, and other materials

  • BoneFragments
  • Chitin
  • Coal
  • Crystal
  • Dandelion
  • DeerHide
  • ElderBark
  • Feathers
  • FineWood
  • Flax
  • Flint
  • FreezeGland
  • GreydwarfEye
  • Guck
  • HardAntler
  • LeatherScraps
  • LinenThread
  • LoxPelt
  • NeckTail
  • Needle
  • Obsidian
  • Ooze
  • QueenBee
  • Resin
  • RoundLog
  • SerpentScale
  • Stone
  • SurtlingCore
  • Tar
  • Thistle
  • TrollHide
  • WitheredBone
  • WolfFang
  • WolfPelt
  • Wood
  • YmirRemains

Food, ingredients, and seeds

  • BloodPudding
  • Blueberries
  • Bread
  • Carrot
  • CarrotSoup
  • Cloudberry
  • CookedLoxMeat
  • CookedMeat
  • FishCooked
  • FishWraps
  • Honey
  • LoxPie
  • Mushroom
  • MushroomBlue
  • MushroomYellow
  • NeckTailGrilled
  • QueensJam
  • Raspberry
  • Sausages
  • SerpentMeatCooked
  • SerpentStew
  • Turnip
  • TurnipStew

Ingredients

  • Barley
  • BarleyFlour
  • BarleyWine
  • Bloodbag
  • Entrails
  • FishRaw
  • LoxMeat
  • RawMeat
  • SerpentMeat

Seeds

  • AncientSeed
  • BeechSeeds
  • CarrotSeeds
  • TurnipSeeds
  • PineCone
  • FirCone

Mead and Mead bases

  • BarleyWineBase
  • MeadBaseFrostResist
  • MeadBaseHealthMedium
  • MeadBaseHealthMinor
  • MeadBasePoisonResist
  • MeadBaseStaminaMedium
  • MeadBaseStaminaMinor
  • MeadBaseTasty

Vehicles

  • MeadFrostResist
  • MeadHealthMedium
  • MeadHealthMinor
  • MeadPoisonResist
  • MeadStaminaMedium
  • MeadStaminaMinor
  • MeadTasty

Tools and vehicles

  • AxeBlackMetal
  • AxeBronze
  • AxeFlint
  • AxeIron
  • AxeStone
  • Cultivator
  • FishingRod
  • FishingBait
  • Hammer
  • Hoe
  • PickaxeAntler
  • PickaxeBronze
  • PickaxeIron
  • PickaxeStone

Vehicles

  • Cart
  • Karve
  • Raft
  • Trailership
  • VikingShip

Magic items

  • BeltStrength
  • HelmetDverger
  • Wishbone

Weapons and arrows

  • AtgeirBlackmetal
  • AtgeirBronze
  • AtgeirIron
  • Battleaxe
  • Bow
  • BowDraugrFang
  • BowFineWood
  • BowHuntsman
  • Club
  • KnifeBlackMetal
  • KnifeChitin
  • KnifeCopper
  • KnifeFlint
  • MaceBronze
  • MaceIron
  • MaceNeedle
  • MaceSilver
  • ShieldBanded
  • ShieldBlackmetal
  • ShieldBlackmetalTower
  • ShieldBronzeBuckler
  • ShieldIronSquare
  • ShieldIronTower
  • ShieldKnight
  • ShieldSerpentscale
  • ShieldSilver
  • ShieldWood
  • ShieldWoodTower
  • SledgeIron
  • SledgeStagbreaker
  • SpearBronze
  • SpearChitin
  • SpearElderbark
  • SpearFlint
  • SpearWolfFang
  • SwordBlackmetal
  • SwordBronze
  • SwordCheat
  • SwordIron
  • SwordIronFire
  • SwordSilver
  • Tankard
  • TankardOdin
  • Torch

Arrows

  • ArrowBronze
  • ArrowFire
  • ArrowFlint
  • ArrowFrost
  • ArrowIron
  • ArrowNeedle
  • ArrowObsidian
  • ArrowPoison
  • ArrowSilver
  • ArrowWood

Armor

  • ArmorBronzeChest
  • ArmorBronzeLegs
  • ArmorIronChest
  • ArmorIronLegs
  • ArmorLeatherChest
  • ArmorLeatherLegs
  • ArmorPaddedCuirass
  • ArmorPaddedGreaves
  • ArmorRagsChest
  • ArmorRagsLegs
  • ArmorTrollLeatherChest
  • ArmorTrollLeatherLegs
  • ArmorWolfChest
  • ArmorWolfLegs
  • CapeDeerHide
  • CapeLinen
  • CapeLox
  • CapeOdin
  • CapeTest
  • CapeTrollHide
  • CapeWolf
  • HelmetBronze
  • HelmetDrake
  • HelmetDverger
  • HelmetIron
  • HelmetLeather
  • HelmetOdin
  • HelmetPadded
  • HelmetTrollLeather
  • HelmetYule

Valheim item IDs for bosses, enemies, and spawners

Bosses and enemies

  • Bonemass
  • Dragon
  • Eikthyr
  • gd_king
  • GoblinKing

Enemies

  • Blob
  • BlobElite
  • Boar
  • Boar_piggy
  • Crow
  • Deathsquito
  • Deer
  • Draugr
  • Draugr_Elite
  • Draugr_Ranged
  • Fenring
  • Ghost
  • Goblin
  • GoblinArcher
  • GoblinBrute
  • GoblinClub
  • GoblinHelmet
  • GoblinLegband
  • GoblinLoin
  • GoblinShaman
  • GoblinShoulders
  • GoblinSpear
  • GoblinSword
  • GoblinTorch
  • GoblinTotem
  • Greydwarf
  • Greydwarf_Elite
  • Greydwarf_Root
  • Greydwarf_Shaman
  • Greyling
  • Leech
  • Lox
  • Neck
  • Seagal
  • Serpent
  • Skeleton
  • Skeleton_Poison
  • StoneGolem
  • Surtling
  • Troll
  • Valkyrie
  • Wolf
  • Wolf_cub
  • Wraith

Trophies

  • TrophyBlob
  • TrophyBoar
  • TrophyBonemass
  • TrophyDeathsquito
  • TrophyDeer
  • TrophyDragonQueen
  • TrophyDraugr
  • TrophyDraugrElite
  • TrophyDraugrFem
  • TrophyEikthyr
  • TrophyFenring
  • TrophyForestTroll
  • TrophyFrostTroll
  • TrophyGoblin
  • TrophyGoblinBrute
  • TrophyGoblinKing
  • TrophyGoblinShaman
  • TrophyGreydwarf
  • TrophyGreydwarfBrute
  • TrophyGreydwarfShaman
  • TrophyHatchling
  • TrophyLeech
  • TrophyLox
  • TrophyNeck
  • TrophySerpent
  • TrophySGolem
  • TrophySkeleton
  • TrophySkeletonPoison
  • TrophySurtling
  • TrophyTheElder
  • TrophyWolf
  • TrophyWraith

Spawners

  • BonePileSpawner
  • Spawner_Blob
  • Spawner_BlobElite
  • Spawner_Boar
  • Spawner_Draugr
  • Spawner_DraugrPile
  • Spawner_Draugr_Elite
  • Spawner_Draugr_Noise
  • Spawner_Draugr_Ranged
  • Spawner_Draugr_Ranged_Noise
  • Spawner_Draugr_respawn_30
  • Spawner_Fenring
  • Spawner_Fish4
  • Spawner_Ghost
  • Spawner_Goblin
  • Spawner_GoblinArcher
  • Spawner_GoblinBrute
  • Spawner_GoblinShaman
  • Spawner_Greydwarf
  • Spawner_GreydwarfNest
  • Spawner_Greydwarf_Elite
  • Spawner_Greydwarf_Shaman
  • Spawner_Hatchling
  • Spawner_imp
  • Spawner_imp_respawn
  • Spawner_Leech_cave
  • Spawner_Location_Elite
  • Spawner_Location_Greydwarf
  • Spawner_Location_Shaman
  • Spawner_Skeleton
  • Spawner_Skeleton_night_noarcher
  • Spawner_Skeleton_poison
  • Spawner_Skeleton_respawn_30
  • Spawner_StoneGolem
  • Spawner_Troll
  • Spawner_Wraith
Christopher Livingston
Senior Editor

Chris started playing PC games in the 1980s, started writing about them in the early 2000s, and (finally) started getting paid to write about them in the late 2000s. Following a few years as a regular freelancer, PC Gamer hired him in 2014, probably so he'd stop emailing them asking for more work. Chris has a love-hate relationship with survival games and an unhealthy fascination with the inner lives of NPCs. He's also a fan of offbeat simulation games, mods, and ignoring storylines in RPGs so he can make up his own.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.