Spain Government Debt to GDP

General government gross debt as a percentage of GDP.

Government Debt to GDP in Spain decreased to 100.50 percent of GDP in 2025 from 101.40 percent of GDP in 2024.

100.5%
▼ −0.9 pp2025 · previous 101.4%Annual · percent of GDP · Source: IMF — World Economic Outlook

Spain Government Debt to GDP — History

Drag or pinch to zoom. Dashed line: IMF World Economic Outlook projection. Other sources can be switched on in the legend.

Loading chart…

Spain Government Debt to GDP — analysis in simple words

Latest reading

Government Debt to GDP in Spain decreased to 100.50 percent of GDP in 2025 from 101.40 percent of GDP in 2024.

It has fallen in each of the last three years.

Recent trend

A year earlier (2024) it was 101.4%, so the latest figure is 0.9 percentage points lower.

Over the past five years the average was 106.4%, with a range from 100.5% to 115.6%. The latest value is below that five-year average.

Historical context

This data series starts in 1980 and has 46 annual observations. The latest reading is higher than 78% of all of them.

The highest value on record is 119.2% (2020) and the lowest is 16.1% (1980). The long-run average is 63.6%.

Compared with other countries

Among 191 economies with recent data, Spain ranks 22nd from the top. The median across all these economies is 52.9%, so Spain is above the typical country.

Among 19 major economies tracked on this site it ranks 8th.

Within Europe & Central Asia (51 economies with data) it ranks 7th; the regional median is 46.9%.

IMF outlook

The IMF World Economic Outlook projects 97.6% in 2026 and 95.2% in 2027 for Spain. Projections are forecasts, not actual data, and are revised as new information arrives.

Statistics

Latest
100.5%2025
Previous
101.4%
5-year average
106.4%
Long-run average
63.6%since 1980
All-time high
119.2%2020
All-time low
16.1%1980
Observations
46Annual

Recent Data

PeriodValueChange
2031 IMF proj.89.4%▼ −1.3 pp
2030 IMF proj.90.7%▼ −1.3 pp
2029 IMF proj.92.0%▼ −1.2 pp
2028 IMF proj.93.2%▼ −2.0 pp
2027 IMF proj.95.2%▼ −2.4 pp
2026 IMF proj.97.6%▼ −2.9 pp
2025100.5%▼ −0.9 pp
2024101.4%▼ −3.8 pp
2023105.2%▼ −4.0 pp
2022109.2%▼ −6.4 pp
2021115.6%▼ −3.6 pp
2020119.2%▲ +21.6 pp
201997.6%▼ −2.1 pp
201899.7%▼ −1.4 pp
2017101.1%▼ −0.9 pp
2016102.0%▼ −0.4 pp
2015102.4%▼ −2.0 pp
2014104.4%▲ +4.4 pp
2013100.0%▲ +10.4 pp
201289.6%▲ +20.1 pp
201169.5%▲ +9.2 pp
201060.3%▲ +7.2 pp
200953.1%▲ +13.5 pp
200839.6%▲ +3.9 pp
200735.7%▼ −3.3 pp
200639.0%▼ −3.4 pp
200542.4%▼ −2.9 pp
200445.3%▼ −2.4 pp
200347.7%▼ −3.5 pp
200251.2%

Government Debt to GDP — Spain vs Peers

Latest available reading for each economy (periods may differ). Spain highlighted.

Loading chart…

More Spain indicators

Understanding Government Debt to GDP — a simple guide

What it measures

General government gross debt as a percentage of the country’s annual GDP.

How it is calculated

Total debt owed by all levels of government (central, state and local) at the end of the year ÷ the country’s GDP for that year × 100.

Simple example

If a government owes 84 and the economy produces 100 in a year, government debt to GDP is 84%.

▲ When it is high or rising

A higher ratio means a larger debt relative to the size of the economy. More of the budget may go to interest payments, and credit rating agencies watch the trend closely.

▼ When it is low or falling

A lower ratio usually gives the government more room to borrow in a crisis.

Why it matters for the economy and markets

The ratio shows the size of public debt relative to the economy’s capacity to service it. It influences sovereign credit ratings, bond yields and the room governments have for fiscal support.

How to read it

There is no single safe level — countries borrowing in their own currency with deep domestic markets can sustain higher ratios. The trend, interest cost and growth rate matter as much as the level.

What to look at alongside it

The budget deficit, interest rates, GDP growth and credit ratings.

Key terms

General government
Central plus state and local governments together.
Fiscal deficit
When government spending is higher than its revenue.
Debt sustainability
Whether a government can keep servicing its debt without default.

Data source

IMF — World Economic Outlook (series GGXWDG_NGDP), annual data from 1980 to 2025. Values are shown exactly as published by the source and may be revised later.

How to use the chart

Use the 5Y / 10Y / 25Y / Max buttons to change the time range, or drag the slider under the chart. Hover (or tap) on the line to see the exact value for any period. Dashed lines and hatched bars are IMF projections, not actual data. The “Download CSV” button gives you the full data series.

Frequently asked questions

What is the current government debt to gdp of Spain?
Spain government debt to gdp was 100.5% in 2025, compared with 101.4% in the previous period, according to IMF — World Economic Outlook.
What is the highest and lowest government debt to gdp of Spain?
Since 1980, the highest reading was 119.2% (2020) and the lowest was 16.1% (1980).
What is the IMF projection for Spain government debt to gdp?
The IMF World Economic Outlook projects 97.6% for 2026. Projections are forecasts and are revised over time.
What does government debt to gdp measure?
General government gross debt as a percentage of the country’s annual GDP.

Data are sourced from official international organisations (IMF, World Bank, BIS) and national authorities, and are shown for educational and informational purposes only. They are not investment advice and no recommendation is made. Figures may be revised by the source; IMF figures for the current and future years are projections. This page was last updated on Saturday, October 17, 2026.