妖怪Yokai Almanac
← All yokai
Ink illustration of Gyobu-danuki (隠神刑部): the tanuki who commanded eight hundred and eight others guarding Matsuyama castle, until a retainers' quarrel ended with the whole clan sealed in a cave.

Gyobu-danuki

隠神刑部/ Inugami Gyōbu

The tanuki who commanded eight hundred and eight others guarding Matsuyama castle, until a retainers' quarrel ended with the whole clan sealed in a cave.

Was granted a castle guardian's title and eight hundred followers. A retainer's staff sealed him in a mountain cave.

By Kaito Mori

At a glance

Kanji
隠神刑部Inugami Gyōbu
Meaning
“hidden deity + an old ministry title”
Type
yokai
Region
Matsuyama, Iyo (Ehime) — Shikoku.Shikoku
Temperament
proud

The meaning of “Inugami Gyōbu”

隠神inugamihidden deity
刑部gyōbuan old ministry title

隠神刑部 · Inugami Gyōbu · literally “hidden deity + an old ministry title”

Most tanuki in folklore are tricksters. Gyōbu-danuki was something rarer: a guard. For years he was said to protect Matsuyama Castle, on Shikoku. He led eight hundred and eight tanuki under him. He even held a real title, given by the castle lord's own family. Then a feud broke out inside the castle. He took the wrong side, and was sealed in a mountain cave.

What does it look like?

Most tellings keep him close to an ordinary tanuki, the round raccoon dog of folklore. He has a stout body and a masked face. The old tales say little about his looks. He is rarely drawn as a monster. A guard with a real title looks less like a threat and more like a soldier. His eight hundred and eight followers are named only in passing, an army implied but never drawn one by one.

A rank inside the castle

Local legend traces him back to Emperor Tenji, in the 600s. By the Edo period he lived in a rock cave on Mt. Kuma, above Matsuyama. From there he was said to guard Matsuyama Castle. The title Gyōbu, an old ministry post, came from the castle lord's own family. Retainers and townsfolk treated him like a minor god. Command of eight hundred and eight tanuki gave the tale its name: Happyaku-ya-danuki, "the eight hundred and eight tanuki."

The Matsuyama Sōdō

Guard duty did not last. During the Kyōhō era, Matsuyama was hit by a family feud, made worse by famine. A senior retainer named Okudaira Kyūbei plotted to take over the domain. Gyōbu-danuki was drawn into the plot. He set his tanuki to cause strange events for the plotters. The loyal side then found a champion, the samurai Inō Butayū. Inō carried a holy staff, given by the god Usa Hachiman. With it he sealed Gyōbu-danuki and all eight hundred and eight of his followers inside the cave on Mt. Kuma. Tellings do not agree on whether Gyōbu was ever truly guilty.

The cave that is still there

The sealed cave is still on the map. Today it is Yamaguchi Reishin Shrine, in the Kuya-Nakagumi part of Matsuyama. People still leave gifts there for Gyōbu-danuki, treating the sealed guard less like a threat and more like a spirit worth keeping happy. A sign nearby names the site, part of Shikoku's wider line of named, ranked tanuki.

Where it comes from

The tale began as something close to true crime. In 1805 (Bunka 2), the feud was written down as Iyo Nagusa, a plain account of the scandal. It named real people and a real theft case. Years later, in the late Edo period, a storyteller named Tanabe Nanryū reworked it. He added the tanuki, the sealing, and a strange cause behind the family's troubles. The result became Matsuyama Sōdō Happyaku-ya-danuki Monogatari, one of the region's best-known kaidan (ghost story). A real scandal had turned into a yokai tale, years after the fact.

Gyōbu-danuki fits a wider Shikoku custom: tanuki with names, ranks, and shrines of their own. Tasaburo-tanuki of Yashima shares the same pattern, another tanuki said to lead troops of his own. Both trace back to an older, more common tanuki: the shapeshifting trickster found all over the country.

Go deeper

Books worth owning if this world pulls you in.

Some links are affiliate links; if you buy through them we may earn a small commission at no extra cost to you.

Gyōbu-danuki today

Studio Ghibli's Pom Poko (1994) uses him directly. Among the legendary tanuki summoned to fight for Tokyo's raccoon dogs is Inugami Gyōbu, alongside Yashima's own Tasaburo-tanuki. The film treats him as a local leader, true to the old tales. A bronze statue of Gyōbu-danuki also stands on Mizuki Shigeru Road, the yokai-themed street in Sakaiminato. Most figures on that street come from Shigeru Mizuki's own comics. Gyōbu-danuki reached it from something older: a real feud, a real cave, and eight hundred and eight tanuki nobody ever saw again.

More creatures like this

Source of the tradition: Iyo Nagusa (伊予名草), a factual account of the Matsuyama Sōdō written down in 1805 (Bunka 2); dramatized as Matsuyama Sōdō Happyaku-ya-danuki Monogatari by the storyteller Tanabe Nanryū in the late Edo period.