Skip to content

Number of People Living in Urban Slum Households by Country, 2000–2022 — Bar Chart Race

This bar chart race ranks 196 countries by urban population living in slums, year by year from 2000 to 2022. The data comes from United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data).

Loading chart…

Customise this chart & export videoDownload the data (CSV)

Key facts

  • China leads in 2022 with 242,412,204, followed by Nigeria (66,418,876).
  • In 2000 the leader was Brazil with 49,057,126.
  • Among today’s top ten, Ethiopia grew the most: 2.0× since 2000.
  • The animation covers 14 time steps from 2000 to 2022 across 196 countries.

How the ranking changed

First place changed hands 2 times between 2000 and 2022: Nigeria overtook Brazil in 2004 and China overtook Nigeria in 2022. Nigeria had the longest run at the top (2004–2020).

The biggest climbers into the 2022 top ten were DR Congo (9th in 2002, now 4th).

China, DR Congo and Ethiopia were not in the top ten in 2000 but are in it by 2022.

China alone accounts for 27% of the 898.4M total across all 196 countries in 2022, up from 459.5M in 2000.

Top 10 in 2022

Number of People Living in Urban Slum Households by Country, 2022
RankNameValue (value)
1China242,412,204
2Nigeria66,418,876
3Pakistan52,345,381
4DR Congo35,308,491
5Indonesia31,117,374
6Iran30,540,021
7Bangladesh27,634,489
8Brazil27,366,230
9Philippines22,400,202
10Ethiopia18,334,958

Top 10 in 2000

Number of People Living in Urban Slum Households by Country, 2000
RankNameValue (value)
1Brazil49,057,126
2Nigeria40,534,059
3Pakistan36,406,648
4Indonesia31,866,983
5Iran24,667,996
6Mexico23,765,402
7Bangladesh18,291,125
8Philippines15,573,830
9Egypt13,187,807
10Türkiye9,484,002

Top 5 over time

Number of People Living in Urban Slum Households by Country: top 5 at each point
Period#1#2#3#4#5
2000Brazil49.1MNigeria40.5MPakistan36.4MIndonesia31.9MIran24.7M
2010Nigeria53MPakistan44.1MIndonesia33MBrazil29.7MIran29.4M
2020Nigeria62.6MPakistan49.3MIran33.4MDR Congo32.5MIndonesia30M
2022China242.4MNigeria66.4MPakistan52.3MDR Congo35.3MIndonesia31.1M

About the data

Source: United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data), licensed CC BY 4.0 (Our World in Data); original source terms apply. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.

Questions

Which country ranks first for urban population living in slums in 2022?

China, with 242.4M. Nigeria is second with 66.4M and Pakistan third.

Which country was first in 2000?

Brazil, with 49.1M. By 2022 it ranks 8th.

When did China become the top country?

China took first place in 2022, overtaking Nigeria.

What were the top 5 countries in 2020?

1. Nigeria (62.6M), 2. Pakistan (49.3M), 3. Iran (33.4M), 4. DR Congo (32.5M) and 5. Indonesia (30M).

Where does the data come from?

United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data), published under CC BY 4.0 (Our World in Data); original source terms apply. The chart covers 14 time steps from 2000 to 2022 for 196 countries.

Can I export the bar chart race as a video?

Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.

More bar chart races