"As you've heard, we are not always perfect, but we have a great deal of faith in our warrior ancestors. The code lives in our heartbeat, the blood pulsing beneath our fur. When we die, the code carries on in our kits, and their kits, for all the moons to come. StarClan willing, the code of the Clans will live forever, until the forest and the lake have turned to dust and our hunting grounds are no more."
Leafpool concluding the reader's time with her in Code of the Clans, page 156

Code of the Clans is the third book in the Field Guides and is about the warrior code.


For Mr. Pugh, with love
Special Thanks to Victoria Holmes


The front flap

The secrets behind the warrior code will finally be revealed....

  • An ominous sign from StarClan that signaled the need to patrol borders.
  • The unexpected help from a warrior ancestor that cemented the importance of elders.
  • A secret coup that led to a deputy's new role.
  • A medicine cat's pleas that stopped a spree of interClan bloodshed.

- And many more never-before-told stories!

Back cover


The warrior Clans have embraced the warrior code for as long as any living cat can remember. Now, for the first time, discover the secrets behind the code: What was the origin of the code? Which cats decreed the legendary laws? Which laws failed to become part of the code? All this and more will be revealed in CODE OF THE CLANS!

Detailed plot description

Though it has no real plot, Code of the Clans contains a lot of information that is not revealed in the main arc books. It starts with the story of the dawn of the Clans, and goes on to explain how in the beginning, the cats divided themselves up based on their prey preferences. During the early times of the Clans, there were no borders. Each of the Clans respective hunting grounds contained suitable prey that would satisfy their tastes. They rarely ever meet, only if they happened to be tracking the same piece of prey.
Leafpool narrates the story which includes explanations of how all the laws of the Warrior Code were created, why they were created, laws that were not accepted as part of the code, examples of cats breaking the warrior code or following it, and short stories from different cats who narrate on what they think of the different Codes.
There are also short stories from other cats who talk on subjects close to them such as Sandstorm confessing her love for Firestar, Tallstar explaining his choosing of Onewhisker for leader of WindClan, Cloudstar and the exiled SkyClan, and Whitestorm teaching a group of young apprentices about guarding the ThunderClan border. There is also a story explaining how to act during a warrior vigil, narrated by Squirrelflight.
For a comprehensive list of events from each story, see the cliffnotes.



  • Squirrelflight's Words of Wisdom has Squirrelflight telling of when she had her warrior vigil. However, this cannot be true, because Squirrelflight never had a vigil, due to her being given her warrior name while all four Clans were gathered up on the hill during Starlight.[4]
  • In A Dark Path Chosen, Longtail is referred to as Longstripe.[5]
  • In Who Goes There? Whitestorm Teaches Border Tactics, Graypaw is mistakenly called Graystripe.[6] This would have taken place before Graystripe was given his warrior name, as Ravenpaw is still in ThunderClan,[7] and Sandstorm, Firestar, and Dustpelt are all referred to as apprentices, with Firestar receiving his warrior name at the same time as Graystripe and Sandstorm and Dustpelt not receiving them until after Graystripe had.[8]
  • Although The Vanishing Moon states that Finchstar created the tenth code, where there must be a truce at the full moon Gathering, there is a full-moon truce at the Gathering in Moth Flight's Vision[9], which took place before Finchstar's time.

Publication History

  • Code of the Clans (EN), HarperCollins (hardcover), 9 June 2009[3]
  • Code of the Clans (EN), HarperCollins (e-book), 9 June 2009[10]
  • Das Gesetz der Krieger (DE), Beltz & Gelberg (hardcover), 30 July 2011, translated by Friederike Levin[11]
  • Das Gesetz der Krieger (DE), Beltz & Gelberg (audio-book), 26 July 2011, translated by Friederike Levin and read by Marlen Diekhoff[12]
  • Закон племён (RU), OLMA Media Group (hardcover), 2013, translator unknown[13]
  • Das Gesetz der Krieger (DE), Beltz & Gelberg (paperback), 1 December 2016, translated by Friederike Levin and read by Marlen Diekhoff[14]
  • Das Gesetz der Krieger (DE), Beltz & Gelberg (abridge audio-book), 21 February 2017, translated by Friederike Levin and read by Marlen Diekhoff[15]
  • Klaanien laki (FI), Art House (hardcover), 25 July 2019, translated by Nana Sironen[16]


Notes and references

  1. 1.0 1.1 Revealed in the front matter
  2. Revealed in the inside right-flap
  3. 3.0 3.1 Information from
  4. Revealed in Starlight, pages 26-27
  5. Revealed in Code of the Clans, page 42
  6. Revealed in Code of the Clans, page 109
  7. Revealed in Code of the Clans, page 107
  8. Revealed in Fire and Ice, page 102
  9. Revealed in Moth Flight's Vision, page 341
  10. Information from
  11. Information from
  12. Information from
  13. Information from
  14. Information from
  15. Information from
  16. Information from
Warriors books
The Prophecies Begin Into the WildFire and IceForest of SecretsRising StormA Dangerous PathThe Darkest Hour
The New Prophecy MidnightMoonriseDawnStarlightTwilightSunset
Power of Three The SightDark RiverOutcastEclipseLong ShadowsSunrise
Omen of the Stars The Fourth ApprenticeFading EchoesNight WhispersSign of the MoonThe Forgotten WarriorThe Last Hope
Dawn of the Clans The Sun TrailThunder RisingThe First BattleThe Blazing StarA Forest DividedPath of Stars
A Vision of Shadows The Apprentice's QuestThunder and ShadowShattered SkyDarkest NightRiver of FireThe Raging Storm
The Broken Code Lost StarsThe Silent ThawVeil of ShadowsDarkness WithinThe Place of No Stars
Super Editions Firestar's QuestBluestar's ProphecySkyClan's DestinyCrookedstar's PromiseYellowfang's SecretTallstar's RevengeBramblestar's StormMoth Flight's VisionHawkwing's JourneyTigerheart's ShadowCrowfeather's TrialSquirrelflight's HopeGraystripe's Vow
Field Guides Secrets of the ClansCats of the ClansCode of the ClansBattles of the ClansEnter the ClansThe Ultimate GuideThe Warriors Guide
Graystripe's Adventure The Lost WarriorWarrior's RefugeWarrior's ReturnGraystripe's Adventure
Stand-alone graphic novels The Rise of ScourgeA Shadow in RiverClanWinds of Change
Tigerstar and Sasha Into the WoodsEscape from the ForestReturn to the Clans
Ravenpaw's Path Shattered PeaceA Clan in NeedThe Heart of a WarriorRavenpaw's Path
SkyClan and the Stranger The RescueBeyond the CodeAfter the FloodSkyClan and the Stranger
Short stories and plays After Sunset: We Need to TalkAfter Sunset: The Right Choice?Beyond the Code: Brightspirit's MercyThe Elders' ConcernSpottedleaf's Honest AnswerThe Clans Decide
Novellas Hollyleaf's StoryMistystar's OmenCloudstar's JourneyThe Untold Stories
Tigerclaw's FuryLeafpool's WishDovewing's SilenceTales from the Clans
Mapleshade's VengeanceGoosefeather's CurseRavenpaw's FarewellShadows of the Clans
Spottedleaf's HeartPinestar's ChoiceThunderstar's EchoLegends of the Clans
Redtail's DebtTawnypelt's ClanShadowstar's LifePath of a Warrior
Pebbleshine's KitsTree's RootsMothwing's SecretA Warrior's Spirit
Daisy's KinBlackfoot's ReckoningSpotfur's RebellionA Warrior's Choice

Code of the Clans chapters
The Dawn of the ClansThe Warrior CodeCode 1Code 2Code 3Code 4Code 5Code 6Code 7Code 8Code 9Code 10Code 11Code 12Code 13Code 14Code 15Rules That Did Not Become Part of the CodeEpilogue
Community content is available under CC-BY-SA unless otherwise noted.