A field guide entry

Inugami Gyōbu

隠神刑部

the 808 tanuki of Matsuyama

RegionalWing · Mountain

Folklore, retold

The story as it is told

A retelling, not a citation. What follows is the story as the most widely circulated popular accounts tell it — folklore encyclopedias, translations, and the versions that have travelled furthest. It is synthesized rather than keyed line by line to the dated primary texts, and popular versions drift from what those texts actually say. The cited, source-by-source record begins further down this page, and where the two disagree, the record wins.

Matsuyama Castle had a garrison of tanuki, and their commander had a court title.

Inugami Gyōbu lived in a cave on Kuman Mountain and commanded eight hundred and eight raccoon dogs. Gyōbu means "penal affairs" — it's a real administrative rank — and the title had been granted to him by the castle lord's own ancestors.

So this is not a monster haunting a castle. This is a supernatural being on the establishment table, holding an appointment, with a staff of eight hundred and eight, whose job was guarding the domain.

And then he rebelled

The legend welds itself onto real history, and that's what makes it the most political animal story in Japanese folklore.

In 1805 — famine years — Matsuyama domain had a genuine succession crisis, the kind of internal power struggle that Japanese history calls an O-Ie Sōdō. Real factions, real stakes, real people ruined.

In the storytellers' version, Gyōbu's tanuki host backs the rebel faction. Strange phenomena storm over the castle. The supernatural garrison has changed sides.

He's finally put down by a warrior armed with a divine rod obtained from Usa Hachiman — the war god's own hardware, which tells you what scale of problem this was considered to be — and the eight hundred and eight are sealed into the cave.

The tellers can't agree whose side he was on

Here's the part I find genuinely revealing.

The versions disagree about his politics.

In some, he was manipulated into rebellion through a pact — a dupe. In others he was sincerely against the lord. And in some tellings he was defending the righteous side all along, and the man with the divine rod was working for the wrong people.

Which means that for two centuries, professional storytellers have been re-litigating an actual domain succession dispute through a raccoon dog, and adjusting his motives to suit whichever version of the politics their audience held.

A real political grievance, still being argued, wearing fur. That is folklore doing something people could not safely do in plain speech.

And notice the shape of the grievance itself: a guardian appointed by the lord's ancestors turns against the lord's successors. Read plainly, it's a labour dispute with the founding employer — which is, in a famine year, in a domain tearing itself apart over who inherits, a fairly pointed thing for a storyteller to be putting in a monster's mouth.

Sealed, not killed

The ending matters, and it's characteristic.

Gyōbu was sealed. Not beheaded, not destroyed — shut in a cave with his eight hundred and eight, alive.

Compare what happens to oni in this tradition: the demon king of Mount Ōe gets his head cut off in his sleep after being poisoned with sake. Demons get killed. Tricksters get contained, and containment is reversible in a way a decapitation isn't.

And the containment has an address. The sealed cave is still a landmark, and it is also a shrine — the imprisoned guardian receives visitors.

Which is the perfect Matsuyama ending. He rebelled, he lost, he's still in there, and people come and pay their respects to him.

On an island with almost no fox lore, the tanuki carried everything — including, here, the blame for a real rebellion, and a rank, and a prison with an address you can visit.

Field guide

At a glance

Behavior
Guarded Matsuyama Castle as a feudal appointee — court title granted by the lords themselves — commanding eight hundred and eight tanuki from the Kumayama cave.
Powers
Storms of strange phenomena over the castle when his host backed the rebel faction in a real succession dispute.
Weaknesses
A divine rod from the war god's own shrine at Usa Hachiman — defeated, he was sealed, not slain, with all 808 into the cave.
Oddities
  • The tellings still disagree about his politics: manipulated, sincerely rebellious, or defending the righteous side — a domain dispute re-litigated through a tanuki for two centuries.
  • The sealed cave remains a landmark and a shrine: the imprisoned guardian still receives visitors.

Overview

Matsuyama Castle had a supernatural garrison: Inugami Gyōbu, the great bake-danuki of the Kumayama cave, commander of eight hundred and eight tanuki, holder of a court-style title (Gyōbu, "penal affairs") granted by the castle's own lords — the castle guardian as feudal appointee [wikipedia-gyobu]. His tale — one of the "big three tanuki tales" — is the tradition's most political animal story.

The Matsuyama Disturbance

The legend welds itself to real history: the O-Ie Sōdō (succession strife) of the 1805 famine era. In the kōdan tellings, Gyōbu's tanuki host backs the rebel faction — storms of strange phenomena over the castle — until the warrior Inō Budayū, armed with a divine rod, defeats him and seals the 808 into the cave [wikipedia-gyobu]. The versions disagree about his politics: manipulated into rebellion by a pact; sincerely anti-lord; or in some tellings defending the righteous side [wikipedia-gyobu] — storytellers re-litigating a domain dispute through a tanuki for two centuries.

The details sharpen the politics: the divine rod came from Usa Hachiman shrine — the war god's own hardware (the warrior's name is rendered Inō Busaburō in the Japanese account); Gyōbu's cave sat on Kuman Mountain; and his title was a grant from the castle lord's ancestors [ja-gyobu] — which makes the guardian's rebellion a labor dispute with his founding employer. The tale ranks among the "three great tanuki tales" with Shōjōji's drum and Bunbuku's kettle [ja-gyobu].

  • The sealed cave (Yamaguchi Reishin) remains a landmark — and a shrine: the imprisoned guardian still receives visitors [wikipedia-gyobu]. Sealed, not slain — the tanuki ending; compare the oni's beheadings: the trickster's punishments stay reversible.

The reading

The named-tanuki tradition (tanuki) peaks here: an animal spirit with a job title, a garrison strength, a political faction, and a prison address. Shikoku's tanuki-faith treated its tricksters as institutions: on the island without foxes, the tanuki carried everything, up to and including the blame for a real rebellion.

Two-track labeling

The image

Full-body portrait of Inugami Gyobu, the 808-tanuki commander of Matsuyama: a great grizzled tanuki in three-quarter view wearing formal court robes of indigo with an ochre crest, seated on a camp stool like a general, a war-fan in one paw.
new art, CC0Profile

Citations

The record

  1. [wikipedia-gyobu]"Inugami Gyōbu," Wikipedia (retrieved 2026-07-25), Tier C.modern reference English Wikipedia's article on this subject, as retrieved in 2026 — an aggregate starting point, not a primary source.All-source record
  2. [ja-gyobu]「隠神刑部」ja.wikipedia via WebFetch (retrieved 2026-07-26), Tier C — the Usa Hachiman rod, Kuman Mountain, the ancestral title-grant, the three-tales ranking.modern reference Japanese Wikipedia's article on this subject, as retrieved in 2026 — often carries regional detail the English article lacks.All-source record

Where the evidence thins

Open questions

  • The big-three set page (Gyōbu, Danzaburou, Shibaemon — two drafted, Danzaburou pending).
  • The O-Ie Sōdō history capsule.
  • Yamaguchi Reishin's shrine practice today.

Keep walking