Autonomous communities of Spain by GDP (euros)

Community of Madrid had the highest GDP (euros) of 19 autonomous communities in 2019, at €243.89 billion. Melilla had the lowest, at €1.56 billion. The median was €38.47 billion and the figure for Spain was €1.25 trillion. Source: the Instituto Nacional de Estadística.

Highest243,889Community of Madrid
Lowest1,560Melilla
Median38,46519 autonomous communities
Spain1,253,710History

All autonomous communities, 2019

CSVChart (SVG)

Community of MadridCommunity of Madrid: 243,889 EUR million243,889CataloniaCatalonia: 240,166 EUR million240,166AndalusiaAndalusia: 166,479 EUR million166,479Valencian CommunityValencian Community: 116,589 EUR million116,589Basque CountryBasque Country: 74,000 EUR million74,000GaliciaGalicia: 64,502 EUR million64,502Castile and LeónCastile and León: 59,649 EUR million59,649Canary IslandsCanary Islands: 45,767 EUR million45,767Castilla-La ManchaCastilla-La Mancha: 43,393 EUR million43,393AragonAragon: 38,465 EUR million38,465Balearic IslandsBalearic Islands: 34,351 EUR million34,351Region of MurciaRegion of Murcia: 33,001 EUR million33,001AsturiasAsturias: 23,667 EUR million23,667ExtremaduraExtremadura: 21,166 EUR million21,166NavarreNavarre: 21,070 EUR million21,070CantabriaCantabria: 14,274 EUR million14,274La RiojaLa Rioja: 8,890 EUR million8,890CeutaCeuta: 1,660 EUR million1,660MelillaMelilla: 1,560 EUR million1,560
EUR million. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2019
EUR million
Change on 2018
1Community of Madrid243,889+4.3%
2Catalonia240,166+3.9%
3Andalusia166,479+2.8%
4Valencian Community116,589+3.4%
5Basque Country74,000+2.9%
6Galicia64,502+3%
7Castile and León59,649+2.3%
8Canary Islands45,767+2.6%
9Castilla-La Mancha43,393+2.6%
10Aragon38,465+3.4%
11Balearic Islands34,351+3.5%
12Region of Murcia33,001+4.1%
13Asturias23,667+2.1%
14Extremadura21,166+2.2%
15Navarre21,070+4.1%
16Cantabria14,274+3.1%
17La Rioja8,890+2.8%
18Ceuta1,660+3%
19Melilla1,560+3.3%

Other periods

About this ranking

GDP at current market prices, EUR million.

In euros, for Spain and the EU. For the United States, its states and counties, and for other countries and the World, use gdp_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 a precios de mercado (tabla 82284). https://www.ine.es/jaxiT3/Tabla.htm?t=82284. 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 (euros) using official data, and cite the source.
rank_places {"indicator":"gdp","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=gdp&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 (euros)?

Community of Madrid, with €243.89 billion in 2019, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest GDP (euros)?

Melilla, with €1.56 billion in 2019.

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 a precios de mercado (tabla 82284). Retrieved 2026-10-07.

Gross domestic product (GDP): other rankings

Autonomous communities of Spain: more rankings