Municipalities of Spain by active companies, 2025
Madrid had the highest active companies of 6925 municipalities in 2025, at 297,693. Zorita de la Frontera had the lowest, at 4. The median was 46 and the figure for Spain was 3.31 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2025
Full ranking
| Rank | Municipalities | 2025 | Change on 2024 |
|---|---|---|---|
| 1 | Madrid | 297,693 | +2.9% |
| 2 | Barcelona | 174,088 | +1.7% |
| 3 | València | 70,256 | +4.2% |
| 4 | Sevilla | 49,304 | +1.5% |
| 5 | Málaga | 43,994 | +3.8% |
| 6 | Zaragoza | 42,897 | +1.2% |
| 7 | Palma | 36,623 | +2.8% |
| 8 | Murcia | 32,516 | +1.8% |
| 9 | Alacant/Alicante | 26,372 | +3.6% |
| 10 | Las Palmas de Gran Canaria | 26,003 | +1.6% |
| 11 | Bilbao | 25,457 | +0.5% |
| 12 | Córdoba | 21,289 | +1.3% |
| 13 | Vigo | 21,112 | +0.4% |
| 14 | Marbella | 20,829 | +3.8% |
| 15 | A Coruña | 19,100 | +1.9% |
| 16 | Granada | 18,942 | +2.4% |
| 17 | Valladolid | 18,326 | +1.1% |
| 18 | Gijón | 17,221 | +0.7% |
| 19 | Elx/Elche | 16,775 | +2% |
| 20 | Santa Cruz de Tenerife | 15,440 | +2.9% |
| 21 | Donostia/San Sebastián | 15,258 | -0.6% |
| 22 | Oviedo | 15,038 | +0.1% |
| 23 | Terrassa | 14,413 | +1.8% |
| 24 | Sabadell | 14,177 | +0.7% |
| 25 | L'Hospitalet de Llobregat | 14,026 | +2.1% |
| 26 | Pamplona/Iruña | 13,854 | +4.6% |
| 27 | Badalona | 13,662 | +1.6% |
| 28 | Vitoria-Gasteiz | 13,014 | -0.7% |
| 29 | Castelló de la Plana/Castellón de la Plana | 12,710 | +1.4% |
| 30 | Almería | 12,340 | +2.4% |
| 31 | Burgos | 11,815 | +0.6% |
| 32 | Santander | 11,655 | +1.6% |
| 33 | Jerez de la Frontera | 11,566 | +2% |
| 34 | Albacete | 11,517 | +0.2% |
| 35 | Cartagena | 10,996 | +1.2% |
| 36 | Pozuelo de Alarcón | 10,835 | +1.4% |
| 37 | Sant Cugat del Vallès | 10,760 | +1.3% |
| 38 | Las Rozas de Madrid | 10,623 | +1% |
| 39 | Logroño | 10,543 | +1.4% |
| 40 | Alcobendas | 10,393 | +3.4% |
| 41 | Fuenlabrada | 10,090 | +0.7% |
| 42 | Lleida | 10,052 | +0.8% |
| 43 | Alcalá de Henares | 9,786 | +2.5% |
| 44 | Badajoz | 9,762 | +2.4% |
| 45 | Girona | 9,692 | +1.8% |
| 46 | Getafe | 9,655 | +2.4% |
| 47 | San Cristóbal de La Laguna | 9,394 | +0.8% |
| 48 | Mataró | 9,347 | +0.5% |
| 49 | Leganés | 9,301 | +0.6% |
| 50 | Móstoles | 9,200 | +1.4% |
| 51 | Salamanca | 9,180 | 0% |
| 52 | Alcorcón | 8,883 | +2.1% |
| 53 | Santiago de Compostela | 8,751 | +1.5% |
| 54 | Mijas | 8,606 | +6.5% |
| 55 | León | 8,510 | +0.7% |
| 56 | Tarragona | 8,121 | +1.7% |
| 57 | Ourense | 8,096 | +0.8% |
| 58 | Dos Hermanas | 7,801 | +2.2% |
| 59 | Lugo | 7,635 | +1% |
| 60 | Fuengirola | 7,437 | +4.8% |
| 61 | Huelva | 7,363 | +1.7% |
| 62 | Estepona | 7,015 | +6.3% |
| 63 | Torrevieja | 7,004 | +9.3% |
| 64 | Benalmádena | 6,968 | +4.8% |
| 65 | Reus | 6,894 | +0.8% |
| 66 | Jaén | 6,867 | +0.5% |
| 67 | San Sebastián de los Reyes | 6,837 | +2.1% |
| 68 | Boadilla del Monte | 6,811 | +3% |
| 69 | Arona | 6,771 | +2.9% |
| 70 | Rivas-Vaciamadrid | 6,717 | +0.6% |
| 71 | Cáceres | 6,696 | +2.1% |
| 72 | Majadahonda | 6,667 | +1.3% |
| 73 | Torrejón de Ardoz | 6,457 | +1.9% |
| 74 | Roquetas de Mar | 6,193 | +3.5% |
| 75 | Vélez-Málaga | 6,136 | +3.1% |
| 76 | Eivissa | 6,108 | +4.6% |
| 77 | Paterna | 6,101 | +3.3% |
| 78 | Pontevedra | 6,090 | +0.2% |
| 79 | Orihuela | 6,056 | +3.3% |
| 80 | Cádiz | 5,851 | +0.1% |
| 81 | Torremolinos | 5,827 | +3.8% |
| 82 | Toledo | 5,707 | +1.2% |
| 83 | Lorca | 5,703 | +1.7% |
| 84 | Castelldefels | 5,686 | +0.8% |
| 85 | Telde | 5,640 | +3.4% |
| 86 | Benidorm | 5,606 | +4.6% |
| 87 | Getxo | 5,519 | -0.4% |
| 88 | Algeciras | 5,511 | +1% |
| 89 | Torrent | 5,453 | +4.2% |
| 90 | Santa Coloma de Gramenet | 5,448 | +2.8% |
| 91 | Parla | 5,376 | +2.9% |
| 92 | Adeje | 5,342 | +2.9% |
| 93 | Manresa | 5,317 | +0.1% |
| 94 | Calvià | 5,311 | +1.9% |
| 95 | Chiclana de la Frontera | 5,244 | +2.8% |
| 96 | Cornellà de Llobregat | 5,213 | +1.4% |
| 97 | San Bartolomé de Tirajana | 5,203 | +2.8% |
| 98 | Gandia | 5,166 | +3.6% |
| 99 | El Ejido | 5,162 | +3.6% |
| 100 | Molina de Segura | 5,134 | +1.3% |
| 101 | El Puerto de Santa María | 5,132 | +1.1% |
| 102 | Granollers | 5,074 | +2.1% |
| 103 | Ciudad Real | 4,952 | +1.7% |
| 104 | Alcalá de Guadaíra | 4,937 | +1.1% |
| 105 | Talavera de la Reina | 4,877 | -0.9% |
| 106 | Dénia | 4,797 | +3% |
| 107 | Rubí | 4,795 | -0.2% |
| 108 | Vilanova i la Geltrú | 4,765 | +1.3% |
| 109 | Barakaldo | 4,648 | -0.9% |
| 110 | Ponferrada | 4,547 | +0.5% |
| 111 | Valdemoro | 4,484 | +3.6% |
| 112 | Coslada | 4,434 | +1.2% |
| 113 | Palencia | 4,406 | -0.5% |
| 114 | Melilla | 4,396 | +1% |
| 115 | Zamora | 4,331 | -0.9% |
| 116 | Sant Boi de Llobregat | 4,308 | -1.5% |
| 117 | Irun | 4,297 | -1% |
| 118 | Guadalajara | 4,217 | +0.8% |
| 119 | Santa Eulària des Riu | 4,215 | +5% |
| 120 | Arganda del Rey | 4,203 | +2.8% |
| 121 | Arrecife | 4,153 | +3.9% |
| 122 | Mérida | 4,016 | +1.1% |
| 123 | Cerdanyola del Vallès | 3,911 | -1.1% |
| 124 | Siero | 3,891 | -0.2% |
| 125 | Collado Villalba | 3,874 | +0.3% |
| 126 | Vic | 3,846 | +1.6% |
| 127 | Alcoi/Alcoy | 3,765 | +1.3% |
| 128 | Avilés | 3,755 | +0.2% |
| 129 | Viladecans | 3,746 | +1.5% |
| 130 | Mairena del Aljarafe | 3,727 | +2.8% |
| 131 | Rincón de la Victoria | 3,684 | +4% |
| 131 | Sagunt/Sagunto | 3,684 | +4.6% |
| 133 | Huesca | 3,666 | +0.2% |
| 134 | Manacor | 3,657 | +1.8% |
| 135 | Elda | 3,631 | +1.2% |
| 136 | Santa Lucía de Tirajana | 3,594 | +3.5% |
| 137 | Sant Vicent del Raspeig/San Vicente del Raspeig | 3,592 | +2.1% |
| 138 | Tres Cantos | 3,586 | +3.5% |
| 139 | Sitges | 3,559 | +1.9% |
| 140 | Sanlúcar de Barrameda | 3,555 | +1.7% |
| 141 | San Fernando | 3,448 | +0.7% |
| 142 | Granadilla de Abona | 3,437 | +4.1% |
| 143 | Cuenca | 3,433 | +1.6% |
| 144 | Xàbia/Jávea | 3,408 | +4.7% |
| 145 | Ávila | 3,374 | -0.1% |
| 146 | Segovia | 3,350 | +1.4% |
| 147 | Alhaurín de la Torre | 3,327 | +3.5% |
| 148 | Igualada | 3,324 | +0.4% |
| 149 | Figueres | 3,309 | +0.1% |
| 150 | Pinto | 3,306 | +4.5% |
| 151 | Colmenar Viejo | 3,305 | +3.9% |
| 152 | Motril | 3,301 | +3.1% |
| 153 | Gavà | 3,281 | -0.9% |
| 154 | Esplugues de Llobregat | 3,272 | +0.1% |
| 155 | El Prat de Llobregat | 3,239 | +0.8% |
| 156 | Ceuta | 3,236 | -2% |
| 157 | Vila-real | 3,147 | +2% |
| 158 | Ferrol | 3,127 | +0.6% |
| 159 | Villaviciosa de Odón | 3,108 | +2.7% |
| 160 | Lloret de Mar | 3,087 | +4.3% |
| 161 | Puerto del Rosario | 3,027 | +3.8% |
| 162 | Llucmajor | 2,987 | +4.1% |
| 162 | Oleiros | 2,987 | +2.8% |
| 164 | Aranjuez | 2,969 | +2.6% |
| 165 | Marratxí | 2,956 | +0.3% |
| 166 | Lucena | 2,924 | +1.6% |
| 167 | Alzira | 2,913 | +3% |
| 168 | La Oliva | 2,904 | +5% |
| 169 | Vilafranca del Penedès | 2,874 | +1.9% |
| 170 | Torrelavega | 2,841 | +0.2% |
| 171 | Sant Feliu de Llobregat | 2,833 | +0.5% |
| 172 | Arroyomolinos | 2,779 | +1.2% |
| 173 | Plasencia | 2,755 | +1.7% |
| 174 | Utrera | 2,741 | +3.6% |
| 175 | Cambrils | 2,733 | +0.7% |
| 176 | Yecla | 2,684 | +2.8% |
| 177 | Galapagar | 2,667 | +0.9% |
| 178 | Ciutadella de Menorca | 2,647 | +0.5% |
| 179 | Torrelodones | 2,637 | +4.3% |
| 180 | Ontinyent | 2,620 | -0.8% |
| 181 | Soria | 2,611 | +1% |
| 182 | La Línea de la Concepción | 2,603 | +3.2% |
| 183 | Montcada i Reixac | 2,602 | +0.2% |
| 184 | Maó | 2,597 | +2.7% |
| 185 | Mollet del Vallès | 2,596 | +0.2% |
| 186 | Linares | 2,582 | +0.6% |
| 187 | Tudela | 2,560 | +2.2% |
| 188 | Santa Pola | 2,551 | +4.6% |
| 189 | San Fernando de Henares | 2,544 | +2% |
| 190 | La Orotava | 2,538 | +0.7% |
| 191 | Vilagarcía de Arousa | 2,531 | +0.4% |
| 192 | Blanes | 2,521 | +1.2% |
| 193 | San Roque | 2,511 | +5.8% |
| 194 | Sant Josep de sa Talaia | 2,504 | +3.6% |
| 195 | Almendralejo | 2,493 | -0.2% |
| 196 | Teruel | 2,491 | +1% |
| 196 | Torre-Pacheco | 2,491 | +2.2% |
| 198 | Alcantarilla | 2,482 | +2.6% |
| 199 | El Vendrell | 2,479 | +3% |
| 200 | Puerto de la Cruz | 2,478 | +2.4% |
| 201 | Don Benito | 2,468 | +2.2% |
| 202 | Carballo | 2,461 | -1.3% |
| 203 | Sant Pere de Ribes | 2,452 | +0.2% |
| 204 | Altea | 2,451 | +3.1% |
| 205 | Olot | 2,443 | +1.3% |
| 206 | Barberà del Vallès | 2,420 | -1% |
| 207 | Antequera | 2,400 | +1.8% |
| 208 | Tomelloso | 2,386 | +0.6% |
| 209 | Inca | 2,366 | +4.6% |
| 210 | Écija | 2,351 | +0.2% |
| 211 | el Campello | 2,338 | +3.3% |
| 212 | Ronda | 2,334 | +0.2% |
| 213 | San Javier | 2,333 | +3% |
| 214 | Sant Joan Despí | 2,315 | -0.5% |
| 215 | Ames | 2,288 | +1.6% |
| 216 | Úbeda | 2,270 | +0.6% |
| 216 | Villanueva de la Cañada | 2,270 | +1.8% |
| 218 | Sant Adrià de Besòs | 2,267 | +3.2% |
| 219 | Calp | 2,263 | +3.2% |
| 220 | Mislata | 2,257 | +5.2% |
| 221 | la Vila Joiosa/Villajoyosa | 2,256 | +6.6% |
| 222 | La Rinconada | 2,239 | +1.2% |
| 223 | Almuñécar | 2,224 | +3.4% |
| 224 | Ripollet | 2,213 | +0.4% |
| 225 | Petrer | 2,207 | +0.5% |
| 226 | Alhaurín el Grande | 2,206 | +5.7% |
| 227 | Sant Just Desvern | 2,202 | +0.5% |
| 228 | Los Realejos | 2,193 | +1.1% |
| 229 | Illescas | 2,187 | +2.6% |
| 230 | Arteixo | 2,162 | -0.1% |
| 230 | Villena | 2,162 | +0.9% |
| 232 | Aranda de Duero | 2,161 | +0.1% |
| 233 | Tortosa | 2,158 | +1.6% |
| 234 | Culleredo | 2,143 | +0.6% |
| 235 | El Masnou | 2,135 | +0.4% |
| 236 | Bétera | 2,131 | +2.8% |
| 237 | Basauri | 2,127 | -0.7% |
| 238 | Camargo | 2,112 | -0.3% |
| 239 | Sant Antoni de Portmany | 2,111 | +4.2% |
| 240 | Andújar | 2,110 | +1.2% |
| 241 | Xàtiva | 2,109 | +1.8% |
| 242 | Humanes de Madrid | 2,096 | -0.4% |
| 243 | Vinaròs | 2,093 | +1.5% |
| 244 | Sant Quirze del Vallès | 2,089 | -0.3% |
| 245 | Molins de Rei | 2,083 | -1% |
| 246 | Riba-roja de Túria | 2,073 | +0.6% |
| 247 | Castro-Urdiales | 2,069 | +0.2% |
| 248 | Manises | 2,060 | +3.5% |
| 249 | Águilas | 2,037 | +0.6% |
| 250 | Leioa | 2,032 | +1.4% |
Other periods
About this ranking
Active companies on 1 January (INE Central Business Directory, DIRCE).
Every value in the ranking comes from the same publisher and the same period, so the municipalities are compared on one definition. 434 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). Directorio central de empresas: empresas activas por municipio (tabla 4721). https://www.ine.es/jaxiT3/Tabla.htm?t=4721. Retrieved 2026-10-12.
Citation styles
APA 7
Instituto Nacional de Estadística. (2026). Directorio central de empresas: empresas activas por municipio (tabla 4721) (Municipalities of Spain by active companies, 2025) [Data set]. Retrieved October 12, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=4721
MLA 9
Directorio central de empresas: empresas activas por municipio (tabla 4721), Municipalities of Spain by active companies, 2025. Instituto Nacional de Estadística, 7 Oct. 2026, https://www.ine.es/jaxiT3/Tabla.htm?t=4721. Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities. Accessed 12 Oct. 2026.
Chicago (author-date)
Instituto Nacional de Estadística. 2026. Directorio central de empresas: empresas activas por municipio (tabla 4721). Municipalities of Spain by active companies, 2025. Dataset. Accessed October 12, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=4721. Also distributed by Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities.
Harvard
Instituto Nacional de Estadística (2026) Directorio central de empresas: empresas activas por municipio (tabla 4721), Municipalities of Spain by active companies, 2025 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=4721, via Invokely: https://invokely.ai/rankings/active-companies/spain-municipalities (Accessed: 12 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2025,
author = {{Instituto Nacional de Estadística}},
title = {{Directorio central de empresas: empresas activas por municipio (tabla 4721): Municipalities of Spain by active companies, 2025}},
year = {2026},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=4721},
urldate = {2026-10-12},
note = {Accessed via Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities. Publisher attribution: Instituto Nacional de Estadística (INE). Directorio central de empresas: empresas activas por municipio (tabla 4721). https://www.ine.es/jaxiT3/Tabla.htm?t=4721. Retrieved 2026-10-12.},
}
RIS
TY - DATA
AU - Instituto Nacional de Estadística
TI - Directorio central de empresas: empresas activas por municipio (tabla 4721): Municipalities of Spain by active companies, 2025
PY - 2026
DA - 2026/10/07
PB - Instituto Nacional de Estadística
DB - Invokely
UR - https://www.ine.es/jaxiT3/Tabla.htm?t=4721
L2 - https://invokely.ai/rankings/active-companies/spain-municipalities
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities.
N1 - Publisher attribution: Instituto Nacional de Estadística (INE). Directorio central de empresas: empresas activas por municipio (tabla 4721). https://www.ine.es/jaxiT3/Tabla.htm?t=4721. Retrieved 2026-10-12.
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 active companies using official data, and cite the source.
rank_places {"indicator":"active_companies","level":"municipality","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=active_companies&level=municipality&within=Spain&limit=10
Questions
Which municipality has the highest active companies?
Madrid, with 297,693 in 2025, according to the Instituto Nacional de Estadística.
Which municipality has the lowest active companies?
Zorita de la Frontera, with 4 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, Directorio central de empresas: empresas activas por municipio (tabla 4721). Retrieved 2026-10-12. 434 municipalities have no value for 2025 and are not ranked.
Active companies: other rankings
- Municipalities in Balearic Islands province
- Municipalities in Galicia
- Municipalities in Castilla-La Mancha
- EU regions (NUTS 2)
- Provinces of Spain
- Autonomous communities of Spain