July 28, 2026

Valheim Console Commands and Cheats (2026 Guide)

This post may contain affiliate links from places like Amazon and Green Man Gaming, and we may earn a small commission when you click these links. All earnings will go to keeping this website as minimally ad-free as possible. 

Valheim Console Commands and Cheats (2026 Guide)

By Ian | July 28, 2026
Valheim gameplay showing a Viking survivor in a misty forest world

Valheim can be a punishing grind, and sometimes you just want to skip the tedium, test a base, or explore without a troll flattening you.

The good news is the console makes all of that trivial. So, whether you want god mode, free flight, or a stack of iron dropped at your feet, here is how to open the Valheim console and the commands worth memorizing in 2026.

How to Enable the Console and Cheats

Turning the console on takes two quick steps.

In your Steam library, right click Valheim, open Properties, and type -console into the Launch Options field. Launch the game, then press F5 to open the console window. By default the console only allows harmless commands, so to unlock the cheats you type devcommands and press Enter. That command replaced the old imacheater, and typing it again switches cheats back off.

One important note: cheats only work in single player or in a world you host yourself, not on a dedicated server. The moment you enable devcommands, a warning appears and achievements are disabled for that session.

The Commands You Will Use Most

With cheats enabled, these are the workhorses:

CommandWhat it does
devcommandsToggle cheats on or off
godTake no damage
ghostEnemies stop noticing you
debugmodeFree build, and press Z to toggle flight
spawn [id] [amount] [level]Spawn any item or creature
healInstantly restore your health
tod [0 to 1]Set the time of day, where 0.5 is noon
raiseskill [skill] [amount]Boost one of your skills
killallKill every enemy nearby

Spawning Items and Creatures

The spawn command is the star of the show. It takes an item or creature ID, an amount, and a level. So spawn SwordIron 1 drops an iron sword at your feet, while spawn Troll 1 3 conjures a two star troll for when you are feeling brave.

IDs are case sensitive and specific, so keep an item ID list handy, since there are hundreds of them across the game.

A Word of Caution

Cheats are a great way to learn systems or rebuild after a rough raid, but they switch off achievements for that session and only function in single player or your own hosted world.

If you are chasing trophies, keep a separate save for messing around, then return to an honest run for the real Viking afterlife.

More Cheats and Codes Guides

  • Skyrim Console Commands & Item Codes: The Full Cheat List

  • November 21, 2026
    Bannerlord Best Infantry Units: Tier List for 2026

    Which infantry should you field in Bannerlord? We rank the best foot troops for 2026, led by the Imperial Legionary and the Sturgian Heroic Line Breaker, with each faction's best, the shield wall versus two handed question, and how to use infantry to anchor your army.

    Read More
    November 18, 2026
    Bannerlord Best Archers: Ranged Unit Tier List (2026)

    Which archers should you field in Bannerlord? We rank the best ranged units for 2026, led by the Battanian Fian Champion, plus Palatine Guards, Sharpshooters and the top horse archers, with how to position archers and what hard counters them.

    Read More
    November 15, 2026
    Indie Spotlight V2: 5 More Games on Our Radar

    Our second indie spotlight. Five more games on our radar: a cyberpunk point & click, an emotional stray cat, a brutal precision platformer, a darkly comic zombie auto battler, and an arcade era score chaser. We have not gone hands on yet, but here is why each one caught our eye.

    Read More

    POPULAR POSTS

    February 28, 2020
    OVERPASS PC REVIEW - DON'T PASS ON THIS

    TL;DR: Overpass is a very good off-road simulator that focuses on finesse rather than speed. If you like this type of sim, don't pass this up! buckel up bubba! The term 'off-roading' may inspire thoughts of guys named Otis and Bubba tearing through the muddy backwoods in a modified jeep with empty beer cans and […]

    March 27, 2021
    Super Mario 3D World Switch Review

    Super Mario 3D World isn't going to set the world on fire but it still shines as a perfect example of what refining a working formula can achieve.

    October 3, 2023
    The McRib: McDonald's McPlot Twist No One Saw Coming

    The McDonald's McRib is teaching us that 'goodbye' is just another word for "see you again real soon!"

    January 20, 2023
    An Epic Journey - Ghostlore (Steam) Review

    Enter the eerie and dangerous world of Southeast-Asian folklore, where you must fight to survive against monsters inspired by myths and legends.

    June 10, 2020
    SAMURAI SHODOWN PC REVIEW

    The classic 2D arcade beat'em up returns to the PC and proves once again that it still has some fight left

    envelope
    linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram