City God Temple of Shanghai

Temple Historic Taoist temple complex in Shanghai's old city

In Shanghai’s Old City, the City God Temple (Chenghuang Miao) sits amid narrow alleys and a bustling market; visitors come for the temple architecture, local snacks and nearby Yuyuan Bazaar.

Main image

The City God Temple of Shanghai (Chenghuang Miao) is a historic urban temple complex in Shanghai’s Old City, long associated with the worship of the city’s protective deity. The site functions both as a religious temple and as the focal point of a traditional commercial district.

The complex consists of traditional temple halls and courtyards set within a dense ensemble of lanes and market streets; it is commonly visited together with the adjacent retail area for its architecture, local foods, and cultural atmosphere. The surrounding bazaar is a busy pedestrian area noted for street food, souvenir shops, and restored traditional shopfronts.

The City God Temple has roots in Shanghai’s pre-modern urban fabric and was historically the focal religious site for the Old City; buildings on the site were rebuilt and renovated at various times during the Ming and Qing periods and later. The temple and the adjoining commercial streets have been maintained and restored in recent decades as part of conservation and tourism development.

The temple complex sits within Shanghai’s Old City (near the Yuyuan Garden area) on the Huangpu district side of the historic center, a short distance northeast of the Huangpu River and accessible by several metro lines and nearby tourist routes.

  • Location in Old City: The temple sits adjacent to the Yuyuan Bazaar and the larger Old City shopping streets, creating a compact area of traditional architecture and commerce.

What to See #

  • City God Temple complex: A historic Taoist and folk-religion temple complex located in Shanghai's old city area, featuring traditional temple halls and courtyards.
  • Yuyuan Bazaar area: The surrounding bazaar and pedestrian streets immediately around the temple that form a traditional commercial district known for snacks, shops and classical architecture.
City God Temple of Shanghai
Chenghuang Miao, Yuyuan, Huangpu District, Shanghai, China
31.2278, 121.4881

How to Get to City God Temple of Shanghai #

The temple is in central Shanghai’s Huangpu District, a short walk from Yuyuan Garden Metro Station (Line 10) and accessible from People’s Square station. It is in the Old City area and easily reachable on foot from nearby landmarks.

Tips for Visiting City God Temple of Shanghai #

  • Visit during a weekday morning to avoid crowds in the temple complex; the surrounding Yuyuan Bazaar area is busiest at midday.
  • Look for small shrines and incense burners tucked into side corridors - they often contain local offerings and inscriptions.

Best Time to Visit City God Temple of Shanghai #

Spring and autumn are the best seasons for comfortable weather and manageable crowds.

Autumn
Sep-Nov · 15-24°C
Clear skies and pleasant temperatures make it an agreeable time to visit the temple area and nearby bazaar.
Spring
Mar-May · 10-20°C
Comfortable temperatures and lush plantings in the surrounding gardens.

Weather & Climate near City God Temple of Shanghai #

Climate

City God Temple of Shanghai's climate is classified as Humid Subtropical - Humid Subtropical climate with hot summers (peaking in July) and cold winters (coldest in January). Temperatures range from 1°C to 31°C. Abundant rainfall (1101 mm/year), wettest in June.

Air Quality: AQI 100 Moderate
Best Time to Visit
OctoberSeptemberMay
Temperature & Rainfall
Temperature Range
40°
Warmest Month
-9°
Coldest Month
Monthly Conditions

January

January is the coolest month with highs of 8°C and lows of 1°C. Moderate rainfall (56 mm) and partly cloudy skies.

52 Acceptable

Comfort

Feels Like Cold
C
Temperature
79%
Humidity
Very Humid

Weather

56 mm
Rainfall
4.6 m/s
Wind
Light Breeze
0.4
UV Index
Low
10.2h daylight

February

February is cold with highs of 9°C and lows of 2°C. Moderate rainfall (60 mm) and partly cloudy skies.

58 Acceptable

Comfort

Feels Like Cold
C
Temperature
80%
Humidity
Very Humid

Weather

60 mm
Rainfall
4.3 m/s
Wind
Light Breeze
0.6
UV Index
Moderate
10.9h daylight

March

March is cold with highs of 13°C and lows of 6°C. Moderate rainfall (69 mm) and partly cloudy skies.

58 Acceptable

Comfort

Feels Like Cold
C
Temperature
13°
78%
Humidity
Very Humid

Weather

69 mm
Rainfall
4.3 m/s
Wind
Light Breeze
0.9
UV Index
Moderate
11.9h daylight

April

April is cool with highs of 19°C and lows of 11°C. Moderate rainfall (79 mm) and partly cloudy skies.

66 Good

Comfort

15°
Feels Like Cool
15°C
Temperature
11° 19°
77%
Humidity
Very Humid

Weather

79 mm
Rainfall
3.5 m/s
Wind
Light Breeze
1.2
UV Index
High
12.8h daylight

May

May is mild with highs of 24°C and lows of 16°C. Regular rainfall (95 mm) and mostly overcast skies.

72 Very Good

Comfort

20°
Feels Like Mild
20°C
Temperature
16° 24°
77%
Humidity
Very Humid

Weather

95 mm
Rainfall
3.4 m/s
Wind
Light Breeze
1.4
UV Index
High
13.6h daylight

June

June is mild with highs of 27°C and lows of 21°C. The wettest month with heavy rain (165 mm) and mostly overcast skies.

65 Good

Comfort

24°
Feels Like Mild
24°C
Temperature
21° 27°
81%
Humidity
Very Humid

Weather

165 mm
Rainfall
2.7 m/s
Wind
Calm
1.3
UV Index
High
14.0h daylight

July

July is the hottest month, feeling like 33°C with oppressive humidity. Significant rainfall (142 mm) and mostly overcast skies.

62 Good

Comfort

33°
Feels Like Hot
28°C
Temperature
25° 31°
81%
Humidity
Very Humid

Weather

142 mm
Rainfall
3.0 m/s
Wind
Light Breeze
1.8
UV Index
Very High
13.8h daylight

August

August is hot, feeling like 32°C with oppressive humidity. Significant rainfall (145 mm) and partly cloudy skies.

66 Good

Comfort

32°
Feels Like Hot
28°C
Temperature
25° 31°
80%
Humidity
Very Humid

Weather

145 mm
Rainfall
3.0 m/s
Wind
Light Breeze
1.8
UV Index
Very High
13.1h daylight

September

September is warm with highs of 27°C and lows of 21°C. Significant rainfall (131 mm) and partly cloudy skies.

73 Very Good

Comfort

24°
Feels Like Warm
24°C
Temperature
21° 27°
78%
Humidity
Very Humid

Weather

131 mm
Rainfall
2.6 m/s
Wind
Calm
1.3
UV Index
High
12.2h daylight

October

October is mild with highs of 22°C and lows of 15°C. Moderate rainfall (50 mm) and partly cloudy skies.

80 Excellent

Comfort

19°
Feels Like Mild
19°C
Temperature
15° 23°
76%
Humidity
Very Humid

Weather

50 mm
Rainfall
4.4 m/s
Wind
Light Breeze
0.9
UV Index
Moderate
11.3h daylight

November

November is cool with highs of 17°C and lows of 9°C. Moderate rainfall (53 mm) and partly cloudy skies.

70 Very Good

Comfort

13°
Feels Like Cool
13°C
Temperature
17°
77%
Humidity
Very Humid

Weather

53 mm
Rainfall
4.3 m/s
Wind
Light Breeze
0.5
UV Index
Moderate
10.4h daylight

December

December is cold with highs of 11°C and lows of 3°C. Moderate rainfall (56 mm) and partly cloudy skies.

64 Good

Comfort

Feels Like Cold
C
Temperature
11°
76%
Humidity
Very Humid

Weather

56 mm
Rainfall
4.2 m/s
Wind
Light Breeze
0.4
UV Index
Low
10.0h daylight

Nearby Attractions to City God Temple of Shanghai