Back to overview ↗

Government debt

Spain

Spain. General government gross debt. Put borrowing in the context of the economy and explore how it has changed over time.

Debt / GDP · 2025100.5%History / IMF estimates
Debt, US$ bn · 20251,918.1History / IMF estimates
Per person, US$ · 202538,788History / IMF estimates
GDP, US$ bn · 20251,908.6History / IMF estimates

What the figures show

History / IMF estimates

Spain: IMF data and estimates put government debt at 100.5% of GDP in 2025. The derived debt amount is US$ 1,918.1 billion.

  • The debt-to-GDP ratio is 0.9 percentage points below its 2024 level.
  • This is above the median of 52.85% of GDP across 192 countries with data for the selected year.
  • Over 2015–2025, the debt-to-GDP ratio decreases by 1.9 percentage points.

The median is not weighted by economic size. A change in the debt-to-GDP ratio does not necessarily imply the same change in the debt amount. About the data ↗

Government debt over time

Debt as % of GDP. Dashed lines: current-year estimate/projection and future projections.

Government debt over time038751131502000200520102015202020252031Spain · 2000: 57.8% — History / IMF estimatesSpain · 2001: 54.1% — History / IMF estimatesSpain · 2002: 51.2% — History / IMF estimatesSpain · 2003: 47.7% — History / IMF estimatesSpain · 2004: 45.3% — History / IMF estimatesSpain · 2005: 42.4% — History / IMF estimatesSpain · 2006: 39.0% — History / IMF estimatesSpain · 2007: 35.7% — History / IMF estimatesSpain · 2008: 39.6% — History / IMF estimatesSpain · 2009: 53.1% — History / IMF estimatesSpain · 2010: 60.3% — History / IMF estimatesSpain · 2011: 69.5% — History / IMF estimatesSpain · 2012: 89.6% — History / IMF estimatesSpain · 2013: 100.0% — History / IMF estimatesSpain · 2014: 104.4% — History / IMF estimatesSpain · 2015: 102.4% — History / IMF estimatesSpain · 2016: 102.0% — History / IMF estimatesSpain · 2017: 101.1% — History / IMF estimatesSpain · 2018: 99.7% — History / IMF estimatesSpain · 2019: 97.6% — History / IMF estimatesSpain · 2020: 119.2% — History / IMF estimatesSpain · 2021: 115.6% — History / IMF estimatesSpain · 2022: 109.2% — History / IMF estimatesSpain · 2023: 105.2% — History / IMF estimatesSpain · 2024: 101.4% — History / IMF estimatesSpain · 2025: 100.5% — History / IMF estimatesSpain · 2026: 97.6% — IMF estimate / projectionSpain · 2027: 95.2% — IMF projectionSpain · 2028: 93.2% — IMF projectionSpain · 2029: 92.0% — IMF projectionSpain · 2030: 90.7% — IMF projectionSpain · 2031: 89.4% — IMF projection
Chart data table
YearSpain (%)Source
203189.4IMF projection
203090.7IMF projection
202992.0IMF projection
202893.2IMF projection
202795.2IMF projection
202697.6IMF estimate / projection
2025100.5History / IMF estimates
2024101.4History / IMF estimates
2023105.2History / IMF estimates
2022109.2History / IMF estimates
2021115.6History / IMF estimates
2020119.2History / IMF estimates
201997.6History / IMF estimates
201899.7History / IMF estimates
2017101.1History / IMF estimates
2016102.0History / IMF estimates
2015102.4History / IMF estimates
2014104.4History / IMF estimates
2013100.0History / IMF estimates
201289.6History / IMF estimates
201169.5History / IMF estimates
201060.3History / IMF estimates
200953.1History / IMF estimates
200839.6History / IMF estimates
200735.7History / IMF estimates
200639.0History / IMF estimates
200542.4History / IMF estimates
200445.3History / IMF estimates
200347.7History / IMF estimates
200251.2History / IMF estimates
200154.1History / IMF estimates
200057.8History / IMF estimates

The DataMapper API does not provide the actual/estimate cutoff for each country and series. Past years are therefore labelled history/IMF estimates, the current year estimate/projection, and later years projections. Historical values can be revised. There is no simulated real-time debt counter.

Source: IMF WEO · World Economic Outlook (October 2026) · Retrieved 2026-11-01. About the data