City God Temple

The City God Temple, also known as Temple of the City Gods and officially known as the City Temple of Shanghai, is a folk Chinese temple situated inside the Shanghai old city. The temple was constructed in order to commemorate the blossoming of Shanghai and its elevation to municipal status. The temple is also the site to praise three Chinese figures who has the honorary title of the city gods.

The three city gods are Qin Yubo, Huo Guang, and Chen Huacheng. Qin Yubo was a Chief Imperial Examiner during the Ming Dynasty, Chen Huacheng served as a general of the Qing Dynasty, and Huo Guang was a Han Dynasty famous Chancellor. The temple is often visited by locals who make incense offering to the city gods and hope for good fortune.a

Some local Shanghainese people refer to the temple as the “Old City God Temple” so it cannot be mistaken by another temple known as “New City God Temple” that today does not exist anymore.

The Chinese name of this place is “Chenghuangmiao,” and the same name is also referred to the nearby commercial district in the old town of Shanghai by Chinese. Because of the nearby located Yu Garden, in English, the area is also known as Yu Garden. Today the area is known as Yuyuan Tourist Mart.


City God Temple


History of the City God Temple

Old History

Since the walled cities came into existence in China, many of them had a temple where there were gods as the protectors or spirits of the town. The City God Temple of Shanghai had another purpose before 1403. Then, it was the Jinshan God Temple and was dedicated to the spirit of Jinshan (Gold Mountain) which is an island right next to the coast of Shanghai. In 1403, during the reign of Emperor Yongle of the Ming Dynasty, the temple converted into a City God Temple.

The City God Temple grew more popular during the Qing Dynasty era. Many locals of the old city and nearby places visited the City God Temple to pray for peace and good fortune. During the reign of Emperor Daoguang (1820 to 1850), the temple grew to its largest size and had an area of around 8.2 acres.

Due to the many visits of the temple, the surrounding area gradually became home to many businesses and turned into a busy and prospering marketplace.

Modern History

From 1937 until 1945, during the Sino-Japanese War, Japanese troops occupied Shanghai Old City and denied access to the temple for worshippers. This act resulted in building a new temple by residents and local merchants in the Shanghai International Settlement. After some time a market place was attached which is today Yan’an Road and Jinling Road. This new temple lost its popularity after WWII and finally destroyed in 1972. Although it was demolished, the remains of the New City God Temple are referred to the area around the temple site.

The City God Temple Board of Trustees was dissolved in 1951, and the control of the temple was delivered to the Shanghai Taoist Association, and they transformed it as a Taoist center. This transformation included the removal of statues of folk underworld symbols such as Yama and focusing more on Taoist spirituality.

After the China Revolution and during the Cultural Revolution (1966 to 1976), the temple closed down and was used for other functions. During this time, the main hall became of the City God Temple became a jewelry shop for many years.

Finally, in 1994, the building became once again a temple with Taoist priests residing inside. Today, the City God Temple, Yu Garden, and the nearby street are all parts of a vast pedestrian zone filled with retail stores and restaurants. Between 2005 and 2006, the City God Temple was fully restored and in October 2006, it opened as worshiping place by Taoist priests.


City God Temple - Shanghai


City Gods of the City God Temple

There are different City God Temples in various cities in China. The gods of these temples are heroes who have served the Chinese people well and thus are loved by locals. There are three gods in the City God Temple of Shanghai:

  • Huo Guang, died in 68 BC, was a famous Western Han Dynasty politician and Chancellor. He is remembered for deposing one young emperor for the good of the state with another. Huo Guang is greatly admired because of his skillful administration of China and his selflessness in putting himself in grave danger by deposing an unfit emperor. He has been the first God city of Shanghai since the Yuan Dynasty.
  • Qin Yubo (1295–1373) was a Shanghai resident and served in civil service during the late Yuan Dynasty. After the founding of the Ming Dynasty by Emperor Hongwu, he was summoned to serve at the court twice, and both times he declined. Finally, he accepted the emperor’s order and served in different vital roles such as the Chief Imperial Examiner. Emperor Hongwu anointed him as a City God of Shanghai when he died.
  • Chen Huacheng (1776–1842) was a general of the Qing Dynasty. He commanded the Chinese defenses during the First Opium War. Chen Huacheng swore to defend the Yangtze to his death, which came true, and he was killed in battle with the British forces. He had some fortifications against the British troops, and while commanding his Chinese forces from there, he was either killed by the British naval artillery or in hand-to-hand combat.

Yuyuan Tourist Mart

The encompassing area of the City God Temple is a thriving market today and is now known as Shanghai Yuyuan Tourist Mart. This area is filled with many eateries and shops. A large number of these shops are in the business of selling artwork and traditional handicrafts.

This area will offer numerous cultural activities such as Chinese acrobatic performances, calligraphy lessons, and tea ceremonies. Some of the traditional Chinese festivals are celebrated in this place, including a lantern show for the Lantern Festival.

Visiting Hours of the City God Temple

The temple is open to visitors Sundays to Saturdays, from 9 am to 4 pm.

Leave a Reply