RimWorld Mod Load Order Explained (Harmony, Frameworks & RimSort)
By GameModeShop Editors4 min read

Quick answer
RimWorld loads mods top to bottom, and later mods override earlier ones. Put Harmony first, then Core and the official expansions, then libraries like HugsLib and frameworks, then content mods, then patches and add-ons below whatever they modify. Let RimSort or the vanilla sorter apply each mod's declared rules, and only hand-adjust what they cannot decide.
The steps at a glance
- 1Put Harmony on top. Place Harmony at the very top of the active list, above Core.
- 2Add Core and expansions. Place Core next, followed by the official expansions you own.
- 3Load libraries and frameworks. Put shared libraries such as HugsLib and framework mods like Vanilla Expanded Framework above the mods that need them.
- 4Add content mods. Place large content mods and overhauls next, keeping each family together.
- 5Put patches below their targets. Place compatibility patches and add-ons after every mod they modify.
- 6Sort and verify. Run RimSort or the vanilla sorter, fix any warnings, restart, and read the first red error in the log if one appears.
How RimWorld load order works
RimWorld loads active mods from top to bottom. Two consequences follow:
- Later mods override earlier ones. If two mods define the same item, building or setting, the one loaded lower wins.
- Patches must load after what they patch. RimWorld mods often use XML patch operations to modify other mods' content. If the patch runs before its target exists, it does nothing or throws an error.
Code patches through Harmony are a little different. They apply at runtime and depend less on position, but Harmony itself must be loaded first, and mods that modify each other's code still often declare an order.
Each mod can declare rules in its About.xml: which mods it must load before or after, and which mods it depends on. Good sorting tools read those rules. Your job is mostly to give the tools the right mods and fix what they flag. If you have not installed mods yet, start with our RimWorld mod installation guide.
The standard order
Here is the skeleton almost every modded list follows, from top to bottom:
| Position | What goes here | Why |
|---|---|---|
| 1 | Harmony | Must be available before any mod tries to patch code. |
| 2 | Core | The base game's own content. |
| 3 | Official expansions | Royalty, Ideology, Biotech and later expansions, in their default order. |
| 4 | Libraries | HugsLib and other shared libraries your mods require. |
| 5 | Frameworks | Shared code for mod families, such as Vanilla Expanded Framework. |
| 6 | Big overhauls | Mods that change core systems, if you use one. |
| 7 | Content mods | Items, factions, animals, buildings, races. Keep families together. |
| 8 | Patches and add-ons | Compatibility patches and add-ons, below every mod they touch. |
| 9 | Interface and quality of life | Mostly order-independent, so they usually end up near the bottom. |
Performance mods are the exception to a simple rule. Some want to load early, some late, and their authors adjust this when the game updates. Follow each one's own page.
Sorting tools
The vanilla Mods menu shows the rules mods declare and warns when the order breaks them, and it can sort your list using those rules. For a small list that is enough.
RimSort is a free, open-source external manager and our default recommendation for anything larger. It combines mods' own rules with a community-maintained rules database, sorts the list, highlights missing dependencies and incompatibilities, and can save and load named mod lists. RimPy, an older external manager, works on the same principle and is still used by some players.
No sorter can know rules that nobody wrote down. When a sort gives you a working game, keep it. When it does not, the steps below find the cause.
Reading errors to fix order
When something goes wrong, the game prints red errors on the main menu or in the log. Turn on Development mode in Options to open the debug log easily.
Always start with the first red error. Common patterns:
- "Could not find type" or missing class errors. Usually a missing dependency or a mod not built for your game version.
- XML patch failures naming another mod's content. The patch is loading before its target, or the target mod is not active.
- Duplicate definition warnings. Two mods define the same thing. The lower one wins; decide whether that is what you want.
- Errors every tick in game. Often a broken mod interaction rather than order. Use Dubs Performance Analyzer or the log stack trace to find which mod is involved.
HugsLib users can press Ctrl+F12 in game to upload the log and share a link, which is what mod authors usually ask for in bug reports.
Bisecting a broken list
If the first error does not point clearly at a mod, split the list in half:
- Save your current list in RimSort or the vanilla menu.
- Disable the bottom half of your non-library mods, keeping their dependencies on.
- Restart. If the error disappears, the culprit is in the disabled half; if not, it is in the active half.
- Repeat on the guilty half until you have one or two mods left.
It takes a few restarts, but it is faster than guessing, and it works for any number of mods.
Changing order mid-save
Reordering mods on an ongoing save is usually safe as long as the same mods stay active. Adding most content mods mid-game is fine too. Removing mods is where saves break, because things the removed mod added can still exist in your colony. If you must remove one, back up the save first and expect errors on load.
Our take
Let the tools do the sorting and spend your effort on the inputs. A clean list of mods that all support your game version, with every dependency installed, sorts correctly almost every time. A list with one outdated mod or a missing library will throw errors no matter how carefully you order it.
Install RimSort before your list gets long, keep Harmony at the top, and treat patches as belonging below their targets. If you find yourself hand-tuning dozens of positions, stop and look for the one mod that does not belong.
For more on the RimWorld scene, see our RimWorld hub. If load order puzzles in general are your thing, our Skyrim load order guide covers how a plugin-based game handles the same problem.
People also ask
What should be first in RimWorld load order?
Harmony, above Core. It patches the game's code for other mods and needs to load before everything that uses it.
Does load order matter in RimWorld?
Yes. Mods that change the same definitions override each other in load order, and patches only work when they load after the mods they patch. Wrong order causes errors, missing content or features that silently do nothing.
Is RimSort better than the vanilla sort button?
For large lists, yes. Both use the rules mods declare in their About.xml, but RimSort also uses a community rules database and shows dependency problems more clearly.
Where should performance mods go in load order?
Follow each performance mod's own instructions. Some ask to load early, some late, and authors update this guidance as the game changes.
Everything else about modding RimWorld lives on one page.
Open the RimWorld hub


