Municipalities of Spain by active companies

Madrid had the highest active companies of 6887 municipalities in 2015, at 295,131. Zaorejas had the lowest, at 4. The median was 46 and the figure for Spain was 3.19 million. Source: the Instituto Nacional de Estadística.

Keep it in a collection in your library.
Highest295,131Madrid
Lowest4Zaorejas
Median466887 municipalities
Spain3,186,878History

Top 40 municipalities, 2015

Madrid: 295,131 countMadrid295,131Barcelona: 170,197 countBarcelona170,197València: 60,879 countValència60,879Sevilla: 47,662 countSevilla47,662Zaragoza: 45,120 countZaragoza45,120Málaga: 38,628 countMálaga38,628Palma: 33,525 countPalma33,525Murcia: 31,556 countMurcia31,556Bilbao: 27,403 countBilbao27,403Las Palmas de Gran Canaria: 26,553 countLas Palmas de Gran Canaria26,553Alacant/Alicante: 24,384 countAlacant/Alicante24,384Vigo: 22,530 countVigo22,530Córdoba: 20,938 countCórdoba20,938A Coruña: 20,880 countA Coruña20,880Valladolid: 19,506 countValladolid19,506Granada: 18,082 countGranada18,082Gijón: 17,293 countGijón17,293Donostia/San Sebastián: 16,626 countDonostia/San Sebastián16,626Oviedo: 15,920 countOviedo15,920Marbella: 15,876 countMarbella15,876Elx/Elche: 15,708 countElx/Elche15,708Santa Cruz de Tenerife: 15,165 countSanta Cruz de Tenerife15,165Vitoria-Gasteiz: 14,497 countVitoria-Gasteiz14,497Terrassa: 14,150 countTerrassa14,150Sabadell: 13,892 countSabadell13,892Pamplona/Iruña: 13,859 countPamplona/Iruña13,859Burgos: 12,639 countBurgos12,639Badalona: 12,593 countBadalona12,593Albacete: 12,298 countAlbacete12,298Castelló de la Plana/Castellón de la Plana: 12,157 countCastelló de la Plana/Castellón de…12,157L'Hospitalet de Llobregat: 12,137 countL'Hospitalet de Llobregat12,137Almería: 11,561 countAlmería11,561Santander: 11,394 countSantander11,394Logroño: 11,361 countLogroño11,361Las Rozas de Madrid: 10,808 countLas Rozas de Madrid10,808Cartagena: 10,740 countCartagena10,740Fuenlabrada: 10,608 countFuenlabrada10,608Lleida: 10,600 countLleida10,600Jerez de la Frontera: 10,549 countJerez de la Frontera10,549Pozuelo de Alarcón: 10,451 countPozuelo de Alarcón10,451Madrid: 295,131 countMadrid295,131Barcelona: 170,197 countBarcelona170,197València: 60,879 countValència60,879Sevilla: 47,662 countSevilla47,662Zaragoza: 45,120 countZaragoza45,120Málaga: 38,628 countMálaga38,628Palma: 33,525 countPalma33,525Murcia: 31,556 countMurcia31,556Bilbao: 27,403 countBilbao27,403Las Palmas de Gran Canaria: 26,553 countLas Palmas de Gran Canaria26,553Alacant/Alicante: 24,384 countAlacant/Alicante24,384Vigo: 22,530 countVigo22,530Córdoba: 20,938 countCórdoba20,938A Coruña: 20,880 countA Coruña20,880Valladolid: 19,506 countValladolid19,506Granada: 18,082 countGranada18,082Gijón: 17,293 countGijón17,293Donostia/San Sebastián: 16,626 countDonostia/San Sebastián16,626Oviedo: 15,920 countOviedo15,920Marbella: 15,876 countMarbella15,876Elx/Elche: 15,708 countElx/Elche15,708Santa Cruz de Tenerife: 15,165 countSanta Cruz de Tenerife15,165Vitoria-Gasteiz: 14,497 countVitoria-Gasteiz14,497Terrassa: 14,150 countTerrassa14,150Sabadell: 13,892 countSabadell13,892Pamplona/Iruña: 13,859 countPamplona/Iruña13,859Burgos: 12,639 countBurgos12,639Badalona: 12,593 countBadalona12,593Albacete: 12,298 countAlbacete12,298Castelló de la Plana/Castellón de la Plana: 12,157 countCastelló de la Plana/Castellón de la Plana12,157L'Hospitalet de Llobregat: 12,137 countL'Hospitalet de Llobregat12,137Almería: 11,561 countAlmería11,561Santander: 11,394 countSantander11,394Logroño: 11,361 countLogroño11,361Las Rozas de Madrid: 10,808 countLas Rozas de Madrid10,808Cartagena: 10,740 countCartagena10,740Fuenlabrada: 10,608 countFuenlabrada10,608Lleida: 10,600 countLleida10,600Jerez de la Frontera: 10,549 countJerez de la Frontera10,549Pozuelo de Alarcón: 10,451 countPozuelo de Alarcón10,451
count. Source: INE, Directorio central de empresas: empresas activas por municipio (tabla 4721). Retrieved 2026-10-12.

Full ranking

RankMunicipalities2015
count
Change on 2014
1Madrid295,131+2.5%
2Barcelona170,197+1.6%
3València60,879+1.6%
4Sevilla47,662+2.6%
5Zaragoza45,120+2.6%
6Málaga38,628+3.1%
7Palma33,525+3.5%
8Murcia31,556+4.1%
9Bilbao27,403-0.4%
10Las Palmas de Gran Canaria26,553+3.1%
11Alacant/Alicante24,384+3.3%
12Vigo22,530+2.2%
13Córdoba20,938+1.8%
14A Coruña20,880+2.2%
15Valladolid19,506+1.6%
16Granada18,082+2.8%
17Gijón17,293+2.2%
18Donostia/San Sebastián16,626-1.2%
19Oviedo15,920+2%
20Marbella15,876+3.5%
21Elx/Elche15,708+4.6%
22Santa Cruz de Tenerife15,165+3.2%
23Vitoria-Gasteiz14,497-1.3%
24Terrassa14,150+0.9%
25Sabadell13,892+1.3%
26Pamplona/Iruña13,859+5%
27Burgos12,639+2.8%
28Badalona12,593+0.3%
29Albacete12,298+2.9%
30Castelló de la Plana/Castellón de la Plana12,157+1.7%
31L'Hospitalet de Llobregat12,137+1.7%
32Almería11,561+2.8%
33Santander11,394+1.6%
34Logroño11,361+4.4%
35Las Rozas de Madrid10,808+3.8%
36Cartagena10,740+2.6%
37Fuenlabrada10,608+3.5%
38Lleida10,600-0.6%
39Jerez de la Frontera10,549+1.3%
40Pozuelo de Alarcón10,451+2.9%
41Salamanca10,173+0.4%
42Alcobendas10,056+3.6%
43Badajoz9,734+3.3%
44León9,600+0.1%
45Móstoles9,567+3.1%
46Sant Cugat del Vallès9,515+2.8%
47Leganés9,357+1.7%
48Ourense9,114+1.9%
49Alcalá de Henares9,047+3.7%
50Santiago de Compostela8,979+2.1%
51Alcorcón8,891+1.7%
52Mataró8,827+2.4%
53San Cristóbal de La Laguna8,789+1.3%
54Girona8,780+2.5%
55Getafe8,526+4.4%
56Lugo8,420+1.8%
57Tarragona8,233+0.5%
58Huelva7,324+1.1%
59Jaén6,963+0.2%
60Reus6,935+1.5%
61San Sebastián de los Reyes6,870+5%
62Cáceres6,783+3.6%
63Dos Hermanas6,664+4.4%
64Majadahonda6,549+4.1%
65Pontevedra6,372+1.8%
66Getxo5,968-0.9%
67Torrejón de Ardoz5,965+4.1%
68Arona5,924+6%
69Cádiz5,883-1.1%
70Fuengirola5,753+4.4%
71Lorca5,731+2.7%
72Toledo5,672+2.1%
73Algeciras5,540+2.1%
74Ponferrada5,490+1.4%
75Rivas-Vaciamadrid5,485+7%
76Torrevieja5,390+4.3%
77Manresa5,341+0.9%
78Paterna5,339+4.7%
79Mijas5,328+8%
80Benidorm5,323-2.2%
81Palencia5,244-0.9%
82Orihuela5,151+4.3%
83Cornellà de Llobregat5,150+1%
84Granollers5,145+1.9%
85Roquetas de Mar5,116+3%
86Telde5,111+1.8%
87Boadilla del Monte5,085+4.3%
88Ciudad Real5,040+0.8%
89Talavera de la Reina5,039+2.9%
90Barakaldo5,036+1.5%
91Castelldefels5,000+2%
92San Bartolomé de Tirajana4,953+6.3%
93Vélez-Málaga4,901+4%
94Gandia4,864+2.6%
95Santa Coloma de Gramenet4,861+0.4%
96Zamora4,831+0.2%
97Estepona4,819+5.7%
98Eivissa4,816+2.8%
99Irun4,810-0.3%
100El Puerto de Santa María4,780+1.2%
101Coslada4,762+1.6%
102Rubí4,737+2.5%
103El Ejido4,691+2.5%
104Sant Boi de Llobregat4,645+1.6%
105Alcalá de Guadaíra4,639+4.5%
106Benalmádena4,631+4%
107Molina de Segura4,613+4.2%
108Guadalajara4,591+2.2%
109Torremolinos4,529+3.3%
110Torrent4,500+3.9%
111Calvià4,493+0.6%
112Parla4,393+3.6%
113Vilanova i la Geltrú4,361+3.8%
114Avilés4,253+0.9%
115Adeje4,215+8%
116Cerdanyola del Vallès4,158+0.2%
117Chiclana de la Frontera4,153+1.4%
118Dénia4,126+4%
119Melilla4,102+9.3%
120Mérida4,052+4.9%
121Siero4,014+1.5%
122Huesca3,989+2.4%
123Valdemoro3,956+2.1%
124Arrecife3,861+4.2%
125Elda3,832-0.2%
126Vic3,830+0.8%
127Viladecans3,818+1.1%
128Collado Villalba3,793+2.7%
129Arganda del Rey3,771+2.8%
130Ferrol3,762+1.6%
131Ceuta3,749+4.4%
132Alcoi/Alcoy3,714+2.8%
133Cuenca3,653+3.2%
134Ávila3,645+2.6%
135Figueres3,627+2.5%
136Segovia3,6260%
137Sagunt/Sagunto3,493+1.2%
138Sant Vicent del Raspeig/San Vicente del Raspeig3,470+5.3%
139El Prat de Llobregat3,343+2.4%
140Esplugues de Llobregat3,340+0.8%
141Tres Cantos3,326+3.7%
142Igualada3,293+0.2%
143Villaviciosa de Odón3,252+0.9%
144Motril3,2350%
145Mairena del Aljarafe3,201+3.3%
146San Fernando3,191+2.8%
147Gavà3,175-1.3%
148Manacor3,147+5.5%
149Vila-real3,107+0.6%
150Torrelavega3,075+1.5%
151Sanlúcar de Barrameda3,013+3%
152Pinto2,980+2.9%
153Ontinyent2,951+1.7%
154Plasencia2,926+2.1%
155Sitges2,901+3.9%
156Santa Lucía de Tirajana2,893+5.2%
157Soria2,832+1.4%
158Aranjuez2,822+3.4%
159Alzira2,799+2.9%
160Vilafranca del Penedès2,798+2.2%
161Colmenar Viejo2,793+1.7%
162Puerto del Rosario2,789+3.8%
163Lucena2,755+0.6%
164Santa Eulària des Riu2,703+5.7%
165Xàbia/Jávea2,700+5.3%
166Mollet del Vallès2,689+0.2%
167San Fernando de Henares2,658+2.7%
168Oleiros2,642+0.5%
169Sant Feliu de Llobregat2,638+2.4%
170Montcada i Reixac2,631+1.5%
171Tudela2,616+3.1%
172Rincón de la Victoria2,605+4.5%
173Teruel2,592+3.3%
174Linares2,578+3.2%
175Llucmajor2,576+3.4%
176Marratxí2,562+2.7%
177Carballo2,558+1.4%
178Barberà del Vallès2,5420%
178Puerto de la Cruz2,542+0.8%
180Basauri2,497-0.4%
181Yecla2,493+5.9%
182La Línea de la Concepción2,492+0.1%
183Cambrils2,491+0.8%
184Vilagarcía de Arousa2,489+4.1%
185Granadilla de Abona2,469+3.7%
186Lloret de Mar2,464+2.6%
187Alhaurín de la Torre2,445+1.7%
188Tomelloso2,425+2.2%
189Galapagar2,398+3.1%
190Arteixo2,382+0.8%
191Alcantarilla2,378+2.9%
192Almendralejo2,376+0.6%
193La Orotava2,365+3.7%
194Antequera2,350+2.1%
195Don Benito2,348+3.1%
196Petrer2,341+5.4%
197Olot2,333+2.1%
198Maó2,329+1.3%
199Torrelodones2,321+6.5%
200Utrera2,294+2.7%
201Portugalete2,291-0.8%
201Torre-Pacheco2,291+3.1%
203Ciutadella de Menorca2,290+2.3%
204Sant Joan Despí2,281+1.3%
205Écija2,272+2.9%
206Blanes2,267+2.2%
207Tortosa2,239-0.8%
208Altea2,236-1.8%
208Úbeda2,236-0.1%
210Aranda de Duero2,234+1.3%
211Ripollet2,225+2.2%
212Villarrobledo2,200+0.5%
213El Vendrell2,178-0%
214Culleredo2,176+1.1%
214Santurtzi2,176+2.7%
216Narón2,173+2.9%
217Ronda2,160+1.8%
218Errenteria2,150-1.5%
219Leioa2,138+2%
220Villena2,133+2.7%
221Xàtiva2,125+1.4%
222Vinaròs2,124+3.3%
223La Rinconada2,121+0.7%
224Camargo2,118+1.1%
225Ames2,114+4.8%
226Humanes de Madrid2,110+3%
227Andújar2,108+2.5%
228Langreo2,054+1.2%
229Castro-Urdiales2,053+2.6%
230Miranda de Ebro2,044+0.2%
231Mislata2,032+3%
232El Masnou2,027+4.1%
233Tías2,024+3.5%
234Borriana/Burriana2,014+1.9%
235Puertollano2,013-0.2%
236Sant Pere de Ribes2,011+2.9%
237Molins de Rei2,008+0.7%
238Los Realejos1,992+4.3%
239Arroyomolinos1,990+7.8%
240San Javier1,981+7%
241Sant Adrià de Besòs1,977+0.8%
241Santa Perpètua de Mogoda1,977-0.5%
243Sant Just Desvern1,974+2.1%
244el Campello1,972+7.2%
245Inca1,966+3%
246Valdepeñas1,964+5.5%
247Crevillent1,962+3.2%
248Aldaia1,956+3.6%
249Burjassot1,947+1%
250Alcázar de San Juan1,944+3.8%

Showing the top 250 of 6887. The Excel download has every row.

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. 472 municipalities with data in other periods have no value for 2015 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

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

Instituto Nacional de Estadística. (2026). Directorio central de empresas: empresas activas por municipio (tabla 4721) (Municipalities of Spain by active companies, 2015) [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, 2015. 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=2015. 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, 2015. 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=2015.

Harvard

Instituto Nacional de Estadística (2026) Directorio central de empresas: empresas activas por municipio (tabla 4721), Municipalities of Spain by active companies, 2015 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=4721, via Invokely: https://invokely.ai/rankings/active-companies/spain-municipalities?period=2015 (Accessed: 12 October 2026).

BibTeX
@misc{instituto_municipalities_of_spain_by_2015,
  author = {{Instituto Nacional de Estadística}},
  title = {{Directorio central de empresas: empresas activas por municipio (tabla 4721): Municipalities of Spain by active companies, 2015}},
  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=2015. 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, 2015
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=2015
Y2  - 2026/10/12
N1  - Accessed via Invokely, https://invokely.ai/rankings/active-companies/spain-municipalities?period=2015.
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  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which municipality has the highest active companies?

Madrid, with 295,131 in 2015, according to the Instituto Nacional de Estadística.

Which municipality has the lowest active companies?

Zaorejas, with 4 in 2015.

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. 472 municipalities have no value for 2015 and are not ranked.

Active companies: other rankings

Municipalities of Spain: more rankings