We may earn a commission from links on this page.

Ahriman is the greatest sorcerer of the Thousand Sons and one of the most powerful psykers in Warhammer 40,000. Once Chief Librarian of his Legion, he cast the spell that was meant to save his brothers, and instead turned most of them into dust inside their armour. Ever since, he has wandered the galaxy as an outcast, hunting for the knowledge that might let him fix his mistake. Here is the story of Ahzek Ahriman, the Exile.

Lore page, last updated November 15, 2026. Summarised in our own words from codexes, Warhammer Community articles and Black Library novels. Ahriman's story has grown a lot over the years, and the older codexes and the newer novels do not always tell it the same way. Where the lore differs, we say so.

Ahriman in 30 seconds

Full nameAhzek Ahriman
LegionThousand Sons (XV Legion)
PrimarchMagnus the Red
Old ranksChief Librarian of the Thousand Sons and Captain of the 1st Fellowship
Greatest actThe Rubric of Ahriman
What it didStopped the Legion's mutations, but turned most of its warriors into Rubric Marines: dust sealed in armour
GodServes Tzeentch, though Ahriman cares more about knowledge than about any god
Main goalReach the Black Library of the Aeldari and find a way to undo the Rubric
Known asAhriman the Exile, the Arch-Sorcerer of Tzeentch
Thousand Sons Space Marines in their original red armour charging into battle before the Horus Heresy
The Thousand Sons in their red armour, before the fall. Image: Games Workshop / Warhammer Community

Before the fall

The Thousand Sons were the most scholarly Legion of the Space Marines. Their Primarch, Magnus the Red, was a mighty psyker, and so were many of his warriors. Ahriman was one of the originals: he came from Terra and joined the Legion in its earliest days, before Magnus was found.

He rose very high. Ahriman became the Legion's Chief Librarian and also the Captain of the 1st Fellowship (the Thousand Sons' name for a company). He also commanded the elite Sekhmet and led the Corvidae, the Legion's school of seers who tried to read the future. In other words, he was Magnus's right hand and the best scholar among a Legion of scholars.

The Legion had a hidden weakness. Their gene-seed was unstable, and many of them suffered from the flesh-change, a mutation that twisted their bodies into monsters. Magnus held it back with his powers, but the cure did not last forever. Ahriman had a twin brother, Ohrmuzd, who joined the Legion with him. When Magnus first arrived and used his powers to purge the flesh-change, only some of the afflicted warriors survived the process, and Ohrmuzd was not one of them. Ahriman had his brother's pendant, a gift from their mother, worked into the shoulder guard of his armour. That loss left Ahriman with a deep fear of mutation, and a willingness to do almost anything to stop it happening to his brothers.

Prospero and the Heresy

During the Great Crusade, Magnus and his sons kept studying sorcery even after the Emperor had warned them to stop. When Magnus learned that Horus was about to turn traitor, he sent a desperate psychic warning to Terra. It broke through the Emperor's secret work beneath the Imperial Palace and did terrible damage.

The Emperor ordered Magnus brought to answer for it, and Leman Russ and the Space Wolves fell on Prospero, the Thousand Sons' homeworld. Magnus told his Legion to stand down and accept punishment, but Ahriman refused and led the defence of Prospero himself. In the middle of the battle he dragged the Space Wolf Rune Priest Othere Wyrdmake, a former friend who had accused the Thousand Sons at the Council of Nikaea, into the Warp and cast his soul away. As Magnus finally fought Leman Russ, he handed Ahriman the Book of Magnus and poured his power through him to carry the surviving Thousand Sons away from Prospero. To save what was left of his sons, Magnus bargained with Tzeentch, and the survivors fled into the Warp. There they fought for the traitors in the Horus Heresy. Ahriman helped open the great warp rift over Luna during the Solar War and fought at the Siege of Terra, and afterwards they settled on the Planet of the Sorcerers inside the Eye of Terror. You can read the full story on our Magnus page.

On the Planet of the Sorcerers, the flesh-change came back worse than ever. Warriors melted into howling spawn, and the Legion seemed doomed.

The Rubric of Ahriman

Ahriman gathered a secret cabal of the Legion's most powerful sorcerers. Working from the Book of Magnus, the Primarch's great book of spells, they built a ritual meant to cure the Legion once and for all, and cast it on the Planet of the Sorcerers. This was the Rubric of Ahriman.

It worked, in the worst possible way. The mutations stopped. But the warriors without strong psychic gifts were burned to dust, and their spirits were locked inside their sealed armour. These are the Rubric Marines: silent soldiers that walk, shoot and obey, but are barely more than echoes of who they used to be. Only the sorcerers came through as themselves, and some of them came out even stronger than before.

Magnus was enraged. In the classic telling from the older codexes, he fought Ahriman, beat him, and was about to kill him when Tzeentch spoke up and stopped him. Magnus realised the whole disaster had been part of his god's plan, so he spared Ahriman and banished him and his cabal from the Planet of the Sorcerers, on pain of death if they came back. From then on, Ahriman has been called the Exile. Newer novels tell the scene with more detail and different shading, but the outcome is the same: the Rubric cost Ahriman his place in the Legion.

A Rubric Marine of the Thousand Sons in blue and gold armour firing its warpflame bolter
A Rubric Marine: dust and a trapped soul inside sealed armour. Image: Games Workshop / Warhammer Community

Ahriman the Exile

Ahriman has spent the ten thousand years since then wandering the galaxy. At first he hid under a false name, Horkos, as a lowly sorcerer in another warband. Later he killed his rival Amon, built up his own warband, the Prodigal Sons, and allied with Abaddon the Despoiler's Black Legion. He raids libraries, temples and forgotten worlds, hunting for lost knowledge.

His greatest goal is the Black Library of the Aeldari, a hidden archive in the Webway that holds the deepest secrets about Chaos. Ahriman believes the answer to undoing the Rubric is somewhere inside. Some stories hint at a bigger dream too: that with enough knowledge he could understand Tzeentch himself, or rise close to the power of a god. He has tried to reach the Library again and again and its doors have never opened to him, but in one famous attempt he reached it in astral form and copied a map of the hidden Webway paths, the Tome Labyrinthus. He also ambushed the Ynnari in the Webway, hoping to learn how Yvraine brings back the souls of the dead.

One famous part of that hunt is in the novel Atlas Infernal by Rob Sanders. An Inquisitor named Bronislaw Czevak escapes from the Black Library carrying the Atlas Infernal, a living map of the Webway, and Ahriman chases him across the galaxy to get it.

Ahriman is not a simple villain. In John French's novels he is clever, proud and tired, a man who knows he caused a disaster and cannot stop trying to fix it, even when each new attempt makes things worse. In the trilogy he even casts a second Rubric. It fails, and it turns out Magnus planted the idea in his mind and used the ritual to pull many of his own lost pieces back together. In Ahriman: Eternal, the second spell causes a new plague among the sorcerers, and Ahriman has to bend time itself to undo it. As for Magnus: shortly before the 13th Black Crusade, the Primarch called Ahriman back and the two agreed to work together again, fighting side by side against the Space Wolves at Fenris. It is an uneasy partnership, not a happy homecoming.

Ahriman on the tabletop

Ahriman is one of the strongest psykers in the Thousand Sons army and is a named Epic Hero. The current plastic Ahriman, Arch-Sorcerer of Tzeentch kit shows him riding a Disc of Tzeentch, armed with the Black Staff of Ahriman and an inferno bolt pistol. He leads a unit of Rubric Marines very well, which fits his story perfectly: the sorcerer standing among the brothers he turned to dust.

Ahriman flying on a Disc of Tzeentch above Rubric Marines and Tzeentch daemons fighting Blood Angels
Ahriman leads his Rubric Marines into battle. Image: Games Workshop / Warhammer Community

Where to read more

  • Ahriman: Exile (John French): the first book of the Ahriman trilogy, and the best place to start. It is followed by Ahriman: Sorcerer and Ahriman: Unchanged.
  • Ahriman: The Omnibus (John French): all three novels plus several short stories in one book, often the cheapest way to get the whole trilogy.
  • Ahriman: Eternal (John French): a later novel in which Ahriman tries to bend time itself to undo the Rubric.
  • A Thousand Sons (Graham McNeill): the Legion during the Horus Heresy, with a young Ahriman as one of the main characters.
  • Atlas Infernal (Rob Sanders): Inquisitor Czevak on the run, with Ahriman hunting him for the secrets of the Black Library.
  • Codex: Thousand Sons: rules and background for his army.

FAQ

What is the Rubric of Ahriman?

A great spell Ahriman and his cabal cast on the Planet of the Sorcerers to stop the Thousand Sons' mutations. It worked, but it turned most of the Legion into Rubric Marines, dust trapped in armour.

Why was Ahriman exiled?

Magnus was furious about the Rubric. In the classic version he was about to kill Ahriman when Tzeentch stopped him, so he banished Ahriman and his cabal instead.

Who was Ohrmuzd?

Ahriman's twin brother. He died to the flesh-change, and his death is a big reason Ahriman was so desperate to cure the Legion.

What does Ahriman want?

Knowledge, above all the secrets in the Black Library of the Aeldari, which he hopes will let him undo the Rubric.

Is Ahriman back with Magnus now?

Sort of. Magnus summoned him back before the 13th Black Crusade and they fought together at Fenris, but their partnership is uneasy and full of old hurt.

Is Ahriman a Daemon Prince?

No. He is a mortal sorcerer, although one of the most powerful in the galaxy.

More lore: Magnus the Red, the Chaos Gods, Leman Russ, the Inquisition and the Horus Heresy.

Lore summarised in our own words from Black Library novels, codexes and community wikis. Warhammer and all related names are trademarks of Games Workshop; WIZY is an independent fan site.

Sources

  • Five Reasons Why it Pays to Listen to Ahriman (Warhammer Community) warhammer-community.com
  • Ahriman (Warhammer 40k Wiki) warhammer40k.fandom.com
  • Ahriman's Cabal (Lexicanum) wh40k.lexicanum.com
  • Ahriman (Novel Series) (Lexicanum) wh40k.lexicanum.com
  • Review: Ahriman: Unchanged by John French (Civilian Reader) civilianreader.com
  • Atlas Infernal (Black Library) blacklibrary.com

Spot a mistake or know something we missed?

Tell us below. Only we see it, and we fix the page.