Shanghai weather in July

In July, Shanghai sees average daytime highs of 31°C and overnight lows near 26°C, with 157 mm of rain across 13.9 wet days and about 13.8 hours of daylight. It is the 1st-warmest and 2nd-wettest month of the year here.

Highs climb over the month, from about 30°C in the first days to 32°C by the end. The sky is clear or mostly clear about 24% of the time in July, and the air most often feels miserable.

Daylight stretches from about 14 hours at the start of July to 13 h 36 min by month's end. Set against the rest of the year, July is Shanghai's 11th-clearest and 5th-windiest month. For the whole year in context, see Shanghai's year-round climate.

Daytime high
31°
1st warmest
Overnight low
26°
11th coldest
Rainfall
157 mm
13.9 wet days
Daylight
13 h 48 min
5:04 AM – 6:55 PM
Cloud cover
68%
11th clearest
Wind
13 km/h
5th windiest
Solar energy
5.31 kWh/m²
Travel score
3.8
out of 10

Shanghai is provincial-level municipality in China.

Air quality
Very high
PM2.5 37.7 µg/m³ · 2018
Density
3,923/km²
people per km²
Founded
1292

Air quality: WHO Ambient Air Quality Database. Density & description: Wikidata (CC0), GeoNames.

Temperature in July

Average highAverage lowShaded bands: 10–90% of days

Highs climb over the month, from about 30°C in the first days to 32°C by the end.

A typical July day in Shanghai reaches about 31°C in the afternoon and slips back to 26°C overnight — a 5°C spread between the day's warmth and the night's chill. On most days the high lands between 27°C and 35°C. Set against its neighbours, July runs about 4°C warmer than June and on par with August.

20°25°30°35°40°151015202531
Avg high (°C)Avg low (°C)
12924
23024
33025
43025
53025
63025
73025
83025
93125
103125
113126
123126
133126
143126
153126
163226
173226
183226
193226
203226
213227
223227
233227
243227
253227
263327
273327
283327
293327
303327
313227

How July really feels in Shanghai

Once humidity and wind are folded in, July averages 31 days that feel above 32°C and 0 that feel at or below 0°C — the comfort signal a plain temperature reading hides.

Days feeling ≥ 32°C
31
15 feel dangerously hot (≥ 39°C)
Days feeling ≤ C
0
wind chill below the day's low

The story in July is heat — humidity pushes the afternoon "feels like" well above the raw temperature.

Shanghai weather by month

How July compares with the rest of the year at a glance. July is the 1st-warmest and 2nd-wettest month here — the current month is highlighted below.

MonthHigh / Low (°C)Rainfall (mm)Wet daysSnow daysDaylight (hours)Travel score
Jan / 638.40.510.21.5
Feb10° / 628.70.510.92.2
Mar14° / 9611.30.111.83.8
Apr19° / 12°10410.2012.75.9
May24° / 17°12710013.66.7
Jun27° / 22°27014.50145.4
Jul31° / 26°15713.9013.83.8
Aug31° / 26°15414.8013.13.9
Sep27° / 22°10610.9012.26.1
Oct23° / 17°616011.27.4
Nov17° / 11°567.4010.45.8
Dec11° / 456.70.3103.0

Cloud cover in July

ClearMostly clearPartly cloudyMostly cloudyOvercast

The sky is clear or mostly clear about 24% of the time in July.

Beyond those clear spells, partly cloudy skies cover about 10% of July, with mostly cloudy or overcast conditions the remaining 66%. Skies tend to open up as the month goes on.

0%25%50%75%100%151015202531
Clearer (%)Cloudier (%)
11684
21684
31783
41882
51882
62080
72080
82179
92278
102476
112476
122674
132773
142872
153169
163268
173466
183565
193862
204060
214258
224456
234654
244852
254951
265149
275149
285347
295347
305347
315446

Chance of precipitation in July

Any precipitation

Shanghai gets around 157 mm of rain over 13.9 wet days in July. The line is the day-by-day chance of measurable precipitation.

Day to day, the chance of measurable rain averages around 46% and peaks near 60% on the wettest days. The odds ease toward the end of the month.

0%20%40%60%151015202531
Rain chance (%)
160
259
359
458
557
656
755
854
953
1052
1151
1250
1348
1447
1546
1644
1743
1842
1940
2039
2138
2237
2336
2436
2536
2636
2736
2836
2937
3037
3138

Humidity in July

DryComfortableHumidMuggyOppressiveMiserable

Most of July feels miserable — the stacked bands show each day's mix of comfort levels, read off the dew point.

By dew point, July lands in the miserable band about 76% of days. Sticky, muggy-or-worse air turns up on roughly 100% of them.

0%25%50%75%100%151015202531
Humid (%)Muggy (%)Oppressive (%)Miserable (%)
11163449
21143352
31133254
41113157
51103059
6192961
7182863
8172765
9172666
10162568
11152470
12042373
13042175
14032077
15031978
16031780
17021682
18021583
19021484
20011386
21011287
22011188
23011188
24011089
25011089
2601990
2700991
2800991
2900991
3000991
3100991

Wind in July

Winds average 13 km/h in July.

Across July, daily wind ranges from about 13 km/h on the calmest days to 14 km/h at its breeziest. It stays fairly steady from day to day.

05101520151015202531
Wind speed (km/h)Feels
113light breeze
213light breeze
313light breeze
413light breeze
513light breeze
613light breeze
713light breeze
813light breeze
913light breeze
1013light breeze
1113light breeze
1213light breeze
1313light breeze
1413light breeze
1513light breeze
1614light breeze
1714light breeze
1814light breeze
1914light breeze
2014light breeze
2114light breeze
2214light breeze
2314light breeze
2414light breeze
2514light breeze
2614light breeze
2714light breeze
2814light breeze
2914light breeze
3014light breeze
3114light breeze

Sunrise & sunset in July

DaylightNight

Daylight runs from about 14 hours at the start of July to 13 h 36 min by month's end. The lit band spans sunrise to sunset each day.

Days shrink by about 24 minutes over July. Sunrise moves from 4:57 AM to 5:14 AM, and sunset from 6:58 PM to 6:47 PM.

12 AM4 AM8 AM12 PM4 PM8 PM12 AM151015202531
Daylight (h)Sunrise (AM)Sunset (PM)
114.04:576:58
214.04:586:58
314.04:586:58
414.04:586:58
514.04:596:58
614.04:596:57
714.05:006:57
813.95:006:57
913.95:016:57
1013.95:016:57
1113.95:026:57
1213.95:026:56
1313.95:036:56
1413.95:036:56
1513.95:046:56
1613.85:046:55
1713.85:056:55
1813.85:066:54
1913.85:066:54
2013.85:076:54
2113.85:076:53
2213.75:086:53
2313.75:086:52
2413.75:096:52
2513.75:106:51
2613.75:106:50
2713.65:116:50
2813.65:126:49
2913.65:126:48
3013.65:136:48
3113.65:146:47

Solar energy in July

Daily solar energy (kWh/m²)

Average shortwave solar energy reaching the ground each day in July, about 5.31 kWh/m² — the sunniest month for solar.

For context, solar energy here swings from a low near 2.47 kWh/m² to a high of 5.31 kWh/m² in July across the year — July's 5.31 kWh/m² sits near the top of that range.

0246151015202531
Solar energy (kWh/m²)Level
14.4Bright
24.4Bright
34.5Bright
44.5Bright
54.6Bright
64.6Bright
74.7Bright
84.8Bright
94.8Bright
104.9Bright
115.0Bright
125.0Bright
135.1Bright
145.2Bright
155.2Bright
165.3Bright
175.4Bright
185.4Bright
195.5Bright
205.6Bright
215.6Bright
225.7Bright
235.7Bright
245.7Bright
255.8Bright
265.8Bright
275.8Bright
285.8Bright
295.8Bright
305.7Bright
315.7Bright
Planning a trip in July

Hazard calendar for Shanghai

In seasonPeak

In July, Shanghai sits inside its pacific typhoon and rainy season season. The full year is below, with each hazard's peak months called out.

Shanghai sits in the Pacific typhoon belt; the season peaks July–October.

Shanghai's rainy season runs May–August, when most of the year's rain falls.

Pacific typhoon
Rainy season
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec

Is July a good time to visit Shanghai?

Our two travel scores rate July for general sightseeing and for beach or pool weather — 0 (poor) to 10 (ideal).

3.8
Sightseeing
8th-best month of the year
5.8
Beach & pool
3rd-best month of the year

July is a weaker month for outdoor sightseeing in Shanghai.

What to pack for Shanghai in July

From July's temperature range, rain chance, sun and wind — what's worth putting in the bag.

In July, Shanghai sees daytime highs around 31°C and nights near 26°C. Pack light clothes and rain gear. Worth having: sun protection. About 14 days see rain.

light clothesrain gearsun protection

Sea temperature near Shanghai in July

The nearest coast averages about 26°C in July — the other half of the beach question. The full-year curve and swim-comfort zones are below.

The sea at the nearest coast (about 23 km away) is warmest in August at about 28°C and coldest in February near 7°C.

It's comfortable for a long swim from May 27 to Oct 25 — about 5 months when the water holds above 20°C.

10°20°30°JanFebMarAprMayJunJulAugSepOctNovDecbracingcoolrefreshingwarmtropicalcomfortable to swim
Sea temperature (°C)Comfort
Jan8Bracing
Feb7Bracing
Mar10Bracing
Apr14Bracing
May19Cool
Jun22Refreshing
Jul26Warm
Aug28Warm
Sep26Warm
Oct21Refreshing
Nov17Cool
Dec12Bracing

UV index in Shanghai in July

LowModerateHighVery highExtreme

Clear-sky midday UV in July peaks around 10 (very high — sun protection essential). The full-year curve, shaded by WHO exposure level, is below.

Under clear skies, the midday UV index in Shanghai peaks around August 16 at about 10 (very high) — sunscreen, a hat and midday shade are essential. It bottoms out near December 19 at about 3 (moderate).

The index reaches 3 or more — the level where the WHO recommends sun protection — in 11 months of the year.

025710JanFebMarAprMayJunJulAugSepOctNovDecModerateHighVery highModerateAug 16UV 10Dec 19UV 3
UV index (midday)Level
Jan3Moderate
Feb4Moderate
Mar6High
Apr7High
May7Very high
Jun9Very high
Jul10Very high
Aug10Very high
Sep10Very high
Oct5Moderate
Nov4Moderate
Dec3Moderate

Air quality in Shanghai in July

GoodModeratePoorUnhealthyVery unhealthy

Average fine-particle pollution (PM2.5) through the year — so you can see where July falls, not just the annual average.

Air quality in Shanghai is worst in December — around 53 µg/m³ PM2.5 (poor), about 2.2× the cleanest month (August, 25 µg/m³).

Seasonal pattern from CAMS reanalysis, scaled to Shanghai's WHO annual average of 37.7 µg/m³.

0204060JanFebMarAprMayJunJulAugSepOctNovDecPoorModeratePoorDec 2153 µg/m³Aug 1625 µg/m³
PM2.5 (µg/m³)Level
Jan51Poor
Feb45Poor
Mar44Poor
Apr40Poor
May34Moderate
Jun29Moderate
Jul27Moderate
Aug25Moderate
Sep28Moderate
Oct32Moderate
Nov43Poor
Dec53Poor
Location & terrain

Where is Shanghai?

Shanghai sits at 31.2°N, 121.5°E, 12 m above sea level, in China. The nearest listed city is Suzhou, 83 km away.

TunxiGaigeturi

Topography around Shanghai

How much the land rises and falls, and what covers it, within 3, 16 and 80 km of Shanghai.

Within 3 km, the terrain around Shanghai has only modest variations in elevation — a maximum elevation change of 30 m around an average of 6 m above sea level; within 16 km, only modest variations in elevation — a maximum elevation change of 55 m; within 80 km, only modest variations in elevation — a maximum elevation change of 158 m.

The land around Shanghai is covered by artificial surfaces (86%) within 3 km, artificial surfaces (73%) within 16 km, and water (39%), cropland (29%) and artificial surfaces (22%) within 80 km.

3 km
30 m
16 km
55 m
80 km
158 m
treesgrasslandcroplandartificial surfacesbare terrainwaterwetland
July weather nearby: Suzhou 83 km · Wuxi 118 km · Ningbo 150 km · Hangzhou 161 km · Pingyao 169 km · Nanjing 270 km · Tunxi 345 km · Gaigeturi 520 km

China travel facts

Travel advisory
Level 2
Exercise Increased Caution
Power plugs
Type A / I
220 V · 50 Hz
Prices
≈ 47% of US
price level, 2025
GDP per capita
$13,862
2025
Happiness
6.1 / 10
World Happiness, 2025
Homicide rate
0.5
per 100k, 2020
Road deaths
17.4
per 100k/yr, 2019
Income group
Upper middle
World Bank
English
Low
EF EPI 464
Religion
unaffiliated 52%folk religion 22%Buddhist 18%Christian 5%

Sources: World Bank, US State Department, World Happiness Report, WHO/UNICEF, EF EPI, CIA World Factbook.

Data sources

Temperature, precipitation, cloud, humidity, wind and solar figures are a 1991–2020 climatology for Shanghai (31.2222°, 121.4581°, elevation 12 m), computed from hourly ERA5 reanalysis — contains modified Copernicus Climate Change Service information. Sun figures are astronomical calculations, not observations. City data © GeoNames, CC BY 4.0. Map outlines from Natural Earth (public domain); interactive map © Google. Tropical-cyclone seasons are the published climatological basin seasons (NOAA National Hurricane Center / regional warning centres). Sea temperatures are the NOAA OISST v2.1 1991–2020 monthly climatology (public domain), sampled at the nearest ocean point. UV index is derived from CAMS (Copernicus Atmosphere Monitoring Service) clear-sky UV data — contains modified Copernicus Atmosphere Monitoring Service information. Monthly air-quality (PM2.5) seasonality is from the CAMS EAC4 reanalysis (Copernicus Atmosphere Monitoring Service), scaled to the WHO annual mean where available. Topography is sampled from the Copernicus DEM GLO-90 elevation model (© ESA/Airbus) and ESA WorldCover 2021 land cover (CC BY 4.0).