Are there any mods to stop base raids and night attacks in Valheim?

Short answer

Yes. Mods can turn off the random 'the ground is shaking' style raid events entirely, or let you fine-tune their frequency and conditions so attacks only happen when you want them.

Mods that do this

Actively maintained

Burn all woods, use spark to light fires, refill candles, hide sky tree, limit snowstorm particles. Prevent tombstone abuse. Protect newbies from hard spawns. Door keys: break/repair. Shield Gens: protect fires, eject fuel. Turrets multi-target

86K Downloads
Actively maintained

Allows you to plant evenly spaced crops, either one at a time or in any amount of rows and columns, with grid snapping features and invalid crop placement prevention. Harvest in bulk and optionally auto replant crops. Configurable and supports gamepad.

784K Downloads

Custom_Raids

ASharpPen
Actively maintained

Customize raid events, override existing, extend with your own raids.

511K Downloads
Actively maintained

Localized, recolored, refined. Split view mode. Config files editor. Setting edit window. Changed values are highlighted. Prevent user input or pause the game while window is open. Window scale depends on game scale.

293K Downloads

Seasons

shudnal
Actively maintained

Four customizable seasons. Different visual flavor for every season, seasonal impact on gameplay. Frozen water and ice floes in Winter. Different weather, raids, lightings and trader items. New special spring grass. Minimal impact on fps.

265K Downloads
Actively maintained

Better Mount Riding, Mount Attack and Flying Experience

204K Downloads

The details

A world-rules mod like ZenWorldSettings exposes event and raid controls among many other toggles — the convenient one-panel option if you also want to tweak other rules.

There are also dedicated event/raid mods that let you disable specific raid types, change their trigger conditions, or turn off night spawns near your base while keeping combat elsewhere.

If your real goal is 'let me build in peace but keep the game challenging outdoors', tune frequency down rather than disabling events outright — many mods support that middle ground.

New to mods? Read the install & configuration guide. Read the full install & configuration guide →

Related questions

Can you turn off raids without mods in Valheim?
Not in the base game. There's no vanilla toggle for raid events; you need a world-rules or event mod (or a community-config server) to disable or tune them.
Do enemies still spawn at night if I disable raids?
Disabling raid events doesn't stop normal night spawns. Some mods separately control night/base spawns, so check whether you want both off.

More questions like this

Have a different need? Describe it and search →