Municipalities of Spain by population aged 16 to 64
Madrid had the highest population aged 16 to 64 of 8131 municipalities in 2022, at 2.16 million. Villarroya had the lowest, at 1. The median was 317 and the figure for Spain was 30.91 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2022
Full ranking
| Rank | Municipalities | 2022 | Change on 2021 |
|---|---|---|---|
| 1 | Madrid | 2,157,942 | -0.2% |
| 2 | Barcelona | 1,060,409 | -0.8% |
| 3 | València | 512,092 | +0.4% |
| 4 | Sevilla | 441,666 | -0.4% |
| 5 | Zaragoza | 427,888 | -1.3% |
| 6 | Málaga | 381,670 | +0.1% |
| 7 | Murcia | 306,593 | +0.2% |
| 8 | Palma | 288,993 | -1.1% |
| 9 | Las Palmas de Gran Canaria | 260,970 | +0.1% |
| 10 | Alacant/Alicante | 222,213 | +0.4% |
| 11 | Bilbao | 217,014 | -0.9% |
| 12 | Córdoba | 208,642 | -0.2% |
| 13 | Vigo | 186,081 | -0.7% |
| 14 | Valladolid | 177,593 | -1.4% |
| 15 | L'Hospitalet de Llobregat | 174,973 | +1.3% |
| 16 | Gijón | 164,633 | -0.9% |
| 17 | Vitoria-Gasteiz | 158,899 | -0.4% |
| 18 | Elx/Elche | 156,204 | +0.2% |
| 19 | A Coruña | 151,686 | -0.5% |
| 20 | Granada | 145,931 | -2% |
| 21 | Terrassa | 145,640 | +0.2% |
| 22 | Badalona | 143,435 | +0.3% |
| 23 | Jerez de la Frontera | 141,825 | +0.2% |
| 24 | Cartagena | 140,509 | +0.5% |
| 25 | Santa Cruz de Tenerife | 140,437 | 0% |
| 26 | Sabadell | 138,724 | -0.9% |
| 27 | Oviedo | 134,872 | -1.9% |
| 28 | Móstoles | 131,544 | -0.8% |
| 29 | Almería | 130,583 | -1.3% |
| 30 | Fuenlabrada | 130,432 | -2.4% |
| 31 | Alcalá de Henares | 129,424 | -0.1% |
| 32 | Pamplona/Iruña | 128,883 | -0.1% |
| 33 | Getafe | 118,593 | +0.8% |
| 34 | Leganés | 117,494 | -0.2% |
| 35 | Donostia/San Sebastián | 116,690 | -0.7% |
| 36 | Albacete | 114,666 | -0.8% |
| 37 | Castelló de la Plana/Castellón de la Plana | 112,194 | -0.5% |
| 38 | San Cristóbal de La Laguna | 110,577 | -0.3% |
| 39 | Alcorcón | 107,248 | +0.5% |
| 40 | Burgos | 107,184 | -1.1% |
| 41 | Santander | 106,011 | -0.8% |
| 42 | Marbella | 101,654 | +0.4% |
| 43 | Badajoz | 99,181 | -0.5% |
| 44 | Logroño | 94,715 | -1.1% |
| 45 | Huelva | 92,467 | -0.4% |
| 46 | Dos Hermanas | 92,379 | +0.9% |
| 47 | Torrejón de Ardoz | 91,280 | +1.6% |
| 48 | Lleida | 91,145 | +0.4% |
| 49 | Tarragona | 87,946 | -1.1% |
| 50 | Parla | 86,722 | -0.5% |
| 51 | Salamanca | 85,111 | -1.3% |
| 52 | Mataró | 83,870 | -1.1% |
| 53 | Algeciras | 80,319 | -0.8% |
| 54 | Alcobendas | 76,666 | -0.3% |
| 55 | Santa Coloma de Gramenet | 75,371 | -0.8% |
| 56 | Jaén | 73,372 | -0.4% |
| 57 | Telde | 73,346 | +0.1% |
| 58 | Roquetas de Mar | 72,602 | +4.9% |
| 59 | León | 72,502 | -1.6% |
| 60 | Cádiz | 71,322 | -1.3% |
| 61 | Reus | 68,363 | +0.9% |
| 62 | Girona | 67,812 | 0% |
| 63 | Rivas-Vaciamadrid | 67,686 | +3% |
| 64 | Lorca | 64,362 | +1.1% |
| 65 | Las Rozas de Madrid | 63,765 | +1% |
| 66 | Ourense | 63,468 | -1% |
| 67 | Cáceres | 63,239 | -0.7% |
| 68 | Sant Cugat del Vallès | 63,177 | +2.3% |
| 69 | Barakaldo | 63,069 | -0.4% |
| 70 | San Fernando | 62,410 | -0.9% |
| 71 | Santiago de Compostela | 62,132 | -0.2% |
| 72 | Lugo | 61,440 | -0.8% |
| 73 | El Ejido | 60,706 | +6.2% |
| 74 | San Sebastián de los Reyes | 60,655 | -0.5% |
| 75 | Arona | 60,131 | +0.2% |
| 76 | El Puerto de Santa María | 59,664 | +0.9% |
| 77 | Chiclana de la Frontera | 59,657 | +1.4% |
| 78 | Mijas | 59,593 | +2.1% |
| 79 | Cornellà de Llobregat | 57,673 | -0.1% |
| 80 | Guadalajara | 57,238 | +0.1% |
| 81 | Torrent | 56,483 | +1.2% |
| 82 | Pozuelo de Alarcón | 56,308 | +0.3% |
| 83 | Vélez-Málaga | 55,833 | +2.5% |
| 84 | Melilla | 55,826 | -1.3% |
| 85 | Ceuta | 55,746 | -0.6% |
| 86 | Toledo | 55,344 | -0.8% |
| 87 | Valdemoro | 55,142 | +2.6% |
| 88 | Santa Lucía de Tirajana | 54,928 | +1.5% |
| 89 | Sant Boi de Llobregat | 53,554 | -0.7% |
| 90 | Talavera de la Reina | 53,424 | -0.3% |
| 91 | Pontevedra | 52,995 | -0.9% |
| 92 | Rubí | 52,601 | +0.8% |
| 93 | Torrevieja | 52,489 | +0.5% |
| 94 | Coslada | 52,301 | -2% |
| 95 | Fuengirola | 52,118 | +0.3% |
| 96 | Alcalá de Guadaíra | 50,330 | +0.9% |
| 97 | Gandia | 50,245 | +0.4% |
| 98 | Orihuela | 50,197 | +2.9% |
| 99 | Molina de Segura | 50,191 | +1.2% |
| 100 | Benalmádena | 49,532 | +4.4% |
| 101 | Ciudad Real | 49,311 | -1% |
| 102 | Estepona | 48,822 | +3% |
| 103 | Manresa | 48,609 | -1.4% |
| 104 | Paterna | 47,379 | +0.5% |
| 105 | Avilés | 47,256 | -1.8% |
| 106 | Palencia | 46,852 | -1.9% |
| 107 | Majadahonda | 46,785 | +0.1% |
| 108 | Sanlúcar de Barrameda | 46,269 | +0.1% |
| 109 | Getxo | 46,013 | -1.6% |
| 110 | Arrecife | 45,776 | -1.5% |
| 111 | Torremolinos | 45,771 | +1.5% |
| 112 | Castelldefels | 45,510 | +0.3% |
| 113 | Collado Villalba | 44,950 | +0.7% |
| 114 | Benidorm | 44,798 | -0.8% |
| 115 | Viladecans | 43,906 | -0.1% |
| 116 | Vilanova i la Geltrú | 43,889 | +0.1% |
| 117 | Sagunt/Sagunto | 43,593 | +1.7% |
| 118 | La Línea de la Concepción | 42,673 | +0.4% |
| 119 | Boadilla del Monte | 41,611 | +6.7% |
| 120 | El Prat de Llobregat | 41,599 | -1.2% |
| 121 | Granollers | 40,495 | -1.3% |
| 122 | Sant Vicent del Raspeig/San Vicente del Raspeig | 40,274 | +0.8% |
| 123 | Irun | 39,560 | -0.9% |
| 124 | Mérida | 39,556 | -0.5% |
| 125 | Motril | 39,494 | +0.5% |
| 126 | Ponferrada | 39,433 | -1.8% |
| 127 | Aranjuez | 39,300 | -0.1% |
| 128 | Arganda del Rey | 39,140 | +1.8% |
| 129 | San Bartolomé de Tirajana | 38,581 | +1.4% |
| 130 | Ferrol | 38,450 | -1.4% |
| 131 | Granadilla de Abona | 38,303 | +0.9% |
| 132 | Alcoi/Alcoy | 37,850 | -0.2% |
| 133 | Cerdanyola del Vallès | 37,222 | -0.7% |
| 134 | Ávila | 36,901 | -0.2% |
| 135 | Pinto | 36,868 | +1% |
| 136 | Eivissa | 36,724 | +0.2% |
| 137 | Zamora | 36,360 | -2.3% |
| 138 | Adeje | 36,344 | +0.5% |
| 139 | Colmenar Viejo | 36,297 | +1.4% |
| 140 | Calvià | 36,249 | +0.4% |
| 141 | Linares | 36,026 | -1.9% |
| 142 | Cuenca | 35,515 | -1% |
| 143 | Utrera | 34,363 | +0.7% |
| 144 | Tres Cantos | 34,098 | +1.7% |
| 145 | Rincón de la Victoria | 33,984 | +1.2% |
| 146 | Vila-real | 33,982 | +0.4% |
| 147 | Mollet del Vallès | 33,873 | -0.3% |
| 148 | Huesca | 33,442 | -0.9% |
| 149 | Siero | 33,290 | -0.5% |
| 150 | Elda | 33,265 | -1.1% |
| 151 | Segovia | 31,691 | -1.7% |
| 152 | Mairena del Aljarafe | 31,589 | +0.3% |
| 153 | Vic | 31,260 | 0% |
| 154 | Torrelavega | 31,149 | -0.9% |
| 155 | Gavà | 30,612 | +0.1% |
| 156 | Puerto del Rosario | 30,566 | +0.3% |
| 157 | Figueres | 30,531 | -0.1% |
| 158 | Manacor | 30,255 | +1.1% |
| 159 | Alzira | 29,882 | +1.1% |
| 160 | Mislata | 29,473 | +0.3% |
| 161 | Sant Feliu de Llobregat | 29,352 | +0.4% |
| 162 | Santa Eulària des Riu | 29,334 | +0.8% |
| 163 | Dénia | 29,167 | +2% |
| 164 | La Orotava | 29,073 | +0.1% |
| 165 | Santurtzi | 28,724 | -1.2% |
| 166 | Alcantarilla | 28,703 | +0.3% |
| 167 | Puerto Real | 28,690 | -0% |
| 168 | Alhaurín de la Torre | 28,669 | +2.2% |
| 169 | Esplugues de Llobregat | 28,650 | -1.4% |
| 170 | Puertollano | 28,622 | -1.6% |
| 171 | Lucena | 28,533 | -0.1% |
| 172 | Antequera | 27,411 | -0.6% |
| 173 | La Rinconada | 27,319 | +1.5% |
| 174 | San Fernando de Henares | 27,130 | -1.9% |
| 175 | Portugalete | 27,049 | -1.7% |
| 176 | Arucas | 27,033 | -0.5% |
| 177 | Blanes | 26,682 | +0.9% |
| 178 | Llucmajor | 26,392 | +0.7% |
| 179 | Écija | 26,259 | -0.4% |
| 180 | Burjassot | 26,255 | +0.4% |
| 181 | Lloret de Mar | 26,186 | +0.6% |
| 182 | Marratxí | 26,086 | +1.3% |
| 183 | Plasencia | 25,935 | -1% |
| 184 | Ripollet | 25,829 | -0.3% |
| 185 | Igualada | 25,795 | -0.1% |
| 186 | Los Palacios y Villafranca | 25,718 | -0% |
| 187 | Vilafranca del Penedès | 25,624 | +0.1% |
| 188 | Los Realejos | 25,477 | -0% |
| 189 | Torre-Pacheco | 25,157 | +2.5% |
| 190 | El Vendrell | 24,943 | +0.4% |
| 191 | Narón | 24,886 | +0.3% |
| 192 | Soria | 24,856 | -1.9% |
| 193 | Don Benito | 24,759 | -0.3% |
| 194 | Basauri | 24,555 | -0.9% |
| 195 | Montcada i Reixac | 24,411 | -1.3% |
| 196 | Vilagarcía de Arousa | 24,316 | +0.4% |
| 197 | Errenteria | 24,189 | -0.2% |
| 198 | Sant Adrià de Besòs | 24,152 | -0.6% |
| 199 | Azuqueca de Henares | 24,125 | -0.4% |
| 200 | Galapagar | 24,016 | +0.5% |
| 201 | Tudela | 24,000 | +0.2% |
| 202 | Santa Pola | 23,977 | +5.3% |
| 203 | Tomelloso | 23,903 | +0.2% |
| 204 | Olot | 23,876 | +1.4% |
| 205 | Águilas | 23,820 | +1.2% |
| 206 | Langreo | 23,806 | -1.9% |
| 207 | Ontinyent | 23,640 | -0.3% |
| 208 | Oleiros | 23,638 | +0.7% |
| 209 | Andújar | 23,584 | -0.9% |
| 210 | Arroyomolinos | 23,425 | +3.5% |
| 211 | Cieza | 23,267 | +0.2% |
| 212 | Cambrils | 23,261 | +1.9% |
| 213 | Agüimes | 23,224 | -0.4% |
| 214 | Yecla | 23,219 | +0.7% |
| 215 | la Vila Joiosa/Villajoyosa | 23,175 | -0.1% |
| 216 | Borriana/Burriana | 23,036 | +0.7% |
| 217 | Teruel | 22,895 | -1.4% |
| 218 | Ingenio | 22,873 | +0.3% |
| 219 | Petrer | 22,761 | -0.5% |
| 220 | Castro-Urdiales | 22,719 | +0.2% |
| 221 | Inca | 22,607 | +0.6% |
| 222 | San Javier | 22,453 | +2.6% |
| 223 | Úbeda | 22,434 | -0.8% |
| 224 | Totana | 22,432 | +0.5% |
| 225 | Ames | 22,343 | +0.3% |
| 225 | Mieres | 22,343 | -2.4% |
| 227 | Arteixo | 22,300 | +0.2% |
| 227 | San Roque | 22,300 | +2.7% |
| 229 | Sant Joan Despí | 22,283 | -0.1% |
| 230 | Miranda de Ebro | 22,234 | -1.5% |
| 231 | Ronda | 22,155 | -0.8% |
| 232 | Villena | 22,152 | -0.2% |
| 233 | Almendralejo | 22,051 | -0.3% |
| 234 | Níjar | 22,004 | +0.4% |
| 235 | Aldaia | 21,922 | +1.3% |
| 236 | Mazarrón | 21,636 | +1.6% |
| 237 | Barberà del Vallès | 21,506 | +0.3% |
| 238 | Sant Josep de sa Talaia | 21,451 | +1.6% |
| 239 | Tortosa | 21,430 | +0.8% |
| 240 | Salt | 21,399 | +1.1% |
| 241 | Ciutadella de Menorca | 21,222 | +0.9% |
| 242 | Sant Pere de Ribes | 21,180 | +0.3% |
| 243 | Arcos de la Frontera | 21,149 | +0.2% |
| 244 | Manises | 21,008 | +0.5% |
| 245 | Sitges | 20,907 | +3.7% |
| 246 | Navalcarnero | 20,800 | +1.8% |
| 247 | Aranda de Duero | 20,662 | -0.5% |
| 248 | Illescas | 20,607 | +1.1% |
| 249 | Leioa | 20,583 | -0.4% |
| 250 | Hellín | 20,554 | +0.5% |
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. 1 municipalities with data in other periods have no value for 2022 and are left out rather than filled from another source. 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.16 million in 2022, according to the Instituto Nacional de Estadística.
Which municipality has the lowest population aged 16 to 64?
Villarroya, with 1 in 2022.
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. 1 municipalities have no value for 2022 and are not ranked.
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