Skip to content

Largest Cities in Spain (City Population), 1990–2024 — Bar Chart Race

This bar chart race ranks 118 cities in Spain by population of the city (people), year by year from 1990 to 2024. The data comes from Eurostat.

Loading chart…

Customise this chart & export videoDownload the data (CSV)

Key facts

  • Madrid leads in 2024 with 4,501,429 people, followed by Barcelona (2,658,830).
  • In 1990 the leader was Madrid with 3,120,732 people.
  • Among today’s top ten, Murcia grew the most: 1.5× since 1990.
  • The animation covers 34 time steps from 1990 to 2024 across 118 cities.

How the ranking changed

First place changed hands 2 times between 1990 and 2024: Barcelona overtook Madrid in 2014 and Madrid overtook Barcelona in 2015. Madrid had the longest run at the top (1990–2013).

Barcelona, Valencia, Bilbao, Sevilla and Alicante/Alacant were not in the top ten in 1990 but are in it by 2024.

Top 10 in 2024

Largest Cities in Spain (City Population), 2024
RankNameValue (people)
1Madrid4,501,429
2Barcelona2,658,830
3Valencia1,474,632
4Bilbao782,473
5Zaragoza691,037
6Sevilla686,741
7Málaga592,346
8Alicante/Alacant503,432
9Murcia471,982
10Palma de Mallorca438,234

Top 10 in 1990

Largest Cities in Spain (City Population), 1990
RankNameValue (people)
1Madrid3,120,732
2Zaragoza592,686
3Málaga560,495
4Palmas de Gran Canaria, Las373,846
5Valladolid333,680
6Murcia322,911
7Vitoria-Gasteiz209,506
8Oviedo194,637
9Santander194,221
10Badajoz126,781

Top 5 over time

Largest Cities in Spain (City Population): top 5 at each point
Period#1#2#3#4#5
1990Madrid3.1M peopleZaragoza592.7K peopleMálaga560.5K peoplePalmas de Gran Canaria, Las373.8K peopleValladolid333.7K people
2000Madrid2.9M peopleZaragoza604.6K peopleMálaga531.6K peoplePalmas de Gran Canaria, Las358.5K peopleMurcia357.2K people
2010Madrid3.3M peopleBarcelona3.2M peopleZaragoza675.1K peopleMálaga568.5K peopleMurcia441.3K people
2020Madrid5.1M peopleBarcelona3.8M peopleValencia1.4M peopleSevilla884.9K peopleBilbao797.6K people
2024Madrid4.5M peopleBarcelona2.7M peopleValencia1.5M peopleBilbao782.5K peopleZaragoza691K people

About the data

Source: Eurostat, licensed CC BY 4.0. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.

Questions

Which city ranks first for population of the city in Spain in 2024?

Madrid, with 4.5M people. Barcelona is second with 2.7M people and Valencia third.

Which city was first in 1990?

Madrid, with 3.1M people. It is still first in 2024.

When did Madrid become the top city?

Madrid took first place in 2015, overtaking Barcelona.

What were the top 5 cities in 2010?

1. Madrid (3.3M people), 2. Barcelona (3.2M people), 3. Zaragoza (675.1K people), 4. Málaga (568.5K people) and 5. Murcia (441.3K people).

Where does the data come from?

Eurostat, published under CC BY 4.0. The chart covers 34 time steps from 1990 to 2024 for 118 cities.

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