Meet the Heian court astrologer who became Japan's most famous master of yin and yang, and visit the Kyoto shrine built on his home.
Published October 22, 2026 at 1:46 AM JST | By Tokyo Paul
Quick answer: Abe no Seimei (921 to 1005) was an onmyoji, a Heian-period court specialist in astronomy, calendars and divination based on yin-yang and the five elements. He served emperors as an adviser and ritual expert and later became a legendary figure of Japanese folklore. Seimei Shrine in Kyoto, founded in 1007, stands on the site of his home.
Abe no Seimei is one of those historical figures who seems to belong as much to fiction as to fact. Novels, manga, films and games have turned him into a gentle wizard with a fox-spirit mother and a talent for command over unseen servants. Behind the legend, however, stands a real court official of the Heian period who kept the calendar, watched the stars and advised the capital. This guide separates what records say from what stories add, explains the world of onmyodo, and shows what visitors can see at his Kyoto shrine.
Seimei lived from 921 to 1005 and reached the age of eighty-four, a long life for his era. He served the Heian court as an onmyoji, a specialist in the practice known as onmyodo. His family background is not fully certain, and some accounts suggest he may have descended from the earlier poet Abe no Nakamaro.
Seimei studied under two renowned masters, Kamo no Tadayuki and Kamo no Yasunori. After Yasunori, Seimei took over leadership in astrology and divination. By the late 10th century, the Abe family had come to control the government bureau for onmyodo.
His reputation rests partly on his skill and partly on stories told long after his death. As with many famous figures, it is wise to enjoy the legends while keeping the historical core in view. The historical Seimei was a respected, careful court professional, and the myths grew around that reputation.
Onmyodo, often translated as the way of yin and yang, was a system of knowledge that used astronomy, calendar science and divination to judge fortunate and unfortunate times, dates and directions. It drew on the Chinese ideas of yin-yang and the five elements, which reached Japan from China and Korea around the 5th and 6th centuries.
The Taiho Code of 701 set up onmyoji posts in a Bureau of Onmyo within the imperial court. In practice, the bureau handled the calendar, observed the sky and gave advice on timing. Because these tasks affected ceremonies and the daily schedule, the work was important to court life.
During the Heian period, the practice blended with Shinto and with the worship of vengeful spirits, and onmyoji increasingly performed rituals to ward off evil, disaster and illness. Their wide range of duties made them valued advisers, and it is easy to see why a talented one could become a legend.
Seimei prayed for the wellbeing of the emperor and the government, studied the stars, and analyzed unusual events. He is also said to have performed cleansing rites, warded off harmful spirits, and carried out ceremonies related to geomancy, the reading of land and directions.
Directions mattered a great deal. Courtiers followed a custom called katatagae, or changing direction. If a planned journey lay in an unlucky direction on a given day, a person would spend the night elsewhere and then approach their destination from a different side. Advice of this kind was a common reason to consult an onmyoji.
One of the best-known stories, found in the medieval collection Konjaku Monogatarishu, says Seimei read the heavens and correctly predicted the abdication of Emperor Kazan. Whether or not it happened exactly so, the story shows how people imagined his gift: calm, precise and quietly impressive.
Folklore added color to Seimei's life. One tale says his mother was a fox spirit named Kuzunoha, which links him to the wider tradition of kitsune stories. Another says he commanded shikigami, spirit servants that carried out tasks at the onmyoji's command, a belief widely attached to onmyoji in general.
A famous legend pits Seimei against a rival named Ashiya Doman. In their best-known contest, the two tried to out-do each other with feats of magic, including a tale of changing oranges into rats. Stories like this made later generations see him as a hero of cleverness and calm.
These tales are best enjoyed as folklore. They tell us how people felt about knowledge, nature and the unseen in a world where the movement of stars and the turn of the calendar seemed to shape daily life. For travelers, they also add a touch of storybook magic to a visit to Kyoto.
The five-pointed star known in Japan as the Seimei Kikyo was originally Seimei's personal seal. It later became an emblem of the Bureau of Onmyo and of onmyodo as a whole. The shape is often explained as a symbol of the five elements, which in the Chinese system are wood, fire, earth, metal and water.
The star appears on many items connected with Seimei, from shrine gates to charms. It is not a Western pentagram in meaning, so it is best understood within its own Japanese and Chinese context. Visitors to the shrine will spot it quickly, which makes for a fine photograph.
Part of the symbol's charm lies in its simplicity. The line crosses itself in one continuous motion, so the figure looks complete and balanced. That balance suits a tradition built on the interplay of opposites and elements.
Seimei Shrine is in the Kamigyo ward of Kyoto, on Horikawa Street, and it was founded in 1007 by order of Emperor Ichijo, two years after Seimei's death, on the site of his house. The star appears on the torii gate and across the grounds, and visitors will also see stone guardian lions, a sacred camphor tree, and a peach sculpture.
The shrine has a well, the Seimei-i, whose water is considered to have special properties. The tea master Sen no Rikyu is reported to have brewed tea with its water. Decorative tiles and lanterns bear the design of the Japanese bellflower, whose name, kikyo, sounds like the name of the star symbol.
Just south of the shrine is the Ichijo Modori-bashi, a small bridge regarded as a gateway between the human and spiritual realms. The area is peaceful and compact, so it suits a short, unhurried stop. Check the shrine's official information for hours and any seasonal events before traveling.
In the late 20th century, Seimei found a new audience. Baku Yumemakura's Onmyoji novel series, which began in 1988, became hugely influential and led to manga, anime, games and a 2001 film starring Mansai Nomura. Many fans first meet the character through these works.
Figure skater Yuzuru Hanyu also performed a program inspired by Seimei, which brought the figure to a wider audience.
Onmyodo itself was officially abolished in 1870, early in the Meiji era, and it was allowed again after 1945. The Tsuchimikado family, which had long led the tradition, later established a Shinto organization in 1954. Seimei's story remains a gentle entry into the old Japanese ways of reading time and the sky.
Want to go deeper? Tokyo Paul's book Manga-Style Japanese History: Shoguns, Samurai & Sake is available on Amazon.
Abe no Seimei (921 to 1005) was a Heian-period onmyoji, a court specialist in astronomy, calendars and divination based on yin-yang and the five elements. He advised the emperor and became a legendary figure in Japanese folklore. Many modern novels, films and games draw on his story.
Onmyoji means a practitioner of onmyodo, the way of yin and yang. Under the Taiho Code of 701, onmyoji served in a government bureau that handled the calendar, sky watching and advice about lucky and unlucky times. Over time they also performed rituals to ward off evil and illness.
Yes. Seimei Shrine in the Kamigyo ward of Kyoto was founded in 1007 on the site of his home. Visitors can see the five-pointed star on the torii gate, the Seimei-i well and the Ichijo Modori-bashi bridge nearby. Check the official information for current hours before you go.
To explore further, see Abe no Seimei, Seimei Shrine and Onmyodo.
More guides from Tokyo Paul: Kitsune: Japan's Fox Spirits and Their Link to Inari, Yokai: A Friendly Guide to Japanese Folklore Creatures and Heian Court Culture and The Tale of Genji.