Shanghai
Weather by month
Current –

Shanghai Weather in July

With daytime temperatures of 33°C (91°F) and nighttime lows of 26°C (79°F), July in Shanghai brings very high temperatures during the day. Do keep in mind that quite a bit of rainfall is typical. Around 165 mm (6.5 in) falls on average.

Rainfall in Shanghai in July

This month experiences about 12 days of rain according to historical data, averaging 165 mm (6.5 in). When showers do arrive, they tend to be on the heavier side. Worth being prepared even if rain days are not that numerous.

Temperature in Shanghai in July

Daytime highs in Shanghai in July reach 33°C (91°F), with nights around 26°C (79°F). For most visitors, the main thing to prepare for is the heat during the day. With overnight lows of 26°C (79°F), nights stay very warm. Air conditioning makes a real difference if you're sensitive to heat. A cold shower before bed can also help you get to sleep more comfortably. Remember, these are typical temperatures, and certain days could be even hotter. Ensure you wear appropriate clothing to handle the warmth.

Sunshine in Shanghai in July

The month enjoys around 191 hours of sunshine, creating mostly sunny days with good weather conditions.

Wind Speed in Shanghai in July

Average wind speeds reach 3 m/s (6 knots) in July, creating light breezes that feel pleasant throughout the day. Some days are calmer, while others bring slightly more active breezes.

Average water temperature in July

At 26°C (79°F), the water is warm and comfortable for swimming. Most people find this temperature ideal for spending longer periods in the water.

If you're looking for dry conditions and comfortable temperatures, July may not be the ideal month to visit Shanghai. Our weather planner can help you explore destinations with more pleasant weather conditions.

Shanghai Temperature in July

Min Temperature
26°C (79°F)
Max Temperature
33°C (91°F)
Water Temperature
26°C (79°F)
Chance of Rain
40%
Precipitation
165 mm (6.5 in)
Rainy days
12 days
Humidity
77%
Windspeed
3 m/s (6 knots)
Sunshine
191 hours
Percentage Sunshine

Shanghai Weather by Month

Pick a month to see the average temperature, rainfall and sunshine in Shanghai - and find the best time to visit.

Daily Historical Temperatures

50-year average (1976-2025)

Based on our historical records, temperatures in Shanghai typically stay consistent throughout July, with daily highs averaging around 33°C (91°F). Nights are warm, with lows typically ranging from 24°C (75°F) to 27°C (81°F).

Average temperatures in July

Daily Historical Precipitation

50-year average (1976-2025)

Average daily rainfall for each day of the month based on long-term records.

Average precipitation in July

Historical weather records for Shanghai in July

Browse day-by-day weather records for Shanghai spanning 51 years. Select any month and year to see actual temperatures, rainfall, and conditions recorded on each day.

Shanghai historical weather extremes in July

The extremes listed below come from historical weather data collected in Shanghai from 1976 through 2026.

  • The hottest July day on record in Shanghai reached 40°C (104°F) (July 24, 2017).
  • The coldest July day was on July 6, 1989, with a maximum of 21°C (70°F).
  • Nighttime temperatures dropped to 17°C (63°F) on July 5, 1976, marking the coldest July night on record.

Best Places in China in July

Find out more about the weather in China and which places have the best travel conditions in this month. See all of China in July →

perfect weather
pleasant
tolerable
unpleasant
poor

Perfect weather is subjective. On this map perfect weather has been defined with temperatures between 20°C (68°F) and 29°C (84°F) and not too much precipitation (less than 90 mm (3.5 in) a month).

What to Wear in Shanghai in July

Warm temperatures in July make for comfortable sightseeing weather. Pack breathable fabrics like cotton shirts, knee-length shorts or skirts, and comfortable walking shoes. A thin long sleeve for indoor spaces is handy. Heavy rain is guaranteed, please bring a good poncho and waterproof everything! Expect water temperatures of around 26°C (79°F), which is ideal for taking a refreshing dip. Bring swimwear and consider packing a towel for drying off. And with plenty of sunshine hours, don’t forget sunglasses, sunscreen, and maybe a sun hat.

What To Do in Shanghai in July

We rated the following activities from 1 (least suitable) to 10 (best) to do.

  • Swimming
    7/10
  • Cycling
    7/10
  • Walking
    7/10
  • Camping
    7/10
  • Outdoor sports
    7/10

Shanghai 3-Day Forecast

More climate data for Shanghai

Popular in July

Where to go in July - average daytime high across popular destinations.

Bucket list

Need travel inspiration? Check out our bucket list articles and be inspired.