Municipalities of Spain by active companies
Madrid had the highest active companies of 6902 municipalities in 2016, at 299,397. Zarapicos had the lowest, at 4. The median was 46 and the figure for Spain was 3.24 million. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2016
Full ranking
| Rank | Municipalities | 2016 | Change on 2015 |
|---|---|---|---|
| 1 | Madrid | 299,397 | +1.4% |
| 2 | Barcelona | 174,209 | +2.4% |
| 3 | València | 62,013 | +1.9% |
| 4 | Sevilla | 48,415 | +1.6% |
| 5 | Zaragoza | 45,477 | +0.8% |
| 6 | Málaga | 39,352 | +1.9% |
| 7 | Palma | 34,073 | +1.6% |
| 8 | Murcia | 32,265 | +2.2% |
| 9 | Bilbao | 27,991 | +2.1% |
| 10 | Las Palmas de Gran Canaria | 26,782 | +0.9% |
| 11 | Alacant/Alicante | 24,886 | +2.1% |
| 12 | Vigo | 22,843 | +1.4% |
| 13 | A Coruña | 21,106 | +1.1% |
| 14 | Córdoba | 21,069 | +0.6% |
| 15 | Valladolid | 19,666 | +0.8% |
| 16 | Granada | 18,313 | +1.3% |
| 17 | Gijón | 17,399 | +0.6% |
| 18 | Marbella | 16,869 | +6.3% |
| 19 | Donostia/San Sebastián | 16,816 | +1.1% |
| 20 | Elx/Elche | 16,298 | +3.8% |
| 21 | Oviedo | 15,975 | +0.3% |
| 22 | Santa Cruz de Tenerife | 15,432 | +1.8% |
| 23 | Vitoria-Gasteiz | 14,889 | +2.7% |
| 24 | Terrassa | 14,439 | +2% |
| 25 | Sabadell | 14,216 | +2.3% |
| 26 | Pamplona/Iruña | 14,088 | +1.7% |
| 27 | Burgos | 12,824 | +1.5% |
| 28 | Badalona | 12,782 | +1.5% |
| 29 | L'Hospitalet de Llobregat | 12,452 | +2.6% |
| 30 | Castelló de la Plana/Castellón de la Plana | 12,387 | +1.9% |
| 31 | Albacete | 12,367 | +0.6% |
| 32 | Almería | 11,848 | +2.5% |
| 33 | Santander | 11,563 | +1.5% |
| 34 | Logroño | 11,411 | +0.4% |
| 35 | Las Rozas de Madrid | 11,088 | +2.6% |
| 36 | Cartagena | 10,938 | +1.8% |
| 37 | Lleida | 10,752 | +1.4% |
| 38 | Fuenlabrada | 10,705 | +0.9% |
| 39 | Jerez de la Frontera | 10,674 | +1.2% |
| 40 | Pozuelo de Alarcón | 10,662 | +2% |
| 41 | Alcobendas | 10,409 | +3.5% |
| 42 | Salamanca | 10,155 | -0.2% |
| 43 | Badajoz | 10,044 | +3.2% |
| 44 | Sant Cugat del Vallès | 9,841 | +3.4% |
| 45 | Móstoles | 9,644 | +0.8% |
| 46 | León | 9,567 | -0.3% |
| 47 | Leganés | 9,310 | -0.5% |
| 48 | Ourense | 9,235 | +1.3% |
| 49 | Santiago de Compostela | 9,143 | +1.8% |
| 50 | Alcalá de Henares | 9,121 | +0.8% |
| 51 | Girona | 9,052 | +3.1% |
| 52 | Mataró | 8,997 | +1.9% |
| 53 | San Cristóbal de La Laguna | 8,994 | +2.3% |
| 54 | Alcorcón | 8,836 | -0.6% |
| 55 | Getafe | 8,766 | +2.8% |
| 56 | Lugo | 8,562 | +1.7% |
| 57 | Tarragona | 8,331 | +1.2% |
| 58 | Huelva | 7,411 | +1.2% |
| 59 | Jaén | 7,063 | +1.4% |
| 60 | Reus | 6,967 | +0.5% |
| 61 | San Sebastián de los Reyes | 6,966 | +1.4% |
| 62 | Cáceres | 6,921 | +2% |
| 63 | Dos Hermanas | 6,857 | +2.9% |
| 64 | Majadahonda | 6,676 | +1.9% |
| 65 | Pontevedra | 6,506 | +2.1% |
| 66 | Arona | 6,197 | +4.6% |
| 67 | Getxo | 6,069 | +1.7% |
| 68 | Torrejón de Ardoz | 6,046 | +1.4% |
| 69 | Fuengirola | 5,954 | +3.5% |
| 70 | Cádiz | 5,865 | -0.3% |
| 71 | Lorca | 5,852 | +2.1% |
| 72 | Rivas-Vaciamadrid | 5,688 | +3.7% |
| 73 | Mijas | 5,648 | +6% |
| 74 | Toledo | 5,626 | -0.8% |
| 75 | Algeciras | 5,596 | +1% |
| 76 | Ponferrada | 5,525 | +0.6% |
| 77 | Paterna | 5,497 | +3% |
| 78 | Torrevieja | 5,446 | +1% |
| 79 | Manresa | 5,376 | +0.7% |
| 80 | Benidorm | 5,326 | +0.1% |
| 81 | Boadilla del Monte | 5,324 | +4.7% |
| 82 | Orihuela | 5,251 | +1.9% |
| 83 | Roquetas de Mar | 5,235 | +2.3% |
| 84 | Castelldefels | 5,227 | +4.5% |
| 85 | San Bartolomé de Tirajana | 5,212 | +5.2% |
| 86 | Cornellà de Llobregat | 5,206 | +1.1% |
| 87 | Telde | 5,196 | +1.7% |
| 88 | Palencia | 5,188 | -1.1% |
| 89 | Ciudad Real | 5,138 | +1.9% |
| 90 | Granollers | 5,137 | -0.2% |
| 91 | Barakaldo | 5,126 | +1.8% |
| 92 | Talavera de la Reina | 5,045 | +0.1% |
| 93 | Estepona | 5,041 | +4.6% |
| 94 | Eivissa | 5,006 | +3.9% |
| 95 | Vélez-Málaga | 5,000 | +2% |
| 96 | El Puerto de Santa María | 4,922 | +3% |
| 97 | Irun | 4,893 | +1.7% |
| 98 | Gandia | 4,885 | +0.4% |
| 98 | Santa Coloma de Gramenet | 4,885 | +0.5% |
| 100 | Zamora | 4,855 | +0.5% |
| 101 | Benalmádena | 4,807 | +3.8% |
| 102 | Coslada | 4,789 | +0.6% |
| 103 | Rubí | 4,750 | +0.3% |
| 104 | Alcalá de Guadaíra | 4,741 | +2.2% |
| 105 | Molina de Segura | 4,731 | +2.6% |
| 106 | El Ejido | 4,725 | +0.7% |
| 107 | Torremolinos | 4,704 | +3.9% |
| 108 | Sant Boi de Llobregat | 4,680 | +0.8% |
| 109 | Guadalajara | 4,660 | +1.5% |
| 110 | Calvià | 4,644 | +3.4% |
| 111 | Torrent | 4,618 | +2.6% |
| 112 | Parla | 4,505 | +2.5% |
| 113 | Vilanova i la Geltrú | 4,439 | +1.8% |
| 114 | Adeje | 4,349 | +3.2% |
| 114 | Melilla | 4,349 | +6% |
| 116 | Avilés | 4,256 | +0.1% |
| 116 | Chiclana de la Frontera | 4,256 | +2.5% |
| 118 | Cerdanyola del Vallès | 4,193 | +0.8% |
| 119 | Dénia | 4,191 | +1.6% |
| 120 | Mérida | 4,177 | +3.1% |
| 121 | Huesca | 4,046 | +1.4% |
| 122 | Siero | 4,035 | +0.5% |
| 123 | Valdemoro | 4,000 | +1.1% |
| 124 | Arrecife | 3,932 | +1.8% |
| 125 | Vic | 3,923 | +2.4% |
| 126 | Elda | 3,911 | +2.1% |
| 127 | Arganda del Rey | 3,899 | +3.4% |
| 128 | Viladecans | 3,834 | +0.4% |
| 129 | Collado Villalba | 3,800 | +0.2% |
| 130 | Ceuta | 3,762 | +0.3% |
| 131 | Alcoi/Alcoy | 3,751 | +1% |
| 132 | Ferrol | 3,735 | -0.7% |
| 133 | Figueres | 3,731 | +2.9% |
| 134 | Cuenca | 3,712 | +1.6% |
| 135 | Segovia | 3,655 | +0.8% |
| 136 | Ávila | 3,609 | -1% |
| 137 | Sant Vicent del Raspeig/San Vicente del Raspeig | 3,564 | +2.7% |
| 138 | Sagunt/Sagunto | 3,543 | +1.4% |
| 139 | Igualada | 3,417 | +3.8% |
| 140 | El Prat de Llobregat | 3,388 | +1.3% |
| 141 | Tres Cantos | 3,373 | +1.4% |
| 142 | Villaviciosa de Odón | 3,333 | +2.5% |
| 143 | Esplugues de Llobregat | 3,311 | -0.9% |
| 143 | Gavà | 3,311 | +4.3% |
| 145 | Mairena del Aljarafe | 3,279 | +2.4% |
| 146 | Motril | 3,263 | +0.9% |
| 147 | Manacor | 3,226 | +2.5% |
| 148 | Vila-real | 3,221 | +3.7% |
| 149 | San Fernando | 3,193 | +0.1% |
| 150 | Torrelavega | 3,093 | +0.6% |
| 151 | Sanlúcar de Barrameda | 3,071 | +1.9% |
| 152 | Sitges | 3,037 | +4.7% |
| 153 | Santa Lucía de Tirajana | 3,025 | +4.6% |
| 154 | Pinto | 2,976 | -0.1% |
| 155 | Santa Eulària des Riu | 2,908 | +7.6% |
| 156 | Plasencia | 2,883 | -1.5% |
| 157 | Vilafranca del Penedès | 2,866 | +2.4% |
| 158 | Colmenar Viejo | 2,859 | +2.4% |
| 159 | Ontinyent | 2,858 | -3.2% |
| 160 | Puerto del Rosario | 2,827 | +1.4% |
| 161 | Aranjuez | 2,795 | -1% |
| 162 | Lucena | 2,791 | +1.3% |
| 163 | Soria | 2,790 | -1.5% |
| 164 | Alzira | 2,780 | -0.7% |
| 165 | Rincón de la Victoria | 2,740 | +5.2% |
| 166 | Xàbia/Jávea | 2,727 | +1% |
| 167 | Sant Feliu de Llobregat | 2,722 | +3.2% |
| 168 | Oleiros | 2,713 | +2.7% |
| 169 | Mollet del Vallès | 2,706 | +0.6% |
| 170 | Tudela | 2,663 | +1.8% |
| 171 | San Fernando de Henares | 2,657 | -0% |
| 172 | Montcada i Reixac | 2,653 | +0.8% |
| 173 | Linares | 2,651 | +2.8% |
| 174 | Granadilla de Abona | 2,636 | +6.8% |
| 175 | Teruel | 2,633 | +1.6% |
| 176 | Marratxí | 2,622 | +2.3% |
| 177 | Carballo | 2,616 | +2.3% |
| 178 | Llucmajor | 2,605 | +1.1% |
| 179 | Cambrils | 2,565 | +3% |
| 180 | Lloret de Mar | 2,561 | +3.9% |
| 181 | Barberà del Vallès | 2,560 | +0.7% |
| 182 | Yecla | 2,554 | +2.4% |
| 183 | Puerto de la Cruz | 2,552 | +0.4% |
| 184 | Basauri | 2,543 | +1.8% |
| 185 | Vilagarcía de Arousa | 2,516 | +1.1% |
| 186 | Alhaurín de la Torre | 2,502 | +2.3% |
| 186 | La Línea de la Concepción | 2,502 | +0.4% |
| 188 | Alcantarilla | 2,460 | +3.4% |
| 189 | Tomelloso | 2,452 | +1.1% |
| 190 | Almendralejo | 2,432 | +2.4% |
| 191 | Galapagar | 2,425 | +1.1% |
| 192 | Don Benito | 2,410 | +2.6% |
| 193 | La Orotava | 2,389 | +1% |
| 194 | Utrera | 2,366 | +3.1% |
| 195 | Petrer | 2,356 | +0.6% |
| 196 | Antequera | 2,354 | +0.2% |
| 197 | Torre-Pacheco | 2,350 | +2.6% |
| 198 | Torrelodones | 2,347 | +1.1% |
| 199 | Blanes | 2,345 | +3.4% |
| 200 | Arteixo | 2,340 | -1.8% |
| 201 | Portugalete | 2,335 | +1.9% |
| 202 | Olot | 2,332 | -0% |
| 203 | Sant Joan Despí | 2,307 | +1.1% |
| 204 | Maó | 2,306 | -1% |
| 205 | Écija | 2,303 | +1.4% |
| 206 | Ciutadella de Menorca | 2,292 | +0.1% |
| 207 | Úbeda | 2,275 | +1.7% |
| 208 | Tortosa | 2,273 | +1.5% |
| 209 | Altea | 2,256 | +0.9% |
| 210 | Ripollet | 2,248 | +1% |
| 211 | Aranda de Duero | 2,238 | +0.2% |
| 211 | Villarrobledo | 2,238 | +1.7% |
| 213 | El Vendrell | 2,229 | +2.3% |
| 214 | Narón | 2,224 | +2.3% |
| 215 | Culleredo | 2,206 | +1.4% |
| 216 | Santurtzi | 2,202 | +1.2% |
| 217 | Ronda | 2,199 | +1.8% |
| 218 | Errenteria | 2,178 | +1.3% |
| 219 | Ames | 2,169 | +2.6% |
| 220 | Leioa | 2,163 | +1.2% |
| 221 | Villena | 2,162 | +1.4% |
| 222 | La Rinconada | 2,158 | +1.7% |
| 223 | Vinaròs | 2,156 | +1.5% |
| 224 | Xàtiva | 2,155 | +1.4% |
| 225 | Humanes de Madrid | 2,139 | +1.4% |
| 226 | Camargo | 2,125 | +0.3% |
| 227 | Andújar | 2,124 | +0.8% |
| 228 | Sant Just Desvern | 2,110 | +6.9% |
| 229 | Arroyomolinos | 2,084 | +4.7% |
| 230 | Sant Pere de Ribes | 2,083 | +3.6% |
| 231 | El Masnou | 2,079 | +2.6% |
| 231 | San Javier | 2,079 | +4.9% |
| 233 | Tías | 2,065 | +2% |
| 234 | Borriana/Burriana | 2,059 | +2.2% |
| 235 | Miranda de Ebro | 2,058 | +0.7% |
| 236 | Langreo | 2,057 | +0.1% |
| 237 | Crevillent | 2,048 | +4.4% |
| 238 | Castro-Urdiales | 2,039 | -0.7% |
| 239 | Los Realejos | 2,037 | +2.3% |
| 240 | Molins de Rei | 2,035 | +1.3% |
| 241 | Mislata | 2,034 | +0.1% |
| 242 | Santa Perpètua de Mogoda | 2,019 | +2.1% |
| 243 | Sant Adrià de Besòs | 2,012 | +1.8% |
| 244 | el Campello | 2,005 | +1.7% |
| 245 | Castellar del Vallès | 2,000 | +3.1% |
| 246 | Valdepeñas | 1,994 | +1.5% |
| 247 | Inca | 1,990 | +1.2% |
| 247 | La Oliva | 1,990 | +7.3% |
| 249 | Puertollano | 1,988 | -1.2% |
| 250 | Riba-roja de Túria | 1,969 | +3.8% |
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. 457 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). 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, 2016) [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, 2016. 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?period=2016. 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, 2016. 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?period=2016.
Harvard
Instituto Nacional de Estadística (2026) Directorio central de empresas: empresas activas por municipio (tabla 4721), Municipalities of Spain by active companies, 2016 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=4721, via Invokely: https://invokely.ai/rankings/active-companies/spain-municipalities?period=2016 (Accessed: 12 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2016,
author = {{Instituto Nacional de Estadística}},
title = {{Directorio central de empresas: empresas activas por municipio (tabla 4721): Municipalities of Spain by active companies, 2016}},
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?period=2016. 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, 2016
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?period=2016
Y2 - 2026/10/12
N1 - Accessed via Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities?period=2016.
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 299,397 in 2016, according to the Instituto Nacional de Estadística.
Which municipality has the lowest active companies?
Zarapicos, with 4 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, Directorio central de empresas: empresas activas por municipio (tabla 4721). Retrieved 2026-10-12. 457 municipalities have no value for 2016 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