China Travel Agency, China Tours 2026/2027 | Yaso Trip
Theme Tours
View All China Theme Tours by Interest
Travel Guide
  • Travel Guide
  • Travel Tips
  • Tour Planning
  • Ethnic Culture
  • China Climate
  • Golf Courses
  • Yangtze Cruise
  • Travel Articles
  • The Temple of City God (Chenghuangmiao) in Pingyao

    AAAAA
    ★★★
    The Temple of City God (Chenghuangmiao) in Pingyao平遥城隍庙
    (山西省晋中市平遥县)

    Pingyao City God Temple: The “Yin-Yang Government Office” and a Temple Hidden Within a Temple

    In the southeastern corner of Pingyao Ancient City, along City God Temple Street, stands a temple with an unusual relationship to the Pingyao County Government Office.

    The two face each other across the street.

    One governs the world of the living. The other governs the world of the dead.

    One deals with earthly lawsuits and official affairs; the other judges the morality of souls after death.

    Together, they form one of the most intriguing symbolic landscapes in Pingyao: an “Yin-Yang government office” in which the worlds of the living and the dead mirror each other.

    This is Pingyao City God Temple (城隍庙), a temple dedicated to the City God and traditionally traced back to the Northern Song Dynasty, with more than a thousand years of history.

    After exploring Pingyao's famous exchange houses and escort agencies, step away from the stories of merchants and martial escorts and turn into this quieter street.

    Push open the gate beneath the two-character plaque “Dare to Enter.”

    Inside, under the cool blue-green glow of glazed tiles, you will encounter another side of traditional Chinese beliefs—a world built around the ancient idea that good and evil ultimately have consequences.

    Three Temples in One: A Unique Home for the Gods

    The greatest attraction of Pingyao City God Temple is not a single hall, but its remarkable overall layout.

    At the center stands the main City God Temple.

    To the east is the Kitchen God Temple, while the God of Wealth Temple stands to the west.

    The three temples are connected, yet each retains its own courtyard and architectural identity, creating an unusual “temple within a temple” arrangement.

    Their responsibilities could hardly be more different:

    • The City God oversees morality, justice, and judgment after death.
    • The Kitchen God watches over the household and family life.
    • The God of Wealth is associated with prosperity and financial fortune.

    In other words, one looks after what comes after life, while the other two concern some of the most important things during life.

    For ordinary people, almost everything that mattered—family, food, wealth, morality, and the afterlife—could be entrusted to the gods beneath the same roof.

    This three-temple arrangement is regarded as a particularly distinctive feature of Pingyao City God Temple.

    Three Gods of Wealth in One Hall

    The God of Wealth Temple deserves special attention.

    Inside are three different figures traditionally associated with wealth:

    Bi Gan, the Civil God of Wealth; Guan Gong, the Martial God of Wealth; and Zhao Gongming, the Marshal associated with wealth and prosperity.

    Three Gods of Wealth in one temple make perfect sense in a city shaped by the legendary trading network of the Shanxi merchants.

    For merchants who traveled across China, carried goods across long distances, and dealt with unpredictable risks, there was no reason to rely on only one source of divine protection.

    Why choose one God of Wealth when you could honor three?

    Peacock-Blue Glazed Tiles and the “Dare to Enter” Plaque

    One of the most striking features of Pingyao City God Temple is its color.

    The roofs of the temple's front halls and the stage of the God of Wealth Temple are decorated with peacock-blue and yellow glazed tiles.

    Under sunlight, the blue glaze can appear almost like a deep piece of sky, while the yellow and blue geometric patterns create a strong contrast against the gray architecture surrounding them.

    The glazed decorations include figures of immortals, mythical animals, dragons, and other traditional architectural ornaments.

    Many of these details have survived for centuries, providing an excellent example of the glazed architectural craftsmanship associated with historic Shanxi temples.

    The Ancient Stage and Its Hidden Message

    One of the most intriguing details can be found behind the ancient theater stage, known as Zhaoge Tower (昭格楼).

    The stage is traditionally regarded as one of the most sophisticated historic theater stages in Pingyao.

    Beneath it are ten large ceramic jars, traditionally used as acoustic resonators to enhance the sound of performances without modern amplification.

    But the most memorable feature is on the back of the stage.

    A plaque bears two bold characters:

    “Dare to Enter.”

    The calligraphy is attributed to the renowned Qing Dynasty scholar and calligrapher Fu Shan.

    Why would a temple theater carry such an unusual message?

    Traditional temple performances were staged for the gods, with the stage facing inward toward the sacred buildings rather than outward toward the street.

    Visitors therefore entered from the rear.

    The words “Dare to Enter” can be read almost like a challenge:

    Are you confident enough to enter with a clear conscience?

    The plaque fits perfectly with the traditional role of the City God as a divine judge of morality.

    It is as though the temple itself were saying:

    Those who have done good need not fear entering; those who have done wrong should hesitate at the gate.

    The City God Procession: A 600-Year-Old Journey from the Underworld

    Inside the City God Hall is one of the temple's most important surviving artworks: the City God Procession mural.

    More than six centuries old, the mural depicts the City God traveling with an imposing ceremonial procession.

    Divine generals, underworld soldiers, judges, and the familiar figures of Ox-Head and Horse-Face appear among the procession, creating an atmosphere that is both solemn and strangely vivid.

    The figures seem to be moving across the wall rather than simply standing on it.

    Traditional mineral pigments helped historic murals retain their colors over long periods. Materials such as cinnabar and other mineral-based pigments were used alongside traditional binding and protective techniques.

    Stand before the mural for a few moments and the scene can feel surprisingly immediate.

    The procession stretches across the wall.

    The officials move forward.

    The supernatural figures seem to be watching.

    For a brief moment, you may almost feel as though the procession could step out of the painting and continue through the temple courtyard.

    Travel Tips for Pingyao City God Temple

    Best Time to Visit

    Spring and autumn (April–May and September–October) are particularly comfortable for exploring the temple and taking time to examine its glazed roofs, carvings, sculptures, and murals.

    The temple's traditional fair is held from approximately the 27th day of the fifth lunar month to the 27th day of the sixth lunar month. During this period, the temple becomes considerably livelier, with vendors occupying parts of the surrounding corridors and courtyards.

    If you prefer a quieter visit, aim for around 9:00 in the morning, before larger tour groups arrive.

    Opening Hours

    • April–October: 08:00–18:30
      Last admission: around 18:15
    • November–March: 08:30–17:30

    Recommended Visiting Time

    Allow around 1.5–2 hours.

    There is much more to see than the main City God Hall.

    A good route is:

    Main Gate → Theater Stage → Offering Hall → City God Hall → Six Offices → God of Wealth Temple → Kitchen God Temple → Sleeping Palace

    Following this sequence allows you to explore the complex without repeatedly retracing your steps.

    The exit also provides a convenient connection toward Pingyao Confucian Temple, making the two attractions easy to combine.

    Location & Transportation

    Pingyao City God Temple is located at No. 51 City God Temple Street, in the southeastern corner of Pingyao Ancient City.

    From the South Gate (Yingxun Gate), simply walk along City God Temple Street.

    The temple is within around five minutes on foot of both the Confucian Temple and the Pingyao County Government Office, making this one of the easiest areas of the ancient city to explore on foot.

    Admission

    City God Temple is included in the Pingyao Ancient City sightseeing pass, which covers 22 attractions and is generally valid for three days.

    Because the complex contains so many architectural details, plaques, sculptures, and stories from traditional Chinese folk religion, an electronic audio guide is highly recommended.

    Without some explanation, many of the most interesting details are easy to walk past.

    Photography Tips

    The roof of the Offering Hall is one of the best places to photograph the historic glazed decorations from below.

    Look for the striking peacock-blue and yellow glazed elements and the small figures and mythical creatures decorating the roof.

    The elevated platform at Zhenwu Tower provides a different perspective, allowing you to look across the temple courtyards and toward Pingyao's sea of gray rooftops.

    For portraits, the red walls and ancient cypress trees create an atmospheric traditional Chinese setting.

    And don't miss the “Dare to Enter” plaque on the back of the theater stage.

    It may be the smallest detail in the temple, but it is arguably the one with the strongest personality.

    What to See Around City God Temple

    The area around City God Temple Street is one of the most rewarding parts of southeastern Pingyao Ancient City.

    Walk north for just a few minutes after leaving the temple and you will reach Pingyao Confucian Temple.

    The contrast is fascinating.

    At City God Temple, you have just encountered the traditional idea of divine judgment in the afterlife.

    At the Confucian Temple, you can cross the Dragon Gate, explore the world of Confucian education, and see the famous examination paper associated with a successful imperial examination candidate.

    One represents the spiritual world.

    The other represents education and achievement in the earthly world.

    Continue west and you can reach the Pingyao County Government Office, where traditional courtroom performances recreate scenes from the county magistrate's official duties.

    A Classic Half-Day Route in Southeastern Pingyao

    A convenient half-day itinerary is:

    South Gate (Yingxun Gate) → City Wall → Confucian Temple → City God Temple → County Government Office → City Tower → West Street

    The route moves from the high viewpoint of the city wall into the narrow streets of the ancient city.

    Along the way, you encounter:

    military defense → Confucian education → divine judgment → government administration → commercial life.

    In just half a day, you can experience several of the systems that once shaped everyday life in a traditional Chinese county town.

    Local Food Around City God Temple

    City God Temple Street has plenty of opportunities to sample local food.

    A popular local snack is meat-filled shaobing, a crispy baked pastry stuffed with savory meat. It makes an easy snack after exploring the temple.

    For a full meal, Tianyankui Restaurant on South Street traces its history to 1791, during the Qianlong period of the Qing Dynasty.

    Classic dishes include beef braised with aged Shanxi vinegar and beef copper hot pot.

    You can also try wantuo (碗托), a local specialty served with vinegar and chili oil. Its tangy, refreshing flavor makes it particularly suitable for a quick break between sightseeing stops.

    Where the Gods Watched Over Pingyao

    Pingyao Ancient City has countless stories about people.

    Merchants crossed China.

    Escort guards protected caravans.

    County magistrates settled disputes.

    Scholars studied for imperial examinations.

    But City God Temple tells another kind of story.

    It is a story about gods.

    One god watches over morality and judgment.

    One watches over the household.

    One watches over wealth.

    Together, they represent the things that mattered most to people both during life and after death.

    If you have already explored Pingyao's exchange houses, merchant ledgers, escort agencies, and commercial streets, step into City God Temple and see another side of the city.

    Push open the gate marked “Dare to Enter.”

    Under the cool glow of the peacock-blue glazed roofs, surrounded by ancient sculptures and centuries-old murals, you enter a world where morality, fortune, family, and the afterlife were all woven into everyday life.

    And perhaps that is what makes this temple so memorable.

    The City God was not only watching over the people of Pingyao. In the imagination of generations, he was watching over the city itself.

  • Zoom in and view
  • ENQUIRY

    Have a question before booking? Message us to learn more.
    Click to change

    Share Your Trip Experience

    Help future travelers by reviewing your journey with Yaso Trip.