Government spending by function in Costa Rica

Costa Rica: Government spending by function was 26.1% in 2021. ▲ Rising

Latest (2021)
26.1%
Change on year
down 6.0%
World rank
33rd
of 37 countries
All-time high
27.8%
in 2020
All-time low
24.7%
in 2019
Years of data
10
2012–2021

Government spending by function in Costa Rica, 2012–2021

01020302012201620212012: 24.8 % of government expenditure2013: 25.4 % of government expenditure2014: 25.4 % of government expenditure2015: 25.2 % of government expenditure2016: 25.6 % of government expenditure2017: 25.3 % of government expenditure2018: 25.9 % of government expenditure2019: 24.7 % of government expenditure2020: 27.8 % of government expenditure2021: 26.1 % of government expenditure

Source: OECD (2026) – with minor processing by Our World in Data. Measured in % of government expenditure.

Analysis

Costa Rica recorded 26.1% for government spending by function in 2021.

That represents a change of down 6.0% on the previous year and up 5.1% over ten years.

Over the whole period, government spending by function in Costa Rica peaked at 27.8% in 2020 and was at its lowest, 24.7%, in 2019.

That places Costa Rica 33rd out of 37 countries with data for 2021, putting it in the bottom quarter.

Averages by decade

DecadeAverage LowestHighest Years
2010s 25.3% 24.7% 25.9% 8
2020s 26.9% 26.1% 27.8% 2

Countries ranked near Costa Rica

  1. 30 Croatia 27.8% compare
  2. 31 Australia 26.5% compare
  3. 32 South Korea 26.2% compare
  4. 34 Colombia 25.1% compare
  5. 35 Hungary 24.9% compare
  6. 36 Iceland 23.9% compare

See the full ranking of 37 places →

More reference data data for Costa Rica

All data for Costa Rica →

Frequently asked questions

What is government spending by function in Costa Rica?
Government spending by function in Costa Rica was 26.1% in 2021, according to OECD (2026) – with minor processing by Our World in Data.
What is the highest government spending by function recorded in Costa Rica?
The highest recorded value was 27.8% in 2020.
What is the lowest government spending by function recorded in Costa Rica?
The lowest recorded value was 24.7% in 2019.
How does Costa Rica rank for government spending by function?
Costa Rica ranks 33rd out of 37 countries with data for 2021.
Is government spending by function rising or falling in Costa Rica?
Over the last ten years it is up 5.1%. The long-run trend across the full record is rising.
Where does this Costa Rica 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 — 10 observations, free to reuse under CC BY 4.0 (Our World in Data).

About this data

Indicator
Government spending by function
Unit
% of government expenditure
Source
OECD (2026) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
37 places, 618 data points, 2007–2024
Last refreshed

General government expenditure on social protection. This data is divided by total government expenditure, expressed as a percentage.