City · China
Best time to visit Shanghai
The best time to visit Shanghai is May and October, with daytime temperatures around 26°C.
Shanghai at a glance: warmest in July with daytime temperatures around 34°C and coolest in January (9°C). The wettest month is June (178 mm) and the driest December (49 mm), with about 1,200 mm of rain a year. The sea is warmest in August (30°C). Sunniest in December.
Eddigo
Loading climate data…
Shanghai
0 mWarm and showery
65
26°/16°21°100 mm33 %14 h
A typical mid-May in Shanghai
Sunny 8Cloudy 8Rain 14
Daytime temperature (night ☾)
16°23°29°−1°38°
Sea temperature
21°−1°38°
Daylight (solar time)
05:0618:54
0006121824
13 h 47 m
Precipitation
0180 mm
100 mm
Air feel
FreshComfortableHumidMuggy
RH 68 %
Month by month
| Month | Score | Day | Night | Sea | Rain | Wet days | Sun | Daylight | Feels like |
|---|---|---|---|---|---|---|---|---|---|
| January | 31 | 9° | 1° | 8° | 59 mm | 13 | 38 % | 10 h | Chilly and showery |
| February | 28 | 11° | 3° | 8° | 72 mm | 13 | 31 % | 11 h | Chilly and showery |
| March | 51 | 17° | 6° | 11° | 83 mm | 13 | 34 % | 12 h | Mild and showery |
| April | 64 | 22° | 12° | 16° | 89 mm | 14 | 33 % | 13 h | Pleasantly warm and showery |
| May | 65 | 26° | 16° | 21° | 98 mm | 14 | 33 % | 14 h | Warm and showery |
| June | 45 | 29° | 21° | 25° | 178 mm | 16 | 19 % | 14 h | Rainy season · warm, showery and muggy |
| July | 28 | 34° | 25° | 28° | 150 mm | 13 | 31 % | 14 h | Rainy season · hot, showery and muggy |
| August | 36 | 33° | 25° | 30° | 166 mm | 13 | 45 % | 13 h | Rainy season · hot, showery and muggy |
| September | 56 | 29° | 21° | 27° | 133 mm | 12 | 30 % | 12 h | Warm, showery and muggy |
| October | 72 | 23° | 15° | 23° | 58 mm | 12 | 38 % | 11 h | Pleasantly warm and showery |
| November | 62 | 18° | 9° | 17° | 65 mm | 13 | 39 % | 11 h | Pleasantly warm and showery |
| December | 35 | 11° | 2° | 12° | 49 mm | 12 | 47 % | 10 h | Chilly and showery |
The score (0–100) combines daytime temperature, rain days, humidity and cloud cover, weighted for a typical warm-weather trip: 20–28 °C, little rain. On the map you can change these preferences.
Climate averages 2016–2025 (ERA5, CRU TS). Sea temperature from ERA5. Not a forecast. Elevation: 2 m. Coordinates: 31.23, 121.47.