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.
All autonomous communities, 2025
Full ranking
| Rank | Autonomous communities | 2025 | Change on 2024 |
|---|---|---|---|
| 1 | Community of Madrid Provisional | 337,216 | +5.8% |
| 2 | Catalonia Provisional | 319,985 | +5.6% |
| 3 | Andalusia Provisional | 227,356 | +6.3% |
| 4 | Valencian Community Provisional | 157,055 | +5.6% |
| 5 | Basque Country Provisional | 95,508 | +4.8% |
| 6 | Galicia Provisional | 86,588 | +5.8% |
| 7 | Castile and León Provisional | 77,757 | +5.4% |
| 8 | Canary Islands Provisional | 61,656 | +5.9% |
| 9 | Castilla-La Mancha Provisional | 58,460 | +5.6% |
| 10 | Aragon Provisional | 52,237 | +5.1% |
| 11 | Balearic Islands Provisional | 48,334 | +7.1% |
| 12 | Region of Murcia Provisional | 44,840 | +6% |
| 13 | Asturias Provisional | 31,247 | +5% |
| 14 | Extremadura Provisional | 28,193 | +6.3% |
| 15 | Navarre Provisional | 27,767 | +5% |
| 16 | Cantabria Provisional | 18,615 | +4.7% |
| 17 | La Rioja Provisional | 11,679 | +5.9% |
| 18 | Ceuta Provisional | 2,065 | +6.1% |
| 19 | Melilla Provisional | 1,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
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
- EU countries
- EU regions (NUTS 2)
- Provinces of Spain
- Regions of Germany (NUTS 2)
- Regions of France (NUTS 2)
- Regions of Italy (NUTS 2)
- Regions of Poland (NUTS 2)
- Regions of Greece (NUTS 2)
- Regions of Netherlands (NUTS 2)
- Regions of Belgium (NUTS 2)
- Regions of Austria (NUTS 2)
- Regions of Portugal (NUTS 2)
Autonomous communities of Spain: more rankings
- Active companies
- Activity rate
- At-risk-of-poverty rate
- Average age
- Average home mortgage amount
- Live births
- New companies created
- Inflation (CPI annual change)
- Consumer price index (CPI)
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Age dependency ratio (ages 15 to 64 base)
- Employment rate
- Enterprises using artificial intelligence