Debt to GDP · Data & Outlook
Spain Debt to GDP Ratio
Spain's debt stood at 101.6% of GDP in 2024. How did a ratio of 16.1% in 1980 become a triple-digit burden?
Spain's general government gross debt reached 101.648% of GDP in 2024, according to the IMF series used here. The latest year is an estimate rather than a final outturn, so the figure should be read as the current reading on a trajectory rather than a settled number. The ratio has fallen from 119.179% in 2020, a decline of 17.5 percentage points across four years, and now sits just above the 100% threshold.
The path to that level was not gradual. Debt was 16.107% of GDP in 1980 and 39.87% by 1989, then 60.853% by 1999. It fell to 35.698% at its 2000s low before the financial crisis reversed the trend, reaching 104.418% within the 2010s. The pandemic pushed the ratio to 119.179% in 2020. Nominal GDP of USD 1.73 trillion in 2024 against a 3.455% real growth rate has done much of the recent consolidation work, while credit to the private sector fell from 107.573% of GDP in 2020 to 74.219% in 2024.
The sections below set out the latest position, the decade-by-decade history since 1980, the arithmetic that drives the ratio, and the risks that shape the outlook.
What is Government debt to GDP?
Government debt to GDP, also called the debt-to-GDP ratio, compares everything a government owes with the size of its economy. A ratio of 100% means public debt equals one full year of national output.
How it is measured. This ranking uses general government gross debt from the IMF World Economic Outlook: all liabilities that require payment of interest or principal, held by the central government, state and local governments and social security funds, divided by nominal GDP. It is gross debt, so it does not subtract government financial assets.
How to read it. A higher ratio means a heavier debt burden relative to the economy, but there is no universal danger threshold. What matters is the interest rate against growth, who holds the debt, the currency it is issued in, and the government's ability to raise revenue. Countries that borrow in their own currency, such as Japan or the United States, can sustain higher ratios than countries that borrow in foreign currency.
Source: IMF World Economic Outlook. See our methodology.
The Latest Ratio: 101.6% of GDP in 2024
Current Reading and Recent Direction
Spain's general government debt stood at 101.648% of GDP in 2024, the latest observation in the series. This is the lowest reading of the 2020s, below the decade mean of 110.144% and 17.531 percentage points beneath the 2020 peak of 119.179%. The ratio has fallen in each year since that peak, a cumulative decline of 14.7% across the five points from 2020 to 2024. The 2024 figure nonetheless remains above the 2019 level of 97.579% and above the 2010s mean of 92.662%.
Nominal GDP Context
The denominator has done much of the work. Nominal GDP reached USD 1,725.4 billion in 2024, against USD 1,289.3 billion in 2020, an increase of 33.8% across the period. Real output contributed part of this: GDP growth was 3.455% in 2024, following a contraction of 10.940% in 2020. The GDP deflator adds the remainder, at 2.892% in 2024 and averaging 3.504% across the 2020s. A ratio falling from 119.179% to 101.648% while nominal GDP rises 33.8% is consistent with debt growing more slowly than the economy in cash terms.
Position Against Earlier Decades
The 2024 reading is roughly 2.5 times the 1989 level of 39.87% and well above the 2000s mean of 46.595%, a decade whose minimum was 35.698%. The 2010s mean of 92.662% and maximum of 104.418% show that the post-2020 range sits above the pre-pandemic norm. The 1980s opened at 16.107% in 1980, so the 2024 figure represents an increase of more than 85 percentage points across four decades. The 2000s were the only decade in the series with negative growth, at -8.2%.
Credit and Deflator Cross-Checks
Private credit to GDP was 74.219% in 2024, down 31.0% from 107.573% in 2020 and far below the 2009 peak of 173.382%. Deleveraging in the private sector has run alongside the public ratio's retreat from its 2020 high. The deflator path matters for interpretation: inflation of 6.245% at its 2020s maximum lifted nominal GDP and compressed the ratio mechanically. With the deflator at 2.892% in 2024 and real growth at 3.455%, the combined nominal expansion of roughly 6.3% exceeded any plausible nominal debt growth consistent with the observed fall.
Summary of the Position
- 2024 ratio: 101.648%, down from 119.179% in 2020.
- 2020s mean: 110.144%; minimum: 101.648% (2024).
- Nominal GDP 2024: USD 1,725.4 billion, up 33.8% on 2020.
- Real growth 2024: 3.455%; deflator 2024: 2.892%.
- Private credit to GDP 2024: 74.219%, down from 173.382% in 2009.
The ratio therefore sits above its pre-2020 baseline but on a clear downward path, supported by nominal GDP growth of 33.8% over four years and private credit at 74.219% of GDP.
Spain debt-to-GDP ratio, 2020-2024 (IMF general government gross debt, % of GDP)
| Year | Debt to GDP (%) | Real GDP growth (%) |
|---|---|---|
| 2020 | 119.179 | -10.940 |
| 2021 | ||
| 2022 | ||
| 2023 | ||
| 2024 | 101.648 | 3.455 |
Four Decades of Debt: From 16.1% to Triple Digits
The 1980s: From 16.1% to 39.9%
Spain entered the 1980s with a government debt to GDP ratio of 16.107% in 1980, among the lowest readings in the series. By 1989 the ratio had reached 39.87%, a rise of 147.5% across the decade, or 23.8 percentage points. The decade mean was 32.875% and the maximum 42.073%. Nominal GDP rose from 231.8 billion to 413.8 billion over the same period, a 78.5% increase, so the debt stock grew considerably faster than the economy. The deflator averaged 10.03% in the 1980s, indicating that inflation eroded part of the nominal burden.
The 1990s and 2000s: Ascent then a Low of 35.7%
The ratio opened the 1990s at 41.304% and closed at 60.853%, a gain of 47.3%, with a decade maximum of 65.442% and a mean of 55.3409%. The 2000s reversed direction: the ratio began at 57.841% in 2000 and ended at 53.079% in 2009, a fall of 8.2%. The decade minimum of 35.698% marked the low point of the whole series and coincided with the pre-crisis property boom. Nominal GDP rose 150.0% across the 2000s, from 598.2 billion to 1,495.8 billion, and GDP growth averaged 2.60%, so rapid output expansion outpaced debt accumulation for most of the period.
Post-2008: The Surge to 104.4%
The 2010s produced the sharpest peacetime increase in the series. The ratio started at 60.266% in 2010 and ended at 97.579% in 2019, a rise of 61.9%, peaking at 104.418% and averaging 92.6622% across the decade. Nominal GDP fell 1.7% over the ten years, from 1,428.6 billion to 1,403.6 billion, while GDP growth averaged just 1.09% and touched -2.865% at its weakest. The combination of a contracting denominator and bank rescue costs, alongside falling revenues, lifted the ratio by more than 37 percentage points in a decade.
The Pandemic Peak and Partial Correction
The 2020s opened at 119.179% in 2020, the highest reading in the dataset, as GDP growth fell to -10.940% and nominal output dropped to 1,289.3 billion. By 2024 the ratio had declined to 101.648%, a fall of 14.7% across five years, with a 2020s mean of 110.1442%. Nominal GDP rose 33.8% over the period to 1,725.4 billion, and GDP growth reached 3.455% in 2024. The deflator averaged 3.504% in the 2020s, with a maximum of 6.245%, supporting the denominator. The ratio nonetheless remains above the 2007 low by more than 65 percentage points.
Credit and the Debt Cycle
Private credit to GDP peaked at 173.382% in 2009 and fell to 74.219% in 2024, a decline of 31.0% across the 2020s alone. The 2010s saw a 44.9% contraction, from 171.325% to 94.412%. Deleveraging in the private sector ran alongside public debt expansion, so the consolidated burden shifted from households and firms to the sovereign balance sheet. The 2024 credit ratio of 74.219% is below the 2001 reading of 94.939%, indicating that private balance sheets have retrenched while the government ratio has not returned to its pre-crisis level.
Spain debt-to-GDP ratio by decade (first year, last year, mean)
| Decade | First year value (%) | Last year value (%) | Decade mean (%) |
|---|---|---|---|
| 1980s | 16.107 | 39.870 | 32.875 |
| 1990s | 41.304 | 60.853 | 55.341 |
| 2000s | 57.841 | 53.079 | 46.595 |
| 2010s | 60.266 | 97.579 | 92.662 |
| 2020s | 119.179 | 101.648 | 110.144 |
The Arithmetic: Growth, Deflator and Borrowing
Nominal GDP growth as the denominator
The debt ratio in 2024 stands at 101.648 per cent of GDP, against 119.179 per cent in 2020, a fall of 17.531 percentage points across four years. Nominal GDP over the same period rose from 1,289.27 billion to 1,725.41 billion, an increase of 33.8 per cent. That denominator effect does much of the arithmetic work: holding the 2020 debt stock constant, the 2024 nominal GDP alone would have cut the ratio to roughly 89 per cent. The decomposition therefore begins with nominal output, not with debt repayment.
Real growth and the deflator
Nominal growth splits into two components. Real GDP growth was 3.455 per cent in 2024, following a contraction of 10.940 per cent in 2020, a swing of 14.395 percentage points in four years. The GDP deflator moved from 1.134 per cent in 2020 to 2.892 per cent in 2024, with a decade peak of 6.245 per cent within the 2020s. Between 2021 and 2023 the deflator contributed heavily to nominal expansion; by 2024 real growth carried more of the load. The 2020s deflator mean of 3.504 per cent compares with 0.496 per cent across the 2010s, a near sevenfold difference.
Borrowing and the numerator
The numerator moves with primary balances and interest costs. Spain entered the 2020s with the ratio already at 97.579 per cent in 2019, up from 60.266 per cent in 2010, a rise of 37.313 points across the 2010s when nominal GDP grew by only 1.7 per cent over the decade. The 2020 spike to 119.179 per cent combined a 10.940 per cent real contraction with pandemic-era primary borrowing. The subsequent decline to 101.648 per cent reflects nominal GDP growth of 33.8 per cent against a debt stock that grew more slowly.
Arithmetic summary
- 2024 ratio: 101.648 per cent, down 14.7 per cent from the 2020s opening value of 119.179 per cent.
- Nominal GDP 2024: 1,725.41 billion, up 33.8 per cent on the 2020 figure of 1,289.27 billion.
- Real growth 2024: 3.455 per cent; deflator 2024: 2.892 per cent; combined nominal effect exceeds 6 per cent.
- Private credit to GDP fell from 107.573 per cent in 2020 to 74.219 per cent in 2024, a 31.0 per cent decline that reduces competing claims on domestic saving.
The arithmetic is asymmetric: a denominator growing at 6 per cent or more compresses the ratio quickly, while a deflator near 1 per cent, as in 2010 at 0.293 per cent, leaves little nominal cushion. The 2010s mean deflator of 0.496 per cent against a mean ratio of 92.662 per cent illustrates the difference between the two regimes.
Spain GDP deflator and real growth by decade (first year, last year, mean)
| Decade | Deflator first year (%) | Deflator last year (%) | Real growth mean (%) |
|---|---|---|---|
| 1980s | 13.355 | 6.896 | 2.755 |
| 1990s | 7.326 | 2.619 | 2.707 |
| 2000s | 3.413 | 0.231 | 2.598 |
| 2010s | 0.293 | 1.429 | 1.091 |
| 2020s | 1.134 | 2.892 | 1.606 |
Risks, Peers and the Outlook
Structural exposures
The ratio stood at 101.648% of GDP in 2024, down from 119.179% in 2020 but still above the pre-pandemic 97.579% recorded in 2019. The 2020s mean of 110.1442% shows how far the level moved in five years. Two exposures keep the ratio near triple digits: nominal GDP growth and the primary balance. GDP grew 33.8% across the 2020s to EUR 1,725.4bn in 2024, while the deflator averaged 3.5043% over the same period, so part of the decline in the ratio reflects inflation rather than fiscal consolidation.
Growth dependence
Real GDP growth averaged 1.6059% in the 2020s, with a trough of -10.9400% in 2020 and 3.4551% in 2024. A ratio above 100% is sensitive to growth: at a debt stock near 1.75 times GDP, a one-point fall in nominal growth adds roughly a point to the ratio over a year. The 2000s illustrate the mechanism in reverse. GDP rose 150.0% between 2000 and 2009 while the ratio fell from 57.841% to 35.698% at its minimum, before the financial crisis reversed the trend.
Private leverage and the banking channel
Credit to GDP fell from 173.382% in 2009 to 74.219% in 2024, a decline of 31.0% across the 2020s alone. Deleveraging of that scale reduces private demand and, through slower nominal GDP, works against the ratio. The 2010s show the pattern: credit fell 44.9% across the decade while the debt ratio rose 61.9%, from 60.266% to 97.579%. A further contraction in credit would repeat that dynamic unless offset by external demand or public investment.
Peer comparison
Spain's 101.648% sits above the euro-area average and well above the 60% reference value in the Stability and Growth Pact. The gap to the 2019 level is 4.1 points of GDP, so the pandemic increase has not been fully unwound. Peer economies with ratios near 100% have generally reduced debt through sustained primary surpluses of 1% to 2% of GDP. Spain's adjustment has relied more on growth and inflation, which are less predictable than a structural surplus.
Conditions for a further fall
- Nominal GDP growth above the effective interest rate. GDP growth of 3.4551% in 2024 and a deflator of 2.8924% imply nominal growth near 6.4%, a favourable gap if sustained.
- A primary surplus. At a ratio of 101.648%, each point of primary surplus removes roughly one point from the ratio over a year, all else equal.
- Stable credit growth. A recovery in credit from 74.219% of GDP would support nominal GDP without adding to public liabilities.
The 2020s decline of 14.7% in the ratio, from 119.179% to 101.648%, shows the direction is achievable. The 2010s, when the ratio rose 61.9% despite credit contraction of 44.9%, show how quickly it can reverse. The outlook depends on whether nominal growth of the 2024 kind persists or reverts to the 1.6059% real average of the decade.
Spain debt-to-GDP ratio, selected years
| Year | Debt to GDP (%) |
|---|---|
| 2010 | 60.266 |
| 2019 | 97.579 |
| 2020 | 119.179 |
| 2024 | 101.648 |
Frequently asked questions
What is Spain's government debt to GDP ratio currently?
Spain's general government debt stood at 101.8% of GDP at the end of 2024, equivalent to roughly EUR 1.62 trillion, according to Bank of Spain data. The ratio peaked at 125.3% in 2020, when pandemic spending and a 10.8% contraction in nominal output pushed borrowing sharply higher. Since then, nominal GDP growth of about 6% annually has done most of the consolidation work, with the debt ratio falling by more than 20 percentage points from that peak. The 2024 figure places Spain above the euro area average of roughly 88%, though well below Greece and Italy.
Is Spain's debt ratio falling or rising?
The ratio is falling. Spain's debt to GDP ratio declined from 125.3% in 2020 to 105.1% in 2023 and 101.8% in 2024, a cumulative reduction of 23.5 percentage points in four years. The absolute debt stock has continued to grow modestly, reaching about EUR 1.62 trillion, so the improvement reflects denominator effects: nominal GDP expanded by roughly 6% in 2024, faster than the deficit added to the stock. The government's stability programme targets a ratio near 100% by 2027. A renewed growth slowdown or higher interest costs would slow, but not necessarily reverse, that trajectory.
How does Spain's debt ratio compare with other euro area countries?
Spain sits in the middle of the euro area distribution. Its 101.8% ratio in 2024 compares with a euro area average of about 88%, and is far below Greece at roughly 154% and Italy at about 136%. Spain is above Germany, which holds roughly 63%, and the Netherlands at about 45%. Among the four largest euro economies, Spain ranks third, behind Germany and roughly level with France at approximately 113%. Spain's position is therefore elevated but not an outlier, and its four-year consolidation of 23.5 percentage points is among the fastest in the currency union over that period.
What drives Spain's government debt level?
Three factors dominate. First, persistent primary deficits: Spain has run general government deficits in most years since 2008, including 3.0% of GDP in 2024. Second, crisis spending: the 2020 deficit reached 10.1% of GDP, adding roughly EUR 100 billion to the debt stock in a single year. Third, interest costs, which absorb about 2.3% of GDP annually, or roughly EUR 37 billion. Regional and social security debt also matter: the central administration holds about 88% of the stock, with the remainder split across regional governments and the social security system. Nominal growth above the interest rate has been the main offsetting force.
What is Spain's deficit target and how does it affect the debt ratio?
Under the EU fiscal framework, Spain is committed to reducing its general government deficit to 2.5% of GDP in 2025 and to below 3% thereafter, from 3.0% in 2024. A deficit of 2.5% of GDP, with nominal growth of about 5%, implies the debt ratio falls by roughly 2.5 percentage points a year. The European Commission's 2024 assessment placed Spain on a net expenditure path of about 3% annual growth, which is consistent with continued gradual decline. Missing the target by one percentage point of GDP would add roughly EUR 16 billion to the stock and slow the ratio's decline by about a percentage point annually.
How exposed is Spain's debt to interest rate changes?
Moderately. Spain's debt has an average maturity of about 8 years, longer than Italy's but shorter than France's, so refinancing passes through to the budget gradually. Interest payments were about 2.3% of GDP in 2024, roughly EUR 37 billion, up from 1.9% in 2021 as the ECB raised rates. The average cost of new issuance rose above 3% in 2023 and 2024, against a stock average nearer 2%. Each 100 basis point rise in marginal funding costs adds roughly EUR 2 billion to annual interest within a year, rising over time as the stock rolls over. Roughly 85% of the debt is fixed rate.