List of municipalities of Spain

Municipalities of Spain. 2004
Madrid, capital of Spain
Cartagena.

This is a list of lists of the municipalities of Spain. The municipalities list links are listed below, by autonomous community and province.

According to the provisional reports released on 1 January 2018,[1] there is a total of 8,124 municipalities in Spain, including the autonomous cities of Ceuta and Melilla. Burgos is the province with the most municipalities (371) and Las Palmas the one with the least (34).

Autonomous community/provinceListNo. of municipalities[2]
 AndalusiaMunicipalities in Andalusia778
Almería provinceMunicipalities in Almería103
Cádiz provinceMunicipalities in Cádiz44
Córdoba provinceMunicipalities in Córdoba75
Granada provinceMunicipalities in Granada172
Huelva provinceMunicipalities in Huelva79
Jaén provinceMunicipalities in Jaén97
Málaga provinceMunicipalities in Málaga103
Seville provinceMunicipalities in Seville105
 AragonMunicipalities in Aragon731
Huesca provinceMunicipalities in Huesca202
Teruel provinceMunicipalities in Teruel236
Zaragoza provinceMunicipalities in Zaragoza293
 Asturias*Municipalities in the Principality of Asturias78
 Balearic Islands*Municipalities in the Balearic Islands67
 Basque CountryMunicipalities in the Basque Autonomous Community251
ÁlavaMunicipalities in Álava51
BiscayMunicipalities in Biscay112
GipuzkoaMunicipalities in Gipuzkoa88
 Canary IslandsMunicipalities in the Canary Islands88
Las Palmas provinceMunicipalities in Las Palmas34
Santa Cruz de Tenerife provinceMunicipalities in Santa Cruz de Tenerife54
 Cantabria*Municipalities in Cantabria102
 Castile and LeónMunicipalities in Castile and León2,248
Ávila provinceMunicipalities in Ávila248
Burgos provinceMunicipalities in Burgos371
León provinceMunicipalities in León211
Palencia provinceMunicipalities in Palencia191
Salamanca provinceMunicipalities in Salamanca362
Segovia provinceMunicipalities in Segovia209
Soria provinceMunicipalities in Soria183
Valladolid provinceMunicipalities in Valladolid225
Zamora provinceMunicipalities in Zamora248
 Castile–La ManchaMunicipalities in Castile–La Mancha919
Albacete provinceMunicipalities in Albacete87
Ciudad Real provinceMunicipalities in Ciudad Real102
Cuenca provinceMunicipalities in Cuenca238
Guadalajara provinceMunicipalities in Guadalajara288
Toledo provinceMunicipalities in Toledo204
 CataloniaMunicipalities in Catalonia947
Barcelona provinceMunicipalities in Barcelona311
Girona provinceMunicipalities in Girona221
Lleida provinceMunicipalities in Lleida231
Tarragona provinceMunicipalities in Tarragona184
 ExtremaduraMunicipalities in Extremadura388
Badajoz provinceMunicipalities in Badajoz165
Cáceres provinceMunicipalities in Cáceres223
 GaliciaMunicipalities in Galicia313
A Coruña provinceMunicipalities in A Coruña93
Lugo provinceMunicipalities in Lugo67
Ourense provinceMunicipalities in Ourense92
Pontevedra provinceMunicipalities in Pontevedra61
 Madrid*Municipalities in Madrid179
 Murcia*Municipalities in the Region of Murcia45
 Navarre*Municipalities in the Chartered Community of Navarre272
 La Rioja*Municipalities in La Rioja174
 Valencian CommunityMunicipalities in the Valencian Community542
Alicante provinceMunicipalities in Alicante141
Castellón provinceMunicipalities in Castellón135
Valencia provinceMunicipalities in Valencia266
Autonomous cityListNo. of municipalities
 Ceuta1
 Melilla1

Notes:
*Single-province autonomous communities.

Ranked lists of Spanish municipalities

Largest municipalities by population

Spain has a population of 46,401,053 inhabitants, distributed to 8,124 municipalities (2018 INE provisional report).

There are two municipalities that exceed one million inhabitants: Madrid and Barcelona, 26 cities over 200,000 inhabitants, 34 municipalities between 100,000 and 200,000 inhabitants, and 83 municipalities between 50,000 and 100,000.

# Municipality Autonomous community Pop. (2014)[1]
1 Madrid  Community of Madrid 3,165,235
2 Barcelona  Catalonia 1,602,386
3 Valencia  Valencian Community 786,424
4 Seville  Andalusia 696,676
5 Zaragoza  Aragon 666,058
6 Málaga  Andalusia 566,913
7 Murcia  Region of Murcia 439,712
8 Palma  Balearic Islands 399,093
9 Las Palmas de Gran Canaria  Canary Islands 382,283
10 Bilbao  Basque Country 346,574
11 Alicante  Valencian Community 332,067
12 Córdoba  Andalusia 328,041
13 Valladolid  Castile and León 306,830
14 Vigo  Galicia 294,997
15 Gijón  Asturias 275,735
16 L'Hospitalet de Llobregat  Catalonia 253,518
17 A Coruña  Galicia 244,810
18 Vitoria-Gasteiz  Basque Country 242,082
19 Granada  Andalusia 237,540
20 Elche  Valencian Community 230,224
21 Oviedo  Asturias 223,765
22 Badalona  Catalonia 217,210
23 Cartagena  Region of Murcia 216,451
24 Terrassa  Catalonia 215,517
25 Jerez de la Frontera  Andalusia 212,226
26 Sabadell  Catalonia 207,444
27 Santa Cruz de Tenerife  Canary Islands 206,593
28 Móstoles  Community of Madrid 205,712
29 Alcalá de Henares  Community of Madrid 200,768
30 Pamplona  Navarre 196,166
31 Fuenlabrada  Community of Madrid 195,864
32 Almería  Andalusia 193,351
33 Leganés  Community of Madrid 186,696
34 Donostia-San Sebastián  Basque Country 186,126
35 Burgos  Castile and León 177,776
36 Santander  Cantabria 175,736
37 Castellón de la Plana  Valencian Community 173,841
38 Getafe  Community of Madrid 173,057
39 Albacete  Castile–La Mancha 172,487
40 Alcorcón  Community of Madrid 170,336
41 Logroño  La Rioja 151,962
42 San Cristóbal de La Laguna  Canary Islands 151,718
43 Badajoz  Extremadura 150,517
44 Salamanca  Castile and León 148,042
45 Huelva  Andalusia 147,212
46 Lleida  Catalonia 139,176
47 Marbella  Andalusia 138,679
48 Tarragona  Catalonia 132,199
49 León  Castile and León 129,551
50 Cádiz  Andalusia 121,739

Largest municipalities by area

# Municipality Autonomous community Area (Km2)[3]
1 Cáceres  Extremadura 1,751.20
2 Lorca  Region of Murcia 1,675.20
3 Badajoz  Extremadura 1,474.20
4 Córdoba  Andalusia 1,253.80
5 Almodóvar del Campo  Castile–La Mancha 1,205.50
6 Jerez de la Frontera  Andalusia 1,189.50
7 Albacete  Castile–La Mancha 1,139.20
8 Zaragoza  Aragon 1,063.50
9 Écija  Andalusia 975.70
10 Jumilla  Murcia 969.70
11 Andújar  Andalusia 963.60
12 Cuenca  Castile–La Mancha 959.10
13 Moratalla  Murcia 954
13 Carmona  Andalusia 923
15 Hornachuelos  Andalusia 909.80
16 Murcia  Region of Murcia 885.60
17 Mérida  Extremadura 868.50
18 Villarrobledo  Castile–La Mancha 862.90
19 Almonte  Andalusia 862
20 Caravaca de la Cruz  Region of Murcia 858.20
21 Cangas del Narcea  Asturias 825.40
22 Antequera  Andalusia 815.90
23 Requena  Valencian Community 814.10
24 Hellín  Castile–La Mancha 781
25 Jerez de los Caballeros  Extremadura 739
26 Alburquerque  Extremadura 725.70
27 Trujillo  Extremadura 687.30
28 Utrera  Andalusia 683.70
29 Santiago-Pontones  Andalusia 682.50
30 Los Yébenes  Castile–La Mancha 680
31 Chinchilla de Monte-Aragón  Castile–La Mancha 678.60
32 Alcázar de San Juan  Castile–La Mancha 668
33 Retuerta del Bullaque  Castile–La Mancha 653
34 Mula  Murcia 633.50
35 Ejea de los Caballeros  Aragon 610.80
36 Madrid  Community of Madrid 604.80
37 Níjar  Andalusia 600.10
38 Alía  Extremadura 599.40
39 Valencia de Alcántara  Extremadura 596
40 Osuna  Andalusia 592.70
41 Fuente Obejuna  Andalusia 591.80
42 Montoro  Andalusia 586.40
43 Sabiñánigo  Aragon 586.30
44 Alhambra  Castile–La Mancha 582.20
45 Piedrabuena  Castile–La Mancha 564.20
46 Don Benito  Extremadura 561.90
47 Cartagena  Region of Murcia 559.10
48 Alcántara  Extremadura 553
49 Baza  Andalusia 545.20
50 Tineo  Asturias 539.80