Autonomous communities of Spain by GDP per capita (euros)

Community of Madrid had the highest GDP per capita (euros) of 19 autonomous communities in 2021, at €35,703. Melilla had the lowest, at €17,891. The median was €23,927 and the figure for Spain was €26,094. Source: the Instituto Nacional de Estadística.

Highest35,703Community of Madrid
Lowest17,891Melilla
Median23,92719 autonomous communities
Spain26,094History

All autonomous communities, 2021

CSVChart (SVG)

Community of MadridCommunity of Madrid: 35,703 EUR35,703Basque CountryBasque Country: 32,898 EUR32,898NavarreNavarre: 31,486 EUR31,486CataloniaCatalonia: 30,360 EUR30,360AragonAragon: 29,144 EUR29,144La RiojaLa Rioja: 27,365 EUR27,365Balearic IslandsBalearic Islands: 25,807 EUR25,807Castile and LeónCastile and León: 25,020 EUR25,020CantabriaCantabria: 24,303 EUR24,303GaliciaGalicia: 23,927 EUR23,927AsturiasAsturias: 23,446 EUR23,446Valencian CommunityValencian Community: 22,944 EUR22,944Region of MurciaRegion of Murcia: 22,087 EUR22,087Castilla-La ManchaCastilla-La Mancha: 21,515 EUR21,515ExtremaduraExtremadura: 20,363 EUR20,363CeutaCeuta: 19,661 EUR19,661AndalusiaAndalusia: 19,591 EUR19,591Canary IslandsCanary Islands: 19,021 EUR19,021MelillaMelilla: 17,891 EUR17,891
EUR. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2021
EUR
Change on 2020
1Community of Madrid35,703+8.7%
2Basque Country32,898+9.2%
3Navarre31,486+8.6%
4Catalonia30,360+9.2%
5Aragon29,144+7.9%
6La Rioja27,365+6.7%
7Balearic Islands25,807+14.1%
8Castile and León25,020+9.1%
9Cantabria24,303+9.1%
10Galicia23,927+9.4%
11Asturias23,446+11.3%
12Valencian Community22,944+9.4%
13Region of Murcia22,087+9.8%
14Castilla-La Mancha21,515+9.4%
15Extremadura20,363+11%
16Ceuta19,661+8.1%
17Andalusia19,591+10.2%
18Canary Islands19,021+10.3%
19Melilla17,891+6.6%

Other periods

About this ranking

GDP at current market prices divided by population, EUR per inhabitant.

In euros, for Spain and the EU. For the United States, its states and counties, and for other countries and the World, in US dollars use gdp_per_capita_usd.

Every value in the ranking comes from the same publisher and the same period, so the autonomous communities are compared on one definition. Equal values share a rank.

How to cite

Instituto Nacional de Estadística (INE). Contabilidad regional de España: PIB per cápita (tabla 82285). https://www.ine.es/jaxiT3/Tabla.htm?t=82285. Retrieved 2026-10-07.

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 Autonomous communities of Spain by GDP per capita (euros) using official data, and cite the source.
rank_places {"indicator":"gdp_per_capita","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=gdp_per_capita&level=region&within=Spain&limit=10

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

Questions

Which autonomous community has the highest GDP per capita (euros)?

Community of Madrid, with €35,703 in 2021, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest GDP per capita (euros)?

Melilla, with €17,891 in 2021.

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, Contabilidad regional de España: PIB per cápita (tabla 82285). Retrieved 2026-10-07.

GDP per capita: other rankings

Autonomous communities of Spain: more rankings