Urban population in Spain

Spain: Urban population was 39.74 million in 2025. ▲ Rising

Latest (2025)
39.74 million
Change on year
up 1.3%
World rank
26th
of 215 countries
All-time high
39.74 million
in 2025
All-time low
17.19 million
in 1960
Years of data
66
1960–2025

Urban population in Spain, 1960–2025

010.0M20.0M30.0M40.0M196019922025

Source: World Urbanization Prospects, United Nations (UN).

Analysis

The most recent figure for urban population in Spain is 39.74 million, measured in 2025. That is the highest value across all 66 years on record.

That represents a change of up 1.3% on the previous year and up 8.0% over ten years.

Over the whole period, urban population in Spain peaked at 39.74 million in 2025 and was at its lowest, 17.19 million, in 1960.

Spain ranks 26th of 215 countries on this measure, in the top quarter.

The long-run direction has been consistently rising across the 66 years of available data.

Averages by decade

DecadeAverage LowestHighest Years
1960s 19.37 million 17.19 million 21.86 million 10
1970s 24.45 million 22.37 million 26.44 million 10
1980s 28.05 million 26.82 million 28.97 million 10
1990s 29.91 million 29.09 million 30.71 million 10
2000s 33.46 million 30.90 million 36.30 million 10
2010s 36.92 million 36.57 million 37.52 million 10
2020s 38.59 million 37.74 million 39.74 million 6

Countries ranked near Spain

  1. 23 South Korea 41.95 million compare
  2. 24 South Africa 41.32 million compare
  3. 25 Italy 41.05 million compare
  4. 27 Vietnam 39.45 million compare
  5. 28 Algeria 35.96 million compare
  6. 29 Canada 34.52 million compare

See the full ranking of 264 places →

More climate change data for Spain

All data for Spain →

Frequently asked questions

What is urban population in Spain?
Urban population in Spain was 39.74 million in 2025, according to World Urbanization Prospects, United Nations (UN).
What is the highest urban population recorded in Spain?
The highest recorded value was 39.74 million in 2025.
What is the lowest urban population recorded in Spain?
The lowest recorded value was 17.19 million in 1960.
How does Spain rank for urban population?
Spain ranks 26th out of 215 countries with data for 2025.
Is urban population rising or falling in Spain?
Over the last ten years it is up 8.0%. The long-run trend across the full record is rising.
Where does this Spain data come from?
The figures come from World Urbanization Prospects, United Nations (UN), published as part of Urban population. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 66 observations, free to reuse under CC BY 4.0 (World Bank Open Data).

About this data

Indicator
Urban population
Source
World Urbanization Prospects, United Nations (UN)
Licence
CC BY 4.0 (World Bank Open Data)
Coverage
264 places, 17,394 data points, 1960–2025
Last refreshed

Urban population refers to people living in urban areas as defined by national statistical offices. It is calculated using World Bank population estimates and urban ratios from the United Nations World Urbanization Prospects. Aggregation of urban and rural population may not add up to total population because of different country coverages.