Government debt
Spain
Spain. General government gross debt. Put borrowing in the context of the economy and explore how it has changed over time.
What the figures show
History / IMF estimatesSpain: 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.
Chart data table
| Year | Spain (%) | Source |
|---|---|---|
| 2031 | 89.4 | IMF projection |
| 2030 | 90.7 | IMF projection |
| 2029 | 92.0 | IMF projection |
| 2028 | 93.2 | IMF projection |
| 2027 | 95.2 | IMF projection |
| 2026 | 97.6 | IMF estimate / projection |
| 2025 | 100.5 | History / IMF estimates |
| 2024 | 101.4 | History / IMF estimates |
| 2023 | 105.2 | History / IMF estimates |
| 2022 | 109.2 | History / IMF estimates |
| 2021 | 115.6 | History / IMF estimates |
| 2020 | 119.2 | History / IMF estimates |
| 2019 | 97.6 | History / IMF estimates |
| 2018 | 99.7 | History / IMF estimates |
| 2017 | 101.1 | History / IMF estimates |
| 2016 | 102.0 | History / IMF estimates |
| 2015 | 102.4 | History / IMF estimates |
| 2014 | 104.4 | History / IMF estimates |
| 2013 | 100.0 | History / IMF estimates |
| 2012 | 89.6 | History / IMF estimates |
| 2011 | 69.5 | History / IMF estimates |
| 2010 | 60.3 | History / IMF estimates |
| 2009 | 53.1 | History / IMF estimates |
| 2008 | 39.6 | History / IMF estimates |
| 2007 | 35.7 | History / IMF estimates |
| 2006 | 39.0 | History / IMF estimates |
| 2005 | 42.4 | History / IMF estimates |
| 2004 | 45.3 | History / IMF estimates |
| 2003 | 47.7 | History / IMF estimates |
| 2002 | 51.2 | History / IMF estimates |
| 2001 | 54.1 | History / IMF estimates |
| 2000 | 57.8 | History / 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