Shanghai climate and the best time to visit
The best time to visit Shanghai is early April to mid-May and early October to mid-November, when up to 81% of days are warm and dry. Expect about 8 still, cold, dry days a year when inversions build up, mostly in December and January, and 133 muggy days a year, mostly in June to September.
A typical year in Shanghai
How weeks are counted
One column per week, from the same days of Sep 2022–Aug 2025 (±10 days). Good days had a high of 16–31 °C, at most 1 mm of rain and wind under 30 km/h; the warmer, the deeper their orange. Each bad day counts once. Wet days (over 1 mm) count by how wet, whatever their temperature: light rain up to 3 mm shows as streaks over its temperature; snow where the station reports it. The others count for the first test they failed: too cold or too hot, then windy.
Averages of the measured days in Sep 2022–Aug 2025, not a forecast.
132 good days
233 bad days
Shanghai climate by month
very cold below 5 °Ccold 5–9 °Ccool 10–15 °Cmild 16–19 °Ccomfortable 20–24 °Cwarm 25–28 °Chot 29–32 °Cvery hot 33+ °C
| Measure | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| High, °C | 12° | 10° | 17° | 24° | 28° | 31° | 35° | 36° | 30° | 24° | 21° | 11° |
| Low, °C | -1° | 2° | 7° | 13° | 17° | 21° | 27° | 27° | 23° | 16° | 10° | 2° |
| Over 30 °C | 1 | 1 | 6 | 16 | 30 | 30 | 15 | 2 | ||||
| Frost nights | 16 | 7 | 1 | 11 | ||||||||
| Muggy days | 1 | 9 | 26 | 31 | 31 | 27 | 5 | 2 |
Rain and snow
Light rain 1–3 mmRain 3–10 mmVery wet 10–40 mmHeavy rain over 40 mmSnow
| Measure | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rain or snow, mm | 44 | 70 | 67 | 57 | 112 | 318 | 221 | 93 | 179 | 89 | 69 | 28 |
| Rain days | 5 | 9 | 9 | 6 | 8 | 13 | 10 | 7 | 11 | 7 | 6 | 4 |
| Fog days | 4 | 1 | 1 | 1 | 2 | 2 | ||||||
| Windy days | ||||||||||||
| Inversion weather | 4 | 2 | 3 | |||||||||
| Warm, dry days | 5 | 4 | 13 | 23 | 20 | 8 | 0 | 0 | 12 | 22 | 21 | 3 |
The shaded chart is a typical day, from the station's hourly readings: for each three-hour stretch, the median over the days of its warmest reading from 9:00 to 18:00 and its coolest from 18:00 to 9:00, so it peaks near the typical high and bottoms out near the typical low; times are solar time, so noon is when the sun is highest. The rain chart counts, for each week of the year (±10 days), the days with 1 mm or more, by how much fell, and apart the days on which the station also reported snow. Typical high and low are the median daily maximum and minimum. Day counts are averaged over Sep 2022–Aug 2025 and scaled to the length of each month. A rain day has 1 mm or more; a windy day a mean wind above 30 km/h; a muggy day a mean dew point of 18 °C or more; fog and snow days are those the station reported, snow only on days with a low of 5 °C or less; inversion weather is a still (under 9 km/h), cold (a high under 8 °C), dry day with sea-level pressure over 1020 hPa. This station doesn't report cloud cover reliably, so clear days aren’t counted here.
Season by season
WinterDec – Feb
- Highs
- 10–12 °C
- Lows
- -1 to 2 °C
- ~12 warm, dry days
- ~17 rain days
- ~1 snow days
SpringMar – May
- Highs
- 17–28 °C
- Lows
- 7–17 °C
- ~57 warm, dry days
- ~23 rain days
- ~8 days over 30 °C
SummerJun – Aug
- Highs
- 31–36 °C
- Lows
- 21–27 °C
- ~8 warm, dry days
- ~30 rain days
- ~76 days over 30 °C
AutumnSep – Nov
- Highs
- 21–30 °C
- Lows
- 10–23 °C
- ~55 warm, dry days
- ~24 rain days
- ~16 days over 30 °C
Quick facts
Best weeks
2 Apr – 20 May and 1 Oct – 18 Nov
Up to 81% of days warm and dry
Warm, dry days
132 a year
36% of the year, most in April
Typical highs
10 °C to 36 °C
February to August; nights down to -1 °C
Rain or snow
1348 mm a year
On 94 days, most in June
Inversion weather
8 a year
Still, cold, dry days, mostly in December and January
Muggy days
133 a year
Mostly in June to September
How many days here suit you?
Set your ideal day. Each day measured at Shanghai's weather station in Sep 2022–Aug 2025 is checked against it.
They're most common in April to May and October to November.
This station doesn't record cloud cover, so the sky setting is left out here.
Open the full map Zoom with ctrl or ⌘ and scroll.Move and zoom with two fingers.
Year by year
- 2022–23 140 warm, dry days
- 2023–24 142 warm, dry days
- 2024–25 115 warm, dry days
Questions
What is the climate like in Shanghai?
Typical highs run from 10 °C in February to 36 °C in August, and lows from -1 °C to 27 °C. About 1348 mm of rain or snow falls a year, on 94 days. Expect about 8 still, cold, dry days a year when inversions build up, mostly in December and January, and 133 muggy days a year, mostly in June to September.
When is the best time to visit Shanghai for good weather?
The best time to visit Shanghai is early April to mid-May and early October to mid-November, when up to 81% of days are warm and dry. Counted from measured days at Shanghai station, Sep 2022–Aug 2025.
When is inversion season in Shanghai?
Still, cold, dry days under high pressure, the weather in which inversions form, come mostly in December and January: about 8 a year, most in January. For air quality itself, see your local air-quality agency.
Does it rain a lot in Shanghai?
On average 94 days a year had 1 mm of rain or more in Sep 2022–Aug 2025, 1348 mm in all. The wettest month was June (13 rain days), the driest December (4).
Nearby
- Qingdao550 km154 days
- Wuhan690 km136 days
- Naha820 km, Japan176 days
- Amami840 km, Japan157 days
- Fukuoka880 km, Japan131 days
More cities in China
- Kunming 270 days
- Kashgar 162 days
- Guangzhou 160 days
- Chengdu 137 days
- Beijing 134 days
- Harbin 128 days
- Shenyang 127 days
- Chongqing 122 days
- Xi'an 117 days
- Ürümqi 116 days
Where is the best climate in China?
Open Shanghai on the map Set your own temperature, rain and wind limits.
Source: Shanghai weather station (58362099999), 19 km from the centre of Shanghai, 4 m above sea level. Daily records from NOAA's GSOD and ISD, which NOAA retired in August 2025; it has received no newer records from this station, Sep 2022–Aug 2025; 96% of days have a complete record. A single station may not represent every part of a city, and three years is a short record.