---
title: "Spain government debt to GDP | Narwhal API"
description: "Government debt of Spain was 100.5% of GDP in 2025, according to the IMF. Yearly debt and budget balance from the IMF, with forecasts marked."
url: "https://narwhalapi.com/economics/spain/government-debt"
---

# Spain government debt

100.5%2025, percent of GDP

Government debt of Spain was 100.5% of GDP in 2025, according to the IMF. The government budget of Spain had a deficit of 2.4% of GDP in 2025.

**+84.4 pts** since 1980

**Budget balance**

-2.4% in 2025

**Next debt forecast**

97.6% in 2026

**Source**

IMF World Economic Outlook

**Edition**

October 2026

## Debt and budget balance by year

| Year | Government debt | Budget balance |
| --- | --- | --- |
| 2031 | 89.4% forecast | -2.1% forecast |
| 2030 | 90.7% forecast | -2.1% forecast |
| 2029 | 92.0% forecast | -2.2% forecast |
| 2028 | 93.2% forecast | -2.2% forecast |
| 2027 | 95.2% forecast | -2.3% forecast |
| 2026 | 97.6% forecast | -2.4% forecast |
| 2025 | 100.5% | -2.4% |
| 2024 | 101.4% | -3.2% |
| 2023 | 105.2% | -3.3% |
| 2022 | 109.2% | -4.6% |
| 2021 | 115.6% | -6.7% |
| 2020 | 119.2% | -10.0% |
| 2019 | 97.6% | -3.0% |
| 2018 | 99.7% | -2.6% |
| 2017 | 101.1% | -3.1% |
| 2016 | 102.0% | -4.3% |
| 2015 | 102.4% | -5.3% |
| 2014 | 104.4% | -6.1% |
| 2013 | 100.0% | -7.5% |
| 2012 | 89.6% | -11.5% |
| 2011 | 69.5% | -9.7% |
| 2010 | 60.3% | -9.5% |
| 2009 | 53.1% | -11.2% |
| 2008 | 39.6% | -4.6% |
| 2007 | 35.7% | 1.9% |
| 2006 | 39.0% | 2.1% |
| 2005 | 42.4% | 1.2% |
| 2004 | 45.3% | -0.1% |
| 2003 | 47.7% | -0.4% |
| 2002 | 51.2% | -0.3% |
| 2001 | 54.1% | -0.5% |
| 2000 | 57.8% | -1.2% |
| 1999 | 60.9% | -1.2% |
| 1998 | 62.4% | -2.6% |
| 1997 | 64.3% | -3.9% |
| 1996 | 65.4% | -5.9% |
| 1995 | 61.6% | -6.8% |
| 1994 | 57.0% | -6.3% |
| 1993 | 54.6% | -6.9% |
| 1992 | 44.1% | -4.3% |
| 1991 | 41.9% | -4.6% |
| 1990 | 41.3% | -3.9% |
| 1989 | 39.9% | -3.0% |
| 1988 | 38.5% | -3.4% |
| 1987 | 41.9% | -3.3% |
| 1986 | 42.1% | -5.9% |
| 1985 | 40.9% | -6.8% |
| 1984 | 36.0% | -5.4% |
| 1983 | 29.5% | -4.7% |
| 1982 | 24.4% | -5.5% |
| 1981 | 19.4% | -2.4% |
| 1980 | 16.1% | -2.0% |

Figures are percent of GDP. A negative budget balance is a deficit. Years marked forecast are IMF projections.

## Common questions

What is the government debt of Spain?

Government debt of Spain was 100.5% of GDP in 2025, according to the IMF.

What is the budget balance of Spain?

The government budget of Spain had a deficit of 2.4% of GDP in 2025.

Which government debt figures are forecasts?

Each year is marked actual or forecast, as the IMF classes it. The last actual debt year for Spain is 2025.

## Get this data by API

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)
[Government debt API](https://narwhalapi.com/api/economics/government-debt.md)

## Related pages

- [Spain economic data](https://narwhalapi.com/economics/spain.md)
- [Spain equity risk premium](https://narwhalapi.com/economics/spain/equity-risk-premium.md)
- [All countries](https://narwhalapi.com/api/economics/government-debt.md#coverage)

## Start with a free key

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)
