Municipalities of Spain by active companies

Madrid had the highest active companies of 6886 municipalities in 2014, at 287,918. Zaorejas had the lowest, at 4. The median was 46 and the figure for Spain was 3.12 million. Source: the Instituto Nacional de Estadística.

Keep it in a collection in your library.
Highest287,918Madrid
Lowest4Zaorejas
Median466886 municipalities
Spain3,119,310History

Top 40 municipalities, 2014

Madrid: 287,918 countMadrid287,918Barcelona: 167,439 countBarcelona167,439València: 59,924 countValència59,924Sevilla: 46,462 countSevilla46,462Zaragoza: 43,988 countZaragoza43,988Málaga: 37,480 countMálaga37,480Palma: 32,384 countPalma32,384Murcia: 30,312 countMurcia30,312Bilbao: 27,508 countBilbao27,508Las Palmas de Gran Canaria: 25,761 countLas Palmas de Gran Canaria25,761Alacant/Alicante: 23,597 countAlacant/Alicante23,597Vigo: 22,052 countVigo22,052Córdoba: 20,576 countCórdoba20,576A Coruña: 20,431 countA Coruña20,431Valladolid: 19,208 countValladolid19,208Granada: 17,586 countGranada17,586Gijón: 16,916 countGijón16,916Donostia/San Sebastián: 16,831 countDonostia/San Sebastián16,831Oviedo: 15,615 countOviedo15,615Marbella: 15,339 countMarbella15,339Elx/Elche: 15,011 countElx/Elche15,011Santa Cruz de Tenerife: 14,701 countSanta Cruz de Tenerife14,701Vitoria-Gasteiz: 14,685 countVitoria-Gasteiz14,685Terrassa: 14,017 countTerrassa14,017Sabadell: 13,712 countSabadell13,712Pamplona/Iruña: 13,200 countPamplona/Iruña13,200Badalona: 12,554 countBadalona12,554Burgos: 12,290 countBurgos12,290Castelló de la Plana/Castellón de la Plana: 11,959 countCastelló de la Plana/Castellón de…11,959Albacete: 11,954 countAlbacete11,954L'Hospitalet de Llobregat: 11,933 countL'Hospitalet de Llobregat11,933Almería: 11,250 countAlmería11,250Santander: 11,210 countSantander11,210Logroño: 10,885 countLogroño10,885Lleida: 10,663 countLleida10,663Cartagena: 10,472 countCartagena10,472Jerez de la Frontera: 10,409 countJerez de la Frontera10,409Las Rozas de Madrid: 10,409 countLas Rozas de Madrid10,409Fuenlabrada: 10,248 countFuenlabrada10,248Pozuelo de Alarcón: 10,154 countPozuelo de Alarcón10,154Madrid: 287,918 countMadrid287,918Barcelona: 167,439 countBarcelona167,439València: 59,924 countValència59,924Sevilla: 46,462 countSevilla46,462Zaragoza: 43,988 countZaragoza43,988Málaga: 37,480 countMálaga37,480Palma: 32,384 countPalma32,384Murcia: 30,312 countMurcia30,312Bilbao: 27,508 countBilbao27,508Las Palmas de Gran Canaria: 25,761 countLas Palmas de Gran Canaria25,761Alacant/Alicante: 23,597 countAlacant/Alicante23,597Vigo: 22,052 countVigo22,052Córdoba: 20,576 countCórdoba20,576A Coruña: 20,431 countA Coruña20,431Valladolid: 19,208 countValladolid19,208Granada: 17,586 countGranada17,586Gijón: 16,916 countGijón16,916Donostia/San Sebastián: 16,831 countDonostia/San Sebastián16,831Oviedo: 15,615 countOviedo15,615Marbella: 15,339 countMarbella15,339Elx/Elche: 15,011 countElx/Elche15,011Santa Cruz de Tenerife: 14,701 countSanta Cruz de Tenerife14,701Vitoria-Gasteiz: 14,685 countVitoria-Gasteiz14,685Terrassa: 14,017 countTerrassa14,017Sabadell: 13,712 countSabadell13,712Pamplona/Iruña: 13,200 countPamplona/Iruña13,200Badalona: 12,554 countBadalona12,554Burgos: 12,290 countBurgos12,290Castelló de la Plana/Castellón de la Plana: 11,959 countCastelló de la Plana/Castellón de la Plana11,959Albacete: 11,954 countAlbacete11,954L'Hospitalet de Llobregat: 11,933 countL'Hospitalet de Llobregat11,933Almería: 11,250 countAlmería11,250Santander: 11,210 countSantander11,210Logroño: 10,885 countLogroño10,885Lleida: 10,663 countLleida10,663Cartagena: 10,472 countCartagena10,472Jerez de la Frontera: 10,409 countJerez de la Frontera10,409Las Rozas de Madrid: 10,409 countLas Rozas de Madrid10,409Fuenlabrada: 10,248 countFuenlabrada10,248Pozuelo de Alarcón: 10,154 countPozuelo de Alarcón10,154
count. Source: INE, Directorio central de empresas: empresas activas por municipio (tabla 4721). Retrieved 2026-10-12.

Full ranking

RankMunicipalities2014
count
Change on 2013
1Madrid287,918-0.6%
2Barcelona167,439-1.4%
3València59,924-1.8%
4Sevilla46,462-1.7%
5Zaragoza43,988+0.3%
6Málaga37,480+0.7%
7Palma32,384-2.1%
8Murcia30,312+0.3%
9Bilbao27,508-3.6%
10Las Palmas de Gran Canaria25,761-1.8%
11Alacant/Alicante23,597-1.2%
12Vigo22,052-1.5%
13Córdoba20,576+0.5%
14A Coruña20,431-0.8%
15Valladolid19,208-2.8%
16Granada17,586-2.1%
17Gijón16,916-0.8%
18Donostia/San Sebastián16,831-2.6%
19Oviedo15,615-0.8%
20Marbella15,339+3.7%
21Elx/Elche15,011-1.8%
22Santa Cruz de Tenerife14,701-2.5%
23Vitoria-Gasteiz14,685-2.9%
24Terrassa14,017-0.1%
25Sabadell13,712-0.4%
26Pamplona/Iruña13,200+1.8%
27Badalona12,554-1.4%
28Burgos12,290-1.7%
29Castelló de la Plana/Castellón de la Plana11,959-1.3%
30Albacete11,954+1%
31L'Hospitalet de Llobregat11,933-0.3%
32Almería11,250-2.7%
33Santander11,210-2.6%
34Logroño10,885-0.3%
35Lleida10,663-2%
36Cartagena10,472-1.2%
37Jerez de la Frontera10,409-0.5%
37Las Rozas de Madrid10,409+1.1%
39Fuenlabrada10,248-0.2%
40Pozuelo de Alarcón10,154+0.5%
41Salamanca10,130-2.5%
42Alcobendas9,710+1.6%
43León9,594-2.2%
44Badajoz9,423-0.6%
45Móstoles9,280-1.6%
46Sant Cugat del Vallès9,255+1.1%
47Leganés9,200-0.7%
48Ourense8,941-0.6%
49Santiago de Compostela8,797-1%
50Alcorcón8,744-0.5%
51Alcalá de Henares8,7270%
52San Cristóbal de La Laguna8,677-1.4%
53Mataró8,622-0.2%
54Girona8,564+1.4%
55Lugo8,272+0.2%
56Tarragona8,188-2.5%
57Getafe8,169+0.1%
58Huelva7,244-2.6%
59Jaén6,946-0.7%
60Reus6,833-1.4%
61Cáceres6,549-0.6%
62San Sebastián de los Reyes6,545+2.5%
63Dos Hermanas6,385-0.9%
64Majadahonda6,292-1.5%
65Pontevedra6,259-1.5%
66Getxo6,025-3.1%
67Cádiz5,951-4.2%
68Torrejón de Ardoz5,729+0.3%
69Arona5,590+0.6%
70Lorca5,582-4.6%
71Toledo5,555-0.2%
72Fuengirola5,510+2.4%
73Benidorm5,444-1.1%
74Algeciras5,424-0.6%
75Ponferrada5,415-0.6%
76Manresa5,295-1.2%
77Palencia5,294-1%
78Torrevieja5,167-0.2%
79Rivas-Vaciamadrid5,127+1.9%
80Cornellà de Llobregat5,100-0.1%
80Paterna5,100-0.3%
82Granollers5,050-0.6%
83Telde5,022-0.3%
84Ciudad Real4,998+0.4%
85Roquetas de Mar4,967-1.9%
86Barakaldo4,963-1.2%
87Orihuela4,939-1.2%
88Mijas4,935+3.4%
89Castelldefels4,901-1.3%
90Talavera de la Reina4,896-4.2%
91Boadilla del Monte4,875+2.8%
92Santa Coloma de Gramenet4,840-1.7%
93Irun4,824-5.9%
94Zamora4,822-0.9%
95Gandia4,741-4%
96El Puerto de Santa María4,725-0.6%
97Vélez-Málaga4,714+0.3%
98Coslada4,685-1.1%
99Eivissa4,683+2%
100San Bartolomé de Tirajana4,660-0.3%
101Rubí4,620-0.7%
102El Ejido4,575-1.3%
103Sant Boi de Llobregat4,574-0.1%
104Estepona4,557+3%
105Guadalajara4,492-1.3%
106Calvià4,467-3%
107Benalmádena4,452+3.1%
108Alcalá de Guadaíra4,438+0.8%
109Molina de Segura4,425-2.3%
110Torremolinos4,384+3%
111Torrent4,331-4.4%
112Parla4,241+0.4%
113Avilés4,216+0.7%
114Vilanova i la Geltrú4,202-1.6%
115Cerdanyola del Vallès4,150-1.6%
116Chiclana de la Frontera4,096-0.5%
117Dénia3,969-3.7%
118Siero3,955-0.6%
119Adeje3,903+3.4%
120Huesca3,896+2.7%
121Valdemoro3,874+0.2%
122Mérida3,864-2.4%
123Elda3,841-1.1%
124Vic3,800+0.6%
125Viladecans3,777-1%
126Melilla3,754-1.1%
127Arrecife3,706-0.7%
128Ferrol3,701-2.6%
129Collado Villalba3,693+0.5%
130Arganda del Rey3,670+0.2%
131Segovia3,626-6.3%
132Alcoi/Alcoy3,614-0.7%
133Ceuta3,590-0.6%
134Ávila3,551-0.9%
135Cuenca3,541-0.1%
136Figueres3,540+1.2%
137Sagunt/Sagunto3,453-2.6%
138Esplugues de Llobregat3,314-1.3%
139Sant Vicent del Raspeig/San Vicente del Raspeig3,294-0.2%
140Igualada3,287-1%
141El Prat de Llobregat3,265-1.1%
142Motril3,234-0.5%
143Villaviciosa de Odón3,222-1.9%
144Gavà3,217-1.1%
145Tres Cantos3,206+0.1%
146San Fernando3,103-0.2%
147Mairena del Aljarafe3,100-1%
148Vila-real3,089-2.2%
149Torrelavega3,030-1.9%
150Manacor2,984-2.4%
151Sanlúcar de Barrameda2,925+0.1%
152Ontinyent2,901-1.6%
153Pinto2,895+0.5%
154Plasencia2,8650%
155Sitges2,793+2.1%
156Soria2,792-0.7%
157Santa Lucía de Tirajana2,751-3.1%
158Colmenar Viejo2,747+1.3%
159Lucena2,738+0.7%
160Vilafranca del Penedès2,737-2.1%
161Aranjuez2,730+0.8%
162Alzira2,721-3.7%
163Puerto del Rosario2,686-0.9%
164Mollet del Vallès2,684-3.6%
165Oleiros2,628-1.5%
166Montcada i Reixac2,591-1.3%
167San Fernando de Henares2,589-0.5%
168Sant Feliu de Llobregat2,577-0.4%
169Xàbia/Jávea2,565-1.9%
170Santa Eulària des Riu2,558+1.2%
171Barberà del Vallès2,542+1.5%
172Tudela2,538+2%
173Carballo2,522-1.4%
173Puerto de la Cruz2,522-0.6%
175Teruel2,509+1%
176Basauri2,508-2.8%
177Linares2,498-5.5%
178Marratxí2,495-1.1%
179Rincón de la Victoria2,492+2.4%
180Llucmajor2,491-2.3%
181La Línea de la Concepción2,489-1.8%
182Cambrils2,471-1.3%
183Alhaurín de la Torre2,405+4.7%
184Lloret de Mar2,402+0.8%
185Vilagarcía de Arousa2,391-2%
186Granadilla de Abona2,380+0.3%
187Tomelloso2,372-1.3%
188Arteixo2,364-0%
189Almendralejo2,361+1.3%
190Yecla2,354+4.1%
191Galapagar2,326-1.2%
192Alcantarilla2,311+1.4%
193Portugalete2,310-2%
194Antequera2,302+0.9%
195Maó2,299+1%
196Olot2,284-0.8%
197La Orotava2,281+0.9%
198Altea2,278+0.9%
199Don Benito2,277-0.3%
200Tortosa2,257-1.7%
201Sant Joan Despí2,252+1%
202Ciutadella de Menorca2,239+1.1%
202Úbeda2,239+0.2%
204Utrera2,234-2.3%
205Petrer2,222+0.9%
205Torre-Pacheco2,222+0.6%
207Blanes2,219-1.2%
208Écija2,207-0.8%
209Aranda de Duero2,206+1.7%
210Villarrobledo2,188+0.8%
211Errenteria2,183-2.2%
212Torrelodones2,180-0.2%
213El Vendrell2,179-1.4%
214Ripollet2,177+0.5%
215Culleredo2,153+1.5%
216Ronda2,121+0.4%
217Santurtzi2,118-1.7%
218Narón2,112+1.1%
219La Rinconada2,106-0.4%
220Leioa2,097-2.7%
221Camargo2,095-0.4%
221Xàtiva2,095-0.3%
223Villena2,077-0.7%
224Vinaròs2,057-3.1%
225Andújar2,056-0.2%
226Humanes de Madrid2,048-0.8%
227Miranda de Ebro2,040-2.9%
228Langreo2,029-0.2%
229Ames2,018-0.1%
229Puertollano2,018-1.5%
231Castro-Urdiales2,001-0.9%
232Molins de Rei1,995-0.1%
233Santa Perpètua de Mogoda1,987-2.5%
234Borriana/Burriana1,976-3.1%
235Mislata1,972-3.5%
236Sant Adrià de Besòs1,962-1.1%
237Castellar del Vallès1,959-1.3%
238Tías1,956+1.5%
239Sant Pere de Ribes1,954-1.4%
240El Masnou1,947-1.5%
241Sant Just Desvern1,933+1.7%
242Burjassot1,928+0.2%
243Galdakao1,923-4.5%
244Los Realejos1,910-0.6%
245Inca1,909-2.6%
246Crevillent1,901-1%
247Sant Quirze del Vallès1,893+3%
248l'Alfàs del Pi1,890+0.9%
249Aldaia1,888-0.3%
250Erandio1,880-0.7%

Showing the top 250 of 6886. 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. 473 municipalities with data in other periods have no value for 2014 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, 2014) [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, 2014. 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=2014. 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, 2014. 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=2014.

Harvard

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

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

Which municipality has the lowest active companies?

Zaorejas, with 4 in 2014.

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

Active companies: other rankings

Municipalities of Spain: more rankings