Person · Heian

Abe no Seimei

安倍晴明

Classic: the full article, 11 chapters · about 3,300 words Start at chapter 1 ↓

Historical significance

Seimei mattered because he turned astronomy, calendrical calculation, divination and ritual into a service the Heian court could rely on. In a world that read the sky, illness and strange events as signs, he worked for decades and was still the most trusted diviner of an emperor and a regent in his eighties. He also founded a hereditary line that shared control of the Bureau of Yin and Yang with the Kamo for nearly nine centuries.

The contemporary record, however, consists of brief entries in other men’s diaries and a single surviving manual. The commander of shikigami, the rival of Ashiya Dōman and the son of a fox are creations of tale collections, historical tales and Edo plays written long after his death, and even his first appearance and his dates depend on scholarly argument and later genealogies.

01The Problem of Two Seimeis

Abe no Seimei is probably the most famous practitioner of onmyōdō, the "way of yin and yang," in Japanese history. In modern novels, manga and films he is an elegant sorcerer of the Heian capital who commands invisible spirits, sees through demons and outwits rival magicians. That figure has a long pedigree: tale collections of the twelfth and thirteenth centuries already told marvelous stories about him, and puppet and kabuki plays of the Edo period gave him a fox for a mother.

The historical Seimei is a quieter and in some ways more surprising figure. He appears in the diaries of court nobles of the late tenth and early eleventh centuries as an aged government specialist in astronomy and divination, summoned to choose auspicious days, interpret omens and perform rites of purification and prayer. He held modest offices, collected promotions slowly, and was still working for the emperor and the most powerful man at court when he was well over eighty.

What we can say about him with confidence comes from brief entries in other people’s diaries, chiefly the Shōyūki of Fujiwara no Sanesuke, the Midō Kanpakuki of and the Gonki of Fujiwara no Yukinari, along with a handful of official notices. Seimei left no diary or letters. The only book that can reasonably be attributed to him is a short divination manual. Everything else, including most of what made him famous, belongs to later storytelling.

02Birth and Family

No contemporary source records Seimei’s birth. The year usually given, 921, is worked back from a death in 1005 at the age of 85 by the traditional count, figures that come from the records of his descendants rather than from any diary of the time. The birth year is therefore a reasonable estimate, not a documented fact.

Genealogies compiled by the Abe family name his father as Abe no Masuki, a mid-ranking official who served as head of the Office of the Palace Table (Daizenshiki). The family claimed descent from the ancient Abe clan, an aristocratic lineage prominent in the seventh and eighth centuries, and some genealogies connect it with , the scholar who went to Tang China and never returned. Such pedigrees were often assembled after the fact, and none can be confirmed. What is clear is that Seimei was born into the lower-middle ranks of the bureaucracy, far from the great Fujiwara houses.

His birthplace is unknown. Several places, among them Abeno in Ōsaka and sites in Ibaraki and Kagawa (old Sanuki Province), claim him, but these claims rest on local tradition. Even the pronunciation of his name is uncertain. "Seimei" is the Sino-Japanese reading of the characters 晴明; Heian men’s given names were normally read in native Japanese, so he may have been called something like Haruaki in his lifetime. The modern reading is a convention.

03The Bureau of Yin and Yang

Seimei spent his career in or around the Onmyōryō, the Bureau of Yin and Yang. Established in the late seventh century as part of the Chinese-style legal and administrative system, the bureau sat under the Ministry of Central Affairs and was responsible for four technical fields. Masters of yin-yang (onmyō hakase) trained students, while practicing diviners (onmyōji) cast divinations and judged sites. A master of the calendar produced the annual almanac. A master of astronomy (tenmon hakase) watched the sky and reported anomalies. A master of the water clock supervised timekeeping and the sounding of the hours.

The logic behind all this was political. In the Chinese tradition the Japanese court adopted, the heavens responded to the conduct of rulers. Eclipses, comets, "guest stars" and unusual planetary movements could warn of rebellion, epidemic or the death of a sovereign, so astronomical observations were state secrets. The master of astronomy sealed his findings and submitted them directly to the emperor, a procedure known as tenmon missō, secret astronomical reports.

By Seimei’s time the work of diviners had spread well beyond the bureau’s formal remit. Aristocrats consulted them about almost every decision that involved time and direction. Was a certain direction blocked on a certain day, requiring a detour to an intermediate house before travel (katatagae)? Should one stay indoors behind closed gates for a period of ritual abstinence (monoimi)? Which day was suitable for moving house, for a wedding, for building, for a funeral? What did a strange dream, a bird flying into the hall or a fox in the garden portend? Diviners answered using a divination board and calculations based on the sexagenary cycle, and then performed rites to ward off the danger they had identified.

This blend of Chinese yin-yang and five-phase cosmology, astronomy, calendrical science, Daoist-derived rites and local belief is what later came to be called onmyōdō. In the mid-tenth century its leading practitioners were the Kamo family, in particular Kamo no Tadayuki and his son Kamo no Yasunori. Yasunori was expert in both calendar and astronomy and held the senior posts of the bureau. Seimei entered this world as their pupil.

04A Late Start

Seimei’s teachers are generally said to have been Tadayuki and Yasunori. The Konjaku monogatarishū, a vast collection of tales compiled around the early twelfth century, tells how the young Seimei, walking behind his master’s carriage at night, saw a procession of demons approaching, woke the sleeping Tadayuki, and so allowed him to hide the party by magic. Impressed, Tadayuki taught him everything he knew. The story is clearly embellished, but it reflects a firm belief that Seimei came out of the Kamo school.

A widely repeated later account holds that Yasunori divided his learning, passing calendrical science to his son Kamo no Mitsuyoshi and astronomy to Seimei, so creating the division by which the Kamo family later dominated the calendar and the Abe family astronomy. The division itself is real enough as a description of later centuries; whether it began with a deliberate decision by Yasunori is far less certain.

Seimei’s first appearance in the record comes surprisingly late. On the night of October 16, 960 (Julian; the twenty-third day of the ninth month of Tentoku 4), the imperial residence compound inside the palace burned for the first time since the capital moved to Heian-kyō in 794. Among the treasures damaged were the sacred swords kept to protect the emperor. According to the record, Seimei, then a tenmon tokugōshō, a selected advanced student of astronomy, submitted an opinion on the designs to be engraved on the recast blades and took part in the accompanying rites. He was forty by the traditional count and still formally a student.

Even this first entry has a complication. It survives in documents quoted by later records, and the historian Yamashita Katsuaki has argued that the swords were in fact recast the following year, 961, under Kamo no Yasunori’s direction, and that Seimei, who did take part in that casting, later pushed his contribution back to the time of the fire. Either way, he was at this point a senior student working under Yasunori.

This is less odd than it seems. Advancement in the bureau depended on seniority, patronage and family learning, and the Kamo held the advantage. A man of ordinary birth needed decades to make his way. The years in which Seimei was truly prominent all came after he turned fifty.

05Master of Astronomy

By 961 Seimei was serving as a diviner in the bureau, and he is generally thought to have taken on the post of master of astronomy as well around 971, when he was about fifty. Yasunori’s death in 977 removed the dominant figure of the previous generation, and Seimei’s standing rose. Court records show him reporting celestial anomalies, selecting days for ceremonies and performing rites in the palace. According to Sanesuke’s Shōyūki, it was Seimei who chose the day in 984 on which Emperor En’yū handed the throne to Emperor Kazan, and the court chronicle Honchō seiki records him divining the meaning of a snake that appeared in the Council of State’s offices in 986. By his mid-sixties he was regarded as the leading figure in his field.

The court he served was in the process of becoming the classic regency government of the Fujiwara. Leaders of the northern branch of the Fujiwara, Saneyori, Koretada, Kanemichi, Yoritada and Kaneie, succeeded one another as the dominant figure behind young or sickly emperors. It was an anxious world, alert to omens, illness and the vengeful spirits of the dead, and the demand for skilled diviners was correspondingly high.

His rank stayed modest for a long time. Besides the astronomy post he held a string of offices that had nothing to do with divination, including provisional assistant head of the Bureau of Accounts, head of the Office of the Palace Table and provisional master of the Left Capital Office. These were appointments that gave salary and status to valued technical specialists. He eventually reached the Junior Fourth Rank, Lower Grade, a remarkable height for a man of his background and his profession.

06The Abdication of Emperor Kazan

In the small hours of August 1, 986 (Julian; the twenty-third day of the sixth month of Kanna 2), Emperor Kazan, aged seventeen (nineteen by the traditional count), slipped out of the palace and took the tonsure at Gangyō-ji in Yamashina. The episode was engineered by Fujiwara no Kaneie. His son Michikane persuaded the grieving emperor, who had recently lost a beloved consort, that the two of them would become monks together; once Kazan’s head was shaved, Michikane excused himself and never returned. Kaneie’s grandson, six years old (seven by the traditional count), then became , and Kaneie became regent.

Seimei’s part in this story is known only from the Ōkagami, a historical tale written more than a century later. It relates that as the emperor’s party passed Seimei’s house, they heard him clap his hands and say that the heavens showed the emperor abdicating, that it seemed already done, and that he must go to the palace to report. He then ordered a spirit servant to go to the palace; an unseen being opened the door and reported that the emperor was passing by at that moment.

The Ōkagami is a lively, literary work narrated by fictional old men, and this scene cannot be taken as evidence of what Seimei actually did that night. Its value is different: it shows that by the late eleventh or early twelfth century Seimei was already imagined as a man who read the sky and commanded shikigami, the spirit servants that later legend would make inseparable from his name. Whether he knew in advance about Kaneie’s plot is beyond anything the sources can tell us.

07In the Service of Emperor Ichijō

The long reign of Ichijō, from 986 to 1011, is the best documented part of Seimei’s life. He was then in his sixties, seventies and eighties, yet appears frequently in the diaries.

According to the Shōyūki, on March 20, 989 (Julian; the eleventh day of the second month of Eien 3, an era renamed Eiso later that year), because the boy emperor had been troubled by bad dreams, Seimei performed the Taizan Fukun rite in place of the rituals originally planned. It is generally taken to be the earliest Taizan Fukun rite found in Heian sources. In the second month of 993, when Ichijō suddenly fell ill, Seimei performed a purification; the emperor recovered quickly and Seimei was promoted to the Senior Fifth Rank, Upper Grade, again according to the Shōyūki. Entries like these show that he had become a diviner trusted by the sovereign personally.

On November 9, 1000 (Julian; the eleventh day of the tenth month of Chōhō 2), when Ichijō moved into the rebuilt palace, Seimei performed a henbai, a protective rite in which the practitioner treads a prescribed pattern of steps to subdue harmful influences. Yukinari, writing about him in the Gonki, called him outstanding in his art.

The diaries of Sanesuke and Yukinari record many other occasions on which he was summoned. He selected days, interpreted portents and performed rites with names that point to their Chinese and Daoist origins: the Taizan Fukun rite, addressed to the lord of Mount Tai who kept the registers of life and death; rites to an individual’s guardian star; rites to the Pole Star. Many of these were requests for long life and protection from calamity. The Taizan Fukun rite in particular became closely associated with the Abe family in later centuries.

Seimei worked for private clients as well as the throne, and the diaries suggest that he was in heavy demand. At times nobles had to wait for him or found that he was committed elsewhere. Yet they did not rely on him alone. It was normal to consult several diviners and compare their answers, and to ask Buddhist monks to perform esoteric rituals alongside the diviners’ rites. Seimei’s divinations were sometimes questioned or proved wrong. He was the most celebrated diviner of his day, not an infallible one.

08Michinaga’s Diviner

After 995, when his elder brothers died in quick succession, became the dominant figure at court, and Seimei’s name appears repeatedly in Michinaga’s own diary. Michinaga asked him to choose days for journeys, moves and ceremonies, to divine about illnesses in his household, and to perform rites on his behalf. When Michinaga’s daughter Shōshi was made empress (chūgū) on April 2, 1000 (Julian), Michinaga’s diary shows that the day had been chosen by Seimei.

The best known episode came in the seventh month of 1004 (late in which the era name changed from Chōhō to Kankō), during a summer drought. Seimei performed the Five Dragons rite (goryūsai) to bring rain; rain fell, and rewarded him, attributing the result to Seimei’s efforts, as Michinaga recorded. Seimei was then about 83 (84 by the traditional count). Rain-making was usually entrusted to Buddhist monks performing esoteric rituals, so to be given the task, and credited with success, was a mark of his standing.

He went on working almost to the end. In 1005, the year of his death, he was still performing a protective henbai for an outing by Empress Shōshi and carrying out divinations for Michinaga.

Related events in this chapter: 999 Shōshi Becomes Ichijō’s Second Empress →

09Death, Writings and Heirs

According to Abe family genealogies, Seimei died on the twenty-sixth day of the ninth month of Kankō 2, which corresponds to October 31, 1005 (Julian), at the age of 85 by the traditional count, 84 by modern reckoning. No contemporary diary records his death, so the date rests on later family tradition.

The one work that can be attributed to him with some confidence is the Senji ryakketsu, a concise manual of the rikujin (Chinese liuren) method of divination. Practitioners used a two-part board representing heaven and earth, turned according to the hour and the cyclical day, to generate a configuration that was then interpreted. The manual reads like a teaching text, and surviving copies attribute it to Seimei. Another book long circulated under his name, the Hoki naiden, is a medieval compilation that includes beliefs such as the cult of Gozu Tennō; scholars regard it as a later work only attributed to him.

Both of Seimei’s sons, Abe no Yoshihira and Abe no Yoshimasa, followed his profession. Yoshihira served Michinaga and his son Yorimichi, became assistant head of the bureau and later head of the Bureau of Accounts, and reached the Junior Fourth Rank, Upper Grade, one step above his father; Yoshimasa became master of astronomy and head of the bureau. From then on the Abe and Kamo families effectively monopolized the leading posts of the Bureau of Yin and Yang. In later centuries the Abe line became known as the Tsuchimikado family. Its standing rose in the Muromachi period, and in the Edo period it was recognized by court and shogunate as the authority licensing onmyōji throughout the country. The Meiji government abolished the bureau in 1870 and with it the family’s privileges.

10The Legend Grows

Seimei’s reputation outlived him. In the early twelfth century the scholar Ōe no Masafusa, listing the outstanding men of Ichijō’s reign in his Zoku honchō ōjōden, named Seimei among the yin-yang masters. Stories about him multiplied at the same time. The Konjaku monogatarishū and the thirteenth-century Uji shūi monogatari and Kokon chomonjū tell how he saw demons as a boy; how doors in his house opened and closed with no one there because his spirit servants did the work; how he killed a frog with a single blade of grass to satisfy the curiosity of some young nobles; how he unmasked a visiting monk’s attendants as shikigami; and how he discovered a curse buried in Michinaga’s path and identified its author, a diviner-monk from Harima called Dōma. That last story is set at Hōjō-ji, the temple Michinaga built in his final years, long after Seimei was dead, which is enough to show that it is not a record of real events.

Dōma later became Ashiya Dōman, Seimei’s arch-rival, and contests of magic between the two became a stock theme. A medieval story in the Genpei jōsuiki adds that Seimei’s wife was so frightened by the faces of his spirit servants that he hid them under the Ichijō Modoribashi bridge in Kyoto and summoned them only when needed. Seimei Shrine, near the bridge, stands on what tradition holds was the site of his house and is said to have been founded by order of after his death; these claims belong to the shrine’s own tradition and cannot be confirmed from the records of the time.

The most famous legend came last. In it Seimei’s father, here called Abe no Yasuna rather than Masuki, saves a white fox in the Shinoda forest of Izumi Province. The fox takes the form of a woman, Kuzunoha, marries him and bears a son, Seimei. When her true nature is discovered she leaves a farewell poem inviting her husband to seek her in the forest if he misses her, and returns to the wild. Elements of the story appear in late medieval texts such as the Hoki shō; Asai Ryōi’s prose tale Abe no Seimei monogatari of 1662 gave Seimei a fox mother; the story spread through the sekkyō-bushi narrative Shinodazuma, and it became widely known through Takeda Izumo’s puppet play Ashiya Dōman ōuchi kagami of 1734. The five-pointed star now used by Seimei Shrine as his emblem belongs to the same long process by which a court diviner became a hero of popular imagination.

11Assessing Seimei

Stripped of legend, Seimei still cuts a distinctive figure: a man of ordinary family who was still a student of astronomy at forty, became master of astronomy in his fifties, was the most trusted diviner of an emperor and a regent in his seventies and eighties, reached the Fourth Rank, and founded a hereditary profession that his descendants would carry for nearly nine centuries.

His success fit his society. The Heian court ran on ceremony and on an elaborate system of taboos, and it treated the sky, illness and strange events as signs that needed expert reading. Seimei could combine astronomy, calendrical calculation, divination and ritual into a service that nobles could depend on, delivering a judgment at the right moment and a rite that eased their fears. His fame grew from that usefulness and from an unusually long working life.

Because the contemporary record is so brief and businesslike, later generations had plenty of room to imagine him. From medieval tale collections to Edo theater, and from there to Yumemakura Baku’s novels of the late twentieth century and the films they inspired, Seimei has been reinvented again and again. Knowing the historical man does not spoil those stories. It simply reminds us that the sorcerer who commands twelve divine generals and bids farewell to a fox mother took shape over the centuries after the real Seimei had died.