Shanghai Population by Year (2015–2024)
Shanghai's population was 24.8 million in 2024, the 10th lowest among the 31 provincial-level regions. Since 2015 (24.6 million) it changed by +0.9%. The highest value in this period was 24.9 million in 2021. Its rank moved from 23rd in 2015 to 22nd in 2024.
Population in Shanghai by year
| Year | Population | Change | Rank among provinces |
|---|---|---|---|
| 2024 | 24.8 million | −0.3% | 22 of 31 |
| 2023 | 24.9 million | +0.5% | 22 of 31 |
| 2022 | 24.8 million | −0.6% | 23 of 31 |
| 2021 | 24.9 million | ±0.0% | 23 of 31 |
| 2020 | 24.9 million | +0.3% | 23 of 31 |
| 2019 | 24.8 million | +0.2% | 23 of 31 |
| 2018 | 24.8 million | +0.4% | 24 of 31 |
| 2017 | 24.7 million | ±0.0% | 24 of 31 |
| 2016 | 24.7 million | +0.4% | 23 of 31 |
| 2015 | 24.6 million | — | 23 of 31 |
National Bureau of Statistics of China, China Statistical Yearbook, population at year-end by region. Unit: people (permanent residents at year end). Rank 1 is the highest value that year; change is from the previous year shown.
Population in Shanghai, 2015–2024: chart

Frequently Asked Questions About Shanghai population
What is the population of Shanghai?▾
Shanghai's population was 24.8 million in 2024, according to National Bureau of Statistics of China (China Statistical Yearbook, population at year-end by region).
Where does Shanghai rank among China provinces in population?▾
In 2024, Shanghai had the 10th lowest population among the 31 provincial-level regions: 22nd of 31.
How has Shanghai's population changed since 2015?▾
It went from 24.6 million in 2015 to 24.8 million in 2024 (+0.9%). The highest value in that period was 24.9 million in 2021.
More about Shanghai
Cite this page
Geo Factbook. (n.d.). Shanghai Population by Year (2015–2024). Retrieved November 27, 2026, from https://geofactbook.com/countries/china/provinces/shanghai/population
The figures on this page come from National Bureau of Statistics of China. For academic work, cite the original source as well.