Shanghai, China skyline

Shanghai Weather in May

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

A warm month in Shanghai, with May highs averaging 24.8°C (76.6°F) and lows 16.5°C (61.7°F), plus about 10 rainy days (115 mm) and 8.6 hours of sunshine a day.

Avg high

24.8°C (76.6°F)

Avg low

16.5°C (61.7°F)

Rainfall

115 mm (4.5 in)

Rainy days

10 days

Sunshine

8.6 h / day

Humidity

76%

Latest actual — May 2026: high 27.5°C (81.5°F), low 18.2°C (64.8°F), 90 mm rain on 10 days (the 2006–2025 average above is cooler).

May vs the rest of the year

May is warmer than 7 of the other 11 months, and the 5th wettest month in Shanghai.

MonthAvg highvs MayRainRainy days
January8.9°C (48°F)−15.9°C (−28.6°F)54 mm7
February10.2°C (50.4°F)−14.6°C (−26.3°F)66 mm10
March15.1°C (59.2°F)−9.7°C (−17.5°F)83 mm10
April20.2°C (68.4°F)−4.6°C (−8.3°F)97 mm9
May24.8°C (76.6°F)—115 mm10
June27.6°C (81.7°F)+2.8°C (+5°F)248 mm16
July31.7°C (89.1°F)+6.9°C (+12.4°F)186 mm16
August31.9°C (89.4°F)+7.1°C (+12.8°F)127 mm15
September27.6°C (81.7°F)+2.8°C (+5°F)139 mm13
October22.9°C (73.2°F)−1.9°C (−3.4°F)64 mm7
November17.6°C (63.7°F)−7.2°C (−13°F)65 mm8
December11°C (51.8°F)−13.8°C (−24.8°F)38 mm6

What May feels like in Shanghai

For Shanghai, May is late spring on the calendar. Afternoons reach about 24.8°C (76.6°F), about 7.1°C (12.8°F) below the August peak: warm enough for short sleeves. Nights fall to about 16.5°C (61.7°F), 8.3°C (14.9°F) below the afternoon, still comfortable outdoors. Humidity averages 76%: the air is muggy and feels hotter than the thermometer says.

Rain in Shanghai in May

Expect rain on about 10 of 31 days, with dry spells in between; wet days bring about 11.5 mm (0.5 in), often as strong downpours, close to the city's usual 10.1 mm.

Daylight and sunshine in May

In mid-May, Shanghai gets 13 h 43 min of daylight, from sunrise near 4:59 am to sunset near 6:42 pm, 49 min more than in mid-April. Model estimates put sunshine at about 63% of daylight, so expect bright spells between the wet days.

How May compares to the rest of the year

May is the 5th warmest month of the year; afternoons are 4.6°C (8.3°F) warmer than in April, with 18 mm more rain. Temperatures keep climbing into June, to about 27.6°C (81.7°F), and it gets wetter.

May in Shanghai: what 20 years show

Based on monthly averages from 2006–2025, not daily records.

Usual range

In most years May averages 23–26°C (74–79°F) in the afternoon, with 56–178 mm of rain. Rain falls about one day in 3 in an average May.

Records

May records, 2006–2025 (monthly averages)
RecordYearAvg highRainRainy days
Warmest May202526.5°C (79.7°F)114 mm9
Coolest May201523°C (73.4°F)160 mm11
Wettest May201623.3°C (73.9°F)289 mm20
Driest May201125.8°C (78.4°F)27 mm4

May 2026 was warmer than any May in 2006–2025 (27.5°C (81.5°F)).

Odds across years

In 6 of 20 years, May had 12 or more rainy days. In 5 of 20 years, it had under 80 mm of rain. In 3 of 20 years, the average high reached 26°C (78.8°F) or more. In 6 of 20 years, it stayed below 24°C (75.2°F).

Who May suits

  • Sightseeing: a good fit — daytime temperatures are fine for walking around.
  • Parks & outdoor: a good fit — comfortable for long walks and picnics.
  • Beach: less ideal — too many rainy days.

Tips for visiting Shanghai in May

Versatile Layers

Days are noticeably warmer than nights, so bring layers you can add or remove.

Rain Protection

Rain can be heavy when it comes, so carry a light waterproof jacket.

Sunglasses

Bright spells are common, so bring sunglasses and a cap.

What to wear in Shanghai in May

These are estimates from monthly averages, so read each temperature as "around".

By time of day

  • Morning, around 18°C (65°F): light clothes with a thin layer to start.
  • Afternoon, around 25°C (77°F): light, breathable clothes are enough.
  • Evening, around 21°C (69°F): add the thin layer again.

Cooler year or hotter year

In a cooler year like 2015, May highs averaged 23°C (73.4°F), so a light extra layer is worth packing. In a hotter year like 2025 they reached 26.5°C (79.7°F), so keep your clothes light.

Packing for 7 days

Expect about 2 wet days in a week, often heavy, with about 11.5 mm (0.5 in) on each.

  • Light, breathable clothes
  • A thin layer for the morning and evening
  • A packable rain jacket
  • Sunglasses and a light hat
  • Comfortable walking shoes

Travelling on specific dates? Check your exact dates in the Trip Planner.

Quick questions

How warm is Shanghai in May?

Afternoons average 24.8°C (76.6°F) and nights about 16.5°C (61.7°F), warm by most people's standards; it is the 5th warmest month of the year.

Does it rain a lot in Shanghai in May?

Yes: rain falls about one day in 3 and totals about 115 mm, often heavily, so plan some indoor options.

What should I wear in Shanghai in May?

Pack versatile layers, rain protection and sunglasses, plus a layer for cool mornings and evenings.

Is May or June better for visiting Shanghai?

May scores clearly better on our climate ranking (#3 of 12 vs #12), rated Great against Fair. June is warmer and has more rainy days.

Is May a good time to visit Shanghai?

Great

Great — comfortable temperatures, some rainy days (about 10), plenty of sunshine (8.6 h a day). Within Shanghai's own year, May ranks #3 of 12 — one of the 3 best months to visit.

May in other China cities

Warmer or drier places in May

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/may" width="100%" height="420" style="border:0" loading="lazy" title="Shanghai weather in May"></iframe>
<p style="font-size:13px">Weather data: <a href="https://weatherapex.com/weather/china/shanghai/may">WeatherApex — Shanghai weather in May</a></p>

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

How the free widget works