Municipalities of Spain by population, 2025
Madrid had the highest population of 8132 municipalities in 2025, at 3.51 million. Villanueva de Gormaz had the lowest, at 6. The median was 526 and the figure for Spain was 49.11 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2025
Full ranking
| Rank | Municipalities | 2025 | Change on 2024 |
|---|---|---|---|
| 1 | Madrid | 3,506,730 | +2.6% |
| 2 | Barcelona | 1,731,649 | +1.7% |
| 3 | València | 840,792 | +1.8% |
| 4 | Zaragoza | 693,091 | +0.9% |
| 5 | Sevilla | 689,423 | +0.3% |
| 6 | Málaga | 599,063 | +1.3% |
| 7 | Murcia | 479,405 | +1% |
| 8 | Palma | 434,786 | +0.8% |
| 9 | Las Palmas de Gran Canaria | 381,868 | +0.4% |
| 10 | Alacant/Alicante | 366,221 | +2.1% |
| 11 | Bilbao | 351,124 | +0.9% |
| 12 | Córdoba | 323,262 | +0.1% |
| 13 | Valladolid | 302,614 | +0.7% |
| 14 | Vigo | 294,489 | +0.2% |
| 15 | L'Hospitalet de Llobregat | 289,510 | +3.4% |
| 16 | Gijón | 269,894 | +0.5% |
| 17 | Vitoria-Gasteiz | 260,699 | +1.1% |
| 18 | A Coruña | 251,543 | +0.9% |
| 19 | Elx/Elche | 245,557 | +1% |
| 20 | Granada | 233,975 | +0.5% |
| 21 | Terrassa | 233,270 | +2% |
| 22 | Badalona | 231,542 | +2% |
| 23 | Sabadell | 225,368 | +1.4% |
| 24 | Oviedo | 223,968 | +1.6% |
| 25 | Cartagena | 220,704 | +0.4% |
| 26 | Móstoles | 214,817 | +0.4% |
| 27 | Jerez de la Frontera | 213,634 | -0% |
| 28 | Santa Cruz de Tenerife | 211,957 | +0.3% |
| 29 | Pamplona/Iruña | 209,094 | +0.6% |
| 30 | Almería | 205,468 | +1.4% |
| 31 | Alcalá de Henares | 203,208 | +1.2% |
| 32 | Leganés | 195,734 | +0.9% |
| 33 | Getafe | 193,238 | +1.8% |
| 34 | Fuenlabrada | 190,076 | -0.4% |
| 35 | Donostia/San Sebastián | 189,866 | +0.4% |
| 36 | Castelló de la Plana/Castellón de la Plana | 183,711 | +1.8% |
| 37 | Burgos | 177,402 | +0.9% |
| 38 | Alcorcón | 175,719 | +1.2% |
| 39 | Santander | 175,425 | +0.8% |
| 40 | Albacete | 175,400 | +0.7% |
| 41 | San Cristóbal de La Laguna | 161,108 | +0.5% |
| 42 | Marbella | 159,786 | +0.5% |
| 43 | Logroño | 152,150 | +0.7% |
| 44 | Badajoz | 150,209 | -0.2% |
| 45 | Lleida | 146,266 | +1.1% |
| 46 | Salamanca | 146,110 | +0.9% |
| 47 | Tarragona | 143,649 | +1.8% |
| 48 | Torrejón de Ardoz | 143,526 | +2.1% |
| 49 | Huelva | 143,215 | -0.1% |
| 50 | Dos Hermanas | 142,519 | +1.5% |
| 51 | Parla | 137,471 | +2% |
| 52 | Mataró | 131,683 | -0.1% |
| 53 | Algeciras | 126,589 | +1.3% |
| 54 | Santa Coloma de Gramenet | 123,981 | +2.3% |
| 55 | León | 123,446 | +1% |
| 56 | Alcobendas | 123,342 | +1.6% |
| 57 | Jaén | 112,235 | +0.1% |
| 58 | Reus | 111,601 | +1.5% |
| 59 | Roquetas de Mar | 111,240 | +1.9% |
| 60 | Cádiz | 109,950 | -0.9% |
| 61 | Girona | 108,666 | +1.5% |
| 62 | Ourense | 105,769 | +0.8% |
| 63 | Telde | 104,168 | +1.3% |
| 64 | Rivas-Vaciamadrid | 103,148 | +1.2% |
| 65 | Barakaldo | 102,986 | +1% |
| 66 | Santiago de Compostela | 100,965 | +1.4% |
| 67 | Lugo | 100,143 | +0.7% |
| 68 | Las Rozas de Madrid | 99,037 | +0.5% |
| 69 | Lorca | 98,969 | +0.6% |
| 70 | Torrevieja | 98,533 | +3.9% |
| 71 | Sant Cugat del Vallès | 97,983 | -0.6% |
| 72 | San Sebastián de los Reyes | 96,992 | +2.1% |
| 73 | Cáceres | 96,651 | +0.2% |
| 74 | Mijas | 95,104 | +1.9% |
| 75 | San Fernando | 93,338 | -0.3% |
| 76 | Guadalajara | 92,834 | +2.1% |
| 77 | Cornellà de Llobregat | 92,237 | +0.7% |
| 78 | El Ejido | 91,440 | +1.4% |
| 79 | Torrent | 90,928 | +1.7% |
| 80 | Chiclana de la Frontera | 90,864 | +1.2% |
| 81 | El Puerto de Santa María | 89,983 | 0% |
| 82 | Pozuelo de Alarcón | 89,770 | +0.4% |
| 83 | Arona | 87,793 | +1.3% |
| 84 | Toledo | 87,216 | +0.8% |
| 85 | Melilla | 86,780 | +1.1% |
| 86 | Vélez-Málaga | 86,048 | +0.1% |
| 87 | Valdemoro | 85,972 | +3% |
| 88 | Sant Boi de Llobregat | 85,610 | +0.9% |
| 89 | Fuengirola | 85,211 | -0.8% |
| 90 | Orihuela | 84,560 | +1% |
| 91 | Talavera de la Reina | 83,803 | -1.1% |
| 92 | Ceuta | 83,595 | +0.4% |
| 93 | Pontevedra | 83,316 | +0.3% |
| 94 | Gandia | 83,135 | +3.8% |
| 95 | Rubí | 82,823 | +1.6% |
| 96 | Manresa | 80,974 | +1% |
| 97 | Coslada | 80,512 | -0.3% |
| 98 | Estepona | 79,621 | +1.5% |
| 99 | Santa Lucía de Tirajana | 78,584 | +1.9% |
| 100 | Molina de Segura | 78,458 | +1.2% |
| 101 | Benalmádena | 78,338 | +0.9% |
| 102 | Alcalá de Guadaíra | 77,474 | +0.7% |
| 103 | Palencia | 77,466 | +0.9% |
| 104 | Benidorm | 77,327 | +3.6% |
| 105 | Ciudad Real | 76,217 | +0.4% |
| 106 | Paterna | 76,019 | +1.6% |
| 107 | Getxo | 75,752 | -0.3% |
| 108 | Avilés | 75,517 | +0.2% |
| 109 | Majadahonda | 73,625 | +0.4% |
| 110 | Sagunt/Sagunto | 73,031 | +2.3% |
| 111 | Vilanova i la Geltrú | 71,641 | +1.7% |
| 112 | Torremolinos | 71,329 | +0.6% |
| 113 | Arrecife | 70,811 | +3.9% |
| 114 | Castelldefels | 70,057 | +0.9% |
| 115 | Sanlúcar de Barrameda | 70,012 | +0.2% |
| 116 | Viladecans | 67,587 | +0.4% |
| 117 | Collado Villalba | 67,274 | +0.9% |
| 118 | Boadilla del Monte | 66,349 | +0.8% |
| 119 | El Prat de Llobregat | 66,338 | +0.2% |
| 120 | Granollers | 65,341 | +1.8% |
| 121 | La Línea de la Concepción | 64,499 | +0.5% |
| 122 | Ferrol | 64,367 | +0.2% |
| 123 | Irun | 63,835 | +0.3% |
| 124 | Ponferrada | 63,186 | +0.3% |
| 125 | Aranjuez | 63,040 | +1.2% |
| 126 | Alcoi/Alcoy | 61,468 | +1.8% |
| 127 | Arganda del Rey | 60,419 | +1.5% |
| 128 | Sant Vicent del Raspeig/San Vicente del Raspeig | 60,247 | -0% |
| 129 | Mérida | 60,225 | +0.6% |
| 130 | Motril | 59,862 | +0.4% |
| 131 | Zamora | 59,815 | +0.5% |
| 132 | Ávila | 59,107 | +1.7% |
| 133 | Granadilla de Abona | 58,752 | +2.8% |
| 134 | Colmenar Viejo | 58,730 | +3% |
| 135 | Cerdanyola del Vallès | 58,528 | +0.7% |
| 136 | Pinto | 56,651 | +1.2% |
| 137 | Linares | 55,633 | +0.7% |
| 138 | Huesca | 55,454 | +1.4% |
| 139 | Eivissa | 55,337 | +3% |
| 140 | Elda | 55,222 | +2.6% |
| 141 | Tres Cantos | 54,592 | +3.1% |
| 142 | San Bartolomé de Tirajana | 54,291 | +0.3% |
| 143 | Calvià | 53,793 | +0.6% |
| 144 | Vila-real | 53,623 | +2.1% |
| 145 | Cuenca | 53,600 | +0.3% |
| 146 | Siero | 53,049 | +0.9% |
| 147 | Mollet del Vallès | 52,990 | +1.4% |
| 148 | Rincón de la Victoria | 52,454 | +0.4% |
| 149 | Utrera | 52,403 | +0.4% |
| 150 | Segovia | 52,375 | +1.6% |
| 151 | Torrelavega | 51,796 | +0.3% |
| 152 | Vic | 50,796 | +2.6% |
| 153 | Adeje | 50,021 | -1% |
| 154 | Figueres | 49,689 | +1.7% |
| 155 | Manacor | 49,153 | +2.9% |
| 156 | Gavà | 48,243 | +0.5% |
| 157 | Alzira | 48,236 | +1.9% |
| 158 | Esplugues de Llobregat | 48,221 | +1.3% |
| 159 | Mairena del Aljarafe | 48,017 | +0.2% |
| 160 | Dénia | 47,261 | +0.7% |
| 161 | Mislata | 47,079 | +2% |
| 162 | Sant Feliu de Llobregat | 46,781 | +0.5% |
| 163 | Santurtzi | 46,442 | +0.4% |
| 164 | Puerto del Rosario | 46,150 | +3.4% |
| 165 | Puertollano | 45,565 | +0.8% |
| 166 | Alhaurín de la Torre | 45,066 | +2.3% |
| 167 | Portugalete | 44,843 | +0.2% |
| 168 | Alcantarilla | 43,876 | +0.8% |
| 169 | Lucena | 43,408 | +0.7% |
| 170 | Lloret de Mar | 43,000 | +0.9% |
| 171 | Blanes | 42,699 | +1.2% |
| 172 | Vilafranca del Penedès | 42,607 | +2.7% |
| 173 | Puerto Real | 42,527 | +0.9% |
| 174 | La Orotava | 42,514 | -0.2% |
| 175 | Santa Eulària des Riu | 42,479 | +1.9% |
| 176 | Igualada | 42,085 | +1.5% |
| 177 | Antequera | 41,849 | +0.6% |
| 178 | Torre-Pacheco | 41,479 | +3.5% |
| 179 | Burjassot | 41,299 | +1.6% |
| 180 | El Vendrell | 41,133 | +1.7% |
| 181 | Soria | 41,025 | +0.7% |
| 182 | La Rinconada | 40,724 | +0.5% |
| 183 | Llucmajor | 40,502 | +1.5% |
| 184 | Marratxí | 40,422 | +0.9% |
| 185 | Basauri | 40,274 | -0.3% |
| 186 | Plasencia | 40,132 | +0.8% |
| 187 | Narón | 39,953 | +1.7% |
| 188 | Ripollet | 39,897 | +1.1% |
| 189 | Santa Pola | 39,709 | +3% |
| 190 | Écija | 39,659 | +0.4% |
| 191 | Olot | 39,519 | +1.8% |
| 192 | Errenteria | 39,363 | 0% |
| 193 | Sant Adrià de Besòs | 39,323 | +2.2% |
| 194 | Arucas | 39,232 | +0.8% |
| 195 | San Fernando de Henares | 39,059 | +0.2% |
| 196 | Tudela | 38,903 | +0.6% |
| 197 | Oleiros | 38,793 | +1.2% |
| 198 | Los Palacios y Villafranca | 38,761 | 0% |
| 199 | Langreo | 38,612 | +0.9% |
| 200 | Arroyomolinos | 38,075 | +2.3% |
| 201 | Don Benito | 37,986 | +0.7% |
| 202 | Borriana/Burriana | 37,915 | +2.7% |
| 203 | Vilagarcía de Arousa | 37,888 | +0.3% |
| 204 | Los Realejos | 37,867 | +0.9% |
| 205 | Águilas | 37,811 | +1.1% |
| 206 | Montcada i Reixac | 37,460 | +0.8% |
| 207 | la Vila Joiosa/Villajoyosa | 37,449 | +1.5% |
| 208 | Tomelloso | 37,060 | +1.5% |
| 209 | Cambrils | 37,042 | +0.5% |
| 210 | Ontinyent | 37,012 | +1.6% |
| 211 | Galapagar | 36,758 | +1.6% |
| 212 | Teruel | 36,655 | -0.2% |
| 213 | Miranda de Ebro | 36,622 | +1.7% |
| 214 | San Javier | 36,524 | +1.8% |
| 215 | Yecla | 36,453 | +1.4% |
| 216 | Mieres | 36,373 | +0.7% |
| 217 | Inca | 36,262 | +1.7% |
| 218 | Tortosa | 35,997 | +2.1% |
| 219 | Sant Joan Despí | 35,926 | +2.4% |
| 220 | Azuqueca de Henares | 35,924 | +0.1% |
| 221 | Andújar | 35,610 | -0% |
| 222 | Cieza | 35,577 | +0.6% |
| 223 | Mazarrón | 35,449 | +1% |
| 224 | Villena | 34,712 | +1% |
| 225 | Aldaia | 34,630 | +1.7% |
| 226 | Almendralejo | 34,587 | +0.9% |
| 227 | Salt | 34,491 | +1.7% |
| 228 | Arteixo | 34,403 | +1.1% |
| 229 | San Roque | 34,310 | +0.4% |
| 230 | Petrer | 34,022 | -0.2% |
| 231 | Barberà del Vallès | 33,987 | +1.2% |
| 232 | Aranda de Duero | 33,956 | +0.6% |
| 233 | Agüimes | 33,800 | +1.9% |
| 234 | Ronda | 33,671 | +0.7% |
| 235 | Úbeda | 33,588 | -0.3% |
| 236 | Castro-Urdiales | 33,450 | -0.1% |
| 237 | Totana | 33,358 | -0.9% |
| 238 | Navalcarnero | 33,331 | +2% |
| 239 | Níjar | 33,319 | +0.7% |
| 240 | Illescas | 33,301 | +3.6% |
| 241 | Ames | 33,276 | +1.4% |
| 242 | Ingenio | 32,905 | +0.5% |
| 243 | Leioa | 32,748 | +0.2% |
| 244 | Sant Pere de Ribes | 32,705 | +1.8% |
| 245 | Calafell | 32,624 | +2.5% |
| 246 | Manises | 32,609 | +1% |
| 246 | Sitges | 32,609 | +0.6% |
| 248 | Ciutadella de Menorca | 32,431 | +1.5% |
| 249 | la Vall d'Uixó | 32,242 | +1.1% |
| 250 | Carballo | 32,120 | +1.7% |
Other periods
About this ranking
Resident population.
More on how it is measured
- Spain and the EU: 1 January, with Spanish figures from the official municipal register (Padrón).
- Norway: Statistics Norway, 1 January.
- Iceland and its municipalities: Statistics Iceland, 1 January.
- United States: Census Bureau population estimates for 1 July.
- United Kingdom regions and local authorities: Office for National Statistics estimates for 30 June.
- Other countries and the World: World Bank mid-year estimates, which count all residents regardless of legal status or citizenship.
- UN World Population Prospects estimates for 1 July cover the years before 1960 and the areas the World Bank does not publish, such as Taiwan.
The World Bank series exists for every country, so use it (through compare) to rank countries on one basis.
Every value in the ranking comes from the same publisher and the same period, so the municipalities are compared on one definition. 4 municipalities with data in other periods have no value for 2025 and are left out rather than filled from another source. Equal values share a rank.
How to cite
Instituto Nacional de Estadística (INE). Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Retrieved 2026-10-07.
Citation styles
APA 7
Instituto Nacional de Estadística. (n.d.). Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005) (Municipalities of Spain by population, 2025) [Data set]. Retrieved October 7, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=29005
MLA 9
Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005), Municipalities of Spain by population, 2025. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Invokely, https://invokely.ai/rankings/population/spain-municipalities. Accessed 7 Oct. 2026.
Chicago (author-date)
Instituto Nacional de Estadística. n.d. Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). Municipalities of Spain by population, 2025. Dataset. Accessed October 7, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Also distributed by Invokely, https://invokely.ai/rankings/population/spain-municipalities.
Harvard
Instituto Nacional de Estadística (no date) Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005), Municipalities of Spain by population, 2025 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=29005, via Invokely: https://invokely.ai/rankings/population/spain-municipalities (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2025,
author = {{Instituto Nacional de Estadística}},
title = {{Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005): Municipalities of Spain by population, 2025}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=29005},
urldate = {2026-10-07},
note = {Accessed via Invokely, https://invokely.ai/rankings/population/spain-municipalities. Publisher attribution: Instituto Nacional de Estadística (INE). Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Retrieved 2026-10-07.},
}
RIS
TY - DATA
AU - Instituto Nacional de Estadística
TI - Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005): Municipalities of Spain by population, 2025
PB - Instituto Nacional de Estadística
DB - Invokely
UR - https://www.ine.es/jaxiT3/Tabla.htm?t=29005
L2 - https://invokely.ai/rankings/population/spain-municipalities
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/population/spain-municipalities.
N1 - Publisher attribution: Instituto Nacional de Estadística (INE). Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Retrieved 2026-10-07.
ER -
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Municipalities of Spain by population using official data, and cite the source.
rank_places {"indicator":"population","level":"municipality","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=population&level=municipality&within=Spain&limit=10
Questions
Which municipality has the highest population?
Madrid, with 3.51 million in 2025, according to the Instituto Nacional de Estadística.
Which municipality has the lowest population?
Villanueva de Gormaz, with 6 in 2025.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Instituto Nacional de Estadística, Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). Retrieved 2026-10-07. 4 municipalities have no value for 2025 and are not ranked.
Population: other rankings
- Municipalities in Huelva province
- Municipalities in Segovia province
- Municipalities in Santa Cruz de Tenerife province
- Regions of Greece (NUTS 2)
- Cities in Ohio
- NUTS 3 areas of Romania