Commercial users: see the World Economic Database from our partners at Anansi Data Analytics

Spain: General government deficit (% of GDP)

Percent of GDP · 1850–2025 · 172 observations · forecasts to 2031 · gen_govdef_GDP

2025
−2.40%percent of GDP
Change on 2024
+0.8 pointsfrom −3.20%
Average, 2016–2025
−4.31%10 years
Record high and low
2.75% (1899)low −11.5% (2012)

General government deficit (% of GDP)

Report error
-12%-10%-8%-6%-4%-2%0%2%4%18501875190019251950197520002025SpainSpain
ForecastPercent of GDP

Compare with other countries →Definition of General government deficit (% of GDP)

Recent values

Percent of GDP

YearValue
2031-2.15Forecast
2030-2.15Forecast
2029-2.16Forecast
2028-2.17Forecast
2027-2.26Forecast
2026-2.08Forecast
2025-2.40
2024-3.20
2023-3.30
2022-4.60
2021-6.70
2020-9.90
2019-3.10
2018-2.60
2017-3.10
2016-4.20

Sources

  • IMF Fiscal Policy Panel1850–2023
  • OECD Economic Outlook1964–2025
  • IMF Government Finance Statistics1980–2024
  • IMF World Economic Outlook1980–2025
  • AMECO (European Commission)1995–2025
  • Eurostat1995–2025
  • AMECO (forecast)2025–2027
  • OECD Economic Outlook (forecast)2025–2027
  • IMF WEO (forecast)2025–2031

Please cite: Müller, K., Xu, C., Lehbib, M., & Chen, Z. (2025). The Global Macro Database: A New International Macroeconomic Dataset. NBER Working Paper 33714. BibTeX →

GMD release 2026_09 · License & terms