First: Onmyōdō is not the same thing as the Onmyōryō
Onmyōdō is the historical tradition or field of knowledge and practice that developed over time. The Onmyōryō was a government bureau in the ritsuryō state. An onmyōji was one kind of specialist serving within that institutional world.
The three are easy to run together, partly because later storytelling gathered so many different skills into a single famous figure. The bureau that actually employed those specialists was far more divided than the legend suggests.
The six statutory onmyōji had a narrower job
A publicly available copy of the Ryō no gige, an official commentary on the administrative codes, lists six onmyōji and associates them with the phrase 占筮相地. A cautious English rendering is “divination and assessment of sites.”
That short formula does not say that each of the six personally made calendars, observed every celestial phenomenon, operated the water clock, or performed every ritual later associated with Onmyōdō.
The bureau contained separate specialists
The same legal roster is unusually concrete: one onmyō hakase taught ten students, one reki hakase taught ten calendar students, one tenmon hakase taught ten astronomy students, and two rōkoku hakase directed twenty timekeepers. The Onmyōryō was therefore a multi-specialist bureau rather than a room full of interchangeable occult practitioners.
This is the key distinction: a responsibility belonging to the bureau as a whole was not automatically the statutory duty of every onmyōji.
Why were astronomy and omens connected?
Unusual events in the sky were not treated as merely natural events. Celestial anomalies could be read as politically meaningful omens, which made observation part of government reporting. The legal wording for the tenmon hakase required the astronomy specialist to watch celestial appearances and submit a sealed memorial when an anomaly occurred; Masuo Shin’ichirō likewise notes that auspicious or calamitous signs were to be reported to the emperor and that specialized knowledge was tightly controlled.
Calling this simply “astronomy” can make it sound too modern. Calling every specialist an “astrologer” creates a different distortion. The historical office tenmon hakase is more precise because it preserves the institutional distinction.
Calendars, water clocks, and the rest of the bureau
The calendar belonged to its own specialist branch. The National Diet Library explains that official calendrical work was associated with the Onmyōryō under the ritsuryō system. Traditional calendars were lunisolar and could contain annotations concerning auspicious and inauspicious conditions. Later onmyōji could advise clients about suitable dates, but date selection is not the same thing as saying the six statutory onmyōji personally produced the official calendar.
The bureau also ran the clepsydra, or water clock. The same roster puts twenty timekeepers under two rōkoku hakase, and their work was to watch the apparatus and mark the hours with bells and drums. That practical timekeeping function is another reason “wizard bureau” is a poor description of the Onmyōryō.
The profession expanded
The early statute is a baseline, not a complete description of everything later onmyōji did. Over time, practitioners became involved in a wider range of aristocratic consultation and ritual services. They could advise on dates and directions, perform divination and purification, and respond ritually to dangers recognized by court society.
That later expansion should not be inserted backward into the original legal formula. It is part of the history that needs explaining.
Where does Abe no Seimei fit?
Abe no Seimei is the most famous historical practitioner associated with Onmyōdō, but his individual career should not define every onmyōji. Shigeta Shin’ichi’s reconstruction shows Seimei under more than one office, including tenmon hakase. That is evidence about Seimei’s career, not proof that astronomy was the statutory duty of all six onmyōji.
Later literature transformed Seimei much further, connecting him with supernatural feats and shikigami. Shigeta found no mention of Seimei employing shikigami in the historical records he surveyed. The later stories are valuable evidence for later memory, but they should not silently become a tenth-century job description.
For Seimei’s own career and how the legends grew around it, read Was Abe no Seimei a Real Person? History and Later Legend.
So what did an onmyōji actually do?
The safest answer depends on period. In the early statutory structure, the six onmyōji were officials associated with divination and assessment of sites inside a bureau containing separate astronomy, calendar, instructional, and timekeeping branches. In the Heian period and after, practitioners associated with the profession could serve a wider range of court and aristocratic needs.
The historical onmyōji is therefore more interesting than a one-word translation such as “wizard” or “astrologer.” The office changed, careers crossed formal boundaries, and later legend expanded the image again.
Sources and further reading
- Ryō no gige 令義解, fascicle 2, Waseda University Library Classical Books Database, relevant Onmyōryō roster on PDF pages 72–73. https://archive.wul.waseda.ac.jp/kosho/wa03/wa03_06643/wa03_06643_0002/wa03_06643_0002.pdf
- Masuo Shin’ichirō, “Chinese Religion and the Formation of Onmyōdō,” Japanese Journal of Religious Studies 40, no. 1 (2013): 19–43. https://nirc.nanzan-u.ac.jp/journal/6/article/1363/pdf/download
- National Diet Library, 日本の暦. https://www.ndl.go.jp/koyomi/chapter1/s1.html
- Shigeta Shin’ichi, “A Portrait of Abe no Seimei,” Japanese Journal of Religious Studies 40, no. 1 (2013): 77–97. https://nirc.nanzan-u.ac.jp/journal/6/article/1365/pdf/download