Cities in Spain Ranked by Population (city proper)
Population of the city proper (the municipality itself, not the metro area), using the most recent figure recorded in Wikidata. Source: Wikidata (CC0 1.0 (public domain)).
Summary
Madrid city ranks #1 with 3.33 million people (2024). That is 1.9 times Barcelona in second place (1.73 million people). The top five are Madrid city, Barcelona, City of Valencia, Seville city and Zaragoza. The median across all 74 is 113,498 people; Plasencia is last at 40,132 people.
- #1
- Madrid city · 3.33 million people
- Median
- 113,498 people
- Coverage
- 74 cities in Spain
- Data year
- As recorded in Wikidata
- Last updated
- 2026-11-14
Full ranking
| Rank | City | Country | Population (people) | Year |
|---|---|---|---|---|
| 1 | Madrid city | Spain | 3,332,035 | 2024 |
| 2 | Barcelona | Spain | 1,731,649 | 2025 |
| 3 | City of Valencia | Spain | 769,128 | 2024 |
| 4 | Seville city | Spain | 684,025 | 2024 |
| 5 | Zaragoza | Spain | 652,651 | 2024 |
| 6 | Málaga | Spain | 599,063 | 2025 |
| 7 | Málaga City | Spain | 543,392 | 2024 |
| 8 | Palma | Spain | 434,786 | 2025 |
| 9 | Alicante | Spain | 366,221 | 2025 |
| 10 | Las Palmas de Gran Canaria | Spain | 297,682 | 2024 |
| 11 | Valladolid city | Spain | 292,426 | 2024 |
| 12 | Córdoba | Spain | 290,022 | 2024 |
| 13 | L'Hospitalet de Llobregat | Spain | 289,510 | 2025 |
| 14 | Xixón City | Spain | 255,070 | 2024 |
| 15 | Terrassa | Spain | 233,270 | 2025 |
| 16 | Badalona | Spain | 231,542 | 2025 |
| 17 | Sabadell | Spain | 225,368 | 2025 |
| 18 | Móstoles | Spain | 214,817 | 2025 |
| 19 | Alcalá de Henares | Spain | 198,975 | 2024 |
| 20 | Leganés | Spain | 195,734 | 2025 |
| 21 | Elche | Spain | 193,077 | 2024 |
| 22 | Oviedo City | Spain | 186,513 | 2024 |
| 23 | Castellón de la Plana | Spain | 183,711 | 2025 |
| 24 | Murcia City | Spain | 170,246 | 2024 |
| 25 | Burgos city | Spain | 168,672 | 2024 |
| 26 | Almería city | Spain | 167,916 | 2024 |
| 27 | Albacete City | Spain | 165,938 | 2024 |
| 28 | San Cristóbal de La Laguna | Spain | 161,108 | 2025 |
| 29 | Getafe | Spain | 156,358 | 2024 |
| 30 | Badajoz | Spain | 150,209 | 2025 |
| 31 | Logroño | Spain | 148,281 | 2024 |
| 32 | Santa Cruz de Tenerife | Spain | 147,522 | 2024 |
| 33 | Salamanca City | Spain | 143,954 | 2024 |
| 34 | Santander City | Spain | 126,288 | 2024 |
| 35 | Badajoz city | Spain | 124,523 | 2024 |
| 36 | Alcobendas | Spain | 123,342 | 2025 |
| 37 | León | Spain | 115,184 | 2024 |
| 38 | Cádiz City | Spain | 111,811 | 2024 |
| 39 | Jaén | Spain | 107,215 | 2024 |
| 40 | Girona | Spain | 104,192 | 2025 |
| 41 | Barakaldo | Spain | 102,986 | 2025 |
| 42 | Ourense | Spain | 97,051 | 2022 |
| 43 | Cáceres city | Spain | 95,074 | 2024 |
| 44 | Torrent | Spain | 90,928 | 2025 |
| 45 | Guadalajara City | Spain | 87,101 | 2024 |
| 46 | Melilla | Spain | 86,780 | 2025 |
| 47 | Ceuta | Spain | 83,595 | 2025 |
| 48 | Talavera de la Reina | Spain | 80,852 | 2024 |
| 49 | Coslada | Spain | 80,512 | 2025 |
| 50 | Palencia | Spain | 76,315 | 2024 |
| 51 | Ciudad Real City | Spain | 74,237 | 2024 |
| 52 | Vilanova i la Geltrú | Spain | 71,305 | 2025 |
| 53 | Arrecife | Spain | 70,811 | 2025 |
| 54 | Avilés | Spain | 70,796 | 2024 |
| 55 | Benidorm | Spain | 70,474 | 2024 |
| 56 | Pontevedra city | Spain | 63,149 | 2024 |
| 57 | Aranjuez | Spain | 63,040 | 2025 |
| 58 | Toledo city | Spain | 59,990 | 2024 |
| 59 | Zamora city | Spain | 59,150 | 2024 |
| 60 | Ávila | Spain | 59,107 | 2025 |
| 61 | Mérida | Spain | 58,176 | 2024 |
| 62 | Ávila City | Spain | 57,138 | 2024 |
| 63 | Ibiza | Spain | 55,337 | 2025 |
| 64 | Huesca | Spain | 53,699 | 2024 |
| 65 | Villarreal | Spain | 53,623 | 2025 |
| 66 | Cuenca city | Spain | 52,442 | 2024 |
| 67 | Segovia | Spain | 52,375 | 2025 |
| 68 | Aranjuez | Spain | 52,214 | 2024 |
| 69 | Torrelavega | Spain | 51,796 | 2025 |
| 70 | Vic | Spain | 50,405 | 2025 |
| 71 | Segovia City | Spain | 48,514 | 2024 |
| 72 | Portugalete | Spain | 44,843 | 2025 |
| 73 | Cartagena city | Spain | 41,731 | 2024 |
| 74 | Plasencia | Spain | 40,132 | 2025 |
About the top 10
#1 Madrid city
Madrid city ranks #1 on this list with 3.33 million people (2024).
- Country
- Spain
- Population
- 3,332,035 people (2024)
- Founded
- 1083
- Coordinates
- 40.41° N, 3.69° W
Also ranks #42 in founded · #96 in latitude · #231 in population.
#2 Barcelona
Barcelona ranks #2 on this list with 1.73 million people (2025).
- Country
- Spain
- Population
- 1,731,649 people (2025)
- Area
- 101.3 km²
- Density
- 17,094 people per km²
- Elevation
- 12 m
- Coordinates
- 41.38° N, 2.18° E
Also ranks #41 in population density · #76 in latitude · #83 in elevation.
#3 City of Valencia
City of Valencia ranks #3 on this list with 769,128 people (2024).
- Country
- Spain
- Population
- 769,128 people (2024)
- Founded
- 137 BCE
- Coordinates
- 39.46° N, 0.35° W
#4 Seville city
Seville city ranks #4 on this list with 684,025 people (2024).
- Country
- Spain
- Population
- 684,025 people (2024)
- Founded
- 1248
- Coordinates
- 37.39° N, 5.99° W
#5 Zaragoza
Zaragoza ranks #5 on this list with 652,651 people (2024).
- Country
- Spain
- Population
- 652,651 people (2024)
- Elevation
- 214 m
- Founded
- 1118
- Coordinates
- 41.66° N, 0.88° W
#6 Málaga
Málaga ranks #6 on this list with 599,063 people (2025).
- Country
- Spain
- Population
- 599,063 people (2025)
- Area
- 395 km²
- Density
- 1,517 people per km²
- Elevation
- 18 m
- Founded
- 800 BCE
- Coordinates
- 36.72° N, 4.42° W
#7 Málaga City
Málaga City ranks #7 on this list with 543,392 people (2024).
- Country
- Spain
- Population
- 543,392 people (2024)
- Founded
- 800 BCE
- Coordinates
- 36.72° N, 4.42° W
#8 Palma
Palma ranks #8 on this list with 434,786 people (2025).
- Country
- Spain
- Population
- 434,786 people (2025)
- Area
- 208.6 km²
- Density
- 2,084 people per km²
- Elevation
- 13 m
- Coordinates
- 39.57° N, 2.65° E
#9 Alicante
Alicante ranks #9 on this list with 366,221 people (2025).
- Country
- Spain
- Population
- 366,221 people (2025)
- Area
- 201.3 km²
- Density
- 1,820 people per km²
- Elevation
- 3 m
- Founded
- 230 BCE
- Coordinates
- 38.34° N, 0.48° W
#10 Las Palmas de Gran Canaria
Las Palmas de Gran Canaria ranks #10 on this list with 297,682 people (2024).
- Country
- Spain
- Population
- 297,682 people (2024)
- Founded
- 1478
- Coordinates
- 28.10° N, 15.41° W
Profile facts: Wikidata (CC0).
Source and method
Population of the city proper (the municipality itself, not the metro area), using the most recent figure recorded in Wikidata.
Source: Wikidata. Licence: CC0 1.0 (public domain). Retrieved: 2026-11-14.
Data: Wikidata (CC0)
Values are shown as published. Provider terms: Wikidata. All licences: Sources & licences.