Best Valheim Base Defense Methods
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
To defend a base in Valheim effectively, you need a layered strategy combining terrain advantages, structural reinforcement, and active countermeasures like moats and walls, rather than relying on any single method. The best approach depends on your biome and the specific threats you face, from Greydwarf raids in the Meadows to Fuling and Skeleton surprise attacks in the Plains.
Understanding Valheim Base Raids
Valheim periodically triggers “events” (raids) that spawn hostile creatures near your base. These events are announced with a red text message and a warning horn. The type of raid depends on your progression—specifically, which bosses you have defeated and which biomes you have explored. For example, “The Forest is Moving” (Greydwarfs) can occur after defeating Eikthyr, while “A Foul Smell from the Swamp” (Draugr and Skeletons) becomes possible after defeating Bonemass. In the Plains, “The Fuling Horde” can spawn Fulings, and “You are being hunted” (Wolves) can occur in the Mountains. Understanding these triggers is the first step in preparing a defense, as you cannot prevent raids entirely but can mitigate their impact.
Terrain Exploitation: The Foundation
The most effective and resource-efficient defense is to use the terrain to your advantage. Building on a natural elevation, such as a hill or a cliff, makes it harder for melee enemies to reach you. You can also build on a small island or a peninsula, which limits the directions from which enemies can approach. The key is to create a chokepoint—a narrow passage that forces enemies into a predictable path where you can concentrate your defenses. For example, a base built on a cliff edge with only one narrow ramp leading up is significantly easier to defend than a flat, open area. Additionally, you can use the terrain to create a natural “kill zone” where you can rain down arrows or throw spears from a safe height.
Moats and Trenches: The Ultimate Physical Barrier
Digging a moat or trench around your base is arguably the single most effective defensive measure in Valheim. A moat is a deep ditch (at least 3-4 meters deep) that enemies cannot cross. Most ground-based creatures, including Trolls, Fulings, and Draugr, cannot pathfind over a deep enough trench. The key is to make the moat wide enough (at least 3-4 meters) and deep enough that enemies cannot jump or walk across. You can dig the moat with a pickaxe, and the excavated earth can be used to raise a wall on the inner side, creating a formidable double barrier. A moat is nearly indestructible—enemies cannot damage it, and it requires no maintenance. The main drawbacks are the time and effort to dig it, and the fact that it does not stop flying enemies like Drakes or bats. For those, you will need additional measures like ballistas or a roof.
Walls and Structural Reinforcement
Walls are the most visible defense, but they are not impenetrable. The best wall materials are stone and, later, black marble, as they have high hit points and resist damage from most attacks. However, even stone walls can be destroyed by a Troll with a log, so you should reinforce them with a secondary layer or use them in combination with a moat. A common mistake is to build a single-layer wooden wall, which is easily breached by a Troll or a group of Greydwarfs. Instead, consider a “double-wall” design: an outer wall of stone or wood, a gap of a few meters, and an inner wall of a stronger material. This gap allows you to shoot at enemies through a murder hole or over the wall while they are stuck in the gap. Additionally, you can use the “raise ground” tool to create earthen walls, which are completely immune to damage. These are the strongest defensive structures in the game, but they are visually less appealing and cannot be used for building advanced structures like roofs.
Active Defenses: Turrets and Traps
While passive defenses like moats and walls are crucial, active defenses can deal damage and thin out enemy numbers. The Ballista is a craftable turret that fires bolts at any enemy in its line of sight. It is powerful but has a slow fire rate and can be expensive to maintain (each bolt costs feathers and wood). A more practical active defense is the use of campfires and torches. Enemies are afraid of fire and will not path through a lit campfire, so placing a ring of campfires around your base can deter ground-based enemies. However, this is less reliable in the rain, as campfires can be extinguished. Another effective trap is the use of “spike traps” (sharp stakes) placed in the moat or along the approach. These deal damage to enemies that walk into them, but they also take damage and need to be repaired or replaced. For flying enemies, the only reliable defense is a well-placed Ballista or a roof over your base, as flying enemies can bypass walls and moats entirely.
Choosing the Right Defense for Your Biome
The best defense method varies by biome. In the Meadows, a simple wooden wall and a shallow moat are often sufficient, as the main threats are Greydwarfs and Boars. In the Black Forest, you must contend with Trolls, which can smash through wooden walls, so a deeper moat and stone walls are necessary. In the Swamp, the terrain is often wet and uneven, making moats difficult to dig; here, raising the ground to create a raised base is more effective, as it also helps avoid leeches and the wet debuff. In the Mountains, the main threats are Drakes (flying) and Wolves (fast melee). A roof is essential to protect against Drakes, while a perimeter wall or moat can slow down Wolves. In the Plains, the Fulings are intelligent and can throw spears, so a high wall with a murder hole and a deep moat is recommended. Finally, in the Mistlands, the Gjall is a flying enemy that can deal massive damage, so a roof is non-negotiable, and ballistas are highly recommended.
Common Mistakes and Misconceptions
One of the most common mistakes is building a base without any perimeter defense and relying solely on the workbench’s “no spawn” radius. While a workbench does prevent enemy spawns within its radius, it does not prevent enemies from walking into your base from outside that radius. Another mistake is making a moat too shallow or too narrow. A moat that is 2 meters deep is not enough—Trolls can still step over it. Always aim for at least 3-4 meters deep and wide. A related misconception is that a raised earth wall is ugly and not worth it. In reality, you can cover the earthen wall with stone or wood to make it look nicer, and the defense is permanent and unbreakable. Finally, many players forget to defend against flying enemies. A base with a perfect moat and wall but no roof is still vulnerable to Drakes and bats, which can fly over and attack your tamed animals or your character.
Maintenance and Upkeep
Defenses require maintenance. Wooden walls and spike traps will take damage and need to be repaired. Stone walls are more durable but can still be damaged by Trolls and Fulings. You should regularly inspect your perimeter after a raid and repair any damage. Also, check that your moat has not been filled in by the terrain (this can happen if you dig near a slope, as the ground can collapse). To repair, you can use a hammer and the repair function, which costs no materials. For a more permanent solution, consider building with stone or black marble, which require less frequent repairs. Additionally, ensure that your workbench is protected, as you need it to repair everything. A good practice is to have a small, enclosed repair shed near your main gate.
Frequently Asked Questions
Can a Troll destroy a stone wall? Yes, a Troll with a log can deal significant damage to a stone wall, especially if it is a single layer. A stone wall has 2000 HP, and a Troll can deal about 100 damage per swing, so it can break through in about 20 hits. To prevent this, use a moat or a raised earth wall, which Trolls cannot damage.
Does a workbench stop all enemy spawns? A workbench prevents spawns within its radius (about 20 meters), but it does not stop enemies from walking into your base from outside that radius. For a large base, you need multiple workbenches or other spawn-prevention items like torches and campfires, which also have a smaller spawn-blocking radius.
What is the best defense against flying enemies? The only reliable defense against flying enemies like Drakes and Gjall is a roof over your base. You can also use a Ballista, but it requires ammunition and may not always hit a fast-moving target. For bats, which are small and fast, a roof is the only practical solution.
How deep should a moat be? A moat should be at least 3-4 meters deep and wide. If you are in a biome with Trolls, make it 4 meters deep to be safe. You can test it by trying to jump out of it; if you cannot jump out, enemies cannot jump in.
Is it worth building a ballista? A ballista is powerful but has a slow fire rate and requires expensive ammunition (each bolt costs 4 feathers and 2 wood). It is worth building if you are in a high-threat biome like the Plains or Mistlands, but you should have a backup defense, as it can be destroyed by enemies.
Related
Formula used
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.