SlightlyMap

The largest cities of Spain: urban units, municipalities and metro areas

Spain counted three ways: by continuous built-up area, by municipality and by metro area. 56 urban units pass 100,000 people; the largest is Madrid, with 5,130,136. The city of Madrid has 3,255,944 people within its limits; its urban unit, 5,130,136; its metro area, 7,213,327.

MadridBarcelonaValenciaSevillaBilbaoZaragozaMurciaMálagaPalmaAlicanteGranadaVigo
The 60 largest urban units of Spain (SlightlyMap, from GHSL). Dot area proportional to population.

How Spain counts its cities

Spain publishes no urban units. SlightlyMap computes them from the Global Human Settlement Layer with the same 200 m rule as INSEE. Madrid and Barcelona are far ahead; the third, Valencia, has less than a third of Madrid.

The 25 largest urban units

Source: SlightlyMap, from GHSL, 200 m rule on the built-up surface at 100 m, 2025 population.

#Urban unitPeopleArea (km²)
1Madrid5,130,136516
2Barcelona4,086,338395
3Valencia1,551,365274
4Sevilla909,554136
5Bilbao781,997113
6Zaragoza726,460118
7Murcia640,770262
8Málaga554,34376
9Palma546,031129
10Alicante488,696132
11Móstoles431,00044
12Granada427,804111
13Fuenlabrada400,78646
14Las Palmas de Gran Canaria394,55642
15Vigo386,356188
16Santa Cruz de Tenerife383,82058
17Sant Boi de Llobregat365,80063
18A Coruña343,257121
19Tarragona337,569106
20Valladolid335,34168
21Pamplona320,41856
22Donostia / San Sebastián313,55069
23Castelló de la Plana312,153104
24Terrassa289,42543
25Córdoba283,95158

The 10 largest municipalities and metro areas

#MunicipalityPeopleMetro areaPeople
1Madrid3,255,944Madrid7,213,327
2Barcelona1,686,208Barcelona5,495,486
3Valencia824,340Valencia1,914,726
4Zaragoza686,986Sevilla1,283,060
5Sevilla686,741Málaga1,050,727
6Málaga592,346Bilbao946,975
7Murcia471,982Zaragoza808,351
8Palma438,234Murcia771,826
9Las Palmas de Gran Canaria383,516Palma654,001
10Alicante348,901Las Palmas de Gran Canaria584,272

Municipalities: GeoNames, latest census or estimate. Metro areas: GHSL functional urban areas. Metro areas are named after their main municipality, which is not always the best-known name of the area.

Play with these cities Open the map

More in Cities in figures: the world, France, what a city is, and one page per country.