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).
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
| Rank | Name | Value (people) |
|---|---|---|
| 1 | China | 1,403,181,200 |
| 2 | India | 1,209,802,900 |
| 3 | United States | 344,107,970 |
| 4 | Indonesia | 250,045,340 |
| 5 | Brazil | 195,889,380 |
| 6 | Pakistan | 180,619,460 |
| 7 | Russia | 133,549,900 |
| 8 | Japan | 123,682,890 |
| 9 | Mexico | 121,689,330 |
| 10 | Bangladesh | 117,357,960 |
Top 10 in 2000
| Rank | Name | Value (people) |
|---|---|---|
| 1 | China | 734,066,940 |
| 2 | United States | 281,125,900 |
| 3 | India | 155,132,540 |
| 4 | Brazil | 127,670,530 |
| 5 | Japan | 127,024,950 |
| 6 | Indonesia | 89,852,020 |
| 7 | Germany | 81,157,700 |
| 8 | Mexico | 78,116,610 |
| 9 | Egypt | 67,218,030 |
| 10 | France | 58,688,436 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 2000 | China734.1M people | United States281.1M people | India155.1M people | Brazil127.7M people | Japan127M people |
| 2010 | China1B people | India528.7M people | United States310.7M people | Brazil158.3M people | Indonesia151.9M people |
| 2020 | China1.3B people | India1B people | United States338.3M people | Indonesia226.1M people | Brazil186.9M people |
| 2024 | China1.4B people | India1.2B people | United States344.1M people | Indonesia250M people | Brazil195.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
- Reported Cases of Measles by Country
- Fruit Consumption per Capita by Country
- Vegetable Consumption per Capita by Country
- Daily per Capita Protein Supply by Country
- Daily per Capita Fat Supply by Country
- Milk per Animal by Country
- Milk Supply per Person by Country
- Per Capita Egg Consumption by Country
- All other charts