Municipalities of Spain by population
Madrid had the highest population of 8125 municipalities in 2016, at 3.17 million. Villarroya had the lowest, at 5. The median was 540 and the figure for Spain was 46.56 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2016
Full ranking
| Rank | Municipalities | 2016 | Change on 2015 |
|---|---|---|---|
| 1 | Madrid | 3,165,541 | +0.7% |
| 2 | Barcelona | 1,608,746 | +0.3% |
| 3 | València | 790,201 | +0.5% |
| 4 | Sevilla | 690,566 | -0.5% |
| 5 | Zaragoza | 661,108 | -0.6% |
| 6 | Málaga | 569,009 | -0% |
| 7 | Murcia | 441,003 | +0.3% |
| 8 | Palma | 402,949 | +0.6% |
| 9 | Las Palmas de Gran Canaria | 378,998 | -0.2% |
| 10 | Bilbao | 345,122 | -0% |
| 11 | Alacant/Alicante | 330,525 | +0.6% |
| 12 | Córdoba | 326,609 | -0.2% |
| 13 | Valladolid | 301,876 | -0.7% |
| 14 | Vigo | 292,817 | -0.4% |
| 15 | Gijón | 273,422 | -0.3% |
| 16 | L'Hospitalet de Llobregat | 254,804 | +1% |
| 17 | Vitoria-Gasteiz | 244,634 | +0.3% |
| 18 | A Coruña | 243,978 | 0% |
| 19 | Granada | 234,758 | -0.4% |
| 20 | Elx/Elche | 227,659 | +0.2% |
| 21 | Oviedo | 220,567 | -0.6% |
| 22 | Badalona | 215,634 | -0% |
| 23 | Terrassa | 215,121 | -0% |
| 24 | Cartagena | 214,759 | -0.7% |
| 25 | Jerez de la Frontera | 212,830 | -0% |
| 26 | Sabadell | 208,246 | +0.2% |
| 27 | Móstoles | 205,614 | -0.3% |
| 28 | Santa Cruz de Tenerife | 203,585 | -0.1% |
| 29 | Alcalá de Henares | 195,907 | -1.4% |
| 30 | Pamplona/Iruña | 195,650 | -0.1% |
| 31 | Almería | 194,515 | +0.2% |
| 32 | Fuenlabrada | 194,171 | -0.5% |
| 33 | Leganés | 187,173 | +0.1% |
| 34 | Donostia/San Sebastián | 186,064 | -0% |
| 35 | Getafe | 176,659 | +1% |
| 36 | Burgos | 176,608 | -0.3% |
| 37 | Santander | 172,656 | -0.7% |
| 38 | Albacete | 172,426 | +0.2% |
| 39 | Castelló de la Plana/Castellón de la Plana | 170,990 | -0.4% |
| 40 | Alcorcón | 167,354 | +0.1% |
| 41 | San Cristóbal de La Laguna | 153,111 | +0.2% |
| 42 | Logroño | 150,876 | -0.3% |
| 43 | Badajoz | 149,946 | 0% |
| 44 | Huelva | 145,468 | -0.6% |
| 45 | Salamanca | 144,949 | -1% |
| 46 | Marbella | 140,744 | +0.9% |
| 47 | Lleida | 138,144 | -0.3% |
| 48 | Dos Hermanas | 131,855 | +0.4% |
| 49 | Tarragona | 131,094 | -0.1% |
| 50 | Torrejón de Ardoz | 126,981 | 0% |
| 51 | León | 126,192 | -1.3% |
| 52 | Mataró | 125,517 | +0.5% |
| 53 | Parla | 124,661 | -0.3% |
| 54 | Algeciras | 120,601 | +1.4% |
| 55 | Cádiz | 118,919 | -1.3% |
| 56 | Santa Coloma de Gramenet | 117,153 | +0.2% |
| 57 | Jaén | 114,658 | -0.6% |
| 58 | Alcobendas | 113,340 | +0.3% |
| 59 | Ourense | 105,893 | -0.3% |
| 60 | Reus | 103,615 | +0.4% |
| 61 | Telde | 102,164 | +0.1% |
| 62 | Barakaldo | 100,025 | -0.2% |
| 63 | Lugo | 98,268 | +0.1% |
| 64 | Girona | 98,255 | +0.7% |
| 65 | Santiago de Compostela | 95,966 | +0.4% |
| 66 | San Fernando | 95,949 | -0.2% |
| 67 | Cáceres | 95,814 | +0.2% |
| 68 | Las Rozas de Madrid | 94,471 | +1% |
| 69 | Roquetas de Mar | 91,965 | +1.5% |
| 70 | Lorca | 91,730 | 0% |
| 71 | Sant Cugat del Vallès | 88,921 | +1.2% |
| 72 | El Ejido | 88,752 | +3.2% |
| 73 | El Puerto de Santa María | 88,184 | -0.2% |
| 74 | San Sebastián de los Reyes | 86,206 | +1.5% |
| 75 | Cornellà de Llobregat | 86,072 | -0.4% |
| 76 | Melilla | 86,026 | +0.5% |
| 77 | Pozuelo de Alarcón | 84,989 | +0.5% |
| 78 | Coslada | 84,533 | -2.7% |
| 79 | Ceuta | 84,519 | +0.3% |
| 80 | Torrevieja | 84,213 | -4.8% |
| 81 | Talavera de la Reina | 84,119 | -1.2% |
| 82 | Guadalajara | 83,633 | +0.3% |
| 83 | Toledo | 83,459 | +0.3% |
| 84 | Rivas-Vaciamadrid | 82,715 | +1.5% |
| 85 | Chiclana de la Frontera | 82,645 | -0.2% |
| 86 | Pontevedra | 82,549 | 0% |
| 87 | Sant Boi de Llobregat | 82,402 | +0.3% |
| 88 | Torrent | 80,762 | +0.8% |
| 89 | Orihuela | 80,359 | -2.8% |
| 90 | Avilés | 80,114 | -0.9% |
| 91 | Arona | 79,172 | -0.9% |
| 92 | Palencia | 79,137 | -0.6% |
| 93 | Vélez-Málaga | 78,890 | +0.9% |
| 94 | Getxo | 78,554 | -0.4% |
| 95 | Mijas | 77,769 | -2.2% |
| 96 | Fuengirola | 77,486 | -0.1% |
| 97 | Rubí | 75,167 | +0.8% |
| 98 | Alcalá de Guadaíra | 75,080 | +0.3% |
| 99 | Gandia | 74,814 | -0.9% |
| 100 | Manresa | 74,752 | +0.1% |
| 101 | Ciudad Real | 74,054 | -0.5% |
| 102 | Valdemoro | 72,988 | +0.2% |
| 103 | Majadahonda | 70,755 | -0.1% |
| 104 | Molina de Segura | 69,614 | +0.4% |
| 105 | Santa Lucía de Tirajana | 69,178 | +0.2% |
| 106 | Ferrol | 68,308 | -1.6% |
| 107 | Paterna | 67,854 | +0.8% |
| 108 | Torremolinos | 67,786 | +0.4% |
| 109 | Sanlúcar de Barrameda | 67,620 | +0.3% |
| 110 | Benalmádena | 67,245 | +1% |
| 111 | Estepona | 66,683 | -0.6% |
| 112 | Benidorm | 66,642 | -3.5% |
| 113 | Ponferrada | 66,447 | -0.7% |
| 114 | Vilanova i la Geltrú | 65,972 | +0.4% |
| 115 | Viladecans | 65,779 | +0.4% |
| 116 | Castelldefels | 64,892 | +1.6% |
| 117 | Sagunt/Sagunto | 64,439 | -0.8% |
| 118 | El Prat de Llobregat | 63,457 | +0.7% |
| 119 | La Línea de la Concepción | 63,278 | -0.1% |
| 120 | Zamora | 63,217 | -1% |
| 121 | Irun | 61,608 | +0.2% |
| 122 | Collado Villalba | 61,597 | -0.7% |
| 123 | Motril | 60,368 | -0.7% |
| 124 | Granollers | 60,174 | +0.1% |
| 125 | Alcoi/Alcoy | 59,198 | -0.6% |
| 126 | Mérida | 59,174 | +0.3% |
| 127 | Linares | 58,829 | -1.5% |
| 128 | Arrecife | 58,537 | +2.8% |
| 129 | Ávila | 58,083 | -0.5% |
| 130 | Aranjuez | 57,932 | -0.4% |
| 131 | Cerdanyola del Vallès | 57,543 | +0.2% |
| 132 | Sant Vicent del Raspeig/San Vicente del Raspeig | 56,715 | +0.7% |
| 133 | Cuenca | 55,102 | -0.6% |
| 134 | Arganda del Rey | 54,256 | -0.5% |
| 135 | San Bartolomé de Tirajana | 53,829 | -2% |
| 136 | Torrelavega | 52,819 | -1.3% |
| 137 | Elda | 52,745 | -0.9% |
| 138 | Utrera | 52,674 | +0.2% |
| 139 | Huesca | 52,282 | +0.1% |
| 140 | Segovia | 52,257 | -0.9% |
| 141 | Siero | 51,969 | -0.4% |
| 142 | Mollet del Vallès | 51,491 | -0.3% |
| 143 | Vila-real | 50,252 | -0.6% |
| 144 | Boadilla del Monte | 49,762 | +2% |
| 145 | Calvià | 49,580 | -1.5% |
| 146 | Eivissa | 49,549 | -0.9% |
| 147 | Pinto | 49,522 | +1.8% |
| 148 | Puertollano | 49,166 | -1.7% |
| 149 | Colmenar Viejo | 48,020 | +0.9% |
| 150 | Adeje | 47,316 | +4.2% |
| 151 | Portugalete | 46,375 | -0.7% |
| 152 | Gavà | 46,266 | -0.3% |
| 153 | Santurtzi | 46,043 | -0.5% |
| 154 | Esplugues de Llobregat | 45,733 | +0.2% |
| 155 | Figueres | 45,726 | +0.8% |
| 156 | Granadilla de Abona | 45,332 | +1.1% |
| 157 | Mairena del Aljarafe | 45,040 | +1.5% |
| 158 | Tres Cantos | 44,764 | +3.4% |
| 159 | Alzira | 44,488 | -0.1% |
| 160 | Sant Feliu de Llobregat | 44,086 | +0.7% |
| 161 | Rincón de la Victoria | 44,003 | +2% |
| 162 | Vic | 43,287 | +1.9% |
| 163 | Mislata | 42,988 | -0.8% |
| 164 | Lucena | 42,615 | -0.2% |
| 165 | Puerto Real | 41,467 | -0.1% |
| 166 | Dénia | 41,465 | -0.2% |
| 167 | La Orotava | 41,294 | -0.1% |
| 168 | Langreo | 41,199 | -1.3% |
| 169 | Alcantarilla | 41,155 | +0.3% |
| 170 | Antequera | 41,065 | -0.2% |
| 171 | Basauri | 40,983 | -0.8% |
| 172 | Plasencia | 40,663 | -0.2% |
| 173 | Manacor | 40,279 | +0.3% |
| 174 | Écija | 40,270 | -0.1% |
| 175 | San Fernando de Henares | 40,095 | -0.2% |
| 176 | Mieres | 39,505 | -2.1% |
| 177 | Narón | 39,426 | -0.4% |
| 178 | Errenteria | 39,381 | +0.3% |
| 179 | Vilafranca del Penedès | 39,365 | +0.4% |
| 180 | Soria | 39,171 | 0% |
| 181 | Blanes | 39,060 | -0.2% |
| 182 | Igualada | 38,987 | +0.6% |
| 183 | Alhaurín de la Torre | 38,794 | +0.7% |
| 184 | La Rinconada | 38,277 | +0.3% |
| 185 | Los Palacios y Villafranca | 38,173 | 0% |
| 186 | Puerto del Rosario | 38,126 | +2% |
| 187 | Andújar | 37,975 | -0.7% |
| 188 | Ripollet | 37,648 | +0.5% |
| 189 | Burjassot | 37,324 | -0.6% |
| 190 | Arucas | 37,299 | +0.7% |
| 191 | Vilagarcía de Arousa | 37,283 | -0.5% |
| 192 | Lloret de Mar | 37,042 | -1.5% |
| 193 | Don Benito | 36,975 | 0% |
| 194 | Tomelloso | 36,746 | -2.4% |
| 195 | Sant Adrià de Besòs | 36,496 | +1.9% |
| 196 | El Vendrell | 36,482 | -0.2% |
| 197 | Los Realejos | 36,149 | -0.4% |
| 198 | Santa Eulària des Riu | 36,119 | +0.9% |
| 199 | Marratxí | 36,001 | +0.8% |
| 200 | Miranda de Ebro | 35,922 | -0.7% |
| 201 | Teruel | 35,564 | -0.1% |
| 202 | Ontinyent | 35,534 | -0.2% |
| 203 | Tudela | 35,170 | -0.6% |
| 204 | Cieza | 35,134 | +0.1% |
| 205 | Llucmajor | 35,057 | +1.3% |
| 206 | Oleiros | 35,013 | +0.9% |
| 207 | Úbeda | 34,835 | -0.3% |
| 208 | Montcada i Reixac | 34,802 | +1.2% |
| 209 | Águilas | 34,706 | -0.2% |
| 210 | Azuqueca de Henares | 34,703 | -0.6% |
| 211 | Borriana/Burriana | 34,643 | -0.2% |
| 212 | Torre-Pacheco | 34,630 | +0.5% |
| 213 | Almendralejo | 34,543 | +0.8% |
| 214 | Petrer | 34,533 | -0.2% |
| 215 | Ronda | 34,381 | -3.6% |
| 216 | Villena | 34,163 | -0.6% |
| 217 | Yecla | 34,037 | -0.2% |
| 218 | Olot | 34,000 | +0.2% |
| 219 | Tortosa | 33,743 | -0.4% |
| 220 | la Vila Joiosa/Villajoyosa | 33,580 | -0.9% |
| 221 | Sant Joan Despí | 33,502 | +0.7% |
| 222 | Cambrils | 33,273 | +1.1% |
| 223 | Barberà del Vallès | 32,832 | +0.9% |
| 224 | Aranda de Duero | 32,621 | -0.8% |
| 225 | Galapagar | 32,404 | +0.3% |
| 226 | Castro-Urdiales | 31,901 | +0.2% |
| 227 | la Vall d'Uixó | 31,819 | +0.5% |
| 228 | San Javier | 31,782 | -0.4% |
| 229 | San Andrés del Rabanedo | 31,470 | -0.9% |
| 230 | Santa Pola | 31,309 | -1.1% |
| 231 | Carballo | 31,256 | -0.1% |
| 232 | Aldaia | 31,246 | +0.4% |
| 233 | Arteixo | 31,239 | +0.9% |
| 234 | Arcos de la Frontera | 31,114 | -0.3% |
| 235 | Totana | 30,981 | +0.2% |
| 236 | Alcázar de San Juan | 30,967 | -1% |
| 237 | Inca | 30,944 | +1% |
| 238 | Leioa | 30,857 | +0.5% |
| 239 | Agüimes | 30,742 | +1.5% |
| 240 | Manises | 30,704 | -0.3% |
| 240 | Mazarrón | 30,704 | -4.5% |
| 242 | Camargo | 30,611 | -0.5% |
| 243 | Ames | 30,544 | +0.9% |
| 244 | Hellín | 30,419 | -0.6% |
| 245 | Coria del Río | 30,418 | +0.2% |
| 246 | Ingenio | 30,340 | +0.3% |
| 247 | Valdepeñas | 30,277 | -0.8% |
| 248 | Puente Genil | 30,072 | -0.3% |
| 249 | Sant Pere de Ribes | 29,842 | +0.6% |
| 250 | Alaquàs | 29,660 | -0.6% |
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. 11 municipalities with data in other periods have no value for 2016 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-11.
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, 2016) [Data set]. Retrieved October 11, 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, 2016. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Invokely, https://invokely.ai/rankings/population/spain-municipalities?period=2016. Accessed 11 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, 2016. Dataset. Accessed October 11, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Also distributed by Invokely, https://invokely.ai/rankings/population/spain-municipalities?period=2016.
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, 2016 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=29005, via Invokely: https://invokely.ai/rankings/population/spain-municipalities?period=2016 (Accessed: 11 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2016,
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, 2016}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=29005},
urldate = {2026-10-11},
note = {Accessed via Invokely, https://invokely.ai/rankings/population/spain-municipalities?period=2016. 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-11.},
}
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, 2016
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?period=2016
Y2 - 2026/10/11
N1 - Accessed via Invokely, https://invokely.ai/rankings/population/spain-municipalities?period=2016.
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-11.
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.17 million in 2016, according to the Instituto Nacional de Estadística.
Which municipality has the lowest population?
Villarroya, with 5 in 2016.
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-11. 11 municipalities have no value for 2016 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