Government spending by function in Spain
Spain: Government spending by function was 40.7% in 2023. ▲ Rising
Government spending by function in Spain, 2007–2023
Source: OECD (2026) – with minor processing by Our World in Data. Measured in % of government expenditure.
Analysis
In 2023, government spending by function in Spain stood at 40.7%.
That represents a change of up 2.8% on the previous year and up 3.9% over ten years.
Over the whole period, government spending by function in Spain peaked at 42.7% in 2020 and was at its lowest, 32.7%, in 2007.
That places Spain 6th out of 37 countries with data for 2023, putting it in the top quarter.
The long-run direction has been consistently rising across the 17 years of available data.
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 2000s | 33.7% | 32.7% | 34.9% | 3 |
| 2010s | 38.9% | 36.0% | 41.1% | 10 |
| 2020s | 40.9% | 39.6% | 42.7% | 4 |
Countries ranked near Spain
More reference data data for Spain
- Spring temperature anomalies -0.1449 °C (2026)
- Summer temperature anomalies 3.07 °C (2026)
- Temperature anomalies by month 0.0798 °C (2026)
- Universal right to vote in practice 2 (2025)
- Autumn temperature anomalies 0.423 °C (2025)
- Winter temperature anomalies 0.3641 °C (2025)
- Consumer price index 135.02 2010 = 100 (2025)
- Universal right to vote 2 (2025)
- Competitive elections 1 (2025)
- Men's universal right to vote 1 (2025)
Frequently asked questions
- What is government spending by function in Spain?
- Government spending by function in Spain was 40.7% in 2023, according to OECD (2026) – with minor processing by Our World in Data.
- What is the highest government spending by function recorded in Spain?
- The highest recorded value was 42.7% in 2020.
- What is the lowest government spending by function recorded in Spain?
- The lowest recorded value was 32.7% in 2007.
- How does Spain rank for government spending by function?
- Spain ranks 6th out of 37 countries with data for 2023.
- Is government spending by function rising or falling in Spain?
- Over the last ten years it is up 3.9%. The long-run trend across the full record is rising.
- Where does this Spain data come from?
- The figures come from OECD (2026) – with minor processing by Our World in Data, published as part of Government spending by function. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 17 observations, free to reuse under CC BY 4.0 (Our World in Data).
About this data
General government expenditure on social protection. This data is divided by total government expenditure, expressed as a percentage.