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.
The poet Fujiwara no Sanekata lost his temper at court.
The specifics, per the Japanese record, are wonderfully petty. He was quarrelling with a rival — Fujiwara no Yukinari — and he knocked Yukinari's court cap off his head and threw it away.
A hat. He threw a man's hat.
And for that he was "promoted" to Mutsu — the far north — which is exile with a paper smile on it. A posting so distant it was understood by everyone involved to be a sentence.
He died up there. The record says in despair, yearning to return home.
Then a sparrow got into the palace
Not long after, a sparrow began appearing — daily — in the Seiryōden.
That's not a courtyard or an outbuilding. The Seiryōden is the emperor's own hall. The innermost room of the Japanese state, past every gate, every guard, every screen.
And the sparrow was eating the rice.
The court's reading was immediate and unanimous.
Sanekata had come back — the only way the north would let him. Through something small enough to slip inside.
The name is the whole story
Nyūnaisuzume. "The sparrow that entered the inner palace."
The demoted man finally past every gate that had closed on him.
He couldn't get a recall. He couldn't get an audience. He couldn't get within five hundred miles of the capital while he was alive.
And then he was a bird, in the emperor's breakfast room, helping himself.
The rest of the procedure was standard
A priest at the Kangaku-in dreamed that the sparrow declared itself Sanekata.
A dead sparrow was found.
A mound was raised over it.
And the temple became Kōjakuji — Sparrow Temple — where memorial services for Sanekata continue to this day.
Grudge, dream, burial, ongoing rite. The complete lifecycle of Japanese spirit- pacification, run start to finish, for a bird.
Which is the point, and it's a good one
Japan has famous angry ghosts. The exiled scholar who came back as lightning on the palace and killed an emperor, and had to be given titles, a shrine network, and a posthumous chancellorship before he'd settle. The rebel whose severed head flew across the country and now has a shrine in Tokyo's financial district.
Same doctrine, every time: the wronged courtier's spirit returns to the seat of power, and ritual appeasement resolves it, and an institution memorializes it permanently.
Sanekata got a sparrow at the breakfast table.
And that's not a failure of the system. That's the system working correctly — because the response is scaled to the offence.
Michizane was destroyed by a political conspiracy and died in disgrace. Sanekata lost his temper and threw a hat.
So one comes back as weather, and the other comes back as a bird stealing rice.
The wrath-system has a proportionality clause, and Sanekata is the minimum viable vengeful spirit.
And there's a real bird underneath
The nyūnaisuzume is a russet sparrow. An actual species, and nyūnaisuzume is still its standard Japanese name today.
It breeds in Tōhoku — the north, where Sanekata was exiled and died — and migrates south in autumn, in numbers, damaging crops on the way.
So every year, on schedule, the exile's homeland sends sparrows to the capital.
The legend maps exactly onto the migration. Somebody in Kyoto watched northern birds arrive each autumn and eat the rice, and knew whose ghost it was, and they were right about the direction if nothing else.
One small footnote, because it makes me like him.
Sanekata was a real and rather good poet. He has a poem in the Hyakunin Isshu — the hundred-poem anthology every Japanese schoolchild learns, still played as a card game at New Year.
He's number 51.
The man is remembered three ways: as a poem people memorize, as a bird that eats their crops, and as a temple that still says his name out loud.
Field guide
At a glance
- Behavior
- The exiled poet Sanekata's spirit, come home as a sparrow — appearing daily in the palace's inner sanctum, eating rice from the emperor's own table.
- Powers
- Passage: "the sparrow that entered the inner palace" — past every gate that had closed on the demoted man.
- Weaknesses
- Sutras: a priest's dream, a dead sparrow at the temple next morning, a memorial mound — and services that continue today at the Sparrow Temple.
- Oddities
- The goryō system in miniature, and the miniature is the point: Michizane's grudge needed lightning and a national shrine; Sanekata's got a sparrow at breakfast. Same doctrine, scaled to the offense — he lost his temper and a hat, not a dynasty.
- The naturalist floor is lovely: the real russet sparrow — still named nyūnaisuzume — migrates from his exile's north to the capital each autumn, on schedule, hungry.
Overview
The poet Fujiwara no Sanekata insulted a rival at court and was "promoted" to distant Mutsu — exile with a paper smile. He died there, "in despair," aching for Kyoto. Then a sparrow began appearing daily in the palace's inner sanctum (the Seiryōden), devouring the rice — and the court knew: Sanekata came back the only way the north would let him, through a bird small enough to slip inside. The name says everything: "the sparrow that entered the inner palace" — the demoted man finally past every gate that had closed on him.
The record
- The Yukinari quarrel, the Mutsu demotion, the death in longing; the rice-pecking palace sparrow read as his malice or possession [wikipedia-nyunaisuzume].
- Suzume-dera: a Kangaku-in priest dreamed the sparrow declared itself Sanekata; a dead sparrow was found, a mound raised — the temple became Suzume-dera (Sparrow Temple), where memorial services continue [wikipedia-nyunaisuzume]. Grudge, dream, burial, ongoing rite: the full lifecycle of Japanese spirit-pacification in one small bird.
- The naturalist layer: the russet sparrow breeds in Tōhoku and migrates south in autumn damaging crops — the exile's homeland sending sparrows to the capital on schedule [wikipedia-nyunaisuzume]. The legend maps onto real bird migration; and nyūnaisuzume is the bird's standard Japanese name today.
- Sekien (1779) catalogs it [sekien-1779].
- The quarrel, specified: the JA record has Sanekata knock Yukinari's court cap off and throw it away — the outburst that earned the Mutsu posting; he died there "in despair, yearning to return home" [ja-nyunai]. The temple is named as Kōjakuji ("Sparrow Temple"), where Sanekata's memorial services continue today [ja-nyunai].
The reading
The goryō system in miniature — and the miniature is the point. Michizane's exile-grudge required lightning on the palace and a national shrine network; Sanekata's got a sparrow at the breakfast table. Same doctrine (the wronged courtier's spirit returns to the seat of power; ritual appeasement resolves it; an institution memorializes it), scaled to the offense — he lost his temper and a hat, not a dynasty. The wrath-system page should run Sanekata as its "minimum viable goryō."
Two-track labeling
The image


Citations
The record
- [wikipedia-nyunaisuzume]"Nyūnaisuzume," Wikipedia (retrieved 2026-07-24), 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
- [ja-nyunai]「入内雀」ja.wikipedia via WebFetch (retrieved 2026-07-26), Tier C.modern reference Japanese Wikipedia's article on this subject, as retrieved in 2026 — often carries regional detail the English article lacks.All-source record
- [sekien-1779]per 02-HISTORICAL-CATALOGS.md.Edo, 1779 Sekien's second catalog (Konjaku Gazu Zoku Hyakki) — more inventions and puns join the attested spirits.All-source record
Where the evidence thins
Open questions
- Sanekata's exile history (the Kokinshū-circle politics).
- Suzume-dera/Kōjakuji location/rites today (places pin).
- Sanekata's poetry (Hyakunin Isshu no. 51 — the exile who was an anthology fixture; one line).
- The Yukinari quarrel in Ōkagami (source-check the cap-throwing).
- Sanekata's grave in Miyagi (Bashō visited it — Oku no Hosomichi tie-in worth one line).