The Codex Astartes is the rulebook Roboute Guilliman wrote after the Horus Heresy to stop Space Marines from ever turning on the Imperium at legion strength again. It covers everything from how a Chapter is organised to how it fights, and it’s still the backbone of most Chapters ten thousand years later.
What the Codex Astartes rules actually cover
It’s a doctrine, more than a military manual. The Codex sets out Chapter organisation, battlefield tactics, unit markings, supply, even religious instruction. Thousands of Imperial warriors contributed to it over time, so it reads more like an accumulated body of wisdom than one man’s notebook.
For Codex-compliant Chapters, it governs almost everything: how many companies you have, what each one does, how squads split in combat, and what ranks exist. The Ultramarines treat it as a holy text and follow it without question.
- Chapter and company organisation, including the ten-company structure
- Squad-level tactics, including splitting into combat squads
- Rank structure from Neophyte up to Chapter Master
- Unit markings, heraldry and company colours
- Strategic supply, planetary assault planning and religious instruction
Why Guilliman wrote it
After the Horus Heresy, the Emperor was entombed on the Golden Throne and the loyalist Legions had been gutted by defections and losses. The surviving Primarchs and the High Lords of Terra were terrified of a second civil war.
Guilliman’s answer was to break the Legions into smaller autonomous Chapters. The Codex was the instruction manual for that new Adeptus Astartes, giving each Chapter a shared structure so no single commander could ever wield legion-sized power again. The earliest known version was called the Apocrypha of Skaros, though we can’t be certain it was the first.
Who follows it, and who doesn’t
Chapters that follow the Codex are called Codex Chapters. The Ultramarines and their successors are the strictest, but plenty of others follow it loosely rather than to the letter.
Some Chapters barely pay it lip service. The Space Wolves and Black Templars famously prefer their own traditions of combat. The Codex has even been adapted for non-Astartes forces like the Ultramar Defence Auxilia, where the core tactics stay the same but the details are scaled down for mortal infantry.
| Chapter | Stance on the Codex |
|---|---|
| Ultramarines and successors | Treated as holy text, followed without question |
| Most Codex Chapters | Followed, but not always strictly |
| Space Wolves | Lip service only, own traditions preferred |
| Black Templars | Lip service only, own traditions preferred |
How it shapes a Chapter in practice
A Codex-compliant Chapter runs ten companies, each with a defined role: one Veteran company, several Battle Companies, Reserve Companies, and a Scout Company. Squads can split into combat squads mid-battle, which is one of the doctrine’s signature moves.
Among the Ultramarines, every battle-brother memorises whole sections of the text. The idea is that a single company carries the entire Codex between them, so the knowledge survives even if the book doesn’t.
Key facts
- Written by Roboute Guilliman after the Horus Heresy to reorganise the Adeptus Astartes
- Covers organisation, tactics, markings, supply and religious instruction
- Its main purpose was breaking the Legions into smaller autonomous Chapters
- The Ultramarines treat it as a holy text; Space Wolves and Black Templars largely ignore it
- The earliest known version was called the Apocrypha of Skaros
FAQ
Is the Codex Astartes law for every Space Marine Chapter?
No. It’s the standard for Codex Chapters, but some like the Space Wolves and Black Templars only pay it lip service and stick to their own combat traditions instead.
Who wrote the Codex Astartes?
Roboute Guilliman, Primarch of the Ultramarines, wrote and formalised the first edition after the Horus Heresy.
What was the Apocrypha of Skaros?
It’s the earliest known version of the Codex. Whether it was actually the first edition is unclear from the sources.