Skip to content
Survival & Sandbox

Valheim Console Commands & Cheats — Full List (2026)

7 min read Updated 10 August 2026 ESAGAMES Team

Valheim console commands cover both single-player cheats (god, fly, spawn) and dedicated-server admin (kick, ban, save). Here's how to enable the console and the full list that matters, with syntax. Cheats need devcommands and only work where you're allowed to use them.

Enable the console & cheats

Launch Valheim with -console as a Steam launch option, then press F5 in-game to open the console. Type devcommands to enable cheat commands. Cheats work in single-player and on servers where you have permission; the admin commands below work for server admins listed in adminlist.txt.

Cheats (after devcommands)

CommandWhat it does
godToggle god mode (no damage).
flyToggle flight (needs god/dev on).
ghostEnemies ignore you.
healRestore health.
killallKill all nearby enemies.
tameTame nearby tameable creatures.

Spawning & world

CommandWhat it does
spawn <item> <qty> <level>Spawn items or creatures (e.g. spawn Wood 50).
posShow your coordinates.
goto <x,z>Teleport to coordinates.
tod <0-1>Set time of day (0.5 = noon, -1 to resume).
skiptime <seconds>Skip ahead in time.
removedropsClear dropped items in the area.

Dedicated server admin

CommandWhat it does
kick <name/ip/id>Kick a player.
ban <name/ip/id>Ban a player.
unban <name/ip/id>Remove a ban.
bannedList banned players.
saveForce-save the world now.
players <n>Set the difficulty scaling as if n players.
Admins go in adminlist.txt

Server admin commands (kick/ban/save) only work for players whose SteamID64 is in adminlist.txt in the save directory — one per line, then restart. Cheat commands additionally need devcommands enabled and permission on the server.

Related Valheim guides

Setting a server up? See how to make a Valheim server and shape it with our best Valheim server settings. If it won't appear, see fixing Valheim not showing.

Valheim hosting with easy admin

Our Valheim hosting is crossplay-ready with admin and the settings handled in a panel — manage your world the easy way.

Valheim hosting
FAQ

Frequently asked questions

How do I enable console commands in Valheim?

Add -console as a Steam launch option (right-click Valheim → Properties → Launch Options), then press F5 in-game to open the console. Type devcommands to turn on cheat commands.

How do I turn on cheats in Valheim?

With the console open (F5), type devcommands. That enables cheat commands like god, fly and spawn. It works in single-player and on servers where you have permission.

How do I spawn items in Valheim?

With devcommands on, use spawn — for example spawn Wood 50 or spawn Coins 999. The item name must match the game's internal name.

How do I make myself admin on a Valheim server?

Add your SteamID64 to adminlist.txt in the save directory, one per line, then restart. That grants the server admin commands like kick, ban and save.

How do I kick or ban a player on a Valheim server?

As a server admin, use kick or ban from the console. unban removes a ban and banned lists current bans. Your SteamID must be in adminlist.txt.

Why don't my Valheim cheat commands work?

Either the console isn't enabled (add -console and press F5), or you haven't run devcommands, or you're on a server without cheat permission. Enable the console, type devcommands, and make sure you're allowed to cheat there.

Further reading

Go deeper on this

Guides and explainers that pair with this fix — from our guides and blog.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney