One city · 20 years of daily records

Shanghai Weather by Month

In Shanghai, average highs run from 9°C (48°F) in January to 32°C (89°F) in July, and rain is most frequent in August (20 rainy days). Figures are typical values over 20 years of daily records.

Temperature, rain and sun by month

Average weather by month in Shanghai
MonthHighLowRainy daysDaylightCloudComfort
January9°C / 48°F1°C / 34°F910.4 h57%51
February11°C / 51°F3°C / 37°F1211.1 h64%46
March15°C / 59°F6°C / 43°F1312 h63%59
April20°C / 68°F11°C / 52°F1212.9 h65%68Best
May25°C / 77°F17°C / 62°F1313.7 h67%67Best
June28°C / 82°F21°C / 70°F1914.1 h80%47
July32°C / 89°F26°C / 78°F1913.9 h70%35Weak
August32°C / 89°F26°C / 78°F2013.3 h56%38Weak
September28°C / 82°F22°C / 71°F1712.4 h60%57
October23°C / 73°F16°C / 61°F911.4 h54%78Best
November18°C / 64°F10°C / 50°F1010.6 h54%76Best
December11°C / 52°F3°C / 38°F810.2 h48%63

Questions

What is the weather like in Shanghai each month?

In Shanghai, average highs run from 9°C (48°F) in January to 32°C (89°F) in July, and rain is most frequent in August (20 rainy days). Figures are typical values over 20 years of daily records.

When is the best time to visit Shanghai for the weather?

Going by 20 years of daily records, the most comfortable weather in Shanghai falls in April to May and October to November, with average highs of 18 to 25°C (64 to 77°F), and about 9 to 13 rainy days a month. This ranks weather only. It does not account for crowds, prices or local holidays.

What is the hottest month in Shanghai?

July, with average highs of 32°C (89°F). January is the coolest month, at 9°C (48°F).

When does it rain the most in Shanghai?

August is the wettest month (20 rainy days) and December the driest (8 rainy days).

Which months should I avoid in Shanghai if the weather matters?

July to August score lowest on heat, cold and rain combined. A low score does not mean bad every day, only that fewer days are comfortable.

How the comfort score works

Each month starts at 100. Points come off when the average high is below 64°F (1.6 per °F) or above 82°F (2.2 per °F, plus 2 more per °F beyond 95°F), when nights fall below 35°F, for the share of days with measurable rain (0.7 per percentage point), and for cloud cover above 50% where we have it. It ranks weather only: it knows nothing about crowds, prices, school holidays or festivals.

Source: daily temperature, precipitation and wind records for the 20 most recent complete years, from the Open-Meteo weather archive. Past averages describe a typical year, not a forecast. See our methodology and data sources.