Get all your news in one place.
100’s of premium titles.
One app.
Start reading
PC Gamer
PC Gamer
Christopher Livingston

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

Valheim viking sitting on a black iron throne with a sword and wolf pelt.

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.

  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

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.

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

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

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

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

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

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
  • CTRL+F3 - Hide HUD elements

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 Call to Arms

(Image credit: Iron Gate Studios)

Valheim Call to Arms console commands

The Call to Arms update added Trinkets to Valheim, giving you one more way to gear up before charging into danger. There's a little extra danger too, as Valheim introduced bears and their horrific, undead counterparts, the Vile. Type spawn [item] [number] in the console to use the Call to Arms item IDs.

Call to Arms armor

spawn [item] [number]

ArmorBerserkerChest

ArmorBerserkerUndeadLegs

ArmorBerserkerLegs

ArmorBerserkerUndeadChest

HelmetBerserkerHood

HelmetBerserkerUndead

Call to Arms trinkets

spawn [item] [number]

TrinketBronzeHealth

TrinketBlackDamageHealth

TrinketBronzeStamina

TrinketBlackStamina

TrinketIronHealth

TrinketChitinSwim

TrinketIronStamina

TrinketCarapaceEitr

TrinketSilverDamage

TrinketFlametalStaminaHealth

TrinketSilverResist

TrinketScaleStaminaDamage

Call to Arms materials and trophies

spawn [item] [number]

BlobVial

TrophyGhost

Ectoplasm

TrophyBjorn

BjornPaw

TrophyBjornUndead

BjornHide

UndeadBjornRibcage

BjornMeat

Valheim cheats for Mistlands

(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

spawn [item] [number]

Bilebag

DvergrKeyFragment

sap

blackcore

eitr

ScaleHide

Blackmarble

GiantBloodSack

Softtissue

carapace

Mandible

wisp

yagluthdrop

Yggdrasilwood

Mistlands foods

spawn [item] [number]

cookedegg

MushroomMagecap

MagicallyStuffedShroom

seekeraspic

MeatPlatter

YggdrasilPorridge

MisthareSupreme

Mistlands weapons

spawn [item] [number]

AxeJotunBane

SledgeDemolisher

BoneSpineSnap

SwordMistwalker

Himminafl

THSwordKrom

KnifeSkollAndHati

Mistlands armor

spawn [item] [number]

ArmorCarapaceChest

HelmetCarapace

ArmorCarapace

HelmetMage

ArmorMageChest

ShieldCarapace

ArmorMageLegs

ShieldCarapaceBuckler

CapeFeather

Valheim cheats for Ashlands

(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

spawn [item] [number]

AsksvinCarrionNeck

Blackwood

GemstoneBlue

AsksvinCarrionRibcage

CharredCogwheel

GemstoneGreen

AsksvinCarrionSkull

CharredSkull

GemstoneRed

AsksvinEgg

FlametalOreNew

Grausten

AsksvinMeat

ProustitePowder

MoltenCore

CharcoalResin

SulfurStone

Ashlands weapons

spawn [item] [number]

SwordNiedhoggLightning

BowAshlandsLightning

THSwordSlayerLightning

CrossbowRipperLightning

MaceEldnerLightning

SwordDyrnwyn

AxeBerzerkrLightning

StaffRedTroll

SpearSplitner_Lightning

StaffLightning

DvergerArbalest_shootAshlands

Ashlands armor

spawn [item] [number]

ArmorMageChest_Ashlands

HelmetAshlandsMediumHood

ArmorMageLegs_Ashlands

ArmorAshlandsMediumChest

HelmetMage_Ashlands

ArmorAshlandsMediumlegs

DvergerSuitArbalest_Ashlands

Valheim cheats: Item spawn list

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

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

spawn [item] [number]

BoneFragments

GreydwarfEye

RoundLog

Chitin

Guck

SerpentScale

Coal

HardAntler

Stone

Crystal

LeatherScraps

SurtlingCore

Dandelion

LinenThread

Tar

DeerHide

LoxPelt

Thistle

ElderBark

NeckTail

TrollHide

Feathers

Needle

WitheredBone

FineWood

Obsidian

WolfFang

Flax

Ooze

WolfPelt

Flint

QueenBee

Wood

FreezeGland

Resin

YmirRemains

Food, ingredients, and seeds

spawn [item] [number]

BloodPudding

Mushroom

Blueberries

MushroomBlue

Bread

MushroomYellow

Carrot

NeckTailGrilled

CarrotSoup

QueensJam

Cloudberry

Raspberry

CookedLoxMeat

Sausages

CookedMeat

SerpentMeatCooked

FishCooked

SerpentStew

FishWraps

Turnip

Honey

TurnipStew

LoxPie

Ingredients

spawn [item] [number]

Barley

FishRaw

BarleyFlour

LoxMeat

BarleyWine

RawMeat

Bloodbag

SerpentMeat

Entrails

Seeds

spawn [item] [number]

AncientSeed

TurnipSeeds

BeechSeeds

PineCone

CarrotSeeds

FirCone

Mead and Mead bases

spawn [item] [number]

BarleyWineBase

MeadBasePoisonResist

MeadBaseFrostResist

MeadBaseStaminaMedium

MeadBaseHealthMedium

MeadBaseStaminaMinor

MeadBaseHealthMinor

MeadBaseTasty

Tools

spawn [item] [number]

AxeBlackMetal

FishingRod

PickaxeIron

AxeBronze

FishingBait

PickaxeStone

AxeFlint

Hammer

AxeIron

Hoe

AxeStone

PickaxeAntler

Cultivator

PickaxeBronze

Vehicles

spawn [item] [number]

Cart

Trailership

Karve

VikingShip

Raft

Magic items

spawn [item] [number]

BeltStrength

Wishbone

HelmetDverger

Arrow

spawn [item] [number]

ArrowBronze

ArrowIron

ArrowSilver

ArrowFire

ArrowNeedle

ArrowWood

ArrowFlint

ArrowObsidian

ArrowFrost

ArrowPoison

Weapons

  • 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

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

(Image credit: Iron Gate Studios)

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
Sign up to read this article
Read news from 100’s of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.