Skip to content
Valheim Cheats logoValheim Cheats

How to Fly, Use God Mode, and No-Clip in Valheim

Guide to the fly, god, and ghost cheats in Valheim — invulnerability, flight, and aggro-immunity, plus the closest you can get to no-clip.

Published 6 min read

Three of Valheim's most useful cheats are about not dying and getting around faster: god turns off damage, fly turns off gravity, and ghost makes mobs ignore you. This guide covers each one — how to turn it on, what it does and doesn't do, and the gotchas that catch people out.

All three commands are cheats. If they print "Command not found" when you try them, see how to enable cheats in Valheim first.

God mode

god toggles invulnerability. With it on, your character takes zero damage from anything — mobs, falls, environmental hazards, drowning, even the Ashlands ash floor.

Run it again to turn it off. There's no on/off argument; the command is a toggle. The full reference lives on the god command page.

What god mode does not do

  • It doesn't stop stagger. A two-star troll can still bat you across the map; you just won't take damage from the swing.
  • It doesn't refill stamina. Heavy attacks and sprinting still drain stamina normally.
  • It doesn't prevent hunger/comfort decay. Your rested buff still ticks down, and your food still empties.
  • It doesn't make you invisible to mobs. They'll still chase and attack you, which gets annoying. Combine with ghost below to also drop the aggro.

Flight

fly toggles freecam-style flight. Once on, the normal movement keys move you horizontally; spacebar lifts you up; left Ctrl drops you down.

Flight is faster than running but slower than a Tarzan-swing on a wishbone, and the camera/controls stay first-person. Useful for scouting a new biome, escaping a swamp at low health, or building a sky base. Full details on the fly command page.

Flight gotchas

  • You can still fall. Toggling fly off mid-air drops you instantly. If you're 200m up, that's lethal — unless god is also on.
  • You can't fly through structures. Flight ignores gravity but it does not ignore collision. Hugging a mountain at high speed still bonks you off it.
  • Flight doesn't disable fall damage on landing. If the toggle wears off (e.g. world reload), you'll start falling. Land first, then toggle.

Ghost — the closest thing to no-clip

Valheim doesn't have a true "no-clip" command that lets you walk through walls, but ghost is the next best thing for the most common no-clip use case: getting mobs to ignore you.

With ghost on, you become invisible to creature AI. Wolves walk past, deathsquitos don't aggro, Bonemass doesn't scream at you. Combined with fly, it gives you full scouting freedom in any biome. See the ghost command page for details.

What ghost does not do

  • It doesn't make you invulnerable. If a mob is already attacking when you toggle ghost on, the swing still lands. Toggle god as well for the full bubble.
  • It doesn't disable status effects. Cold, wet, and burning still apply. Mobs just won't add new ones.
  • It doesn't pass through terrain. Same as fly — collision is enforced.

Walking through walls — the closest options

Valheim does not expose a real no-clip toggle. The closest workarounds:

  • Fly straight up and then over. If a wall is blocking you, fly over it. Most buildings aren't roofed.
  • Use goto to teleport past the obstacle. goto x z drops you at world coordinates regardless of what's in the way.
  • Use third-party mods. Mods like Valheim Plus add a true no-clip key. We don't link mods here; they're available on Thunderstore and Nexus.

The "invincible scout" combo

The combination most people end up using:

Run all three in sequence. You're now invulnerable, airborne, and ignored by mobs. Perfect for scouting a new world seed, flying over the Mistlands without dying to a Seeker Soldier, or finding silver veins without setting up a Mountain base. Toggle each one off the same way you turned it on.

Bonus: heal yourself instantly

Not a movement cheat, but pairs well with these:

Restores HP and stamina to full immediately. Use after a near- miss when you don't want to wait for the regen, or when you've forgotten to toggle god on. See the heal command page.

Related