Guides

Valheim guide

How Much RAM Does a Valheim Server Need?

A vanilla Valheim dedicated server uses about 2 GB of RAM with a small group on a young world, so 2 GB is the bare minimum and 4 GB is the sensible plan. Budget more for a full 10-player world or for mods.

Updated November 2026 · Hostboi Game Servers

What we measured

We sample memory on the servers we host every ten minutes. Over eight days in November 2026, one vanilla Valheim server used between 1.7 and 2.0 GB the whole time, whether it was empty or had one to three players on it. A fresh test world on a 2 GB server sat at about 1.9 GB before anyone joined, which is why we do not sell Valheim on 2 GB.

MEASURED MEMORY USE · VANILLA VALHEIMOne server, eight days, sampled every 10 minutes0 GB1 GB2 GB3 GB4 GB2 GB PLANWE START HERE0 players909 samples1.71–2.00 GB1 player79 samples1.71–1.98 GB2 players18 samples1.71–1.94 GB3 players15 samples1.72–1.97 GBPink = lowest to highest reading. White tick = median.
Measured on a Hostboi server, November 5 to 13, 2026. Memory barely moved between an empty server and three players.

That is one world and at most three players, so it tells you about small groups, not about ten people building in different corners of the map. We have not measured a full server yet.

What the Valheim wiki says

The community-run Valheim wiki lists 2 GB as the minimum and 4 GB or more as recommended, and says plainly that these figures are unofficial. It explains why memory is the thing to watch: once the world is generated it is loaded into memory, a fresh world usually uses around 1.8 to 2.4 GB, and each loaded area where players are active takes roughly another 100 to 300 MB, more in busy areas.

Our numbers sit inside that range. The practical point is that memory follows how much of the world is in use at once. Five players in one base load one area. Five players spread across the map load five.

A Viking longship under sail in Valheim
Sailing somewhere new means the server loads somewhere new. Image: Iron Gate Studio.

How much to plan for

  • One to three players: it runs in about 2 GB, with almost no headroom. 4 GB is comfortable.
  • Four to five players: 4 GB.
  • A full 10-player world: plan on about 6 GB. This is our sizing estimate, built from the per-area figures above, not a measurement.
  • Modded with BepInEx: more, and it depends on the mod list. A BepInEx server we host idled at about 2.2 GB with nobody on it.
WHAT TO PLAN FOR · HOSTBOI VALHEIM PLANSEach block is 1 GB of memory1–3 playersuses about 2 GB4 GB · $11.994–5 players4 GB · $11.9910 playersour estimate6 GB · $17.995 players + modsBepInEx8 GB · $23.99
Plan sizes from our sizer. The 10-player figure is an estimate, not a measurement.

Valheim supports 1 to 10 players, so 10 is the ceiling for a standard server.

Crossplay and memory

Crossplay changes how players connect, not how much the server remembers. With crossplay on, connections go through a relay and players join with a code, so nobody has to forward ports. The wiki notes the cost: players on a crossplay server are more likely to see lag, timeouts and disconnects, because of the extra hop. If everyone plays on Steam, joining directly by IP avoids the relay.

Can you host it at home?

Yes. The Valheim dedicated server is a free download on Steam for Windows, macOS and Linux, and a spare PC with 4 GB free will carry a small group. Without crossplay you forward UDP ports 2456 and 2457 on your router. The catch is the obvious one: the world is only online while that PC is, and a home connection has to carry everyone's traffic. Stop the server normally before you shut the machine down so the latest progress is saved.

A player-built village in Valheim
A shared base is the usual reason to keep a world online around the clock. Image: Iron Gate Studio.

Renting makes sense when you want the world up while you are asleep or away, or when your own hardware or connection is the bottleneck.

Hosting Valheim with Hostboi

We start Valheim at 4 GB ($11.99 a month), which covers the first five players. Our sizing adds about 0.3 GB for each player after that, so a full 10-player world comes to about 5.5 GB and fits the 6 GB plan at $17.99 a month.

For mods, choose Valheim (BepInEx). It allows 4 GB for mods on top of the same sizing, so five players with mods is the 8 GB plan at $23.99 a month. Most mods also have to be installed by each player.

Crossplay is on by default on our Valheim servers, and you can turn it off on the Startup tab to join by IP. You can bring an existing world by uploading its .fwl and .db files.

See the Valheim server hosting page, or size your server for your group.

Valheim screenshots and artwork are from Iron Gate Studio's official press kit. Valheim is a trademark of its owners. Hostboi Game Servers is not affiliated with or endorsed by Iron Gate Studio or Coffee Stain Publishing.

Questions

Is 2 GB enough for a Valheim server?

It will start. In our measurements a young world used 1.7 to 2.0 GB, which leaves nothing spare on a 2 GB server. Use 4 GB.

Does player count or world size matter more?

How much of the world is loaded at once. Players who stay together cost less memory than players who spread out.

How much RAM does a modded Valheim server need?

More than vanilla, and it depends on the mods. We allow an extra 4 GB for a BepInEx server.

Does crossplay use more RAM?

We have not seen a documented difference. It changes how players connect.

How many players can join?

Up to 10, which is Valheim's own limit.

Size a Valheim server for your group

Pick your player count and see the plan and price before you order.

Size my server Valheim server hosting