BuildingVerified for Valheim 1.0Updated Oct 15, 202612 min readIntermediate

Base Defense Strategies: Moats, Walls & Spawn Suppression Guide

Master every base defense strategy in Valheim, from early-game moats and stakewalls to full spawn suppression that stops raids cold.

Best Early Defense
Moat + Stakewall
Best Passive Defense
Spawn suppression
Raid Chance
20% every 46 min
Key Tools
Hoe + Pickaxe
On this page7 sections
  1. Why Base Defense Matters in Valheim
  2. Terrain Defense: The Most Powerful Tool You Have
  3. Built Defenses: Walls, Stakes and Structures
  4. Spawn Suppression: The Invisible Shield
  5. Understanding Raids: The Main Events and How to Handle Them
  6. Advanced Defensive Techniques
  7. Fighting During Raids: Combat Tips
Key takeaways
  • Creatures can't dig: a 2-3 meter moat with a raised inner rampart stops every ground enemy for free.
  • Dig your moat before you defeat The Elder, which unlocks Troll raids.
  • Cover your base with Workbenches no more than 28 meters apart so raid mobs have nowhere to spawn.
  • When a raid starts, run outside your walls: raid mobs target you first and only hit buildings when they can't reach you.
  • Keep tamed animals under a roof once flying raiders (Drakes, Bats) are unlocked.

Why Base Defense Matters in Valheim

A beautiful longhouse means nothing if a pair of Trolls can flatten it in three swings. New players ignore base defense until it costs them everything; veterans obsess over it until their bases become fortresses.

How raids work

Every 46 minutes of real time there is a 20% chance of a raid. Which raid you face depends on your boss progression: Greydwarf hordes after Eikthyr, Trolls after The Elder, and it escalates from there.

Raids only trigger when you are within 40 meters of at least 3 base structures, so a lone Workbench in the wilderness won't attract trouble.

The good news: layered defenses can make your base nearly untouchable, and the most effective one costs nothing but time with a Pickaxe and Hoe.

Terrain Defense: The Most Powerful Tool You Have

Creatures cannot dig through terrain. Raised earth and dug trenches are impenetrable to every ground enemy, from a Greyling to a rampaging Troll. That makes terrain the undisputed king of base defense.

Moats and trenches

Dig a trench around your base with a Pickaxe, about 2 to 3 meters deep, with a sheer vertical face on the inside edge. Most creatures won't jump down from ledges (Fenrings and Blobs are the notable exceptions), so even a modest pit is an impassable barrier.

Tidy the edge with the Hoe

Use the Hoe's Level Ground to tamp down the inner edge into a clean rampart. It copies the height under your feet, so stand at the height you want; hold Shift to target the height of the terrain you point at instead. This saves Stone compared to raising ground manually.

Raised earth walls

Raise Ground costs 4 Stone per use and creates terrain enemies can't break. A raised rampart inside your moat creates a height difference nothing short of a flying enemy can cross. Veterans raise terrain 2 to 3 meters above natural ground and top it with Stakewalls.

Never repair again

Stone walls, Stakewalls and even metal structures can be broken by persistent enemies, but the ground is permanent. The time spent terraforming pays off many times over compared to rebuilding shattered walls after every raid.

Built Defenses: Walls, Stakes and Structures

Terrain is king, but built defenses protect entry points, funnel enemies and deal passive damage. The comparison table below lists their stats.

  • Roundpole Fence: the cheapest option, but only good for corralling tamed animals. Most enemies chew through it in seconds.
  • Stakewall: your first real defensive wall. It doesn't decay in rain, making it ideal for perimeters, and holds up against most early and mid-game threats. It deals no contact damage.
  • Sharp Stakes: the offensive option, damaging and knocking back anything that touches them.

Sharp Stake rules

They lose 34 durability every time they deal damage, so treat them as consumable. They must sit on dirt, draw aggro from nearby enemies and refund nothing when destroyed. Place them in front of Stakewalls or at the bottom of your moat.

Blobs and Stakewalls

Blobs can barely jump a Stakewall on level ground. In the Swamp, always set Stakewalls on a slight rise so they can't hop over.

Defensive Structure Comparison

Roundpole FenceStakewallSharp Stakes
HP2001,000200
Cost1 Wood4 Wood6 Wood, 4 Corewood
StationWorkbenchWorkbenchWorkbench
Deals DamageNoNo15 Pierce + 40 KB
Rain DecayNoNoNo
Best ForAnimal pensPerimeter wallsKill zones, moat bottoms

Defensive Structure Recipes

Workbench
4×Wood
→
Stakewall
Workbench
6×Wood
→
Sharp Stakes
Workbench
Workbench
10×Wood
2×Iron
4×Stone
→
Stonecutter
“

The most effective defense in Valheim costs zero resources beyond your time. Creatures cannot dig through terrain, making a well-dug moat more powerful than any wall you can build.

Veteran Viking Wisdom

Spawn Suppression: The Invisible Shield

This separates good bases from great ones. Workbenches, Campfires and other player structures create a zone where hostile creatures cannot spawn, raid enemies included. If suppression blankets the whole raid area, the raid triggers but enemies have nowhere to appear: you see the message, hear the horn, and nothing happens.

Spacing Workbenches

A Workbench has a 20-meter build and suppression radius; select it in the Hammer menu to see the white circle. Because the zones are circles, a 40-meter grid leaves diamond-shaped gaps at the corners. Space Workbenches no more than 28 meters apart: a square about 28 meters on a side is the largest that fits inside a 20-meter-radius circle.

Mind the third dimension

The suppression area is a sphere, not a cylinder, so there can be gaps just above ground even when the circles look complete. Overlap generously and use torches on walls and Workbenches on upper floors to plug them.

The sprawl approach

Build a large base with workshops, forges, campfires and torches spread throughout. As it grows, the overlapping zones cover so much ground that raids simply fizzle out. One veteran discovered this by accident after building an entire city: raids kept triggering, but nothing ever appeared.

Understanding Raids: The Main Events and How to Handle Them

Defeating a boss both unlocks harder raids and disables easier ones. Raid enemies spawn 40 to 80 meters from you in hunt mode: always alerted, and aware of where you are within 200 meters.

Raiders want you, not your base

Raid mobs only target structures when they can't pathfind to you. When a raid starts, run outside your walls and fight away from your buildings. If they start swinging at structures, grab their attention with a ranged attack and kite them away from anything you care about.

Raid Events by Progression

Boar & Neck RaidPre-Eikthyr, 90s, Meadows/Black Forest
Greydwarf Raid ("The forest is moving...")After Eikthyr, 120s, disabled after Elder
Troll Raid ("The ground is shaking")After killing Troll + Elder, 80s
Draugr & Skeleton RaidAfter Elder, 150s, disabled after Bonemass
Drake Raid ("A cold wind blows...")After Bonemass, 150s, applies Freezing
Blob & Oozer RaidAfter Bonemass, 120s, cannot damage structures
Fuling Raid ("The horde is attacking!")After Moder, 120s, disabled after Yagluth
Skeleton SurpriseAfter Bonemass, 120s, up to 20 skeletons
Wolf Hunt ("You are being hunted...")After Bonemass, 120s, Mountain/Plains only
Gjall & Tick RaidAfter Yagluth, 90s, Mistlands only
Protect Your Tamed Animals

Tamed creatures like Boars and Wolves are extremely vulnerable during raids, especially the Bat raid ("You stirred the cauldron") which spawns up to 10 Bats that can attack from any angle. Always keep tamed animals in fully enclosed structures with roofs. Open-air pens are a death sentence once you unlock Drake or Bat raids, as both feature flying enemies that bypass ground-level defenses entirely.

Advanced Defensive Techniques

Once you have the basics down, there are several clever techniques that experienced players use to make their defenses even more effective.

Jump Gaps

Gates and doors can be destroyed, but a gap in your wall that you can jump across cannot. Build a narrow gap in your perimeter that is wide enough for a player to jump but too wide for most enemies to cross. This gives you a maintenance-free entrance that never needs repair.

Gangplank Traps

Build a narrow walkway above a pit with Campfires at the bottom. Enemies following you walk onto the gangplank, fall into the pit, and take damage from the fire below. Loot drops down to you. This is especially effective against weaker enemies like Greydwarfs and Skeletons.

Water Gates

Place gates in water to block enemy movement. Enemies cannot attack structures that are submerged, so a gate in water becomes an indestructible barrier. You can open the gate to let boats through when needed.

Terrain Shooting Platforms

Use the Hoe to raise terrain directly beneath you while standing on it. This creates a pillar you can stand on to rain arrows down on melee enemies below. You need a nearby Workbench for this to work, but it creates a quick, indestructible sniping position during raids.

Low Invisible Barriers

On flattened terrain, placing objects roughly 0.5 meters tall (like half-buried reversed stairways) creates barriers that human-sized enemies cannot walk over but will not recognize as attackable structures. They just get stuck. For Trolls, overlapping 45-degree Wood boards in different directions creates hedgehog-style obstacles that block pathing without drawing attacks.

Setting Up Base Defense: Step by Step

  1. 1

    Choose Your Location Wisely

    Build near biome borders for resource variety but be aware that dangerous creatures from neighboring biomes may wander in. Small islands are ideal for passive defense. Flat terrain near the coast makes moat digging easier.

  2. 2

    Dig Your Moat Before Defeating The Elder

    Troll raids only unlock after you defeat The Elder, so dig your moats before that boss fight. Use a Pickaxe to dig 2 to 3 meters deep around your entire perimeter, then use the Hoe to level and smooth the edges.

  3. 3

    Line the Inner Edge with Stakewalls

    Place Stakewalls (4 Wood each) along the top inner edge of your moat. They snap end-to-end for clean walls, have 1,000 HP each, and do not decay in rain. Add Sharp Stakes (6 Wood, 4 Corewood) at the bottom of the moat for passive damage.

  4. 4

    Blanket Your Base with Spawn Suppression

    Place Workbenches no more than 28 meters apart in a grid pattern for complete spawn suppression coverage. Add Campfires, torches, and other structures to fill any gaps. Hide Workbenches under floors, in rafters, or inside small covered pits to keep things tidy.

  5. 5

    Create Entry Points Using Jump Gaps

    Instead of gates (which enemies can destroy), leave narrow gaps in your walls that you can jump across. For cart access, use a toggle bridge made from a gate hung from above with floor pieces attached.

  6. 6

    Protect Tamed Animals and Workstations

    Enclose tamed Boars, Wolves, and Chickens in fully roofed structures. Aggressive creatures target all light sources and crafting stations, so keep outdoor lights minimal and bring your important crafting stations inside your walls. Note that Jack-o-turnips are the only light source that does not attract enemies.

Fighting During Raids: Combat Tips

Even with perfect defenses you will sometimes need to fight. Build the habit: when a raid triggers, go outside your walls and engage away from your structures. Give raiders a clear path to you rather than letting them smash through walls to reach you.

The Troll raid ("The ground is shaking")

Pierce is your best friend: spears, arrows and Atgeirs all deal Pierce, which Trolls are weak to. The Atgeir's spin attack staggers Trolls reliably at level 3 or higher with decent Polearms skill; follow each stagger with regular attacks for a stunlock. If two Trolls appear at once, pick one off with a bow before meleeing the second.

How many Trolls to expect

  • Up to 2 Trolls are active at once.
  • New ones spawn every 20 seconds during the 80-second event.
  • Killing one lets a replacement spawn while the timer runs, so you can face 6 to 7 in total.

Overwhelmed? Keep running. The timer runs while you stay in the area, and once it expires the remaining enemies wander off.

Flying raiders

Later raids bring flyers that ignore ground defenses. The Drake raid (after Bonemass) forces a freezing environment, and the Bat raid can spawn up to 10 Bats. A bow is essential for both. Carry Frost Resistance Mead for Drake raids and keep tamed animals roofed.

The Blob Raid Is Harmless

The Blob and Oozer raid ("A foul smell from the swamp...") cannot deal damage to structures. If you close your doors and stay inside, you are in zero danger. This is one of the safest raids in the game despite sounding intimidating.

Base Defense FAQ

Do I need to build walls if I have a moat?

A moat alone is sufficient against all ground enemies, but adding Stakewalls on the inner rim provides insurance and makes the height differential even more effective. The combination of moat plus Stakewall is the gold standard for early-to-mid game defense.

Can I prevent raids from happening entirely?

You cannot prevent raids from triggering, but you can prevent enemies from spawning during them. If your base has complete spawn suppression coverage (Workbenches, Campfires, etc. with no gaps), raid enemies will have nowhere to appear. The raid event fires, but nothing spawns. Building on a small island and fully suppressing spawns is the most reliable way to achieve this.

Are stone walls worth building for defense?

For perimeter defense, stone walls are generally not worth the enormous resource cost. They require a Stonecutter (which needs Iron), consume large amounts of Stone, and despite being tougher than wood, they still break under sustained attack. Stone structures also provide no more structural stability than wood when building upward. Terrain walls and Stakewalls are more cost-effective for perimeters. Save stone for interior structures where its immunity to rain decay is valuable.

Do Wards help with base defense?

Wards (5 Finewood, 5 Greydwarf Eye, 1 Surtling Core) are primarily a multiplayer tool that prevents other players from building or opening doors within a 32-meter radius. They do not stop monster attacks or prevent spawning. The blue dome that appears when your buildings are attacked is purely visual. Wards are useful for server protection but not for PvE base defense.

Can tamed Wolves defend my base?

Yes. Tamed Wolves attack hostile creatures near your base and make an effective defense force. Keep at least 2 Wolves in a secure, roofed backup pen for breeding in case your patrol wolves are killed. Wolves live in the Mountains, so you can tame them once you can survive the cold there.

Recent Updates

  • Updated for Valheim 1.0: corrected the Workbench spacing maths, checked raid and creature details, and reorganised the guide for easier reading.

Share a Tip

0/500