🌐 Global Debt & Fiscal Atlas
Home › Countries › Costa Rica

Costa Rica: government debt, spending and who it owes

Costa Rica’s government debt is 61.8% of GDP (2026); a budget deficit of 3.7% of GDP; military spending of US$0 (2025).

Explore Costa Rica interactivelyWho Costa Rica owesSpending
Gov. debt
61.8% of GDP
2026 est. · IMF World Economic Outlook
Fiscal balance
-3.7% of GDP
2026 est. · IMF World Economic Outlook
Interest
4.8% of GDP
2024 · IMF Public Finances in Modern History
Military (US$)
US$0
2025 · SIPRI via World Bank WDI
GDP
US$115.25B
2026 est. · IMF World Economic Outlook
GDP growth
3.3%
2026 est. · IMF World Economic Outlook
Inflation
-0.8%
2026 est. · IMF World Economic Outlook
Population
5.4M
2026 est. · IMF World Economic Outlook

Government debt, % of GDP, 1996–2026:

National debt profile · IMF General government gross debt (% of GDP): 61.8% of GDP (2026).

Where Costa Rica’s government spends its money

Total government spending: US$18.25B (18.9% of GDP, 2024).

Spending lineUS$% of GDPPer personYear
Public-sector wagesUS$6.69B7.6%US$1,2682023
Interest on public debtUS$4.68B4.8%US$8802024
EducationUS$4.65B5.3%US$8812023
Health careUS$4.04B4.6%US$7652023
Subsidies & social transfersUS$3.73B4.3%US$7072023
Research & developmentUS$295.29M0.3%US$562023
Military & defenceUS$00.0%US$02025

Lines come from different sources, scopes and years and do not add up to the total. Military: SIPRI; health: WHO; education and R&D: UNESCO; interest, totals: IMF.

Who Costa Rica owes — and who owes Costa Rica

Costa Rica borrowed from

No bilateral lending recorded for Costa Rica in this role (World Bank IDS covers ~120 low- and middle-income borrowers).

Owe Costa Rica

BorrowerDebt outstanding (2024)Share
NicaraguaUS$315.32M100.0%

Public and publicly guaranteed debt owed to official bilateral creditors (World Bank International Debt Statistics).

All figures

IndicatorValueYearSource
General government gross debt (% of GDP)61.8% of GDP2026IMF World Economic Outlook
Fiscal balance — net lending/borrowing (% of GDP)-3.7% of GDP2026IMF World Economic Outlook
Total external debt stocks (current US$)——No value in live sources
External debt stocks (% of GNI)——No value in live sources
Total debt service (% of exports)——No value in live sources
Interest payments (% of revenue)16.6%2024World Bank WDI (IMF GFS)
Private debt (% of GDP)——No value in live sources
General government expenditure (% of GDP)18.9% of GDP2024IMF Public Finances in Modern History
Military expenditure (% of GDP)0.0% of GDP2025SIPRI via World Bank WDI
Military expenditure (current US$)US$02025SIPRI via World Bank WDI
Military expenditure (% of government spending)0.0%2025SIPRI via World Bank WDI
Government health expenditure (% of GDP)4.6% of GDP2023WHO GHED via World Bank WDI
Government health expenditure per person (current US$)US$7812023WHO GHED via World Bank WDI
Government health expenditure (% of government spending)24.9%2023WHO GHED via World Bank WDI
Government education expenditure (% of GDP)5.3% of GDP2023UNESCO UIS via World Bank WDI
Government education expenditure (% of government spending)20.4%2023UNESCO UIS via World Bank WDI
Government interest expense (% of GDP)4.8% of GDP2024IMF Public Finances in Modern History
Research & development expenditure (% of GDP)0.3% of GDP2023UNESCO UIS via World Bank WDI
Central government expense (% of GDP)28.6% of GDP2023World Bank WDI (IMF GFS)
Compensation of employees (% of expense)26.8%2023World Bank WDI (IMF GFS)
Subsidies and other transfers (% of expense)14.9%2023World Bank WDI (IMF GFS)
General government revenue (% of GDP)15.1% of GDP2024IMF Public Finances in Modern History
Tax revenue (% of GDP)13.5% of GDP2024World Bank WDI (IMF GFS)
GDP (current US$)US$115.25B2026IMF World Economic Outlook
GDP per capita (current US$)US$21,2822026IMF World Economic Outlook
Real GDP growth (annual %)3.3%2026IMF World Economic Outlook
Inflation, consumer prices (annual %)-0.8%2026IMF World Economic Outlook
Unemployment rate (%)7.0%2026IMF World Economic Outlook
Current account balance (% of GDP)-1.5% of GDP2026IMF World Economic Outlook
Foreign direct investment, net inflows (% of GDP)5.4% of GDP2025World Bank WDI
Personal remittances received (% of GDP)0.8% of GDP2025World Bank WDI
Net official development assistance received (% of GNI)0.2% of GNI2023OECD DAC via World Bank WDI
Total reserves (months of imports)4.7 months2025World Bank WDI
Population5.4M2026IMF World Economic Outlook
Life expectancy at birth (years)81.0 years2024UN Population Division via World Bank WDI
Extreme poverty headcount (% of population)0.8%2025World Bank Poverty & Inequality Platform
Gini index (income inequality)45.52025World Bank Poverty & Inequality Platform

Frequently asked questions

How much debt does Costa Rica have?
Costa Rica’s general government gross debt is 61.8% of GDP in 2026 (IMF World Economic Outlook).
Which countries owe Costa Rica money?
In 2024, the largest borrowers from Costa Rica were Nicaragua (US$315.32M).
How much does Costa Rica spend on its military?
US$0 in 2025, 0.0% of GDP (SIPRI).
How much does Costa Rica’s government spend on health care?
US$4.04B in 2023, 4.6% of GDP (WHO Global Health Expenditure Database).

Use this data

pip install debt-atlas

import debt_atlas as da
da.latest("gov_debt_gdp", countries=["CRI"])
da.who_owes("CRI")
da.spending("CRI")

Or download every dataset as CSV on the data page.

Updated 2026-11-30. IMF current-year values are staff estimates. Missing values are not zero.