Municipalities of Spain by population aged 16 to 64
Madrid had the highest population aged 16 to 64 of 8132 municipalities in 2024, at 2.29 million. Illán de Vacas had the lowest, at 1. The median was 320 and the figure for Spain was 31.72 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2024
Full ranking
| Rank | Municipalities | 2024 | Change on 2023 |
|---|---|---|---|
| 1 | Madrid | 2,287,082 | +3% |
| 2 | Barcelona | 1,123,497 | +2.4% |
| 3 | València | 539,115 | +3.1% |
| 4 | Sevilla | 446,037 | +0.4% |
| 5 | Zaragoza | 439,307 | +1.2% |
| 6 | Málaga | 392,094 | +1% |
| 7 | Murcia | 315,269 | +1% |
| 8 | Palma | 302,953 | +2.2% |
| 9 | Las Palmas de Gran Canaria | 262,444 | +0.6% |
| 10 | Alacant/Alicante | 235,260 | +2.6% |
| 11 | Bilbao | 219,672 | +0.7% |
| 12 | Córdoba | 210,255 | -0% |
| 13 | L'Hospitalet de Llobregat | 188,389 | +2.8% |
| 14 | Vigo | 186,871 | 0% |
| 15 | Valladolid | 179,792 | +0.7% |
| 16 | Gijón | 165,257 | +0.3% |
| 17 | Vitoria-Gasteiz | 161,324 | +0.7% |
| 18 | Elx/Elche | 159,547 | +1.7% |
| 19 | A Coruña | 155,317 | +0.9% |
| 20 | Terrassa | 150,541 | +1.7% |
| 21 | Granada | 147,169 | +0.2% |
| 22 | Badalona | 145,986 | +0.8% |
| 23 | Sabadell | 144,222 | +2.1% |
| 24 | Jerez de la Frontera | 142,606 | +0.2% |
| 25 | Santa Cruz de Tenerife | 142,518 | +0.8% |
| 26 | Cartagena | 142,161 | +0.4% |
| 27 | Oviedo | 137,559 | +1% |
| 28 | Móstoles | 133,814 | +1.1% |
| 29 | Almería | 132,487 | +0.3% |
| 30 | Pamplona/Iruña | 132,002 | +1.1% |
| 31 | Alcalá de Henares | 131,869 | +0.8% |
| 32 | Fuenlabrada | 128,216 | -0.1% |
| 33 | Getafe | 123,550 | +2.7% |
| 34 | Leganés | 122,816 | +2.4% |
| 35 | Castelló de la Plana/Castellón de la Plana | 118,000 | +2.5% |
| 36 | Donostia/San Sebastián | 116,796 | -0.2% |
| 37 | Albacete | 115,890 | +0.3% |
| 38 | San Cristóbal de La Laguna | 112,400 | +0.7% |
| 39 | Alcorcón | 110,761 | +1.7% |
| 40 | Burgos | 108,799 | +1.1% |
| 41 | Marbella | 108,317 | +2.2% |
| 42 | Santander | 106,451 | +0.1% |
| 43 | Badajoz | 99,336 | +0.1% |
| 44 | Lleida | 95,669 | +1.6% |
| 45 | Torrejón de Ardoz | 95,409 | +2.4% |
| 46 | Logroño | 95,112 | +0.3% |
| 47 | Dos Hermanas | 94,745 | +1.3% |
| 48 | Huelva | 93,473 | +0.4% |
| 49 | Tarragona | 92,094 | +2.1% |
| 50 | Parla | 90,351 | +1.9% |
| 51 | Salamanca | 85,851 | +0.1% |
| 52 | Mataró | 85,705 | +1.2% |
| 53 | Algeciras | 82,413 | +1% |
| 54 | Alcobendas | 80,213 | +2% |
| 55 | Santa Coloma de Gramenet | 78,715 | +2.1% |
| 56 | Roquetas de Mar | 76,646 | +2.2% |
| 57 | Telde | 73,767 | +0.3% |
| 58 | Jaén | 73,410 | -0.1% |
| 59 | León | 73,148 | +0.6% |
| 60 | Girona | 71,588 | +2.7% |
| 61 | Reus | 70,861 | +1.6% |
| 62 | Rivas-Vaciamadrid | 70,469 | +1.1% |
| 63 | Cádiz | 69,529 | -1.1% |
| 64 | Las Rozas de Madrid | 65,861 | +0.7% |
| 65 | Sant Cugat del Vallès | 64,975 | +1.2% |
| 66 | Lorca | 64,955 | -0.5% |
| 67 | Ourense | 64,018 | +0.3% |
| 68 | Barakaldo | 63,978 | +0.9% |
| 69 | Cáceres | 63,669 | -0% |
| 70 | San Sebastián de los Reyes | 63,509 | +3% |
| 71 | Arona | 63,396 | +1.7% |
| 72 | Santiago de Compostela | 63,053 | +0.6% |
| 73 | Lugo | 62,951 | +1.4% |
| 74 | Mijas | 62,407 | +2% |
| 75 | El Ejido | 61,984 | -0.4% |
| 76 | San Fernando | 61,757 | -0.7% |
| 77 | Chiclana de la Frontera | 61,188 | +1% |
| 78 | Torrevieja | 60,609 | +7.8% |
| 79 | El Puerto de Santa María | 59,726 | -0.1% |
| 80 | Cornellà de Llobregat | 59,669 | +1.7% |
| 81 | Guadalajara | 59,576 | +2.3% |
| 82 | Torrent | 59,423 | +2.5% |
| 83 | Valdemoro | 58,969 | +3.4% |
| 84 | Vélez-Málaga | 57,545 | +1.1% |
| 85 | Santa Lucía de Tirajana | 57,352 | +2.2% |
| 86 | Pozuelo de Alarcón | 57,333 | +0.8% |
| 87 | Melilla | 56,761 | +0.7% |
| 88 | Ceuta | 56,343 | +0.6% |
| 89 | Toledo | 56,136 | +0.4% |
| 90 | Sant Boi de Llobregat | 54,727 | +1.4% |
| 91 | Rubí | 54,701 | +2.4% |
| 92 | Talavera de la Reina | 54,695 | +1.1% |
| 93 | Fuengirola | 53,945 | +0.7% |
| 94 | Pontevedra | 53,082 | +0.5% |
| 95 | Gandia | 53,044 | +2.8% |
| 96 | Benalmádena | 52,655 | +2.1% |
| 97 | Estepona | 52,461 | +2.3% |
| 98 | Molina de Segura | 52,155 | +1.6% |
| 99 | Orihuela | 52,097 | +1.4% |
| 100 | Alcalá de Guadaíra | 51,698 | +1.1% |
| 101 | Coslada | 51,160 | -0.1% |
| 102 | Manresa | 50,744 | +1.9% |
| 103 | Ciudad Real | 49,601 | +0.2% |
| 104 | Arrecife | 49,347 | +5.5% |
| 105 | Paterna | 49,260 | +1.7% |
| 106 | Benidorm | 48,068 | +3.5% |
| 107 | Majadahonda | 47,550 | +1% |
| 108 | Torremolinos | 47,458 | +1.1% |
| 109 | Castelldefels | 47,332 | +1.6% |
| 110 | Collado Villalba | 46,731 | +1.7% |
| 111 | Palencia | 46,499 | -0.2% |
| 112 | Avilés | 46,448 | -0.7% |
| 113 | Sanlúcar de Barrameda | 46,078 | -0.1% |
| 114 | Sagunt/Sagunto | 45,962 | +2.2% |
| 115 | Vilanova i la Geltrú | 45,654 | +2.5% |
| 116 | Getxo | 45,072 | -0.9% |
| 117 | Viladecans | 44,695 | +1.3% |
| 118 | Boadilla del Monte | 44,024 | +1.8% |
| 119 | La Línea de la Concepción | 43,154 | +0.3% |
| 120 | El Prat de Llobregat | 42,332 | +0.9% |
| 121 | Granollers | 42,103 | +1.9% |
| 122 | Granadilla de Abona | 42,100 | +4.4% |
| 123 | Sant Vicent del Raspeig/San Vicente del Raspeig | 41,133 | +0.9% |
| 124 | Aranjuez | 41,057 | +3% |
| 125 | Arganda del Rey | 40,394 | +1% |
| 126 | Irun | 40,090 | +0.7% |
| 127 | Motril | 40,019 | +1% |
| 128 | Mérida | 39,740 | +0.2% |
| 129 | Eivissa | 38,922 | +3.2% |
| 130 | Ponferrada | 38,840 | -0.9% |
| 131 | Alcoi/Alcoy | 38,832 | +1.6% |
| 132 | San Bartolomé de Tirajana | 38,830 | +0.1% |
| 133 | Colmenar Viejo | 38,623 | +3% |
| 134 | Ferrol | 38,527 | +0.7% |
| 135 | Pinto | 38,327 | +1.7% |
| 136 | Cerdanyola del Vallès | 37,644 | +0.1% |
| 137 | Adeje | 37,336 | +0.7% |
| 138 | Calvià | 37,158 | +0.5% |
| 139 | Ávila | 37,112 | +0.5% |
| 140 | Zamora | 35,886 | -0.2% |
| 141 | Tres Cantos | 35,292 | +2.1% |
| 142 | Linares | 35,236 | -0.2% |
| 143 | Rincón de la Victoria | 35,208 | +1.6% |
| 144 | Cuenca | 35,173 | -0.3% |
| 145 | Vila-real | 34,808 | +1.3% |
| 146 | Mollet del Vallès | 34,786 | +0.9% |
| 147 | Utrera | 34,689 | +0.5% |
| 148 | Huesca | 34,191 | +1% |
| 149 | Elda | 34,115 | +1.4% |
| 150 | Siero | 33,411 | +0.3% |
| 151 | Vic | 32,847 | +2.6% |
| 152 | Puerto del Rosario | 32,800 | +3.2% |
| 153 | Manacor | 32,228 | +3.3% |
| 154 | Figueres | 31,955 | +1.8% |
| 155 | Segovia | 31,898 | +0.6% |
| 156 | Mairena del Aljarafe | 31,719 | +0.1% |
| 157 | Gavà | 31,449 | +1.3% |
| 158 | Torrelavega | 31,176 | +0.1% |
| 159 | Alzira | 31,150 | +1.8% |
| 160 | Dénia | 31,109 | +3% |
| 161 | Mislata | 30,506 | +1% |
| 162 | Santa Eulària des Riu | 30,278 | +1.3% |
| 163 | Sant Feliu de Llobregat | 30,139 | +1.3% |
| 164 | Alhaurín de la Torre | 30,104 | +2% |
| 165 | Alcantarilla | 29,439 | +1.4% |
| 166 | Esplugues de Llobregat | 29,410 | +1.4% |
| 167 | La Orotava | 29,253 | +0.1% |
| 168 | Santurtzi | 28,968 | +0.1% |
| 169 | Lucena | 28,854 | +0.4% |
| 170 | Puerto Real | 28,638 | -0.1% |
| 171 | Lloret de Mar | 28,506 | +2.2% |
| 172 | Puertollano | 28,171 | -0.2% |
| 173 | La Rinconada | 27,840 | +0.2% |
| 174 | Burjassot | 27,772 | +3.2% |
| 175 | Blanes | 27,738 | +1% |
| 176 | Antequera | 27,524 | +0.4% |
| 177 | Arucas | 27,435 | +0.8% |
| 178 | Llucmajor | 27,214 | +2.2% |
| 179 | Portugalete | 26,870 | +0.1% |
| 180 | Marratxí | 26,824 | +1.5% |
| 181 | Vilafranca del Penedès | 26,769 | +2.6% |
| 182 | Torre-Pacheco | 26,748 | +3.1% |
| 183 | San Fernando de Henares | 26,656 | -1% |
| 184 | Igualada | 26,578 | +1.6% |
| 185 | Ripollet | 26,539 | +1.2% |
| 186 | El Vendrell | 26,094 | +2.4% |
| 187 | Écija | 26,068 | -0% |
| 188 | Los Realejos | 25,958 | +1.2% |
| 189 | Plasencia | 25,945 | +0.3% |
| 190 | Los Palacios y Villafranca | 25,809 | +0.2% |
| 191 | Sant Adrià de Besòs | 25,713 | +2.9% |
| 192 | Soria | 25,593 | +1.2% |
| 193 | Santa Pola | 25,375 | +1.7% |
| 194 | Olot | 25,368 | +2.1% |
| 195 | Arroyomolinos | 25,226 | +3.8% |
| 196 | Narón | 25,142 | +0.5% |
| 197 | Tudela | 24,935 | +2.2% |
| 198 | Don Benito | 24,895 | +0.1% |
| 199 | Galapagar | 24,876 | +2.2% |
| 200 | Azuqueca de Henares | 24,813 | +1.1% |
| 201 | Montcada i Reixac | 24,762 | +0.5% |
| 202 | Errenteria | 24,745 | +1.1% |
| 203 | Basauri | 24,655 | -0.1% |
| 204 | la Vila Joiosa/Villajoyosa | 24,572 | +2.6% |
| 205 | Tomelloso | 24,549 | +1% |
| 206 | Águilas | 24,436 | +1.5% |
| 207 | Vilagarcía de Arousa | 24,365 | +0.3% |
| 208 | Borriana/Burriana | 24,257 | +2.7% |
| 209 | Oleiros | 24,095 | +0.8% |
| 210 | Agüimes | 24,028 | +1.4% |
| 210 | Cambrils | 24,028 | +1% |
| 212 | Inca | 23,800 | +3.3% |
| 213 | Ontinyent | 23,799 | +0.4% |
| 214 | Yecla | 23,643 | +1% |
| 215 | Totana | 23,589 | +1.3% |
| 216 | Ingenio | 23,488 | +1.1% |
| 217 | Langreo | 23,390 | -0.3% |
| 218 | San Javier | 23,383 | +1.8% |
| 219 | San Roque | 23,225 | +1.9% |
| 220 | Teruel | 23,209 | +0.5% |
| 221 | Andújar | 23,161 | -0.7% |
| 222 | Cieza | 23,145 | -0.2% |
| 223 | Sant Joan Despí | 23,080 | +1.6% |
| 224 | Aldaia | 23,062 | +2.5% |
| 225 | Níjar | 22,984 | +0.5% |
| 226 | Arteixo | 22,932 | +1.5% |
| 227 | Ames | 22,835 | +1% |
| 228 | Castro-Urdiales | 22,829 | +0.2% |
| 229 | Petrer | 22,619 | -0.4% |
| 230 | Miranda de Ebro | 22,587 | +1.1% |
| 231 | Tortosa | 22,534 | +2.2% |
| 232 | Salt | 22,533 | +2.4% |
| 233 | Mazarrón | 22,458 | +1.6% |
| 234 | Almendralejo | 22,446 | +1.1% |
| 235 | Ciutadella de Menorca | 22,265 | +1.8% |
| 236 | Villena | 22,224 | +0.1% |
| 237 | Sant Josep de sa Talaia | 22,194 | +0.4% |
| 238 | Ronda | 22,088 | +0.3% |
| 239 | Úbeda | 22,073 | -0.9% |
| 240 | Illescas | 21,947 | +3% |
| 241 | Barberà del Vallès | 21,849 | +0.7% |
| 242 | La Oliva | 21,788 | +1.7% |
| 243 | Navalcarnero | 21,770 | +2.5% |
| 244 | Sitges | 21,706 | +1.1% |
| 245 | Mieres | 21,685 | -1% |
| 246 | Manises | 21,611 | +1.4% |
| 247 | Sant Pere de Ribes | 21,494 | +0.9% |
| 248 | Xirivella | 21,390 | +3.3% |
| 249 | Arcos de la Frontera | 21,186 | +0.2% |
| 250 | Salou | 21,178 | +0.8% |
Other periods
About this ranking
Resident population aged 16 to 64 on 1 January (INE annual census). Used as the working-age denominator.
Spain only. For EU countries and regions use population_15_64 (Eurostat age band).
Every value in the ranking comes from the same publisher and the same period, so the municipalities are compared on one definition. Equal values share a rank.
How to cite
Instituto Nacional de Estadística (INE). Censo anual de población: población de 16 a 64 años (tabla 68540). https://www.ine.es/jaxiT3/Tabla.htm?t=68540. Retrieved 2026-10-07.
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 aged 16 to 64 using official data, and cite the source.
rank_places {"indicator":"population_16_64","level":"municipality","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=population_16_64&level=municipality&within=Spain&limit=10
Questions
Which municipality has the highest population aged 16 to 64?
Madrid, with 2.29 million in 2024, according to the Instituto Nacional de Estadística.
Which municipality has the lowest population aged 16 to 64?
Illán de Vacas, with 1 in 2024.
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, Censo anual de población: población de 16 a 64 años (tabla 68540). Retrieved 2026-10-07.
Population aged 16 to 64: other rankings
- EU regions (NUTS 2)
- Autonomous communities of Spain
- Provinces of Spain
- Municipalities in Castile and León
- Municipalities in Catalonia
- Municipalities in Castilla-La Mancha
- Municipalities in Andalusia
- Municipalities in Aragon
- Municipalities in Valencian Community
- Municipalities in Extremadura
- Municipalities in Burgos province
- Municipalities in Salamanca province
Municipalities of Spain: more rankings
- Average age
- Live births
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Total fertility rate
- Foreign nationals share of population
- Gini index
- Life expectancy at birth
- Average net income per household
- Average net income per person
- Population
- Population aged 65 and over
- Population density
- Registered unemployment