
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.
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.
- Navigate to the game's installation folder. Typically, it's C:\XboxGames\Valheim\Content
- In that folder, find Valheim.exe
- Right-click Valheim.exe and select Create shortcut
- Drag the shortcut to your desktop or preferred location
- Right-click the shortcut and select Properties
- In the Shortcut tab, add -console to the end of the Target field
- Click Apply, then click OK
- Launch the game from the shortcut

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:
- Right-click Valheim in your Steam library
- Select Properties
- In the General tab, look for the Launch Options field
- In it, type -console
- Close the General tab
Valheim cheats and console commands for singleplayer

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.
Valheim cheats: Debug/creative mode commands

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
Valheim cheats for Mistlands

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

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

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.
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