Comparison
CN · People's Republic of China

Nanjing

9,314,685 residents32.06°, 118.78°
CN · People's Republic of China

Shanghai

24,870,895 residents31.23°, 121.47°

Shanghai is about 3× the size of Nanjing by population.

01 · Basics

At a glance

Population
9,314,685
24,870,895
Metro populationno data
Area (km²)
6,587.02
6,341
Density (per km²)no data
Elevation (m)
15
4
02 · Climate

Weather, month by month

Solid lines are monthly highs, dashed lines are lows (°C).
Nanjing high low Shanghai high low
Nanjing vs Shanghai monthly temperature-5°10°15°20°25°30°35°JFMAMJJASOND
Avg annual temp (°C)
16.8
17.2
Annual rainfall (mm)lower is better
1,253.7leads
1,419.1
Sunny days per yearno data
06 · Vibes

What locals say

Synthesized from upvoted comments on each city's subreddit.
Nanjing

Nanjing comes across as a big, historically important city that is still easy to move through if you know the metro and the main districts. Daily life seems to revolve around university neighborhoods, coffee shops, language exchanges, and practical errands rather than a huge foreigner scene. People mention good food, pleasant places to bike and wander, and a city that can feel welcoming if you plug into student or expat circles. At the same time, newcomers often say it can be harder to make English-speaking friends here than in some other Chinese cities, and summer heat is a real drag.

Common complaints
  • Hard to build an English-speaking social circle8
  • Summer heat2
  • Foreign-friendly nightlife is limited or scattered3
  • Short-term housing near campuses can be difficult2
  • Dealing with incidents requires evidence and local know-how1
Common praises
  • Friendly locals and openness to language exchange9
  • Strong university and student presence7
  • Good food and coffee spots6
  • Walkable, bike-friendly exploration4
  • Historical and scenic places5

“Go to secco on a Friday night.”

r/Nanjing· 3 votes

“Heyy I am an international student studying in Nanjing . It has been hard making friends who speak English. I would love to join u for a coffee”

r/Nanjing· 1 votes
Shanghai

Shanghai feels highly urban and convenient, but not always warm or easy for outsiders. Residents and visitors describe a city with cheap transit, strong food options, and impressive skyline districts, alongside real friction from language barriers, scammy dating scenes, smoky taxis, and a shrinking expat ecosystem. Day to day it can feel surprisingly calm in some places and times, with empty subways, uncrowded landmark areas, and very late-night mobility that makes the city feel usable around the clock. At the same time, people talk about a city that has changed fast: old neighborhoods, street life, and parts of the international social scene have thinned out, leaving a place that feels more polished, more local, and less carefree than before.

Common complaints
  • Scams and predatory social scenes5
  • Foreign-language friction4
  • Smoky or rough taxis / transport hassles4
  • Cooling expat and international business ecosystem3
  • Loss of old neighborhoods and street life3
Common praises
  • Extreme convenience and cheap transport6
  • Food variety and quality5
  • Visual drama and architecture5
  • Safety and walkability at odd hours4
  • City energy mixed with calm pockets4

“The subway ride is less than $1 and so as uber rides. Very strange considering sky high real estate prices and income level.”

r/Shanghai· 1548 votes

“Not as foreign tourist friendly. Cabs smell like smoke and drivers are angry. Literally had one yelling at me because my ride was priced cheaply. Be nicer to foreign visitors maybe?”

r/Shanghai· 1548 votes
07 · Culture

Food & nightlife

Nanjing
Food

The food scene in the Reddit sample feels practical, varied, and neighborhood-based rather than flashy. People ask for budget places, local Chinese food with beer, and even an Iranian restaurant, while one commenter singles out Commune’s Thai salted egg yolk wings as unusually good. Coffee and casual drinks also come up often, which suggests a city where eating out is part of everyday social life. The overall impression is that you can eat well, especially around universities and expat-friendly areas, but you may need local tips to find the best spots.

Nightlife

Nightlife seems modest but usable, with a few known bars and a small foreigner hangout network rather than a huge club scene. One commenter recommends Secco on a Friday night, and others ask about the go-to laowai bar or weekend events like BBQs and magic shows at Finnegans Wake. The vibe appears more after-work beer, live music, and social meetups than late-night spectacle. For many people, nightlife in Nanjing seems tied to meeting friends, language exchange, or a mixed local-international crowd.

Shanghai
Food

The food scene comes across as broad, convenient, and very good if you know where to look. Posts mention cheap everyday meals, late-night snacks, and easy access to delivery, while others rave about more polished dining experiences near the Bund and in central districts. At the same time, Shanghai is not portrayed as a place where language barriers disappear: reading menus can be a problem, and some of the most satisfying food appears to come from local spots that are not especially tourist-friendly. Overall it sounds like a city where food is both a daily utility and a serious pleasure, ranging from humble street-adjacent eats to high-end, theatrical restaurant experiences.

Nightlife

Nightlife sounds lively but somewhat changed from its peak years. Long-time residents describe a club scene that used to run very late and feel exciting, even with periodic raids and tension, while newer posts are thinner on a big, open party culture and more focused on bars, meetups, and occasional live music. The city still has a reputation for being able to go out late, but the tone is less carefree and more cautious, with scams and overcharging showing up in the social scene. In practice, nightlife seems strongest in central areas and among people already plugged into local networks.

08 · Reality check

Weather vs. what locals say

Nanjing
By the numbers

How locals feel

The weather sentiment is mixed but tilted negative in summer. The city can look beautiful in cherry blossom season, and people clearly enjoy outdoor exploring, biking, and photo walks, but one comment bluntly notes that July and August are not ideal because it gets too hot. That suggests locals and visitors appreciate the seasons, yet summer humidity and heat are memorable enough to affect travel planning. The vibe is that Nanjing’s weather is best enjoyed in spring and autumn, while midsummer is something to endure.

Shanghai
By the numbers

How locals feel

People describe Shanghai’s weather as more oppressive than romantic: hot, humid summers, rain that can be nonstop, and frequent comments about how the conditions affect walking around and crowd levels. There is also appreciation for the city’s atmosphere after rain or at sunrise, when the light and emptier streets can make it feel beautiful. In other words, the weather is not praised as pleasant in a neutral, year-round sense, but it is often treated as something that sharpens the city’s moods and photography-friendly moments. The stats may say it is a major coastal metropolis, but locals and visitors seem to remember the humidity, storms, and seasonal discomfort first.

09 · Summary

In short

  • Shanghai is about 3× the size of Nanjing by population.
Compare another pair
Plan a trip

Book your visit

Partner links — CityDiff may earn a commission at no extra cost to you.

More

Related comparisons

Profiles

Full city profiles