Valheim Cheats and Console Commands

List of all Valheim cheats, console commands, and guide to use them.

Valheim Cheats

Valheim is a sandbox game that offers an immersive exploration and building experience. Exploring it is great, no doubt. But let’s be honest for a second: not everyone wants to spend half an evening mining copper or dragging a boat across the ocean while the wind refuses to cooperate. I definitely don’t always have the patience for that.

At some point, I started messing around with Valheim cheats instead. Turns out they’re actually pretty useful. You can switch on god mode, spawn any item, fly over the map, or even teleport. It changes the rhythm of the game a lot. Sometimes that’s exactly what you want.

The fun part is experimenting. Want to build a huge arena? Easy. Need enemies for a quick fight or some weird battle scenario? Spawn them. Suddenly Valheim starts feeling more like a playground than a survival grind.

So, on this page, you will find the full list of Valheim cheats and console commands, as well as how to activate them. 

How to Use Cheats in Valheim?

You need to do several simple steps to activate your game console and start using cheats in  Valheim. So, you need to: 

  1. Activate a console in Steam: right-click Valheim > Properties > General > Launch Options > type “-console"
  2. Start Valheim and enter your world (most of the cheats are available only in single mode)
  3. Click “F5” on your keyboard (or FN + F5 if you play on Mac)
  4. Type “devcommands” and press “Enter” to activate cheats in Valheim
  5. Add any of the code codes below and have fun!

Below I’ve gathered several lists with all the Valheim cheats, divided by groups, from the most useful and popular to the least interesting. 

How to Use Valheim Cheats and Codes on Xbox?

To open the console on Xbox, hold down the Right Bumper, Left Bumper, Right Trigger, and Left Trigger buttons at the same time. After that, press the Xbox "menu" button (RB + LB + RT + LT + menu button).

After you activate the console, press A to get access to the Xbox keyboard and type any of the cheats below.

Valheim Creative Mode Cheat

I know that most of you are for the creative mod cheat from the YouTube videos, which allows your character to fly. It calls debugmode in Valheim.

So, to activate it, type "debugmode" in the console and then, press a key to activate or deactivate any of the powers:

  • Z - Enter Flying Mode
  • K - Kills all enemies in the area
  • B - Allow you to repair any items without a Workbench, and place any item with no cost

By the way, I suggest you use flight with activated "god" mode, from the cheats list below. While you are flying, your hero is not immune to damage, and fall damage may become a problem (perhaps you noticed No Drain Skill on my screenshots above 🤝).

Character Cheats

CheatAdditionalEffect
addstatus54 statuses are available (Burning, Cold, CorpseRun, Encumbered, Rested, etc.)Adds status effect
clearstatusClear all status effects
beard1-16Change beard
hair1-23Change hair
model0 masculine, 1 feminineChange player model
dieKills your character
ghostBecome invisible to mobs
godInvincible mode
nocostNo build cost
pukeEmpties your used food slots
raiseskill[skill] [amount]Raises your skill
resetcharacterReset character data
resetskill[skill]Resets your skill
setpowerGP_Eikthyr / GP_TheElder / GP_Bonemass / GP_Moder / GP_Yagluth / GP_Queen / GP_FaderSets your current guardian power and resets cooldown

Valheim Map and Coordinates Cheats

Cheat Additional Effect
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.
genloc Regenerate all locations
goto [x,z] Teleport to coordinates
location [location] (148 locations) [SAVE] Spawn a location
nextseed Forces the next dungeon to a seed
nomap Disables map
optterrain Optimize old terrain modifications
posShows current player position
printlocationsShows counts of loaded locations
printseedsPrint seeds of loaded dungeons
recall[name]Recalls a player to you
resetmapReset map exploration
resetsharedmapRemoves any shared map data from cartography table
resetspawnResets spawn location

Items Cheats

CheatAdditionalEffect
forcedelete[5-50] [*name]Remove all objects within the radius. If you enter a specific name, the command will delete only it. The Max radius is max 50.
itemsetFull list of available item setsGrants you a set of weapons, a pickaxe, and armor, connected to the location you choose. Type 'keep' to not drop current items.
removedropsRemove all item drops in the area
spawn[item] [quantity] [level]You to spawn any item or creature in the game. The full list of items you may see on Reddit

Mobs Cheats

CheatEffect
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

Camera Mode Chats

CheatAdditionalEffect
flyToggles fly
freeflyToggles free camera
ffsmooth[1 or 0]Adds/removes free camera smooth movement
fov[number]Changes field of view

World Settings and Events Cheats

CheatAdditionalEffect
env[env] List of all environmentsSet an environment
resetenvDisables environment override
eventType of the events on the screenStart event
eventStart a random event
stopeventStops current event
noportalsDisables portals
players[number]Force difficulty scale (0 is reset)
resetwindResets wind
saveSave the world and reset the world save interval
timeShows current time
skiptime[gameseconds]Skips ahead in seconds
sleepSkips time to the next morning
tod[-1, 0, 1]Sets time of day
timescale[target] [fadetime, default:1, max:3]Sets timescale

Valheim Console Commands

CheatAdditionalEffect
ban[name/ip/userID]Ban a user
bannedShows the list of banned users
kick[name/ip/userID]Kick the user from the server
pingShow ping
restartpartyRestart playfab party network
unban[ip/userID]Unban the user
lodbiasSet draw distance for server

Misc Cheats

CheatAdditionalEffect
bind[keycode] [command and parameters]Bind a key to a console command
clearClear the console window.
dpsdebugToggle DPS debug print
exclusivefullscreenChanges window to exclusive fullscreen or back to borderless
gcShows garbage collector information
help1-5Shows a list of console commands
infoShows system info
maxfps[FPS]Sets FPS limit
printbindsPrints active binds
resetbindsReset all custom binds to default
setkey[name]Sets global key
resetkeysClear global keys
tutorialresetReset tutorial data
tutorialtoggleToggles hugin hints

How to Disable Cheats in Valheim

So maybe you’ve been messing around with cheats for a while — flying over mountains, spawning stacks of iron, building giant bases without spending a single piece of wood. Fun for testing things, sure. But after some time it starts to feel… off. Valheim’s survival loop only really works when the rules are back in place.

Turning cheats off isn’t complicated. First open the console again by pressing F5. If developer commands were enabled earlier, just type devcommands.

Press Enter. That’s it — the command basically toggles the system. If cheats were active, they’ll shut off. Try using something like god after that and you’ll notice it doesn’t respond anymore.

Now, if you used debug mode (which most players do for creative-style building), that needs to be switched off too. Same console window, same F5 key. Then type: debugmode.

Hit Enter. Flying, no-cost building, and those instant construction tools disappear right away. Your hammer will start behaving like normal again.

Sometimes players worry that cheats stay hidden somewhere in the world file. They don’t. In most cases, once the commands are turned off, everything goes back to standard survival rules. Still, if you want to be extra sure, just leave the world and load it again. Quick reset. Done.

Conclusion

So, that was all available Valheim cheats and console commands you can use during the game. I've spent really much time testing them and creating all of those lists, so I hope it is useful for you!

Moreover, Valheim is waiting for one more major update, are there will be new cheats and items to spawn. So stay connected!

FAQ

  • How to enable cheats in Valheim?

    To use the cheat codes in Valheim, you need to activate a console in Steam, enter your world in the game, press F5, and type devcommands. You can find more instructions here.

  • How to give other players cheats in Valheim?

    Unfortunatelly, most of the cheats are unable to be used during multiplayer. So, you can't give the opportunity to use cheats for other players. However, as a host, you still can use several cheats.

Interested in some additional guides or help? Check out our Valheim page for more useful tips and guides.

Yaroslav mokliak
Yaroslav Mokliak

CEO | Editor | Content Writer

With over 15 years of playing games and 5 years of writing articles, Yaroslav is a CEO and content creator at HermitGamer. Yaroslav regularly plays video games, creates useful guides, and writes reviews with his opinion on new and old titles. His main goal is to make HermitGamer a platform, where each gamer can find the answers.

Comments

Blue Background