Valheim · Performance tips

Valheim server performance and lag fixes

Pick the right RAM for your Valheim group, understand why Valheim lags, and fix it with the settings and habits that matter most.

By Last reviewed 4 min read

Most Valheim lag doesn’t come from the server. Valheim hands the work for each area to one of the players, so a slow PC or a weak connection can lag everyone nearby. The server still needs enough RAM, and a few habits keep big worlds smooth.

How much RAM you need

RAM is the server’s memory. Valheim keeps the loaded world in memory, and every busy area adds to it.

Group Vanilla With mods
1 to 4 players, new world 4 GB 6 GB
5 to 10 players, or big bases 6 GB 8 GB
Large modpacks, or many players exploring far apart 8 GB 10 GB

Valheim allows 10 players at once, so you never need a plan for more than that. Mods vary a lot. If Overview shows RAM close to your plan’s limit, move up a size.

Why Valheim lags

Valheim’s server doesn’t run the game world by itself. It passes messages between players and saves the world. The first player to enter an area runs that area: enemies, building physics, falling trees. Everyone nearby sees what that player’s game decides.

So when that player has a slow PC or a weak connection, everyone around them gets delays. Doors open late, enemies jump, and buildings take a moment to fall.

What helps:

  • Let the strongest PC go first. The player with the best PC and connection should enter busy areas first, like the main base.
  • Swap the area owner. If one area lags, the player who arrived first can walk away and come back. Someone else takes over.
  • Use a wired connection where you can, especially for whoever is often first into the base.
  • Lower Draw Distance in the game’s graphics settings. Valheim 1.0 added it. A shorter distance means less to run.

The things that cost the most

What Why it hurts What to do
Huge bases Thousands of building pieces load at once Spread builds out, or keep the biggest ones away from where you spawn
Items on the ground Every dropped item is tracked and saved Pick up or clean up after big fights and farming runs
Many tamed animals in one place Each one runs its own behaviour Keep herds small, or split them across pens
Exploring new land Making new parts of the world is heavy work for the server Expect short spikes when someone sails far, then it settles
Mods Some add a lot of work per area Add mods one at a time and watch the graphs
Crossplay All traffic goes through a relay If everyone plays on Steam, turn crossplay off

World saves

When Valheim saves, it pauses for a moment to copy the world. On a small world you won’t notice. On a big world it can be a short hitch.

On Wilderack the world saves every 10 minutes, so a crash never costs you much. If a very large world hitches on every save, you can raise -saveinterval in Settings > Advanced. Our own backups still run every 10 minutes either way.

Restarts

Valheim doesn’t need daily restarts, and it saves before every restart and every nap. A restart after a long session can still help a busy modded server.

Valheim’s server can’t send messages into the game, so the panel can’t warn players before a restart. In Schedules, set restarts to run only when nobody is online, for example early in the morning.

Pick the right region

Lag also comes from distance. Pick the region closest to most of your players: EU or US East. If your group is spread out, pick the side where the player who usually goes first into the base lives.

You can see your ping in game by opening the console with F5 and typing ping.

Reading the graphs on Overview

Overview shows CPU, RAM, players and network for the last 24 hours and 7 days.

  • RAM close to the plan’s limit: move up a plan, or remove a heavy mod.
  • CPU spikes when someone explores: normal. The world is being made.
  • CPU high all the time with few players: look for a mod or an area with lots of items or animals.
  • Graphs calm, but players still lag: the cause is likely a player’s PC or connection. See why Valheim lags.

For errors and crashes, see common Valheim server errors.

Questions

How much RAM does a Valheim server need?

4 GB runs a small group on a fresh world. We recommend 6 GB for a full group of 10 or a world with big bases, and 8 GB or more with lots of mods.

Why does my Valheim server lag when one friend joins?

In Valheim, the first player to arrive in an area runs that area for everyone nearby. If their PC is slow or their connection is weak, everyone near them lags. Ask them to leave the area and come back after someone else, or improve their connection.

Does crossplay make Valheim lag more?

It can. Crossplay sends all traffic through Microsoft's relay, which adds an extra stop. If everyone in your group plays on Steam, turning crossplay off gives you a more direct connection.

Sources we checked

  1. Valheim 1.0 Has Arrived (patch notes)Iron Gate on Steam
  2. Valheim 1.0 FAQIron Gate
  3. Dedicated serversValheim Wiki (community)

Run your Valheim server on Wilderack

Daily backups, DDoS protection and free game swaps come with every plan. Wakes when friends join by address.

Wait! Get 25% off your server

Don’t miss the best Valheim hosting.

Date of birth

We keep only your email and where you signed up, to send you launch news and your code. Your birth month and year are checked, never stored. Every email has an unsubscribe link, or write to privacy@wilderack.com. Your data, in plain words.

25% off your first payment, for new customers. Your code arrives by email. Then the normal price; cancel any time.