Number of people living in urban and rural areas in Spain
Spain: Number of people living in urban and rural areas was 38.56 million people in 2025. ▲ Rising
Number of people living in urban and rural areas in Spain, 1950–2025
Source: United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data. Measured in people.
Analysis
In 2025, number of people living in urban and rural areas in Spain stood at 38.56 million people. That is the highest value across all 76 years on record.
The figure is up 0.2% on the previous year and up 4.2% over ten years.
Over the whole period, number of people living in urban and rural areas in Spain peaked at 38.56 million people in 2025 and was at its lowest, 14.50 million people, in 1950.
Spain ranks 27th of 236 countries on this measure, in the top quarter.
The long-run direction has been consistently rising across the 76 years of available data.
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1950s | 15.56 million people | 14.50 million people | 16.83 million people | 10 |
| 1960s | 19.41 million people | 17.16 million people | 21.89 million people | 10 |
| 1970s | 24.45 million people | 22.37 million people | 26.47 million people | 10 |
| 1980s | 28.14 million people | 26.86 million people | 29.12 million people | 10 |
| 1990s | 30.15 million people | 29.25 million people | 31.03 million people | 10 |
| 2000s | 33.71 million people | 31.24 million people | 36.51 million people | 10 |
| 2010s | 37.14 million people | 36.78 million people | 37.77 million people | 10 |
| 2020s | 38.29 million people | 38.00 million people | 38.56 million people | 6 |
Countries ranked near Spain
More population data for Spain
- Population growth rate, by level of development -0.5% (2100)
- Number of children under 5, by world region 1.24 million people (2100)
- Population density 66.29 people per km² (2100)
- World population growth -0.5% (2100)
- Total fertility rate vs. wanted fertility rate 1.1 births per woman (2024)
- Refugees by country of asylum 429,333 people (2024)
- Fertility rate vs. unmet need for contraception 1.1 births per woman (2024)
- Total fertility rate vs. contraceptive prevalence 1.1 births per woman (2024)
- Natural population growth rate -0.2% (2023)
- Fertility rate: births per woman 1.21 live births per woman (2023)
Frequently asked questions
- What is number of people living in urban and rural areas in Spain?
- Number of people living in urban and rural areas in Spain was 38.56 million people in 2025, according to United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data.
- What is the highest number of people living in urban and rural areas recorded in Spain?
- The highest recorded value was 38.56 million people in 2025.
- What is the lowest number of people living in urban and rural areas recorded in Spain?
- The lowest recorded value was 14.50 million people in 1950.
- How does Spain rank for number of people living in urban and rural areas?
- Spain ranks 27th out of 236 countries with data for 2025.
- Is number of people living in urban and rural areas rising or falling in Spain?
- Over the last ten years it is up 4.2%. The long-run trend across the full record is rising.
- Where does this Spain data come from?
- The figures come from United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data, published as part of Number of people living in urban and rural areas. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 76 observations, free to reuse under CC BY 4.0 (Our World in Data).
About this data
Number of people living in urban areas, based on each country's national definition.