Fiscal Balance (share of GDP):

Spending vs Revenue (share of GDP):

Sort by:

Government Revenue (share of GDP):

Government Spending (share of GDP):

Home›Countries ›Spain

Spain: government revenue and spending, % of GDP

In 2025, Spain raised 42.9% of GDP in general government revenue and spent 45.3% of GDP, a deficit of 2.4% of GDP.

Across the 28 years from 1998 to 2025, Spain ran a deficit in 25 years and a surplus in 3 years.

See Spain highlighted on the charts

Spain — general government revenue, spending and balance as a share of GDP. Source: OECD, ONS, GERS.
YearRevenue, % GDPSpending, % GDPBalance, % GDPPopulation
2025 42.9 45.3 -2.4 49,128,297
2024 42.3 45.5 -3.2 48,619,695
2023 42.1 45.4 -3.3 48,085,361
2022 41.7 46.3 -4.6 47,486,843
2021 42.8 49.5 -6.7 47,400,798
2020 41.5 51.4 -9.9 47,318,050
2019 39.0 42.0 -3.1 46,918,951
2018 39.0 41.5 -2.6 46,645,070
2017 37.9 41.0 -3.1 46,497,393
2016 37.9 42.1 -4.2 46,418,884
2015 38.4 43.7 -5.3 46,425,722
2014 39.0 45.0 -6.0 46,495,744
2013 38.7 46.2 -7.5 46,712,650
2012 37.7 49.2 -11.5 46,818,219
2011 36.2 45.9 -9.7 46,667,174
2010 36.4 45.8 -9.5 46,486,619
2009 34.8 46.1 -11.2 46,239,273
2008 36.8 41.3 -4.6 45,668,939
2007 41.1 39.2 +1.9 44,784,666
2006 40.5 38.4 +2.1 44,009,971
2005 39.7 38.4 +1.2 43,296,338
2004 38.7 38.8 -0.1 42,547,451
2003 38.0 38.3 -0.4 41,827,838
2002 38.3 38.6 -0.3 41,035,278
2001 37.9 38.4 -0.5 40,665,545
2000 37.9 39.1 -1.2 40,470,182
1999 38.7 39.9 -1.2 40,303,568
1998 38.3 41.0 -2.6 40,143,449

Compare across countries

By country