Shanghai, China
Shanghai has a continental climate with average temperatures ranging from 9°C / 48°F in January to 31°C / 88°F in July.
Precipitation is distributed throughout the year, averaging 110 mm / 4.3 inches monthly, peaking in June (260 mm / 10.2 inches) and reaching its lowest in December (44 mm / 1.7 inches).
UV peaks in June (index 9) and drops to its lowest in December (index 4); strong sun protection is essential during summer months.
Expect approximately 14.1 hours of daylight during June and around 10.2 hours in December.
Shanghai offers distinct seasons, each with its own character and appeal for different types of travelers.
Today's forecast
Plan your trip
Find the best dates. Understand the conditions. Pack with confidence.
Climate at a glance
The big-picture stats that matter for planning your visit to Shanghai.
High / low
Average highs up to 31.3°C and lows down to 1.4°C.
Wettest month
June averages 260 mm.
Typical peak band
Typical peak UV is High.
Seasonal range
Roughly 10 hrs to 14 hrs.
Typical strength
Average around 13 km/h, peaking in March.
Typical range
Generally 73 % to 84 %.
When should I go?
Our top-rated months for visiting Shanghai, based on long-term weather comfort and conditions
Typical weather by month
Compare all monthsTip: click on a card to see detailed daily weather averages for that month.
How Shanghai compares
See how it ranks against the rest of China for key metrics.
Short term outlook
Visiting soon? Here's the next 7 days of weather for Shanghai, or see an hourly breakdown for the next 14 days.
Frequently asked questions
How does the weather in Shanghai feel over the year?
On a typical year, you can expect highs around 20°C (68°F) and lows near 13°C (55°F). Conditions usually feel mild in the daytime and cool once the sun goes down. You may notice some humidity at times. Expect a mix of sun and cloud across the year.
When is the best time to visit Shanghai for dry weather?
When is sun exposure strongest in Shanghai?
UV tends to peak in June, when UV levels frequently reach very high levels (around 9), so strong sun protection is essential, especially around midday.
Is Shanghai a windy place?
Across the year, average winds sit around 13 km/h (8 mph), with gusts on windier days up to about 52 km/h (32 mph). Overall it is it can feel quite windy at times, particularly when weather systems move through.
How much daylight does Shanghai get?
On average, days offer about 12 hours of daylight. Daylight is fairly typical, with enough time for sightseeing.