What July feels like in Shanghai
For Shanghai, July is the heart of summer. Afternoons hit 31.7°C (89.1°F), close to the August peak: sightseeing works best in the morning or evening. Nights fall to about 25.7°C (78.3°F), about 6°C (10.8°F) below the afternoon, so there is little relief from the heat. Humidity averages 82%: the air is muggy and feels hotter than the thermometer says.
Rain in Shanghai in July
Rain falls on about 16 of 31 days, among the three wettest months of the year; wet days bring about 11.6 mm (0.5 in), often as strong downpours, close to the city's usual 10.1 mm.
Daylight and sunshine in July
Long days: in mid-July, Shanghai gets 14 h of daylight, from sunrise near 5:00 am to sunset near 7:00 pm, 10 min less than in mid-June. Model estimates put sunshine at about 68% of daylight, on the sunnier side of the year here, so expect bright spells between the showers.
How July compares to the rest of the year
July is the 2nd warmest month of the year; afternoons are 4.1°C (7.4°F) warmer than in June, with 62 mm less rain. Temperatures keep climbing into August, to about 31.9°C (89.4°F), and it gets drier.
July in Shanghai: what 20 years show
Based on monthly averages from 2006–2025, not daily records.
Usual range
In most years July averages 30–34°C (85–94°F) in the afternoon, with 86–394 mm of rain. Rain falls about every other day in an average July.
Records
| Record | Year | Avg high | Rain | Rainy days |
|---|---|---|---|---|
| Warmest July | 2017 | 34.7°C (94.5°F) | 92 mm | 18 |
| Coolest July | 2015 | 28.9°C (84°F) | 189 mm | 15 |
| Wettest July | 2021 | 31.3°C (88.3°F) | 429 mm | 18 |
| Driest July | 2013 | 34.2°C (93.6°F) | 30 mm | 5 |
Odds across years
In 7 of 20 years, July had 18 or more rainy days. In 5 of 20 years, it had under 110 mm of rain. In 5 of 20 years, the average high reached 33°C (91.4°F) or more. In 4 of 20 years, it stayed below 30°C (86°F).
July 2026 was the 2nd warmest July since 2006, out of 21 years (34.6°C (94.3°F), 205 mm, 20 rainy days).
Who July suits
- Sightseeing: less ideal — rain falls on more than half the days.
- Parks & outdoor: less ideal — afternoons are too warm to linger outside.
- Beach: less ideal — too many rainy days.
- Museums & indoor: a good choice — with rain on most days, galleries and museums make easy plans.
Tips for visiting Shanghai in July
Rain Protection
Rain is frequent and heavy: a proper waterproof and quick-drying shoes.
Sun Protection
Loose, breathable clothing plus sunscreen and a wide-brimmed hat.
What to wear in Shanghai in July
These are estimates from monthly averages, so read each temperature as "around".
By time of day
- Morning, around 27°C (80°F): light, loose clothes from the start of the day.
- Afternoon, around 32°C (89°F): light clothes, a hat and sunscreen.
- Evening, around 29°C (84°F): the same light clothes; no extra layer is needed.
Cool year or hot year
Even the coolest July of 2006–2025, in 2015, averaged 28.9°C (84°F), and the hottest, in 2017, reached 34.7°C (94.5°F). Either way, there is nothing warmer to pack.
Packing for 7 days
Expect about 4 wet days in a week, often heavy, with about 11.6 mm (0.5 in) on each.
- Loose, breathable clothes
- A packable rain jacket
- A hat, sunscreen and sunglasses
- Waterproof shoes that dry quickly
Travelling on specific dates? Check your exact dates in the Trip Planner.
Quick questions
How warm is Shanghai in July?
Afternoons average 31.7°C (89.1°F) and nights about 25.7°C (78.3°F), hot by most people's standards; it is the 2nd warmest month of the year.
Does it rain a lot in Shanghai in July?
Yes: rain falls about every other day and totals about 186 mm, often heavily, so plan some indoor options.
What should I wear in Shanghai in July?
Pack rain protection and sun protection; it stays warm after dark, so no extra layer is needed.
Is July or August better for visiting Shanghai?
August scores clearly better on our climate ranking (#7 of 12 vs #11), rated Good against Fair. August has fewer rainy days.




