Valheim Console Commands & Cheats — Full List (2026)
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.
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)
| Command | What it does |
|---|---|
god | Toggle god mode (no damage). |
fly | Toggle flight (needs god/dev on). |
ghost | Enemies ignore you. |
heal | Restore health. |
killall | Kill all nearby enemies. |
tame | Tame nearby tameable creatures. |
Spawning & world
| Command | What it does |
|---|---|
spawn <item> <qty> <level> | Spawn items or creatures (e.g. spawn Wood 50). |
pos | Show 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. |
removedrops | Clear dropped items in the area. |
Dedicated server admin
| Command | What it does |
|---|---|
kick <name/ip/id> | Kick a player. |
ban <name/ip/id> | Ban a player. |
unban <name/ip/id> | Remove a ban. |
banned | List banned players. |
save | Force-save the world now. |
players <n> | Set the difficulty scaling as if n players. |
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 is a trademark of Iron Gate AB / Coffee Stain Publishing. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Iron Gate or Coffee Stain.
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.
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
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
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.
Go deeper on this
Guides and explainers that pair with this fix — from our guides and blog.
How to Choose a Game Server Host
CPU, Anti-DDoS, location and panel — the checklist that matters.
ReadGame Server Lag: CPU or Network?
How to tell which one is hurting you, and how to fix each.
ReadGame Server Security Checklist
Passwords, admin access, backups — beyond Anti-DDoS.
ReadBest Games to Host a Server For
The best games to run a server for this year.
ReadRelated articles
ARK Admin Commands — Full List (ASA & ASE, 2026)
Every ARK admin command that matters — enable cheats, god/fly, spawn creatures & items, tame, teleport, control time and manage players. ASA & ASE.
Read fix Survival & SandboxRust Admin & Console Commands — Full List (2026)
Every Rust admin command that matters — grant admin, kick/ban, noclip & teleport, control time and weather, give items and save the server, with syntax.
Read fix Survival & SandboxPalworld Admin Commands — Full List (2026)
Every Palworld admin command — log in with AdminPassword, then show players, kick, ban, teleport, broadcast, save and shut down. Full reference.
Read fix