Whether you’re a new Viking looking to bypass a difficult boss or a builder wanting perfect terrain control, Valheim console commands offer deep in-game customization and testing power. This guide covers everything from enabling cheats and developer tools on PC to limitations on Valheim Xbox console commands, giving you full control over your gameplay experience in 2025.
We’ll also walk through item spawning, creative mode, and the best commands to save time and enhance creativity.

What Are Console Commands in Valheim?
Valheim commands are developer-backed cheats or admin tools accessed via the in-game console. These commands allow players to:
- Spawn items and creatures
- Fly, teleport, or enter creative mode
- Modify weather and time
- Instantly build structures
They are especially useful for server hosts, solo world editors, or YouTubers looking to script scenes.
How to Enable Console Commands in Valheim (PC)
Console access is disabled by default. To activate it:
Step-by-Step:
- Right-click Valheim in Steam Library
- Go to Properties > Launch Options
- Add: -console
- Launch the game
- Press F5 to open the console in-game
Once the console is open, type devcommands to enable cheat mode. You’ll see the confirmation message: “Cheats: True”
To disable again, type devcommands a second time.
Valheim Dev Commands Overview
Once cheats are enabled, a wide set of developer tools become available.
Commonly Used Dev Commands
Command | Function |
god | Toggles invincibility |
fly | Enables flying (press Shift + Space) |
nocost | Build without resource cost |
freefly | Free camera mode for screenshots |
heal | Fully restores health |
event | Triggers specific world events |
debugmode | Enables advanced creative tools |
Toggle these tools as needed for exploration or content creation.
Valheim Console Commands Spawn Items Guide
Item spawning is one of the most powerful tools for both creative play and troubleshooting bugs.
Syntax:
spawn [itemName] [quantity] [level]
Examples:
- spawn Iron 100 → Spawns 100 Iron
- spawn Troll 1 3 → Spawns a level 3 Troll
- spawn PickaxeAntler 1 → Spawns the Antler Pickaxe
Item Name Tips:
- Use lowercase, no spaces
- Weapons: SwordSilver, AxeBlackMetal, BowDraugrFang
- Armor: HelmetPadded, ArmorPaddedChest, LegsPadded
- Boss trophies: EikthyrTrophy, BonemassTrophy
For complete lists, use community sites like Fandom or Thunderstore mods.
How to Use Console Commands in Valheim (PC vs Xbox)
PC Version:
- Full access via F5 console
- All commands available with devcommands
- Compatible with mods like Valheim Plus
Xbox Version:
Unfortunately, Valheim Xbox console commands are not officially supported.
Why No Console on Xbox?
- Platform restrictions
- Lack of keyboard input support
- No access to developer/debug tools
However, players on Xbox can still:
- Use creative seeds or community-shared worlds
- Benefit from crossplay with PC users running modded servers
Workaround:
- Join a PC-hosted server where the admin uses commands
- Xbox players benefit from terrain, items, or events triggered by the host
Creative Mode and Debug Mode: What’s the Difference?
Both modes let players test builds, explore freely, or bypass game limitations.
Debug Mode Activation:
- Open console with F5
- Type: debugmode
- Press Z to fly, K to kill all enemies, and B to toggle no-cost building
What You Can Do
- Build entire cities in minutes
- Test terrain with flatten and raise tools
- Instantly skip progression bottlenecks
Ideal for streamers, world editors, or creative sandbox play.
ExitLag for Dev Sessions and Multiplayer Stability
While using cheats offline won’t affect performance, multiplayer modded servers or devcommand sessions can desync or lag—especially during heavy spawning or rapid movement.
How ExitLag Helps
- Keeps latency low during fly/debug sessions
- Prevents rubberbanding from spawn commands
- Improves stability for command-triggered world events
Whether hosting a modded world or testing builds in multiplayer, ExitLag makes sure every command runs clean.
Start your Exitlag 3 days Trial!

Complete Item Spawn List: Weapons, Armor, Tools, and Materials
One of the most-used features of Valheim dev commands is spawning items. Here’s a categorized quick-access list of the most essential item IDs.
Weapon Spawns
- SwordIron
- SwordSilver
- AxeBlackMetal
- BowDraugrFang
- AtgeirBlackmetal
- StaffFireball (Mistlands)
Armor Spawns
- HelmetPadded
- ArmorPaddedChest
- LegsPadded
- CapeLox
- HelmetCarapace (Mistlands)
- ArmorMageChest (Magic build)
Tool Spawns
- PickaxeAntler
- PickaxeIron
- FishingRod
- Hoe
- Hammer
Food Spawns
- CookedLoxMeat
- SerpentStew
- BloodPudding
- MushroomOmelet
- FishWraps
Resource Spawns
- Iron, Silver, BlackMetal
- Wood, FineWood, YggdrasilWood
- Eitr, RefinedEitr, Sap
- LeatherScraps, WolfPelt, LinenThread
Use the command:
spawn [itemName] [quantity] [level]
Example: spawn SwordSilver 1
Weather and Time Control: Crafting the Perfect Scene
The ability to change weather and time is especially useful for filming, roleplay, or testing how environments react under stress.
Weather Commands
weather [type]
Weather Types:
- Clear
- LightRain
- ThunderStorm
- Snow
- SnowStorm
- Mist
Time Control
timeofday [0–1]`
- 0 = midnight
- 0.5 = noon
Freeze Time
tod_freeze`
Freezes the day/night cycle, perfect for long builds or filming.
Teleportation & Biome Shortcuts
You don’t have to sail everywhere—teleport like Odin himself.
Teleport Anywhere
pos
teleport [x z]`
Use pos to get your coordinates, then teleport across the map.
Biome-Specific Shortcuts
- Use debugmode to fly into:
- Mistlands
- Mountains
- Swamps
- Combine with god for hazard-free exploration
Perfect for scouting base locations or biome-specific resources.
Enemy and Boss Spawning
Spawn bosses to test gear, film PvP content, or create custom dungeons.
Boss Spawning Commands
spawn Eikthyr 1
spawn TheElder 1
spawn Bonemass 1
spawn Moder 1
spawn Yagluth 1
spawn Queen 1
Enemy Spawning
- Greydwarf, GreydwarfShaman
- Skeleton, Draugr, Blob
- Wolf, Deathsquito, Seeker
You can also specify level:
spawn Troll 1 3
(Spawns 1 level 3 Troll)
Caution: Use open areas for large bosses to prevent map glitches.
Creative and Building Commands
Build entire Viking settlements in moments using these.
Snap-Free Building
- nocost — Build without needing resources
- debugmode + B — Infinite building mode
Fast Terrain Tools
- terrainreset — Flattens bugged areas
- place [item] [x y z] — Precise object placement (advanced)
World Save and Reset
- save — Manually save the world
- resetmap — Erase map discovery (use with caution)
ExitLag: Dev-Friendly Network Optimization
Running servers, spawning mobs, and using dev tools in multiplayer puts strain on both client and host. ExitLag keeps everything stable.
Best Uses with Console Commands
- Prevents latency spikes when spawning dozens of enemies
- Improves cross-region teleportation responsiveness
- Keeps time-of-day and weather sync consistent between clients
Ideal for modded server testing or devcommand-enabled realms.
Frequently Asked Questions (FAQ)
What’s the best command for testing new updates?
Use debugmode with teleport and item spawn commands.
Can I spawn portal materials and fast travel instantly?
Yes. Spawn GreydwarfEye, FineWood, and SurtlingCore to build a portal set.
How do I stop time for building scenes?
Use tod_freeze to lock time at your preferred hour.
Can I spawn every boss at once?
Technically, yes—but your game may crash. Stick to 1–2 at a time.
Do commands work on multiplayer servers?
Only if the server has devcommands enabled and you have admin access.
Final Thoughts
Mastering Valheim console commands unlocks limitless creativity, utility, and speed. From spawning perfect gear to sculpting cinematic landscapes, these tools are a dream for builders, server admins, and YouTubers alike.
Just remember—power comes with responsibility. Use commands thoughtfully, and let ExitLag ensure your sessions run as smoothly as a Viking longship on calm waters.
Raise your hammer, bend time and space, and shape Valheim into your own Norse legend.
All game images used in this blog belong to Iron Gate AB and Coffee Stain Publishing. They are used for informational/educational purposes only and do not imply endorsement or affiliation with the rights holders.