Shanghai, China skyline

Shanghai Weather in July

The usual July conditions in Shanghai, China, drawn from 2006–2025 records.

Shanghai in July: highs near 31.7°C (89.1°F), lows near 25.7°C (78.3°F), roughly 16 rainy days adding up to 186 mm, and 9.5 hours of sunshine on an average 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%

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 are hot, so sightseeing works best in the morning or evening. Evenings ease the heat only slightly, and nights remain very warm. Thick, humid air means clothes cling and the heat feels stronger than the number.

Rain in Shanghai in July

July is persistently wet here: some rain falls on about every other day. Rainy days are intense, averaging about 11.6 mm (0.5 in) — downpours rather than drizzle. The yearly figure is similar, around 10.1 mm per wet day. It is among the three wettest months of the year.

Daylight and sunshine in July

Mid-month, Shanghai gets 14 h of daylight, from sunrise near 5:00 am to sunset near 7:00 pm. Compared with mid-June, the day has lost 10 min. The sun is out for roughly 68% of those daylight hours, so there are plenty of bright spells.

How July compares to the rest of the year

Ranked by average high, July comes out as the 2nd warmest month in Shanghai. Afternoons run 4.1°C (7.4°F) warmer than in June, with 62 mm less rain. The warm-up continues into August. The next month's average high: 31.9°C (89.4°F).

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

Keep a small umbrella in your bag and wear shoes that cope with puddles.

Sun Protection

Sunscreen, a hat and sunglasses; light breathable clothes.

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, fairly — rain falls about every other day and totals about 186 mm, so an umbrella is worth carrying.

What should I wear in Shanghai in July?

The numbers point to rain protection and sun protection. There is little need to change for the evening.

Is July or August better for visiting Shanghai?

August scores 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), plenty of sunshine (9.5 h a day). 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.