The console in Valheim allows admins to run commands for managing players, spawning items, and more. By default, the console is disabled and must be turned on in your game settings before you can access it with F5.
Enabling the Console
- Launch Valheim and press Esc to open the menu.
- Click Settings.

- Select Gameplay and check the Enable Console box.

- Click OK to save your changes.
Using the Console
Once enabled, press F5 at any time while in-game to open the console.

Type your command and press Enter to execute it. Press F5 again to close the console.
You must be an admin on the server to use most commands. See our guide on How to Add an Admin to Your Valheim Server to set up admin permissions.
With the console enabled, you can now use admin commands to manage your Valheim server. Check out our guide on All Valheim Admin Commands to see what's available.

