Yan Wang

Yan Wang

阎王

Gods & DeitiesYán Wáng

The stern king of Diyu who judges every soul and seals its next rebirth.

Role:King of Diyu, Judge of the DeadCourt:Fifth Court of the Ten CourtsOrigin:Indian Yama, adapted through BuddhismSymbols:Ledger of Life and Death, judge's brush, black-and-crimson robes
Scroll

Origin Story

Who Is Yan Wang?

Yan Wang is the most feared and most respected judge in Chinese mythology: the king of Diyu, the underworld where every soul must answer for its life. When the dead arrive, they do not face a single trial but a procession of courts — ten in the fully developed tradition — and Yan Wang presides over the fifth, the court where the final accounting takes place. Before him, celestial scribes open the Ledgers of Life and Death, in which every deed, kind or cruel, stands recorded and beyond dispute.

His judgment is absolute. On the strength of the ledger he assigns souls to the underworld's hells for karmic purification, grants swift rebirth into a better life, or — in rare cases — raises a soul to divine rank. Folk sayings capture his authority bluntly: if Yan Wang calls for you at the third watch of the night, no power on earth can keep you alive until the fifth. Yet he is not a monster. He is a magistrate, and his court runs on procedure, evidence, and law — the afterlife imagined as a government, with Yan Wang as its chief justice.

Yan Wang — King Yan, or Yanluo Wang — is the sovereign judge of Diyu, the Chinese underworld. Enthroned at the heart of a ten-court tribunal, he weighs the deeds of the dead, consults the Ledgers of Life and Death, and decrees each soul's punishment or rebirth. Born of the Indian god Yama and remade by Chinese Buddhism and folk religion, he is at once a foreign import and one of the most thoroughly Chinese gods in the pantheon: a magistrate of the afterlife whose court mirrors the imperial bureaucracy, and whose judgment no emperor could escape.

Powers & Symbols

Attributes & Artefacts

Click each card to reveal the details behind Yan Wang's divine attributes.

Magical Artifacts & Weapons

Yan Wang's Divine Arsenal

The legendary weapons and treasures wielded by Yan Wang — each with its own origin story, powers, and mythological significance.

Historical & Cultural Meaning

Beyond the Myth

01

The Ten Courts of Diyu

Diyu is not a pit of fire but a bureaucracy. Ten kings (Shi Dian Yan Jun) each preside over a court, and a soul passes from one to the next, its sins examined in turn — greed, violence, ingratitude, deceit, each judged by the king who governs it. Yan Wang's fifth court is the most famous because it is where the verdict is sealed: the soul's fate is fixed, its punishment set, and its path to rebirth determined.

His court is staffed like an imperial yamen. The [Black and White Guards](/folklore/black-white-guards) escort souls to his throne, [Ox-Head and Horse-Face](/folklore/ox-head-horse-face) serve as his jailers, and scribes maintain the ledgers. At the edge of his realm, [Lady Meng](/folklore/meng-po) serves the Soup of Forgetfulness to souls departing for rebirth, wiping their memories clean. Below the ten courts, the [City God](/gods/city-god) acts as local registrar, recording deaths in each walled town and forwarding the files upward to Yan Wang's tribunal — the underworld's chain of command reaching into every community.

02

From Yama to Yanluo: The Making of a Chinese God

Yan Wang began his career in India as Yama, the first mortal to die and therefore the guide of all who followed. Buddhism carried him to China, where he was absorbed into a cosmology already rich with ideas about the afterlife — and then thoroughly remade. The Chinese gave him not a throne but an office: one judgeship among ten, inside a court system that mirrors the imperial civil service, complete with ministries, scribes, and seals.

The scriptures record the transformation. The Sutra of King Yama's Five Messengers (《佛说阎罗王五天使者经》) introduced him as a Buddhist judge of the dead, while the cult of Ksitigarbha (Dizang), the bodhisattva who vowed to empty the hells before attaining Buddhahood, gave his court a savior to answer to. By the Song dynasty, the popular scripture Jade Calendar (《玉历宝钞》) had fixed the ten-court system in the popular imagination, and Yan Wang's name became a byword for death itself. In some traditions he was even identified with Dongyue Dadi, the Great Emperor of the Eastern Peak, the mountain god who also kept the registers of the dead — two divine bureaucracies fused into one.

03

Worship, Temples, and the Ghost Festival

Yan Wang is worshipped less as a god of blessings than as a god of justice. His image stands in City God temples and in Dongyue (Eastern Peak) temples, where worshippers burn incense and make offerings not to ask for wealth or children but to plead for fairness — for a dead relative's case to be heard kindly, or for their own ledger to read well when their turn comes. His cult is the folk religion's court of appeal: the place where the poor could imagine the rich finally being judged by their deeds rather than their rank.

Once a year, during the [Ghost Festival](/folklore/ghost-festival), his gates stand open and the dead walk among the living. Families burn paper offerings — money, houses, clothes — to ease their ancestors' passage through his courts, and opera stages and temple fairs retell his judgments. In folk culture he is both feared and trusted: feared because his summons cannot be refused, trusted because his scales, unlike earthly courts, cannot be bribed. That trust is why the upright official became his most famous human face in legend, and why his court endures as the ultimate check on earthly power.

04

Sources & References

Primary classical texts: Shanhaijing (山海经, Classic of Mountains and Seas, c. 4th-2nd century BCE) · Fengshen Yanyi (封神演义, Investiture of the Gods, c. 16th century) · Journey to the West (西游记, Xiyouji, c. 16th century) · Records of the Grand Historian (史记, Shiji, by Sima Qian, c. 91 BCE) · Classic of Mountains and Seas commentary (郭璞注 Shanhaijing, c. 4th century) · Bamboo Annals (竹书纪年, c. 4th century BCE onwards)

Classical translations: Legge, James (trans.). The Sacred Books of the East (1879-1910, 50 volumes covering Chinese classics) · Girardot, Norman J. Myth and Meaning in Early Taoism (University of California Press, 1983) · Werner, E.T.C. A Dictionary of Chinese Mythology (Shanghai: Kelly & Walsh, 1932)

Modern academic references: Birrell, Anne. Chinese Mythology: An Introduction (Baltimore: Johns Hopkins University Press, 1993) · Yang, Lihui, and Deming An. Handbook of Chinese Mythology (New York: Oxford University Press, 2005) · Strassberg, Richard E. A Chinese Bestiary: Strange Creatures from the Guideways Through Mountains and Seas (Berkeley: University of California Press, 2002)

Digital encyclopedias and online resources: Wikipedia — Chinese mythology portal (continuously updated, citations to primary sources) · Encyclopedia Britannica — Mythology and Religion section

阎王

Continue Your Journey