Dataset · Water

Urban and rural drinking water and sanitation by country, 2000-2024

Urban and rural shares of population with at least basic drinking water and sanitation across 217 economies, 2000-2024.

Create an account

Downloads are included in the $19.85 yearly membership. Sign in

XLSXCSVODSXMLNumbers
Urban and rural drinking water and sanitation by country, 2000-2024
Source: World Bank, World Development Indicators (SH.H2O.BASW.UR.ZS, SH.H2O.BASW.RU.ZS, SH.STA.BASS.UR.ZS, SH.STA.BASS.RU.ZS; WHO/UNICEF JMP) · Retrieved 2026-10-13 · License: CC BY 4.0
Urban versus rural population shares using at least basic drinking water and sanitation services (2000-2024).
WORLD URBAN BASIC WATER, 2024 (%)WORLD RURAL BASIC WATER, 2024 (%)WORLD URBAN SANITATION, 2024 (%)WORLD RURAL SANITATION, 2024 (%)
96.484.589.271.9
2024, World Bank WLD aggregate2024, World Bank WLD aggregate2024, World Bank WLD aggregate2024, World Bank WLD aggregate
Regions and income groups, 2024: urban and rural basic water and sanitation (% of population)
World, region or income groupCodeUrban water %Rural water %Water gap (pts)Rural water bar (scale 0 to 100%)Urban sanit %Rural sanit %Sanit gap (pts)
WorldWLD96.484.511.9████████████████████████89.271.917.2
East Asia & PacificEAS97.391.16.2██████████████████████████96.491.05.4
Europe & Central AsiaECS98.795.63.1███████████████████████████98.993.25.7
Latin America & CaribbeanLCN99.391.18.2██████████████████████████93.776.017.7
Middle East, North Africa, Afghanistan & PakistanMEA96.688.08.7█████████████████████████92.172.619.5
North AmericaNAC99.899.9-0.1████████████████████████████99.798.41.3

Showing the first 16 of 41 rows and 12 of 13 columns. Cells with formulas show the formula on hover.

What does this dataset do?

This workbook compares urban and rural access to at least basic drinking water and sanitation services across 217 countries and territories from 2000 to 2024. The four series come from the World Bank's World Development Indicators, which republish estimates from the WHO/UNICEF Joint Monitoring Programme (JMP) for Water Supply, Sanitation and Hygiene.

The Latest year tab retrieves each country's most recent published urban and rural figures by formula and computes the urban-minus-rural coverage gap in percentage points for both drinking water and sanitation. The Dashboard compares World Bank regions and income groups and ranks the 15 countries with the widest urban-rural drinking water divide.

Every figure is the published World Bank value, unmodified. Blank cells mark years or countries without a published urban or rural breakdown (for example 100-percent urban territories). The About tab provides the indicator definitions and CC BY 4.0 credit line.

What’s inside

  • 217 countries and territories, 2000-2024, with ISO3 code, region and income group
  • Four WDI / JMP indicators: SH.H2O.BASW.UR.ZS, SH.H2O.BASW.RU.ZS, SH.STA.BASS.UR.ZS, SH.STA.BASS.RU.ZS
  • Dashboard with global urban-rural KPIs, regional coverage bars and a top-15 gap ranking
  • Latest year tab with urban-minus-rural water and sanitation gap formulas
  • World Bank aggregates for the world, 7 regions and 4 income groups
  • CC BY 4.0 license with full definitions and credit line on the About tab

Which tabs does the workbook have?

TabWhat it holds
DashboardWorld urban and rural KPIs for 2024, regional comparisons and the 15 largest urban-rural water gaps.
Urban water (%)At least basic drinking water in urban areas (% of urban population), 2000-2024.
Rural water (%)At least basic drinking water in rural areas (% of rural population), 2000-2024.
Urban sanitation (%)At least basic sanitation in urban areas (% of urban population), 2000-2024.
Rural sanitation (%)At least basic sanitation in rural areas (% of rural population), 2000-2024.
Latest yearLatest published year and value of each series per country, urban-rural gap formulas and rural water bar.
Regions & income groupsWorld Bank aggregates for the world, seven regions and four income groups.
AboutIndicator definitions, JMP methodology notes, CC BY 4.0 license and credit line.

What formulas does this dataset use?

This dataset holds 1,989 formulas in 26,137 cells across 8 tabs, so 8% of its cells calculate. They use 12 distinct functions; the longest formula is 105 characters and 1,070 of them read from another tab.

FunctionUsesWhat it does
IF1,884one result when a test is true, another when false
ISNUMBER1,133true for a number
INDEX1,048value at a position in a range
MATCH883position of a value in a range
AND458true when every test is true
MAX244largest value
MIN244smallest value
OR244true when any test is true
REPT244repeats text
ROUND244rounds to a number of digits
COUNTIF217counts cells meeting one condition
LARGE15nth largest value

Counted from the workbook itself. Only functions that Excel, LibreOffice Calc, Google Sheets and Apple Numbers evaluate the same way are used, so the formulas survive every download format.

How do you use it?

  1. Open the Dashboard to compare global and regional urban versus rural access and see the 15 widest coverage gaps.
  2. Open any of the four indicator tabs to trace a country's urban or rural coverage from 2000 onward.
  3. Use the Latest year tab to sort countries by rural water coverage or by the urban-rural percentage-point gap.
  4. Filter by World Bank region or income group using the header drop-downs.
  5. Copy the credit line from the About tab when citing the data.

What do the columns and units mean?

ColumnUnitMeaning
Country / ISO3 / Region / Income grouptext / codeWorld Bank country name, three-letter code, region and income classification.
Urban basic drinking water (2000-2024)% of urban populationPeople using at least basic drinking water services, urban (SH.H2O.BASW.UR.ZS).
Rural basic drinking water (2000-2024)% of rural populationPeople using at least basic drinking water services, rural (SH.H2O.BASW.RU.ZS).
Urban basic sanitation (2000-2024)% of urban populationPeople using at least basic sanitation services, urban (SH.STA.BASS.UR.ZS).
Rural basic sanitation (2000-2024)% of rural populationPeople using at least basic sanitation services, rural (SH.STA.BASS.RU.ZS).
Urban-rural gappercentage pointsFormula on Latest year tab: urban coverage minus rural coverage when both refer to the same year.

Where does the data come from?

World Bank, World Development Indicators (WHO/UNICEF JMP estimates), licensed CC BY 4.0. Retrieved 13 Oct 2026.

Cite as: World Bank, World Development Indicators (SH.H2O.BASW.UR.ZS, SH.H2O.BASW.RU.ZS, SH.STA.BASS.UR.ZS, SH.STA.BASS.RU.ZS; WHO/UNICEF Joint Monitoring Programme for Water Supply, Sanitation and Hygiene), database last updated 2026-10-08; retrieved 2026-10-13 from https://api.worldbank.org/v2/. Licensed CC BY 4.0.

Underlying source: WHO/UNICEF Joint Monitoring Programme (JMP) for Water Supply, Sanitation and Hygiene (https://washdata.org/). Values are unmodified.

What is it good for?

  • Measuring the urban-rural divide in drinking water and sanitation access
  • Tracking rural infrastructure progress over 25 years
  • Comparing regional urban and rural WASH coverage for development reports
  • Joining urban-rural WASH indicators to national coverage and freshwater withdrawal tables on ISO3 codes
  • Screening countries where rural water or sanitation lags urban access by more than 20 percentage points

Questions about this sheet

What is at least basic drinking water and sanitation?

At least basic drinking water means water from an improved source within a 30-minute round trip including queuing. At least basic sanitation means use of improved facilities that are not shared with other households.

Why are some economies blank on the rural tabs?

Economies with no rural population in national statistics (such as Singapore, Hong Kong SAR, Macao SAR, Monaco or Gibraltar) have no rural series in the JMP database, so their rural cells are left blank.

How is the urban-rural gap calculated?

On the Latest year tab, the gap equals the urban percentage minus the rural percentage in percentage points, calculated only when both series have a published value for the same year.

Can I use this dataset commercially?

Yes. The World Bank publishes these WDI series under CC BY 4.0, which allows commercial reuse and adaptation with attribution.