The onmyōji of the Japanese court were civil servants. They kept the calendar, watched the sky for anomalies, and told emperors and aristocrats which days and which directions were safe — and at court those readings carried real weight. The body of practice behind the office was onmyōdō (陰陽道, “the Way of Yin and Yang”), a synthesis of Chinese cosmology, Buddhist mysticism, and native ritual.
What follows is an account of the techniques themselves: the ceremonies, the spoken formulas, the instruments, the talismans, and the disciplines of the body.
The heaviest onmyōdō work was done not in private but through formal ceremony addressed to cosmic deities. These rites were graded dai, chū, and shō (大・中・小法) — great, medium, and minor — by scale and purpose.
Taizan Fukun (泰山府君) is the lord of Mount Tai in China, a deity who governs human lifespans and judges the dead. In Japanese practice he was identified with Enma, the Great King of Hell.
The rite petitioned him for extended life, for protection from calamity, and — in legendary accounts — for resurrection. Abe no Seimei is said to have used it to bring his own murdered father back to life. Imperial families commissioned it regularly in the belief that it could add years to a reign.
The ceremony addressed Taizan Fukun together with the judges of the underworld, with offerings and long invocations.[4] It was held to be powerful enough that the Tsuchimikado family, Seimei’s descendants, kept it a closely guarded secret for generations.
Said to have been performed in the Tsuchimikado tradition for a new sovereign, this ceremony was meant to secure harmony between the new sovereign and the spiritual realm — the onmyōji acting, as ever, as intermediary between the court and the heavens.
At Setsubun, Japanese households throw beans and shout “Oni wa soto” — demons out. The practice descends from tsuina (儺祭), a court ceremony in which onmyōji formally expelled evil spirits before the new year.[2] Records describe the onmyōji ascending a ritual platform to read the saimon (祭文), a ceremonial text written half in classical Chinese and half in the native senmyō style — foreign authority and local tradition in a single document.
The medieval text Bunkanshō catalogs dozens more, each aimed at a particular cosmic force:
No onmyōdō technique is better known than kuji (九字). The standard formula runs 臨・兵・闘・者・皆・陣・列・在・前 (Rin, Pyō, Tō, Sha, Kai, Jin, Retsu, Zai, Zen), roughly: soldiers arrayed before me, all in formation.
The earliest recorded version appears in the Taoist text Baopuzi by Ge Hong, in the fourth century CE, where it is prescribed for protection on entering mountains.[1] Japanese practice added two things to it.
Kuji-kiri (九字切り) is the drawing of a grid in the air — five horizontal strokes alternating with four vertical — one stroke to each syllable, producing a lattice that cuts off demonic influence. In folk magic the same grid was drawn over written words or images to gain power over what they stood for. A sailor might trace it across the character for “sea” to keep from drowning.
Kuji-in (九字印) is the set of hand gestures, mudra, accompanying each syllable. These came from esoteric Buddhism, and onmyōdō developed its own variants. Later onmyōdō texts are said to give an entirely different nine-syllable formula, used for the henbai walking ritual: Blue Dragon, White Tiger, Vermillion Bird, Black Tortoise, Void Formation, Southern Longevity, Northern Dipper, Three Bodies, Jade Maiden — the four directional guardians and other cosmic powers.
The nine syllables were understood in yin-yang terms: five yang syllables, offensive and absolute, against four yin syllables, defensive and protective. The balance was considered essential to the spell working at all.
The phrase 急急如律令 began as bureaucratic shorthand on Han-dynasty Chinese documents, meaning something like “execute immediately, per regulations.” It migrated from paperwork into magic and became a standard closing formula for spells — begone at once. Archaeologists have found it inscribed on wooden tablets from the Fujiwara-kyō capital, in use for magical purposes more than twelve hundred years ago.
It appears across onmyōdō, esoteric Buddhism, and Shugendō mountain asceticism, one of the few formulas shared by all three.
The rikujin shikiban was the onmyōji’s essential tool: a two-part device representing the universe in miniature.
The square base (yo, 輿) stands for Earth, inscribed with the twenty-eight lunar mansions, the ten celestial stems, the twelve earthly branches, and the eight trigrams at its corners. The round upper disc (kan, 堪) stands for Heaven, marked with the Twelve Monthly Generals and other celestial indicators. Rotating the Heaven disc against the Earth base into set configurations let the practitioner calculate auspicious timing and directions quickly — a portable engine for cosmic arithmetic.
Construction was prescribed as closely as use. By tradition the Earth base was to be carved from jujube wood struck by lightning, and the Heaven disc from fūjin, a burl that grows on Chinese sweetgum. Whether the requirements were symbolic or thought to carry some spiritual conductivity, they made the board a sacred object rather than an instrument.
For celestial anomalies the onmyōji used armillary spheres, ringed instruments modeling the movements of stars and planets. The chief concern was comets. A “broom star” (hōkiboshi) was read as a serious omen of disaster, and detecting and interpreting one for the court was the onmyōji’s responsibility.
Kyoto’s Seimei Shrine is covered in pentagrams — on the gates, the lanterns, the amulets, the well. The five-pointed star is the Seiman (晴明紋), the personal seal of Abe no Seimei.
The pentagram stands for the five Chinese elements — Wood, Fire, Earth, Metal, Water — drawn so that its lines trace the cycle in which each element overcomes the next. Known in Japanese as gobōsei, it may have entered onmyōdō through Taoist or esoteric Buddhist channels; either way it became Seimei’s signature.
Its counterpart is the Dōman (道満), associated with Seimei’s rival Ashiya Dōman: a lattice of five horizontal lines crossed by four vertical ones. The count is the point — nine lines, for the kuji, the nine syllables of esoteric Buddhist practice. Taken together, the two marks stand for the fundamental duality of onmyōdō practice. In some coastal regions, ama — women divers — still paint them on their equipment against sharks and evil spirits, which makes them one of the few pieces of onmyōdō still in working use.
This set of seventy-two protective seals originated in Taoist China and reached Japan in the medieval period. Its source text, Taijō Hihō Chintaku Reifu, was taken up not only by onmyōji but by Buddhist temples and Shinto shrines.[5]
The presiding deity, Chintaku Reifushin (鎮宅霊符神), derives from the Chinese Xuanwu or Zhenwu, the Black Warrior of the North. In Japan he merged with Myōken Bosatsu, the bodhisattva of the North Star — Sino-Japanese religious fusion in a single figure.
In the Edo period, shrines printed all seventy-two talismans on one sheet for household protection. Kusunoki Masashige and Katō Kiyomasa are both said to have been devoted to the cult. Shrines to Chintaku Reifushin survive across the Kansai region, among them Osaka Tenmangu and Hoshida Myōken-gū.
Onmyōji used a range of simpler protective symbols: kagome (籠目), the basket-weave hexagram; uzumaki (渦巻), spirals for the flow of cosmic energy; batsu (×), cross marks for sealing and binding; and talismans brushed with the words “Kyūkyū Nyoritsuryō.”
The early history of Japanese talismans remains obscure, since few examples survive, though the finds at Fujiwara-kyō confirm their use by at least the eighth century.
Hitogata (人形) are figures cut in human shape from paper, wood, straw, or grass. In purification rites a person rubs one against the body to transfer spiritual pollution, then casts it into running water. This is the origin of nagashi-bina, the floating of dolls on rivers, which in time became the Hinamatsuri doll festival.
The same object served darker ends. A name written on a hitogata and the figure then damaged makes a curse; two bound together with the right prayers make a love spell. The straw effigies of ushi no koku mairi, the midnight shrine visits made to curse an enemy, descend from this tradition.
The shikigami (式神) is onmyōdō’s most famous idea: a spirit bound to serve a practitioner. Even the name is disputed — some connect it to the shikiban, others to the esoteric Buddhist gohō dōji, protective child-spirits.[7]
What the sources agree on is the difficulty. Accounts describe shikigami as ordinarily invisible, though they could be bound into paper dolls or animal forms, and a master such as Seimei is shown commanding them without apparent effort,[3] as messenger, spy, or guard. They could also slip control and turn on the one who summoned them. Their power was tied to the practitioner’s own, and summoning beyond one’s capacity was held to be fatal.
Uho (禹歩) is a walking technique: a distinctive shuffling gait performed while reciting incantations. The basic pattern traces the Big Dipper, while variants follow the nine-star arrangement of kyūgū hakke cosmology or inscribe protective symbols on the ground.
The name refers to Yu the Great, the legendary Chinese emperor who tamed the floods. Having crossed all of China to control the waters, Yu was said to have ruined his legs and walked thereafter with a shuffle. Onmyōji adopted the mythical gait for rites meant to suppress earth spirits, dispel evil, and invite good fortune. Ge Hong’s Baopuzi prescribes it for entering mountains to gather herbs, which suggests it began as protective magic for travelers in dangerous country.
When an emperor, a regent, or a high noble was about to travel, the onmyōji performed henbai (反閇) at the gate. In the form tradition describes, the rite opened by summoning the Jade Maiden (gyokujō) through uho steps, then stated the purpose of the journey and asked protection for it, and closed with six steps forward without looking back. The traveler then departed.
Migatame covers a category of techniques for strengthening one’s own spiritual defenses.
A Setsubun festival, dolls floated on a river, the star-marked amulets at Seimei Shrine: these are not museum pieces. They are fragments of onmyōdō still in circulation, lodged in Japanese life deeply enough that their origins have mostly stopped being visible.
The onmyōji vanished as an official profession in 1870, casualties of Meiji modernization. The techniques outlasted the office, filtered through folk practice, Shinto absorption, and popular imagination — every drawn pentagram, every summoned shikigami, every paper doll in a horror film is an echo of something that once held the attention of emperors.
The real onmyōji were not the figures fiction makes of them. They were civil servants, calendar-makers, and readers of cosmic pattern. Within those bureaucratic duties they maintained a remarkable synthesis of Chinese cosmology, Buddhist mysticism, and Japanese spirituality, and the traces of it are still on the landscape.
For more on who the onmyōji were and how they rose to prominence, see our companion article, “Onmyōji: Who Were Japan’s Imperial Sorcerers?”
The accounts of the instruments and bodily techniques draw on these studies and on the ritual manuals they discuss; the reading in “What Remains” is KWAIDANOTE’s own.
Found an error? Write to kwaidanote@gmail.com — corrections are made on this page and dated.