How to remove all mods from Valheim
Delete the BepInEx folder and the loader files beside valheim.exe, then run Steam's Verify. If you used r2modman or Thunderstore Mod Manager, you may only need to start the game unmodded.
Almost every Valheim mod runs on BepInEx, a loader that starts with the game and loads plugins. That makes Valheim one of the easier games to clean: a handful of files beside the exe and one folder hold nearly everything.
First: how did you install the mods?
The answer decides how much there is to remove.
- r2modman or Thunderstore Mod Manager. These keep mods in profiles in your user folder and start the game with them. The game's own folder usually stays clean. Start the game with the manager's Start vanilla button, or from Steam, and it runs unmodded. There may be nothing to delete.
- By hand, or with Vortex. The files are inside the game's folder, and the rest of this guide applies. With Vortex, purge or disable the mods there first, so it doesn't put them back.
Where Valheim mods live
In Steam, right-click Valheim, choose Manage, then Browse local files. In a manually modded install you will find some or all of these next to valheim.exe:
| Path | What it is |
|---|---|
BepInEx\ | The loader's folder. Mods are in BepInEx\plugins, their settings in BepInEx\config |
winhttp.dll | The file that makes the game start BepInEx |
doorstop_config.ini, .doorstop_version | Settings for that loader file |
doorstop_libs\, unstripped_corlib\ | Extra folders that older BepInEx packs for Valheim add |
changelog.txt, start_game_bepinex.sh, start_server_bepinex.sh | Files that come along in the BepInEx pack |
The file that matters most is winhttp.dll. As long as it sits beside the exe, the game starts BepInEx, and BepInEx loads whatever is in its plugins folder.
Remove the mods by hand
- Close Valheim and any mod manager.
- If you want to keep your mod settings, copy
BepInEx\configsomewhere safe. - Delete the
BepInExfolder. - Delete
winhttp.dll,doorstop_config.iniand.doorstop_version. The last one starts with a dot and can be easy to overlook. - Delete
doorstop_libsandunstripped_corlibif they exist, and the leftover pack files. - In Steam, right-click Valheim, choose Properties, Installed Files, then Verify integrity of game files. This restores any game file a mod replaced.
- Start the game. If BepInEx used to open a console window at start-up, it should no longer appear, and mod menus and hotkeys should be gone.
Why Verify alone doesn't do it
Verify compares the folder with Steam's list of Valheim's files and repairs the files on that list. Nothing in the table above is on the list, so Verify reports success and leaves all of it in place. See Why Verify doesn't remove mods for the full explanation.
Valheim is a small download, so uninstalling and reinstalling is cheap. It still isn't reliable on its own: Steam removes the files it installed and can leave the added ones in the folder, where a reinstall finds them again. Delete the leftover folder between the two steps if you go that way.
Do it in one click, with Undo
UnmodIt compares the Valheim folder with Steam's own list of its files. Everything else is shown to you: the BepInEx folder, winhttp.dll and the Doorstop files are recognised as a mod loader and ticked.
Press Unmod it and they move to a holding folder on the same drive, then Steam checks the game's own files. Nothing is deleted, so your plugins and their config files are all still there. Undo puts the whole setup back exactly as it was, which suits Valheim well: go vanilla to join a friend's unmodded server tonight, and return to your modded world tomorrow.
It can also add BepInEx for you. Drop the BepInEx zip onto Add a mod, check where each file will go, and that mod gets its own Undo.
Dedicated servers
A dedicated server is a separate install with its own folder, and server-side mods live there in the same layout. Clean it the same way. If the server is rented, use the host's file manager or its mod toggle.
See what's in your game folder, free
UnmodIt compares a Steam game's folder with Steam's own list of its files and shows you everything that was added or changed. Scanning is free, with no time limit. Removing the mods (with Undo) and adding mods need a license: $7.99, one time.
Windows 10 and 11 · Signed installer · No account · Works with Steam games
Questions
Will removing mods delete my Valheim worlds or characters?
No. Worlds and characters are saved in your user folder under AppData\LocalLow\IronGate\Valheim, or in Steam Cloud, not in the game folder. A character carrying items from a mod can lose those items when it loads without the mod, so back that folder up first if you care about them.
Why can't I join my friend's server after modding?
Many Valheim mods must match on the server and every player. If your game still loads mods the server doesn't have, or the other way round, the join fails or the world misbehaves. Removing every mod is the quickest way to rule that out.
I verified the game files and BepInEx still loads. Why?
Verify only checks files on Steam's list for Valheim. BepInEx and its loader are added files, so Verify leaves them alone. Remove them first.
Do I need to remove mods before a Valheim update?
It often helps. A game update can break BepInEx plugins until their authors update them. Taking the mods out, playing the new version, and adding them back later avoids crashes on patch day.