Cheats and command codes can help make a game more interesting. Many games have a way to activate cheats, making it easy to tweak a game to your liking. This holds true forValheimas well. In this Viking-themed survival crafting game, you may access a variety of commands and cheats.

Related:Valheim: Best World Seeds You Need To Try Right Now

In this guide, we are going to go over every cheat and command that you may use in Valheim. Additionally, we will take a look at how to enable the ability to use them. The words ‘Cheat’ and ‘Command’ can be interchanged; overall, they are both strings of text that you enter into the game to get a desired outcome.

Updated July 05, 2025:We’ve added a video guide to this article that teaches you how to use cheats in Valheim.

valheim player using magic

The Command Console

Before you may use cheats, you will need toactivate the command console.This is where you will type in the cheats that affect the game.

Depending on where you are playing, the steps to activate the console are different.

valheim general properties menu

Activating The Command Console On Steam

On Steam, it’s relatively easy to activate the command console.From your game library, right-click on Valheim.This will open a menu; select"Properties…“at the very bottom.

Now, you will be on a new, pop-up window.From the General tab, type the following into the ‘Launch Options’ bar.

valheim on the game pass store page

you’re able to now exit this menu and start the game! To use the console,press F5 and type in the following.

Now, you may use cheats in Valheim, which we will take a look at later.

player swinging axe at another player in valheim

Activating The Command Console On Xbox

To activate the command console on Xbox, you will need to hold down the following buttons.

Keeping all four buttons down,you will now want to press the Menu button.This will open up the console. Like with Steam, you will need to first type in the following before you can use cheats.

Valheim main chracter building long house, walking towards door area

Activating The Command Console On Game Pass

Lastly, let’s take a look at how you’re able to activate the command console on Game Pass. To do so, follow the steps listed below.

After doing this, you can now start the game!To use the console, press F5 while in a game.Remember, you will still need to type in the following before you can use the cheats.

Complete List Of Commands & Cheats

Now that you know how to activate the command consoles, let’s take a look at the actual commands and cheats that you may use.

help

Displays all possible commands

info

Displays system information

ping

Displays ping

save

Force saves the game

ban [name/IP/userID]

Bans a player

unban [name/IP/userID]

Unbans a player

banned

Displays all banned players

kick [name/IP/userID]

Kicks a player from the server

lodbias [1-5]

Sets draw distance

restartparty

Resets network on crossplay

maxfps [FPS]

Sets maximum possible FPS

tutorialtoggle

Toggles hints from Hugin

fov [any number]

Adjusts field of view

dpsdebug

pos

Displays coordinates

exploremap

Reveals all of map

resetmap

Resets map to no exploration

Debug Mode

Debug mode isessentially a creative mode.To activate it, type the following into the console.

In this mode, you can use the following commands

Toggle no resource mode

Kills all enemies

Removes all dropped items

Fly

On Xbox, you can use the following commands to get similar effects.

What It Does

god

Toggle to become invincible, with the ability to instantly kill any enemy in one hit

ghost

Toggle to become invisible to enemies

raiseskill [skillname] [value]

Raises a select skill

resetskill [skillname]

Resets a skill

heal

Heals you completely

puke

Resets hunger, removing any food effects

model [0/1]

Changes character to other body type (masculine or feminine)

beard

Removes your beard (this cannot be undone)

hair

Removes your hair (this cannot be undone)

resetcharacter

Resets character data

killenemies

Kill all enemies

killtamed

Kill all tamed creatures

nocost

Makes all crafting require no materials

aggravate

Aggravates neutral mobs

recall

Recalls all players to your position

tame

Tames nearby creatures

location

Sets spawn location

goto [X], [Z]

Teleports you to specific location

event [name]

randomevent

Trigger random event

stopevent

Stops event

tod [0-1]

Sets time of day

skiptime [seconds]

Skips forward in time

sleep

Skips to next day

players [0-10]

Adjusts difficulty level based on player count

removedrops

Removes dropped items

env [environment name]

resetenv

Resets environment

wind [angle] [intensity]

Adjusts wind speed and direction

resetwind

Resets wind

freefly

Activates freecam movement

ffsmooth [0/1]

Sets smooth movement for freecam

listkeys

Lists global keys

setkey [key]

resetkeys [name]

Resets keys

removekey [key]

Removes specific key

Using Commands To Spawn In Items

Lastly, let’s go over the command used to spawn new items. The command format remains the same for all spawns, which you can check out below.

This can be used tospawn in certain items and mobs. If you are trying to spawn in an item, then you don’t have to enter a level, as this is only used for mobs.

There are a lot of possible spawns, so we recommendheading over to the Valheim wikifor a complete list of every possible command. This has an updated list, filled with hundred of possible commands. If you have spawned in too many items by accident, don’t forget to use ‘removedrops’ to get rid of all items laying around.

Next:Games To Play If You Like Valheim