idealclimatemap

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

Best weeks 2 Apr – 20 MayBest weeks 1 Oct – 18 Nov

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

very coldcoldcoolmildcomfortablewarmmildcoldhotvery hotmidnight6 amnoon6 pmmidnight
MeasureJanFebMarAprMayJunJulAugSepOctNovDec
High, °C12°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 °C116163030152
Frost nights167111
Muggy days192631312752

Rain and snow

Light rain 1–3 mmRain 3–10 mmVery wet 10–40 mmHeavy rain over 40 mmSnow

1 day2 days3 days4 of 7 days
MeasureJanFebMarAprMayJunJulAugSepOctNovDec
Rain or snow, mm4470675711231822193179896928
Rain days599681310711764
Fog days411122
Windy days
Inversion weather423
Warm, dry days541323208001222213

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

Quick facts

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.

16–31°C
≤ 1 mm
≤ 30 km/h
Any sky
When
132ideal days a year36% of the year

They're most common in April to May and October to November.

Open the full map Zoom with ctrl or ⌘ and scroll.Move and zoom with two fingers.

Year by year

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

More cities in China

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.