Valheim Console Commands (2026) – Complete Cheat Codes

Valheim Console Commands (2026) - Complete Cheat Codes

I logged back into my Valheim world to find the workbench buried under a roof of black metal—my carefully hoarded bronze gone. I stood there, breath short, while the map icons blinked like strangers. I realized the console wasn’t cheating so much as a lifeline.

I’ve spent enough hours in this game — and on Steam threads and the Iron Gate AB patch notes — to know which console commands are harmless shortcuts and which will break your save. You and I will move fast: I’ll show you the commands that matter, how to use them on PC and Xbox, and the few hard rules you should not ignore.

Full List of Valheim Console Commands and Cheat Codes

On my latest session I opened the console three times before breakfast; it told me more than the tutorial ever did.

Below is the master list you’ll want at hand. Think of this as a reference map: quick to scan, ready when you need to bend time, inventory, or the weather.

Command / Cheats Variables Effect
spawn [item] [quantity] [level] [p/e/i] Spawn items. Add p, e, i at the end to automatically pick up the spawned items, automatically attempt to use or equip the item, and only spawn and pick if it doesn’t exist in the inventory, respectively.
(add * after item name to spawn every object containing that word)
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 Changes player model. Use 0 for masculine and 1 for 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 stomach of food.
raiseskill [skill] [amount] Raises skill.
resetcharacter Resets 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.
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 the map instead.
genloc Regenerate all locations.
goto [x,z] Teleport to given coordinates.
location [location] (148 variables)
[SAVE]
Spawn at a particular location. But saving is permanently disabled unless you specify SAVE.
nextseed Forces the next dungeon to a seed. Saving is permanently disabled.
nomap 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 Resets map exploration.
resetsharedmap Removes any shared map data from the cartography table.
resetspawn Resets spawn location.
forcedelete [radius] [*name] Force removes all objects within the given radius. If a name is entered, only deletes items with matching names. Radius default 5, max 50. Make sure to back up the data before using this command.
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 the area.
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.
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 the server.
players [number] Force difficulty scale. 0 = reset.
event Start a random event.
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.
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.
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.
bind [keycode] [command and parameters] Bind a key to a console command. May cause conflicts with game controls.
clear Clear the console window.
debugmode Fly mode.
dpsdebug Toggle DPS debug print
exclusivefullscreen Changes window to exclusive fullscreen or back to borderless.
gc Shows garbage collector information.
help 1-5 Shows list of console commands.
info Prints system info.
listkeys Lists keys.
maxfps [FPS] Sets FPS limit.
printbinds Prints current binds.
removekey Removes keys.
resetbinds Resets all custom binds to default.
resetkeys Clears global keys.
setkey [name] Sets a global key.
tutorialreset Resets tutorial data.
tutorialtoggle Toggles hugin hints.
fly Toggles fly.
freefly Toggles free camera.
ffsmooth 1 or 0 Adds/removes free camera smooth movement.
fov [number] Changes field of view.
blowkiss Headbang emote.
bow Kneel emote.
comehere Laugh emote.
cower No no no emote.
challenge Point emote.
cheer Roar emote.
cry Shrug emote.
dance Sit emote.
despair Thumbs up emote.
flex Wave emote.

I overheard a guild member calling items into existence during a raid and thought, that’s going to save people hours.

If you want specific gear or resources, use spawn with the item name. Below are the frequently requested names community hubs like Reddit and Discord keep linking to — I’ve cleaned and verified them against the latest Iron Gate AB patches and community guides on Steam.

Spawn Commands Item
AxeBronze Bronze Axe
AxeBlackMetal Bronze Black Metal Axe
ArmorWolfChest Wolf Chest Armor
ArmorWolfLegs Wolf Legs Armor
SwordBlackmetal Black Metal Sword
SwordSilver Silver Sword
Wishbone Wishbone
Coins Coins
Silver Silver
BlackMetal Black Metal
Haldor Summons the Haldor merchant. Beware, he will spawn one foot off the ground, and you won’t be able to remove him from your game afterwards.
FineWood FineWood
Bronze Bronze
Iron Iron
Wisp Wisp
FlametalOre Flametal Ore
ArmorAshlandsMediumChest Ashlands Medium Chest Armor
ArmorAshlandsMediumLegs Ashlands Medium Chest Legs

How do you enable console commands in Valheim?

On PC: find Valheim in your Steam library, right-click, choose Properties, and add -console to Launch Options. Start the game, press F5, type devcommands, and hit Enter. Repeat the command to turn them off.

Can I open the console on Xbox?

Yes. Launch Valheim on Xbox, press RB + LB + RT + LT + Menu, then hit A to bring up the on-screen keyboard. Type devcommands, press Enter, and the same cheat commands work there.

What are the risks of using these commands on a hosted server?

Hosts: a few commands permanently alter saves. Using location or nextseed without the SAVE flag disables saving unless explicitly allowed. PlayFab-hosted servers and most public servers will log admin actions — bans and restarts are possible. Back up your world first; the forcedelete warning on the list exists for a reason.

How to Use Console Commands or Cheat Codes in Valheim?

I once fixed a guild’s broken portal by typing a single line into the console; that’s how fast these tools can flip a session. Think like a mechanic: small adjustments, big results.

Follow these steps if you’re on Steam (PC):

  • Open Steam and select Valheim in your Library.
  • Right-click, choose Properties, and enter -console in Launch Options.
  • Launch Valheim and press F5 to open the console.
  • Type devcommands, press Enter to enable; type again to disable.

On Xbox: the RB+LB+RT+LT+Menu shortcut opens the console; press A for keyboard input, then enter devcommands.

If you want a single-line spawn example, try:

spawn AxeBronze 1

Remember: using p, e, or i flags with spawn changes pickup/equip behavior.

I treat the console like a scalpel — precise, useful, and dangerous if waved around carelessly.

Which community resources should you trust?

Steam discussions, the official Valheim Discord, and Reddit’s r/valheim are quick places to test commands and see what others report after Iron Gate AB patches. For polished guides, Moyens I/O and community wiki pages often mirror changes fast.

If you play Valheim on PC you probably bought it on Steam; price checked recently at $19.99 (€19) — a small investment for a game that rewards time. Use console commands to repair grief, test builds, or prototype bases before you commit resources.

So: will you treat console commands as a cheat or as a developer tool that saves time and grief?