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

Latest (2025)
38.56 million people
Change on year
up 0.2%
World rank
27th
of 236 countries
All-time high
38.56 million people
in 2025
All-time low
14.50 million people
in 1950
Years of data
76
1950–2025

Number of people living in urban and rural areas in Spain, 1950–2025

010.0M20.0M30.0M40.0M195019872025

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.

Number of people living in urban and rural areas in Spain, year by year

Annual values for Number of people living in urban and rural areas in Spain, 1950 to 2025.
Year people Change
1950 14.50 million people
1951 14.68 million people +1.2%
1952 14.90 million people +1.5%
1953 15.13 million people +1.6%
1954 15.38 million people +1.6%
1955 15.63 million people +1.7%
1956 15.90 million people +1.7%
1957 16.18 million people +1.8%
1958 16.50 million people +1.9%
1959 16.83 million people +2.0%
1960 17.16 million people +2.0%
1961 17.54 million people +2.2%
1962 17.99 million people +2.6%
1963 18.49 million people +2.8%
1964 19.04 million people +3.0%
1965 19.62 million people +3.1%
1966 20.21 million people +3.0%
1967 20.80 million people +2.9%
1968 21.37 million people +2.7%
1969 21.89 million people +2.5%
1970 22.37 million people +2.2%
1971 22.82 million people +2.0%
1972 23.28 million people +2.0%
1973 23.74 million people +2.0%
1974 24.24 million people +2.1%
1975 24.73 million people +2.0%
1976 25.18 million people +1.8%
1977 25.63 million people +1.8%
1978 26.06 million people +1.7%
1979 26.47 million people +1.6%
1980 26.86 million people +1.5%
1981 27.22 million people +1.3%
1982 27.54 million people +1.2%
1983 27.84 million people +1.1%
1984 28.11 million people +1.0%
1985 28.37 million people +0.9%
1986 28.59 million people +0.8%
1987 28.79 million people +0.7%
1988 28.97 million people +0.6%
1989 29.12 million people +0.5%
1990 29.25 million people +0.4%
1991 29.41 million people +0.6%
1992 29.64 million people +0.8%
1993 29.88 million people +0.8%
1994 30.08 million people +0.7%
1995 30.28 million people +0.6%
1996 30.46 million people +0.6%
1997 30.64 million people +0.6%
1998 30.83 million people +0.6%
1999 31.03 million people +0.6%
2000 31.24 million people +0.7%
2001 31.48 million people +0.7%
2002 31.94 million people +1.5%
2003 32.61 million people +2.1%
2004 33.27 million people +2.0%
2005 33.95 million people +2.0%
2006 34.64 million people +2.0%
2007 35.40 million people +2.2%
2008 36.08 million people +1.9%
2009 36.51 million people +1.2%
2010 36.78 million people +0.7%
2011 36.99 million people +0.6%
2012 37.07 million people +0.2%
2013 37.01 million people -0.2%
2014 36.96 million people -0.1%
2015 36.99 million people +0.1%
2016 37.09 million people +0.3%
2017 37.24 million people +0.4%
2018 37.47 million people +0.6%
2019 37.77 million people +0.8%
2020 38.00 million people +0.6%
2021 38.09 million people +0.2%
2022 38.24 million people +0.4%
2023 38.39 million people +0.4%
2024 38.48 million people +0.2%
2025 38.56 million people +0.2%

Spain compared with similar countries

  • Spain's 38.56 million people is above the median for high income countries, which is 2.22 million people, 17.3× the median. (85 countries reporting)
  • Spain's 38.56 million people is above the median for Europe & Central Asia, which is 3.89 million people, 9.9× the median. (56 countries reporting)

Averages by decade

DecadeAverage LowestHighest 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

  1. 24 South Africa 41.32 million people compare
  2. 25 Italy 41.21 million people compare
  3. 26 Vietnam 39.45 million people compare
  4. 28 Algeria 35.96 million people compare
  5. 29 Canada 33.26 million people compare
  6. 30 Iraq 32.89 million people compare

See the full ranking of 237 places →

More population data for Spain

All data for Spain →

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).

Share, cite or embed this page

Cite this page

Number of people living in urban and rural areas in Spain. Statizoid, drawing on United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data. Retrieved 23 September 2026, from https://population.statizoid.com/stat/urban-and-rural-population/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://population.statizoid.com/stat/urban-and-rural-population/spain/">Number of people living in urban and rural areas in Spain</a> — Statizoid

About this data

Indicator
Number of people living in urban and rural areas
Unit
people
Source
United Nations Department of Economic and Social Affairs, Population Division (2025) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
237 places, 18,012 data points, 1950–2025
Last refreshed

Number of people living in urban areas, based on each country's national definition.