This page details everything you need to know about Valheim cheat codes and console commands, including how to enable cheats, how to spawn any item and monster in the game, how to enter debug mode, and a complete list of all cheats and codes the game has to offer.

Note: This guide has been updated for 1.0!

Console Commands and Cheat Codes

Whether you’re looking to respawn some hard-earned items that you lost to the bottom of the ocean or are simply after something a little more relaxing like creative mode, use the index below to find out how to bend the world of Valheim to your will.

How to Use Cheats and Console Commands in Valheim

To start using cheats and other general console commands in Valheim, you will need to enter ‘-console’ (minus apostrophes) into the game’s command line. To do this on Steam, before launching Valheim, right click on the game, select Properties, and in the General tab, locate the Launch Options section and enter the text. Exit the window and launch the game.

Valheim properties steam.jpg

Next, while in game, press F5 in order to bring up the console command box.

P8lWw2rH1g.jpg

Before you can continue delving into the world of cheats, you will need to ensure that cheats are activated by typing “devcommands”. However, it is worth noting that cheats can only be used in singleplayer and will not work on multiplayer servers.

In order to turn cheats off, simply retype “devcommands” into the console command box and watch as cheats are turned to false.

How to Use Cheats and Console Commands on Valheim Xbox

Without a keyboard at hand, using cheats and console commands in Valheim can be a bit tricky. However, you can use Cheats and Console Commands while playing Valheim on Xbox.

To open the console commands on Xbox, hold down your Right Bumper, Left Bumper, Right Trigger, and Left Trigger buttons all at the same time. Then press the Xbox “menu” button (the icon with three horizontal lines).

RB + LB + RT + LT + menu button

Once you have the console commands open in Valheim for Xbox, press A to bring up your Xbox keyboard.

To start using cheats and console commands in Valheim, you will need to type “devcommands”. With this enabled, you can start using cheats and console commands for Valheim on Xbox! To stop using cheats, type “devcommands” into the console command box a second time. To close the console command box, press RB + LB + RT + LT + menu button a second time.

How to Hide Valheim UI

To hide the UI in Valheim – useful for screenshots – press CTRL + F3.

How to Spawn Any Item and Monster

WARNING: Please use the Spawn Item cheat at your own risk, as cheating can not only ruin your in-game experience but the items and quantity that use spawn into your world could potentially cause bugs, glitches, and possibly even break your world.

In order to spawn items through the console command cheat, you will need to first enable cheats by typing “devcommands”. Once you have successfully enabled cheats, you will need to use the following code to spawn any item that you specify:

spawn [item] [quantity] [level] [p/e/i]

For example, the below code spawns in 50 Wood.

Add an asterisk (*) after the item name to spawn every object containing that word. This includes furniture and non-equippable objects, too.

The letters p/e/i can be added to the end of the command for the following effects:

p – automatically attempt to pick up the spawned itemse – automatically attempt to use/equip the spawned itemsi – will only spawn and pickup if you don’t have one in your inventory.All Valheim Spawn Commands

As you may imagine, there are hundreds of spawnable items in Valheim.

Some popular weapon spawn codes include:

AxeEarlyAxeBlackMetalTHSwordGold_BloodLightningSledgeGold_FrostFireBowGold_BloodLightningFistBjornClaw

Some popular armour spawn codes include:

ArmorWolfChestArmorWolfLegsCapeWolfHelmetBerserkerHoodArmorBerserkerLegsArmorBerserkerChestTrinketBronzeStaminaHelmetCrownofValheimHelmetDNMageArmorDeepNorthMageChestCapeDeepNorthMageArmorDeepNorthLegs

Some popular item spawn codes include:

WishboneCoinsSilverBlackMetalHaldorWARNING: Haldor the Merchant will spawn approximately one foot off the ground and cannot be removed from your game afterwards.Upgrader[x]Weapon (x = 0-6)Upgrader[x]Armor (x = 0-7)BloodPuddinggrapplinghook

For a more complete collection of all spawnable items, use Valheim.tools to find your item of choice, click it to go to its individual page, then look for the Item ID on that page.

We also have an ItemsList page to find a detailed description, crafting recipe, and spawn code for every item that’s available in Valheim.

How to Enter Creative Mode (Debug Mode) in Valheim

Alternatively, if you’re looking for something that’s more along the lines of Minecraft’s Creative Mode, consider trying the “debugmode” command as this will enter the closest thing the game has to a Creative Mode. While in Debug Mode, you can press the following keys to enable the likes of Flying, Unlimited Items, and much more.

Z – Pressing Z while in Creative Mode will allow you to enter Flying ModeK – Pressing K while in Creative Mode kills all enemies in the area.B – Pressing B while in Creative Mode will allow you to repair any items without a Workbench, along with free placements of any items.All Valheim Cheats and Console Commands

Listed below are all of the current console commands and cheats that you can enable while playing Valheim.

To see the list of console commands in-game, type help. There are five pages of commands, so if you wish to navigate through them all, add the page number after help (e.g. help 1), or use the PgUp/PgDn keys.

All Valheim Cheat CodesCharacterCommand
Variables
Effect
addstatus
54 variables possible, including:
Burning, Cold, CorpseRun, Encumbered, Freezing, Rested
Adds status effect
beard
1-16
Change beard
clearstatus
Clear all status effects
die
Kills player
ghost
Become invisible to mobs
god
Invincible mode
hair
1-23
Change hair
heal
Heal to full health and stamina
model
0-1
Change player model (0 masculine, 1 feminine)
nocost
No build cost
nomap
Disables map for this character. If used as host, will disable for all joining players from now on.
puke
Empties your stomach of food
raiseskill
[skill] [amount]
Raises your skill
resetcharacter
Reset character data
resetskill
[skill]
Resets your skill
setpower
GP_Eikthyr
GP_TheElder
GP_Bonemass
GP_Moder
GP_Yagluth
GP_Queen
GP_Fader
Sets your current guardian power and resets cooldown
MapCommand
Variables
Effect
altbioms
List of biomes with modifiers
biomeinfo
Info about current biome sector
exploremap
Explore entire map
find
[text] [pingmax]
Searches loaded objects and location list matching name and pings them on the map. Pingmax defaults to 1, if more will place pins on map instead
findbiome
Marks center of all biomes on map of type or containing modifier with search string
findbiometp
Finds the closest biome matching your search and teleports you to it
genloc
Regenerate all locations
goto
[x,z]
Teleport to given coordinates
haslocation
Check if zone has location
height
Prints height from world gen using current position
location

[location] (148 variables)
[SAVE]
Spawn a particular location – Warning: Saving permanently disabled, unless you specify SAVEnextseed
Forces the next dungeon to a seed – Warning: Saving permanently disablednomap
Disables map for this character. If used as host, will disable for all joining players from now on
optterrain
Optimize old terrain modifications
pos
Print current player position
printlocations
Shows counts of loaded locations
printseeds
Print seeds of loaded dungeons
recall
[name]
Recalls all players to you, or matching name if specified
resetmap
Reset map exploration
resetsharedmap
Removes any shared map data from cartography table
resetspawn
Resets spawn location
ItemsCommand
Variables
Effect
forcedelete
[radius] [*name]
Force remove all objects within given radius. If name is entered, only deletes items with matching names. Radius default 5, max 50. Use at your own risk, create backups firstinventorysize
Sets inventory size
inventoryclean
Throws out any items in inventory on invalid positions
itemset
[name] [keep]
Meadows
BlackForest
Swamps
Mountains
Plains
PlainsBoss
Mistlands
MistlandsGear
MistlandsMage
MistlandsWarrior
Fisherman
Ashlands
AshlandsFood
AshlandsMage
AshlandsMedium
AshlandsWarrior
AshlandsWeapons
Spawn a premade named set, add ‘keep’ to not drop current items
removedrops
Remove all item drops in area
repairall
Repairs all equipment
spawn
[amount] [level] [p/e/i]
Spawn something. End word with a star * to create each object containing that word. Add a ‘p’ after to try to pick up the spawned items, ‘e’ to try to use/equip, ‘i’ to only spawn and pickup if you don’t have one in your inventory
MobsCommand
Effect
aggravate
Aggravate all nearby neutrals
killall
Kill nearby creatures
killenemies
Kill nearby enemies
killtame
Kill nearby tame creatures
printcreatures
Shows counts and levels of active creatures
removebirds
Remove all birds
removefish
Remove all fish
tame
Tame all nearby tameable creatures
WorldCommand
Variables
Effect
env
Clear
Twilight_Clear
Twilight_Snowstorm
Misty DeepForest
Darklands_dark
Heath clear
DeepForest
Mist
GDKing
Rain
LightRain
ThunderStorm
SnowStorm
SwampRain
AshRain
Bonemass
Eikthyr
Moder
Queen
GoblinKing
Crypt
SunkenCrypt
Caves
Mistlands_clear
Mistlands_rain
Mistlands_thunder
InfectedMine
nofogts
Ashlands_Ashrain
Ashlands_Ashrain_Clear
Ashlands_Storm
Ashlands_Meteorshower
Ashlands_Cinderrain
Ashlands_Misty
Ashlands_Seastorm
Override environment (weather).
event
army_eikthyr
army_goblin
army_theelder
army_bonemass
army_moder
army_gjall
army_seekers
army_charred
army_charredspawners
boss_eikthyr
boss_bonemass
boss_moder
boss_gdking
boss_goblinking
boss_queen
boss_fader
wolves
skeletons
blobs
foresttrolls
surtlings
bats
Start event
noportals
Disables portals for server
pevents
list/start/stop/here
Provides details about persistent events or stops/starts them
players
[number]
Force difficulty scale. 0 = reset
event
Start a random event
resetbuildui
Reset build UI save data
resetenv
Disables environment override
resetwind
Resets wind
save
Force saving of world and reset world save interval
skiptime
[gameseconds]
Skips ahead in seconds
sleep
Skips to next morning
snow
[amount]
Adds/removes amount of snowbuild on all nearby buildpieces
stopevent
Stops current event
time
Shows current time in-game
timescale
[target]
[fadetime, default:1, max:3]
Sets timescale
tod
-1, 0, 1
Sets time of day
Server AdminCommand
Variables
Effect
ban
[name/ip/userID]
Ban user
banned
List banned users
kick
[name/ip/userID]
Kick user
ping
Show ping
restartparty
Restart playfab party network
unban
[ip/userID]
Unban user
lodbias
Set draw distance for server
MiscCommand
Variables
Effect
achievements
Details your stats and progression.
bind
[keycode] [command and parameters]
Bind a key to a console command. May cause conflicts with game controls.
cinematic
[name]
Play cinematic
cinematicsleep
[name]
Play cinematic on next sleep for everyone
clear
Clear the console window.
clearpopups
Stops all current unlock UI messages
confirmcheats
Confirms if cheats are blocking achievement progress.
debugmode
Fly mode.
dpsdebug
Toggle dps debug print
exclusivefullscreen
Changes window to exclusive fullscreen or back to borderless
gc
Shows garbage collector information
getstat
Get specific stat.
help
1-5
Shows list of console commands
info
Print system info
listkeys
maxfps
[FPS]
Sets FPS limit
printbinds
Prints current binds
removekey
resetbinds
Reset all custom binds to default
resetkeys
Clear global keys
setkey
[name]
Sets global key
tutorialreset
Reset tutorial data
tutorialtoggle
Toggles hugin hints
updatecover
Force update cover refresh
yesiuseddevcommandsbutiwantmyachievementsanyway
1 = true 0 = false
Normally cheated items/pieces don’t trigger achievements. Turn this on to disable cheat checks.
CameraCommand
Variables
Effect
fly
Toggles fly
freefly
Toggles free camera
ffsmooth
1 or 0
Adds/removes free camera smooth movement
fov
[number]
Changes field of view
All Valheim EmotesEmotesblowkiss
headbang
bow
kneel
comehere
laugh
cower
nonono
challenge
point
cheer
roar
cry
shrug
dance
sit
despair
thumbsup
flex
wave
Emotes can also be activated in chat by adding / before the emote name.

Share.

Comments are closed.