Skip to content

People Using at Least Basic Sanitation Facilities by Country, 2000–2024 — Bar Chart Race

This bar chart race ranks 232 countries by number of people with at least basic sanitation, year by year from 2000 to 2024. The data comes from WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (2025) – 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 2024 with 1,403,181,200 people, followed by India (1,209,802,900).
  • In 2000 the leader was China with 734,066,940 people.
  • Among today’s top ten, India grew the most: 7.8× since 2000.
  • The animation covers 25 time steps from 2000 to 2024 across 232 countries.

How the ranking changed

China held first place in every period from 2000 to 2024; the closest challenger in 2024 is India at 1.2B people.

The biggest climbers into the 2024 top ten were Bangladesh (25th in 2000, now 10th) and Pakistan (15th in 2000, now 6th).

Pakistan, Russia and Bangladesh were not in the top ten in 2000 but are in it by 2024.

China alone accounts for 21% of the 6.6B people total across all 232 countries in 2024, up from 3.3B people in 2000.

Top 10 in 2024

People Using at Least Basic Sanitation Facilities by Country, 2024
RankNameValue (people)
1China1,403,181,200
2India1,209,802,900
3United States344,107,970
4Indonesia250,045,340
5Brazil195,889,380
6Pakistan180,619,460
7Russia133,549,900
8Japan123,682,890
9Mexico121,689,330
10Bangladesh117,357,960

Top 10 in 2000

People Using at Least Basic Sanitation Facilities by Country, 2000
RankNameValue (people)
1China734,066,940
2United States281,125,900
3India155,132,540
4Brazil127,670,530
5Japan127,024,950
6Indonesia89,852,020
7Germany81,157,700
8Mexico78,116,610
9Egypt67,218,030
10France58,688,436

Top 5 over time

People Using at Least Basic Sanitation Facilities by Country: top 5 at each point
Period#1#2#3#4#5
2000China734.1M peopleUnited States281.1M peopleIndia155.1M peopleBrazil127.7M peopleJapan127M people
2010China1B peopleIndia528.7M peopleUnited States310.7M peopleBrazil158.3M peopleIndonesia151.9M people
2020China1.3B peopleIndia1B peopleUnited States338.3M peopleIndonesia226.1M peopleBrazil186.9M people
2024China1.4B peopleIndia1.2B peopleUnited States344.1M peopleIndonesia250M peopleBrazil195.9M people

About the data

Number of people using improved sanitation facilities that are not shared with other households.

Source: WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (2025) – processed by Our World in Data (via Our World in Data), licensed WHO terms (original source); processed by Our World in Data (CC BY 4.0). Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.

Questions

Which country ranks first for number of people with at least basic sanitation in 2024?

China, with 1.4B people. India is second with 1.2B people and United States third.

Which country was first in 2000?

China, with 734.1M people. It is still first in 2024.

What were the top 5 countries in 2020?

1. China (1.3B people), 2. India (1B people), 3. United States (338.3M people), 4. Indonesia (226.1M people) and 5. Brazil (186.9M people).

Where does the data come from?

WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene (2025) – processed by Our World in Data (via Our World in Data), published under WHO terms (original source); processed by Our World in Data (CC BY 4.0). The chart covers 25 time steps from 2000 to 2024 for 232 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