DevTools Logo
All countries

Map of Spain

Spain (Kingdom of Spain) is in Southern Europe, Europe. Its capital is Madrid. This map shows its 19 autonomous communities and cities as vector boundaries, and 52 second-level divisions below them.

Capital
Madrid
Population
47.1MNatural Earth estimate, 2019
Area
506,165 km²measured from map boundaries
Density
93 / km²people per km²
GDP
$1.4TNatural Earth estimate, 2019
GDP per person
$29,600Natural Earth estimate, 2019
Income group
High incomeWorld Bank
Region
Southern Europe, Europe
Autonomous communities and cities
19
Second-level divisions
52
Mapped settlements
49

Map

Map of Spain
Open in the interactive map

Autonomous communities and cities of Spain

Largest mapped cities and towns

  1. MadridCapital5.6M
  2. BarcelonaRegional capital4.9M
  3. SevilleRegional capital1.2M
  4. Bilbao875.6K
  5. ValenciaRegional capital808K
  6. ZaragozaRegional capital649.4K
  7. Málaga550.1K
  8. MurciaRegional capital406.8K
  9. Granada‎388.3K
  10. Vigo379K

Points from Natural Earth's populated places — a mapped sample, not a complete list.

Neighbouring countries

Frequently asked questions

How many autonomous communities and cities does this map of Spain show?

19 autonomous communities and cities, taken from the geoBoundaries (gbOpen) boundary data, plus 52 second-level divisions you can open in the interactive map. Boundary datasets follow their own source year, so the count can differ from the latest official reorganisation.

What is the capital of Spain?

Madrid, according to Natural Earth's country data, which this map uses for capitals and populated places.

How big is Spain?

About 506,165 km², measured from the Natural Earth boundaries this map draws. Official figures can differ slightly, because they may count inland water or disputed territory differently.

Can I download a map of Spain?

Yes. Open Spain in the interactive World Map to export the view as SVG or PNG, or copy and download the autonomous communities and cities as GeoJSON — free, no sign-up, and generated in your browser.

Sources

Boundaries: geoBoundaries (gbOpen), CC BY 4.0, and its upstream sources. Country facts and settlements: Natural Earth (public domain). Full attribution

Boundary data generated 2026-12-05.