Shanghai, China skyline

Shanghai Weather in July

Shanghai, China in July: hot afternoons and regular showers, based on 2006–2025 averages.

A hot month in Shanghai, with July highs averaging 31.7°C (89.1°F) and lows 25.7°C (78.3°F), plus about 16 rainy days (186 mm in total) and 9.5 hours of sunshine a day.

Avg high

31.7°C (89.1°F)

Avg low

25.7°C (78.3°F)

Rainfall

186 mm (7.3 in)

Rainy days

16 days

Sunshine

9.5 h / day

Humidity

82%

Latest actual — July 2026: high 34.6°C (94.3°F), low 27°C (80.6°F), 205 mm rain on 20 days (the 2006–2025 average above is cooler).

July vs the rest of the year

Only 1 month is warmer than July in Shanghai; for rain it is the 2nd wettest month.

MonthAvg highvs JulyRainRainy days
January8.9°C (48°F)−22.8°C (−41°F)54 mm7
February10.2°C (50.4°F)−21.5°C (−38.7°F)66 mm10
March15.1°C (59.2°F)−16.6°C (−29.9°F)83 mm10
April20.2°C (68.4°F)−11.5°C (−20.7°F)97 mm9
May24.8°C (76.6°F)−6.9°C (−12.4°F)115 mm10
June27.6°C (81.7°F)−4.1°C (−7.4°F)248 mm16
July31.7°C (89.1°F)—186 mm16
August31.9°C (89.4°F)+0.2°C (+0.4°F)127 mm15
September27.6°C (81.7°F)−4.1°C (−7.4°F)139 mm13
October22.9°C (73.2°F)−8.8°C (−15.8°F)64 mm7
November17.6°C (63.7°F)−14.1°C (−25.4°F)65 mm8
December11°C (51.8°F)−20.7°C (−37.3°F)38 mm6

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

July records, 2006–2025 (monthly averages)
RecordYearAvg highRainRainy days
Warmest July201734.7°C (94.5°F)92 mm18
Coolest July201528.9°C (84°F)189 mm15
Wettest July202131.3°C (88.3°F)429 mm18
Driest July201334.2°C (93.6°F)30 mm5

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.

Is July a good time to visit Shanghai?

Fair

Fair — warm to hot days, rain on most days (about 16). Within Shanghai's own year, July ranks #11 of 12 — one of the least comfortable months.

July in other China cities

Drier places in July

Plan a trip to Shanghai

Get a day-by-day weather score for your exact travel dates.

Open the Trip Planner

Monthly averages from 20 years of Open-Meteo history (2006–2025), not a forecast — see all 12 months in Shanghai weather by month.

Use this data on your site

Free weather widget for your blog or travel guide. Pick the options, copy the code and paste it into your page. No ads, no cookies.

Embed code

<iframe src="https://weatherapex.com/embed/china/shanghai/july" width="100%" height="420" style="border:0" loading="lazy" title="Shanghai weather in July"></iframe>
<p style="font-size:13px">Weather data: <a href="https://weatherapex.com/weather/china/shanghai/july">WeatherApex — Shanghai weather in July</a></p>

Please keep the link under the widget: it shows your readers where the data comes from.

How the free widget works