城隍爺

Chenghuang, the City God

Spiritual Magistrate of the City

Festival · Temple fairs vary by city

Chenghuang, the City God (城隍爺)

Spiritual Magistrate of the City

Overview · 概览

Every walled city had its own City God — a spiritual magistrate mirroring the human official, judging disputes, escorting souls, and protecting walls and people. The office was usually filled by a historical official famed for justice.

Symbols · 象征

  • Judge's tablet
  • The city wall and moat
  • The spiritual yamen court

Festival · Temple fairs vary by city

History · 史记

Historical Record

Every Chinese walled city has its Chenghuang — god of the moat and wall — a shadow magistrate ruling the spirit side of the same jurisdiction. The Taiping Guangji preserves early tales of Chenghuang gods judging the dead; by the Song the cult was universal. In 1370 the founding Ming emperor Zhu Yuanzhang rationalized the pantheon the way he did the bureaucracy: he enfeoffed Chenghuang gods in three ranks — king, marquess, count — corresponding exactly to province, prefecture and county, complete with official robes and staffs.

His office mirrors the yamen: clerks, constables, ledgers of merits and demerits, and a night-tour on which he inspects his city in palanquin, escorted by paper guards.

Legends · 典故

Stories of the Divine

陰間衙門

The Underworld Yamen

At death the soul is summoned first to the Chenghuang court, where its ledger is checked against the living registers. He is the magistrate's mirror — the same jurisdiction, one level below.

忠良為神

The Faithful and Virtuous Become City Gods

The post is not hereditary but earned: upright officials and martyrs were believed to be appointed Chenghuang of their city after death — a second career in the spirit bureaucracy.

Sources · 典籍来源

Classical Sources

  1. 01

    太平廣記

    Taiping Guangji

    The Song encyclopedia of tales preserving the earliest records of Chenghuang gods judging the dead.

  2. 02

    明實錄

    Ming Shilu

    Records the 1370 enfeoffment system that organized Chenghuang worship to mirror the imperial bureaucracy.