Back to Blog

How to Set Up a Valheim Dedicated Server in 2026

·8 min read·
ValheimTutorialGuide

Why Run a Dedicated Valheim Server?

Valheim supports peer-to-peer multiplayer where one player hosts, but a dedicated server is the better option for any group that plays regularly. A dedicated server stays online 24/7 so anyone can join at any time, doesn't consume the host player's PC resources, and prevents world progress from being locked behind one person's availability. According to Steam data, Valheim has sold over 13 million copies and maintains 40,000-80,000 concurrent players daily.[1]

For a broader look at your hosting options, see our complete game server hosting guide which covers how to evaluate providers across all games.

Hardware Requirements

Valheim dedicated servers are more resource-intensive than they appear. Iron Gate's official recommendation is 2 GB RAM minimum, but real-world usage is higher:

RAM: 4 GB is the practical minimum for a smooth experience with 3-5 players. Worlds with extensive building and terraforming can push memory usage to 5-6 GB. According to the Valheim Wiki, heavily modified worlds with Valheim+ can use up to 8 GB.[2]

CPU: Valheim's server is relatively light on CPU, but terrain modification (terraforming) is processing-intensive. A single modern core running at 3.5 GHz+ is sufficient for most servers.

Storage: World save files start small but grow as players explore and build. A mature world with 200+ hours of play can reach 500 MB-2 GB. NVMe storage ensures that world saves — which happen every 20 minutes by default — don't cause lag spikes. For more on why storage type matters, see the NVMe section in our hosting guide.

Setting Up the Server

If you're using a managed host like HostSimple, setup takes minutes — select Valheim from the game list, choose a location, and your server is provisioned automatically with the Pterodactyl panel. For self-hosted setups, you'll need SteamCMD:

1. Install SteamCMD on your server (available for Linux and Windows).

2. Run: steamcmd +login anonymous +app_update 896660 validate +quit to download the Valheim dedicated server files.

3. Configure the startup script with your server name, world name, password, and port (default 2456-2458).

4. Open UDP ports 2456-2458 on your firewall. Valheim uses all three ports for game traffic, server queries, and Steam communication.

5. Start the server and connect from Valheim's Join Game menu using your server's IP address.

Mods and Customization

Valheim has a vibrant modding community powered by Thunderstore and BepInEx. Over 3,000 mods are available on Thunderstore for Valheim, ranging from quality-of-life tweaks to total overhaul mods.[3]

Valheim+ — The most popular mod, adding configurable options for stamina, carry weight, building, and more. Both server and client need it installed.

BepInEx — The mod loader framework required for most Valheim mods. Install it in the server directory and configure plugins in the BepInEx/plugins folder.

Important: Valheim requires mod parity between server and client. If the server runs Valheim+, every connecting player must also have it installed. Communicate mod requirements to your group before updating.

Performance Tuning

Valheim servers can develop performance issues as the world ages. Here's how to prevent them:

Limit terraforming. Every terrain modification is stored permanently and increases world file size and server processing load. The Valheim community has documented cases where excessive terraforming caused server TPS to drop below playable levels.[4]

Manage instance count. Each constructed piece (wall, floor, support beam) is an instance tracked by the server. Massive builds with thousands of pieces in a small area cause rendering lag. Spread builds across the map rather than concentrating everything in one mega-base.

Use NVMe storage. World saves happen every 20 minutes and can cause brief lag spikes on slower storage. NVMe drives handle these saves transparently. HostSimple includes NVMe on all plans. For protection against attacks that can take your server offline, learn about DDoS protection for game servers.

Frequently Asked Questions

How many players can a Valheim server handle? The vanilla cap is 10 players. With mods like Valheim+ you can increase this, but performance degrades noticeably above 15-20 players depending on hardware and world complexity.

Can I transfer an existing world to a hosted server? Yes. Upload your world save files (.fwl and .db) to the server's worlds directory through the control panel's file manager. The world name in the startup config must match the filename.

Does Valheim support crossplay? Yes, Valheim supports crossplay between Steam and Xbox/Microsoft Store versions as of the 2024 update. Dedicated servers are accessible from both platforms.

Ready to get started?

Start your 7-day free trial today. No contracts, cancel anytime.