Chenghuang — Chénghuáng (城隍), the City God — is the divine protector and spiritual magistrate of a city or town in Chinese religion: the tutelary god who guards the walls and moat of his city, governs its spiritual affairs, judges the souls of its dead, and serves as the local administrator in the celestial bureaucracy. The guardian-magistrate of every Chinese city, the Chenghuang is the divine counterpart of the earthly mayor.
The God of the Walls and Moat
Chenghuang (the name literally means “wall and moat” — cheng, city-wall, and huang, dry moat) is the tutelary protector-god of a walled city or town — there is one Chenghuang for each city, his temple a major institution of every Chinese town. He is the divine guardian of the city’s walls, moat, and people, protecting them from disaster, invasion, flood, drought, and evil spirits. As the patron-god of the city, he is one of the most important and actively-worshipped of the local gods.
The Spiritual Magistrate
Chenghuang’s role is precisely modelled on the earthly city magistrate (the mayor or governor) — he is the spiritual administrator of the city in the celestial bureaucracy, the divine counterpart of the human official who governs the city in the living world. Just as the human magistrate governs the affairs of the living, the Chenghuang governs the spiritual affairs of the city and the dead: he keeps the registers of the city’s inhabitants, judges the souls of the city’s dead (a local court of the underworld, reporting to Yanluo and the Ten Kings), rewards the virtuous and punishes the wicked, oversees the local gods (like the Earth Gods, Tudigong, who report to him), and handles the “paperwork” of souls entering and leaving his jurisdiction. The human magistrate and the divine Chenghuang were understood to govern the city in parallel — the one the living, the other the spirits and the dead — and a new human magistrate would pay his respects at the Chenghuang temple on taking office.
The Deified Worthy
The office of Chenghuang for a particular city was typically filled by the deified spirit of a real, virtuous, and capable historical person connected to that city — a former magistrate famous for his justice, a loyal official, a local hero, or a benevolent worthy — promoted after death to be the city’s divine guardian-magistrate. Different cities thus had different Chenghuangs (the deified worthies of their own history), and a Chenghuang could even be promoted or replaced. This made the Chenghuang an intimate, local, and very “official” god — the divine bureaucrat-protector of the home city. Guardian of the walls and moat, spiritual magistrate of the city and judge of its dead, the deified worthy who governs the spirits as the mayor governs the living — the Chenghuang is the City God of Chinese religion.




