Skip to content

Valheim Server Performance Optimization

Guide to optimizing your Valheim dedicated server for minimal lag. Covers terraforming impact, world size, instance management, and plan selection.

HostedGG Team
Author · Updated
Verifiedfor Current version
Checked by HostedGG Team on Jun 19, 2026
Updated 4 months agoHostedGG Team

Valheim Server Performance

Valheim is a beautiful game, but it can be demanding on server hardware — especially with large builds, terraforming, and mods. This guide helps you keep your server running smoothly.

Understanding Valheim Server Load

Valheim server performance is affected by these factors (in order of impact):

FactorImpactWhy
Terraforming🔴 Very HighModified terrain data is stored permanently
Number of active instances🔴 HighEach loaded area consumes RAM
Build complexity🟡 MediumMany build pieces increase tick time
Number of players🟡 MediumMore players = more simultaneous zones
Mods🟡 MediumDepends on the mod
World age🟢 LowExplored areas add minor overhead

The Terraforming Problem

Terraforming (raising/lowering ground, leveling terrain) is the #1 cause of Valheim server lag. Each terrain modification is stored as permanent world data that never gets cleaned up.

What Causes Terraforming Load

  • Using the Hoe to level ground
  • Using the Pickaxe to lower ground
  • Raising ground for foundations
  • Large-scale terrain flattening for bases

How to Minimize Terraforming Impact

  1. Build on natural terrain whenever possible
  2. Use wood floors instead of flattening ground for building surfaces
  3. Avoid excessive leveling — level only where you must walk
  4. Use raise ground sparingly — it creates the most data
  5. Build in stages — don't flatten an entire mountain at once
Intel

Tip: If you notice lag in a specific area, it's often because of heavy terraforming in that zone. There's no way to "undo" terraforming data without resetting the world.

Choosing the Right Plan

ScenarioRecommended PlanRAM
1-3 players, vanilla, light buildingStarter4 GB
3-5 players, medium builds, some modsStandard8 GB
5-10 players, large builds, heavy modsStandard8 GB
Heavy terraforming, Valheim Plus, big communityConsider Valheim Plus plan6-10 GB

When to Upgrade

Signs you need more resources:

  • Consistent lag spikes when entering built-up areas
  • Rubberbanding when multiple players are in different biomes
  • Long save times (visible as periodic freezes)
  • Server crashes under load

To upgrade, contact support via Discord or use the dashboard upgrade option.

Optimizing Server Settings

Save Interval

The default save interval is 1800 seconds (30 minutes). During saves, the server briefly freezes. Consider adjusting:

PlayersRecommended Save Interval
1-31800s (default)
4-61200s (20 minutes)
7-10900s (15 minutes)

More frequent saves mean shorter freeze time per save, but slightly more overall I/O.

Backup Count

Keep at least 3-4 backups. The server cycles through backups automatically, overwriting the oldest when the limit is reached.

Instance Management

Valheim loads the world in "zones" around each player. The more spread out your players are, the more the server has to process.

Best Practices

  1. Explore together when possible — fewer simultaneous zones
  2. Don't AFK in remote locations — your position forces the server to keep that area loaded
  3. Use portals to reduce travel — less world is loaded during fast travel
  4. Avoid building bases in every biome — each base is a potential load point

Build Optimization

High-Impact Build Practices

PracticeImpact
Keep build pieces under 1,000 per area🟢 Good performance
1,000-5,000 pieces per area🟡 Moderate impact
5,000+ pieces per area🔴 Noticeable lag

Reduce Build Lag

  1. Minimize smoke sources — Fireplaces and kilns create particle effects that use CPU
  2. Use less detailed builds in large bases — Every detail piece adds tick time
  3. Avoid item stands with items — Each displayed item is an entity
  4. Limit active workbench/crafting zones — They scan for nearby materials

Mod Performance Tips

Performance-Friendly Mods

  • Server Devcommands — Efficient admin tools
  • AzuAntiCheat — Lightweight anti-cheat
  • Clock — Simple QoL, minimal overhead

Performance-Heavy Mods

  • Epic Loot — Adds item processing overhead
  • Creature Level and Loot Control — Spawns additional/stronger enemies
  • PlantEverything — Can cause lag with massive farms
  • Valheim Plus — Generally fine, but advanced building mode has an overhead during building sessions

Mod Optimization Tips

  1. Run fewer mods — Each mod adds processing overhead
  2. Update mods regularly — Newer versions often have performance fixes
  3. Remove unused mods — Don't keep mods installed "just in case"
  4. Check BepInEx logs — Look for error spam that can degrade performance

Monitoring Performance

In-Game

Press F2 to open the debug overlay showing:

  • FPS: Client framerate (not server-side, but indicates overall load)
  • Instances: Number of loaded terrain areas
  • Draw calls: Rendering complexity

Server Console

Watch for these in your HostedGG console:

  • Long save messages — Indicates the world is getting large
  • Error spam — Mod errors can cause lag
  • Memory warnings — Time to consider upgrading

Emergency: Server Is Lagging Badly

Quick fixes to try:

  1. Restart the server — Clears memory and resets instance cache
  2. Reduce player spread — Ask everyone to gather in one area
  3. Remove dropped items — Admin command: removedrops
  4. Check for error spam — View BepInEx logs for stuck processes
  5. Disable problematic mods — Remove recently added mods one at a time

Next Steps

Help verify this page

Tested this recently? Send a quick accuracy signal for editors.

Sign in to report accuracy

Help improve HostedGG

Know this game? Join our community of contributors.

Discussion

Sign in to join the discussion.

Loading discussion...