Autonomous communities of Spain by GDP (euros), 2025

Community of Madrid had the highest GDP (euros) of 19 autonomous communities in 2025, at €337.22 billion. Melilla had the lowest, at €1.94 billion. The median was €52.24 billion and the figure for Spain was €1.69 trillion. Source: the Instituto Nacional de Estadística.

Highest337,216Community of Madrid
Lowest1,940Melilla
Median52,23719 autonomous communities
Spain1,690,012History

All autonomous communities, 2025

CSVChart (SVG)

Community of MadridCommunity of Madrid: 337,216 EUR million337,216CataloniaCatalonia: 319,985 EUR million319,985AndalusiaAndalusia: 227,356 EUR million227,356Valencian CommunityValencian Community: 157,055 EUR million157,055Basque CountryBasque Country: 95,508 EUR million95,508GaliciaGalicia: 86,588 EUR million86,588Castile and LeónCastile and León: 77,757 EUR million77,757Canary IslandsCanary Islands: 61,656 EUR million61,656Castilla-La ManchaCastilla-La Mancha: 58,460 EUR million58,460AragonAragon: 52,237 EUR million52,237Balearic IslandsBalearic Islands: 48,334 EUR million48,334Region of MurciaRegion of Murcia: 44,840 EUR million44,840AsturiasAsturias: 31,247 EUR million31,247ExtremaduraExtremadura: 28,193 EUR million28,193NavarreNavarre: 27,767 EUR million27,767CantabriaCantabria: 18,615 EUR million18,615La RiojaLa Rioja: 11,679 EUR million11,679CeutaCeuta: 2,065 EUR million2,065MelillaMelilla: 1,940 EUR million1,940
EUR million. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2025
EUR million
Change on 2024
1Community of Madrid Provisional337,216+5.8%
2Catalonia Provisional319,985+5.6%
3Andalusia Provisional227,356+6.3%
4Valencian Community Provisional157,055+5.6%
5Basque Country Provisional95,508+4.8%
6Galicia Provisional86,588+5.8%
7Castile and León Provisional77,757+5.4%
8Canary Islands Provisional61,656+5.9%
9Castilla-La Mancha Provisional58,460+5.6%
10Aragon Provisional52,237+5.1%
11Balearic Islands Provisional48,334+7.1%
12Region of Murcia Provisional44,840+6%
13Asturias Provisional31,247+5%
14Extremadura Provisional28,193+6.3%
15Navarre Provisional27,767+5%
16Cantabria Provisional18,615+4.7%
17La Rioja Provisional11,679+5.9%
18Ceuta Provisional2,065+6.1%
19Melilla Provisional1,940+5.4%

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 €337.22 billion in 2025, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest GDP (euros)?

Melilla, with €1.94 billion in 2025.

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