Makrognosis

Spain Government Debt to GDP

QuarterlyNot seasonally adjustedCode ES.GOVDEBT.Q.NSA

Latest101.4%Q2 2026
Previous101.4%Q1 2026
Year ago103.2%Q2 2025

Spain Government Debt to GDP was 101.4% in Q2 2026, unchanged from Q1 2026 and down 1.8 percentage points from a year earlier.

Among the 38 economies Makrognosis covers on this measure, it is the 8th highest.

Over the past ten years it has ranged from 97.7% (Q4 2019) to 124.2% (Q1 2021), averaging 106.3%.

Spain Government Debt to GDP (% of GDP), Q1 2011 – Q2 202660%80%100%120%20122014201620182020202220242026Robomacro
Spain Government Debt to GDP (% of GDP), Q1 2011 – Q2 2026. Source: Eurostat (Statistical Office of the European Union).

Showing the full history (downsampled for display). Open the interactive chart to zoom and switch transforms.

Recent data

PeriodValue
Q2 2026101.4%
Q1 2026101.4%
Q4 2025100.5%
Q3 2025103.0%
Q2 2025103.2%
Q1 2025103.1%
Q4 2024101.4%
Q3 2024104.0%
Q2 2024105.1%
Q1 2024106.3%
Q4 2023105.3%
Q3 2023107.4%
Q2 2023108.8%
Q1 2023108.9%
Q4 2022109.3%
Q3 2022112.1%
Q2 2022112.9%
Q1 2022114.6%
Q4 2021115.7%
Q3 2021119.4%
Q2 2021121.2%
Q1 2021124.2%
Q4 2020119.3%
Q3 2020116.5%

Last 24 observations. The full history (62 observations) is available through the API.

Get Spain Government Debt to GDP in your code or spreadsheet

One guessable code, agency-direct, updated on release. Free tier available.

curl -H "X-API-Key: $MAKROGNOSIS_KEY" \
  "https://makrognosis.robomacro.com/v1/series/ES.GOVDEBT.Q.NSA"

# Python
import requests
r = requests.get("https://makrognosis.robomacro.com/v1/series/ES.GOVDEBT.Q.NSA",
                 headers={"X-API-Key": KEY})
obs = r.json()["observations"]
Get a free API key → · API docs

About this series

Latest observationQ2 2026
First observationQ1 2011
Observations62
FrequencyQuarterly
Units% of GDP
AdjustmentNot seasonally adjusted
10-year high124.2% (Q1 2021)
10-year low97.7% (Q4 2019)
10-year average106.3%
Source agencyEurostat (Statistical Office of the European Union)
Makrognosis codeES.GOVDEBT.Q.NSA

Government Debt to GDP: how Spain compares

#EconomyPeriodLatest
1SingaporeQ1 2025166.1%
2GreeceQ2 2026140.8%
3ItalyQ2 2026139.9%
4CanadaQ2 2026131.3%
5United StatesQ3 2026121.7%
6FranceQ2 2026119.1%
7BelgiumQ2 2026110.2%
8SpainQ2 2026101.4%
9United KingdomQ3 2026101.1%
10PortugalQ2 202692.5%
11FinlandQ2 202690.2%
12AustriaQ2 202683.6%
13BrazilQ3 202682.9%
14South AfricaQ3 202678.4%

Government Debt to GDP by country: all 38 economies ranked →

Other Spain indicators

Spain GDP (Gross Domestic Product)Spain GDP at market prices, current prices, SA+calendarSpain Inflation Rate (CPI)Spain Core Inflation RateSpain Unemployment RateSpain 10-Year Government Bond YieldSpain Credit Rating & Sovereign Risk ScoreSpain Industrial ProductionSpain Retail SalesSpain Producer Price Inflation (PPI)Spain Current account balance (Banco de Espana balance of payments, BE_17_1.1), EUR millionsSpain Current account balance, % of GDPSpain Trade Balance: Goods & ServicesSpain Exports of goods and services, Current prices, million EURSpain Exports of goods and services, chain-linked volumeSpain Exports of goods, total trade (World), seasonally adjusted

FAQ

What is the current government Debt to GDP in Spain?
The latest reading is 101.4% for Q2 2026, published by Eurostat (Statistical Office of the European Union).
Where does this data come from?
It is collected directly from Eurostat (Statistical Office of the European Union) and is available through the Makrognosis API under the code ES.GOVDEBT.Q.NSA.

Last updated 2026-10-25. Source: Eurostat (Statistical Office of the European Union). Original title: “Spain general government gross debt, % of GDP (Eurostat)”.