Shanghai: weather and best time to visit

Shanghai (China) reaches its warmest daytime temperatures in July at around 31°C; the coolest month is January at around 8°C. The sea is warmest in August at about 28°C.

Best time to visit

Things to do in Shanghai

Tours, tickets and activities for your trip.

Browse on GetYourGuide

Shanghai climate, month by month

MonthDay °CNight °CSea °CRain dSun hBeachCityHiking
Jan8°96363460
Feb10°96363466
Mar14°10°127354670
Apr19°11°14°108457275
May24°16°19°109597769
Jun27°21°22°158666246
Jul31°25°26°1510805034
Aug31°26°28°1510795034
Sep27°21°26°119837256
Oct22°16°21°68688583
Nov17°10°17°87396678
Dec11°12°77404375

Rain d = average rain days per month · Sun h = average sunshine hours per day · scores 0–100, higher is better.

Every month in detail

Shanghai in January

Daytime highs around 8°C, nights near 2°C. January is the coldest month of the year. Expect about 9 rain days and 6 hours of sunshine per day. The sea is cold at 8°C — not swimming weather.

Beach: poorCity: poorHiking: goodMore destinations for January

Shanghai in February

Daytime highs around 10°C, nights near 3°C. Expect about 9 rain days and 6 hours of sunshine per day. The sea is cold at 7°C — not swimming weather.

Beach: poorCity: poorHiking: goodMore destinations for February

Shanghai in March

Daytime highs around 14°C, nights near 6°C. Expect about 12 rain days and 7 hours of sunshine per day. The sea is cold at 10°C — not swimming weather.

Beach: poorCity: mixedHiking: goodMore destinations for March

Shanghai in April

Daytime highs around 19°C, nights near 11°C. Expect about 10 rain days and 8 hours of sunshine per day. The sea is cold at 14°C — not swimming weather.

Beach: mixedCity: goodHiking: goodMore destinations for April

Shanghai in May

Daytime highs around 24°C, nights near 16°C. Expect about 10 rain days and 9 hours of sunshine per day. The sea is on the fresh side at 19°C.

Beach: mixedCity: goodHiking: goodMore destinations for May

Shanghai in June

Daytime highs around 27°C, nights near 21°C. Expect about 15 rain days and 8 hours of sunshine per day. The sea is pleasant for swimming at 22°C.

Beach: goodCity: goodHiking: mixedMore destinations for June

Shanghai in July

Daytime highs around 31°C, nights near 25°C. July is the warmest month of the year. Expect about 15 rain days and 10 hours of sunshine per day. The sea is properly warm at 26°C.

Beach: excellentCity: mixedHiking: poorMore destinations for July

Shanghai in August

Daytime highs around 31°C, nights near 26°C. It is the rainiest month of the year. No month gets more sunshine. The sea is at its warmest now. Expect about 15 rain days and 10 hours of sunshine per day. The sea is properly warm at 28°C.

Beach: goodCity: mixedHiking: poorMore destinations for August

Shanghai in September

Daytime highs around 27°C, nights near 21°C. Expect about 11 rain days and 9 hours of sunshine per day. The sea is properly warm at 26°C.

Beach: excellentCity: goodHiking: mixedMore destinations for September

Shanghai in October

Daytime highs around 22°C, nights near 16°C. It is also the driest month of the year. Expect about 6 rain days and 8 hours of sunshine per day. The sea is pleasant for swimming at 21°C.

Beach: goodCity: excellentHiking: excellentMore destinations for October

Shanghai in November

Daytime highs around 17°C, nights near 10°C. Expect about 8 rain days and 7 hours of sunshine per day. The sea is cold at 17°C — not swimming weather.

Beach: poorCity: goodHiking: goodMore destinations for November

Shanghai in December

Daytime highs around 11°C, nights near 4°C. Expect about 7 rain days and 7 hours of sunshine per day. The sea is cold at 12°C — not swimming weather.

Beach: mixedCity: mixedHiking: goodMore destinations for December

Related destinations

More in China: Beijing · Sanya

Similar climate: Fukuoka, Japan · Osaka, Japan · Jeju, South Korea · Kyoto, Japan

Explore on the interactive map