Valheim Console Commands: All Cheat Codes (2026)

Valheim can be a hard game to play. The grind is particularly hard in Valheim, which is why players are often looking to cheat. Whether it is an item you need or a place you have to fast travel to, you can do so instantly using Valheim console commands or cheat codes. Here is how you can use console commands or cheat codes in the game, along with all the codes.

Full List of Valheim Console Commands and Cheat Codes

Here is the list of Valheim console commands and cheat codes. If you don’t know how to enable them, then check the section below. Other than that, if you play Subnautica 2, then check our Subnautica 2 console commands guide as well.

Command / CheatsVariablesEffect
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)
addstatus54 variables possible, including:
Burning, Cold, CorpseRun, Encumbered, Freezing, Rested
Adds status effect.
beard1-16Change beard.
clearstatusClear all status effects.
dieKills player.
ghostBecome invisible to mobs.
godInvincible mode.
hair1-23Change hair.
healHeal to full health and stamina.
model0-1Changes player model. Use 0 for masculine and 1 for feminine.
nocostNo build cost.
nomapDisables map for this character. If used as host, will disable for all joining players from now on.
pukeEmpties stomach of food.
raiseskill[skill] [amount]Raises skill.
resetcharacterResets character data.
resetskill[skill]Resets your skill.
setpowerGP_Eikthyr
GP_TheElder
GP_Bonemass
GP_Moder
GP_Yagluth
GP_Queen
GP_Fader
Sets your current guardian power and resets cooldown.
exploremapExplore 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.
genlocRegenerate 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.
nextseedForces the next dungeon to a seed. Saving is permanently disabled.
nomapDisables map for this character. If used as host, will disable for all joining players from now on.
optterrainOptimize old terrain modifications.
posPrint current player position.
printlocationsShows counts of loaded locations.
printseedsPrint seeds of loaded dungeons.
recall[name]Recalls all players to you, or matching name if specified.
resetmapResets map exploration.
resetsharedmapRemoves any shared map data from the cartography table.
resetspawnResets 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.
removedropsRemove all item drops in the area.
aggravateAggravate all nearby neutrals.
killallKill nearby creatures.
killenemiesKill nearby enemies.
killtameKill nearby, tame creatures.
printcreaturesShows counts and levels of active creatures.
removebirdsRemove all birds
removefishRemove all fish.
tameTame all nearby tameable creatures.
envClear
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).
eventarmy_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.
noportalsDisables portals for the server.
players[number]Force difficulty scale. 0 = reset.
eventStart a random event.
resetenvDisables environment override.
resetwindResets wind.
saveForce saving of world and reset world save interval.
skiptime[gameseconds]Skips ahead in seconds.
sleepSkips to next morning.
stopeventStops current event.
timeShows current time in-game.
timescale[target]
[fadetime, default:1, max:3]
Sets timescale.
tod-1, 0, 1Sets time of day.
ban[name/ip/userID]Ban user.
bannedList banned users.
kick[name/ip/userID]Kick user.
pingShow ping.
restartpartyRestart PlayFab party network.
unban[ip/userID]Unban user.
lodbiasSet draw distance for server.
bind[keycode] [command and parameters]Bind a key to a console command. May cause conflicts with game controls.
clearClear the console window.
debugmodeFly mode.
dpsdebugToggle DPS debug print
exclusivefullscreenChanges window to exclusive fullscreen or back to borderless.
gcShows garbage collector information.
help1-5Shows list of console commands.
infoPrints system info.
listkeysLists keys.
maxfps[FPS]Sets FPS limit.
printbindsPrints current binds.
removekeyRemoves keys.
resetbindsResets all custom binds to default.
resetkeysClears global keys.
setkey[name]Sets a global key.
tutorialresetResets tutorial data.
tutorialtoggleToggles hugin hints.
flyToggles fly.
freeflyToggles free camera.
ffsmooth1 or 0Adds/removes free camera smooth movement.
fov[number]Changes field of view.
blowkissHeadbang emote.
bowKneel emote.
comehereLaugh emote.
cowerNo no no emote.
challengePoint emote.
cheerRoar emote.
cryShrug emote.
danceSit emote.
despairThumbs up emote.
flexWave emote.

If you are looking for spawn commands in Valheim, then here are some popular spawn commands in the game. Make sure to use the ‘Spawn’ console command before it with other variables to spawn them in the game.

Spawn CommandsItem
AxeBronzeBronze Axe
AxeBlackMetalBronze Black Metal Axe
ArmorWolfChestWolf Chest Armor
ArmorWolfLegsWolf Legs Armor
SwordBlackmetalBlack Metal Sword
SwordSilverSilver Sword
WishboneWishbone
CoinsCoins
SilverSilver
BlackMetalBlack Metal
HaldorSummons 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.
FineWoodFineWood
BronzeBronze
IronIron
WispWisp
FlametalOreFlametal Ore
ArmorAshlandsMediumChestAshlands Medium Chest Armor
ArmorAshlandsMediumLegsAshlands Medium Chest Legs

How to Use Console Commands or Cheat Codes in Valheim?

To use Valheim console commands or cheat codes, here is what you need to do:

  • Open Steam and find Valheim in your Library.
  • Right-click on it and select Properties.
  • In the General section, type ‘-console‘ in the Launch Options box.
  • Open Valheim and press the F5 key on your keyboard to open the console.
  • Type ‘devcommands’ in the console and press Enter. Enter the same command again to stop using the console codes.
Valheim console
Image Credit: Iron Gate AB (screenshot by Sanmay/ Beebom)

If you want to open the console on your Xbox, all you have to do is launch the game and press the RB + LB + RT + LT + Menu buttons. Press A after the console opens on Xbox to open the keyboard. Now, enter the devcommands codes, and then you can use the cheat codes in Valheim for Xbox consoles.

So, there you have it. Now you know how to use Valheim console commands or cheat codes. Have any questions? Ask them in the comment section below.

#Tags
Comments 0
Leave a Reply

Loading comments...