Spain's public debt has grown by almost half a trillion euros since Pedro Sánchez became prime minister in 2018, according to a report by the Instituto Juan de Mariana, which also found that the country's tax burden has reached record highs and that public spending is growing far faster than the economy.

The report frames the figures as the bill Sánchez is leaving for his successor in La Moncloa, the seat of the Spanish government. It argues there are only two ways to correct the shortfall: raising revenue further or reining in and improving the efficiency of spending. The first has been a defining feature of the Socialist-led government.
The findings were published as Spain prepares for a general election on 29 November, in which voters will decide who succeeds Sánchez.
Debt load swings sharply since 2018
Public debt moved unevenly over the course of the Socialist government's time in office, the institute's report found. It fell from 99.8% of gross domestic product in 2018 to 97.7% in 2019, before surging to a peak of 119.3% in 2020. By 2025 it had come back down to 100.5% of GDP, a figure still nearly three times the 35.7% recorded in 2007.
That left Spain with the fifth-highest debt ratio in the European Union in 2025, behind only Greece, at 145.4% of GDP, Italy, at 136.7%, France, at 115.7%, and Belgium, at 108.1%. Neighbouring Portugal, whose debt ratio was 18.4 points higher than Spain's in 2019, had fallen to 89.2% by 2025, below Spain's level.
Tax revenues hit record highs
Sánchez's government has not only spent heavily, the report said, but has also collected more tax revenue than any previous Spanish government. The country's tax burden rose by three percentage points since 2018, even as the EU-27 average fell by 0.4 points over the same period. As a share of the European average, Spain's tax pressure climbed from 85.6% in 2018 to 93.7% in 2025.
The increase was concentrated on income from work. Personal income tax and social security contributions together accounted for 92% of the rise in tax pressure since 2018, with income tax adding 1.86 points of GDP and social contributions a further 0.88 points. Income tax revenue climbed from 7.7% of GDP in 2018 to 9.55% in 2025, now matching the European average.
The implicit tax burden on labour, which combines income tax on wages with social contributions, rose from 33.8% to 36.2% between 2018 and 2024, the report found, while the EU average fell from 38.2% to 37.1% over the same years. That has narrowed much of the gap that once separated Spain from its European partners on labour taxation.
Spending outpaces economic growth
Total spending by Spain's public administrations rose from €503,193 million in 2018 to €766,296 million in 2025, pushing its share of the economy from 41.5% to 45.3% of GDP, the report said. That growth outpaced GDP by 10 percentage points.
Even so, a breakdown of spending by function, using data available up to 2024, showed Spain spending less than the EU-27 average as a share of GDP in most major categories. Social protection spending stood at 18.6% of GDP, 0.9 points below the EU average, while health spending was 6.4% (0.9 points lower), education 4.1% (0.6 points lower) and defence 0.9% (0.6 points lower). Spain exceeded the European average only in public order and security, environmental protection, and leisure, culture and religion, in each case by less than 0.2 points of GDP.
Spain ranks low on spending efficiency
The European Commission separately evaluated the efficiency of public spending across all 27 EU member states in ten major budget categories, weighing the resources used against the results achieved. Spain came in 20th for health spending and 23rd for social protection, though it performed better in economic affairs, ranking third, and housing, ranking seventh.
Across all ten areas combined, Spain's efficiency score was 5.5% worse than the European average, placing it 21st out of the 27 member states, meaning it uses more resources than comparable countries to achieve similar results.
The report estimated that Spain could cut spending by 4.6% of GDP without worsening public services if it matched the average efficiency levels seen elsewhere in Europe. Most of that potential saving, it said, would come from social protection, at 3.6% of GDP, and health, at a further 0.8%.
What happens next
Spain holds a general election on 29 November, which will determine Sánchez's successor.
Test yourself
By how much did Spain's total public spending change between 2018 and 2025?
Which country had the highest debt-to-GDP ratio in the EU in 2025, according to the report?
Where did the European Commission rank Spain overall for public spending efficiency among the 27 EU states?
Have your say
What do you think is the better way to reduce Spain's public debt?
Where it happened
Madrid, Spain
