---
title: Adding a Password to Your Valheim Server
description: Learn how to add a password to your Valheim dedicated server hosted with Nodecraft!
source: "https://nodecraft.com/support/games/valheim/adding-a-password-to-your-valheim-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvZjY2ZTY0Y2JjNS92YWxoZWltLTEtMi0wLnBuZy9tLyJ9LHsibmFtZSI6ImdhbWVfbG9nbyIsImltYWdlX3VybCI6Imh0dHBzOi8vY21zLWEubm9kZWNyYWZ0LmNvbS9mLzEzMzkzMi8zNzV4MTUwL2MwZGEwNmUzMzAvdmFsaGVpbS5wbmcvbS8ifSx7Im5hbWUiOiJjdGFfdGV4dCIsInRleHQiOiJDcmVhdGUgeW91ciBvd24gc2VydmVyISJ9LHsibmFtZSI6InRleHQiLCJ0ZXh0IjoiQWRkaW5nIGEgUGFzc3dvcmQgdG8gWW91ciBWYWxoZWltIFNlcnZlciJ9XQ&s=51dca6f1458777b0765a166caec54484bf4447d9ab8edaf98116f4df0c29141d"
published: "2021-02-05T17:30:00.000Z"
updated: "2024-09-23T21:18:00.000Z"
---

# Adding a Password to Your Valheim Server

Learn how to add a password to your Valheim dedicated server hosted with Nodecraft!

This article will guide you through the process of adding a password to your Valheim server.

## Using the Nodecraft Pro Panel

On the left-hand side of the panel, select the "Game Settings" tab.  Enter your chosen password into the "Password" text box field.

We have provided a randomly generated password for every Valheim server, that you can use if you wish.

![The Server Password setting highlighted in Nodecraft Pro for Valheim](https://cms-a.nodecraft.com/f/133932/1027x736/f6bd0fa886/password.png/m/1000x0/smart)

**Save** your changes and **Restart** your server. It's that easy!

## Using a Startup Argument

If you don't have access to the Nodecraft Pro panel, you will need to add your password as a startup argument. You will add the argument:

```
-password "Your desired password"
```

Be sure to Restart your server after adding in the startup argument!
