Climate ▸Forecast ▸May ▸June ▸
JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember

Shanghai Weather in May

May in Shanghai averages 25°C (77°F) during the day and 18°C (64°F) at night. Quite a bit of rainfall is typical this month, with around 126 mm (5 in) on average. An umbrella is a good idea.

Rainfall in Shanghai in May

Rain is expected on roughly 15 days, totalling around 126 mm (5 in) for the month. When it rains this month, it tends to come down fairly heavily. Showers can be substantial even if they don't last all day.

Temperature in Shanghai in May

In May, Shanghai gets high temperatures, with highs of 25°C (77°F). Nights cool to around 18°C (64°F). This gives the month a fairly typical daily rhythm, with warmer afternoons and more comfortable nights. With overnight lows of 18°C (64°F), evenings can feel noticeably cooler than the daytime. An extra layer is a good idea, though the cool air makes for a good night's sleep.

Sunshine in Shanghai in May

The month experiences a moderate amount of sunlight, with 168 hours of sunshine. This provides a nice balance between sunshine and clouds.

Wind Speed in Shanghai in May

Wind speeds average 3 m/s (6 knots) during May. At this speed, light breezes keep leaves and small twigs in gentle motion while the wind also provides natural cooling. Since this is an average, some days are more tranquil while others have more persistent light winds that are more noticeable.

Average water temperature in May

With water at 17°C (63°F), it's on the cooler side. Keen swimmers won't be put off, but those who prefer warm water may find it less enjoyable.

If you prefer dry days with pleasant temperatures, October typically offers the best circumstances. If you're seeking pleasant, dry and sunny weather somewhere else in the world, our weather planner can help you explore other options.

Select a Month

Check the conditions for any month of the year.

For a detailed overview over the year and the best time to visit China, check out our Shanghai's climate page.

Shanghai Temperature in May

Min TemperatureMin Temperature 18°C (64°F)  
Max TemperatureMax Temperature 25°C (77°F)  
Water TemperatureWater Temperature 17°C (63°F)  
Chance of RainChance of Rain 49%  
PrecipitationPrecipitation 126 mm (5 in)  
Rainy daysRainy days 15 days  
HumidityHumidity 72%  
WindspeedWindspeed 3 m/s (6 knots)  
SunshineSunshine 168 hours  
Percentage SunshinePercentage Sunshine  

Daily Historical Temperatures

50-year average (1976-2025)

Based on our historical records, temperatures in Shanghai typically rise from around 23°C (73°F) at the start of May to approximately 26°C (79°F) by the end. Nights are pleasant, with lows typically ranging from 15°C (59°F) to 19°C (66°F).

Average temperatures in May

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 May

Historical weather for Shanghai in May

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 May

Our historical data for Shanghai spans 1976 to 2026, revealing these weather extremes.

  • The hottest May day on record in Shanghai reached 36°C (97°F) (May 16, 2018).
  • The lowest daytime temperature in May was 13°C (55°F), recorded on May 2, 1986.
  • Shanghai registered its coldest May night on May 5, 1995, with temperatures dropping to 8°C (46°F).

Best Places in China in May

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

Map not visible? Whoops sorry! Please refresh the page.
Legend 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 May

Warm but pleasant conditions in Shanghai in May. Focus on lightweight, maybe with natural fabrics, cotton blend shirts, comfortable shorts, and breathable footwear. A light cover-up for sun protection is smart too. Expect heavy rainfall, so bring good rain protection and waterproof bags. With water temperatures around 17°C (63°F), the water is quite cold for swimming. You can skip the swimwear unless you're particularly tough. It won't hurt to bring your sunglasses along, as you'll see some sunny periods.

What To Do in Shanghai in May

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

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

Select a Month

Check the conditions for any month of the year.

For a detailed overview over the year and the best time to visit China, check out our Shanghai's climate page.

More climate data for Shanghai