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 owesSpendingGovernment 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 line | US$ | % of GDP | Per person | Year |
|---|---|---|---|---|
| Public-sector wages | US$6.69B | 7.6% | US$1,268 | 2023 |
| Interest on public debt | US$4.68B | 4.8% | US$880 | 2024 |
| Education | US$4.65B | 5.3% | US$881 | 2023 |
| Health care | US$4.04B | 4.6% | US$765 | 2023 |
| Subsidies & social transfers | US$3.73B | 4.3% | US$707 | 2023 |
| Research & development | US$295.29M | 0.3% | US$56 | 2023 |
| Military & defence | US$0 | 0.0% | US$0 | 2025 |
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
| Borrower | Debt outstanding (2024) | Share |
|---|---|---|
| Nicaragua | US$315.32M | 100.0% |
Public and publicly guaranteed debt owed to official bilateral creditors (World Bank International Debt Statistics).
All figures
| Indicator | Value | Year | Source |
|---|---|---|---|
| General government gross debt (% of GDP) | 61.8% of GDP | 2026 | IMF World Economic Outlook |
| Fiscal balance — net lending/borrowing (% of GDP) | -3.7% of GDP | 2026 | IMF 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% | 2024 | World Bank WDI (IMF GFS) |
| Private debt (% of GDP) | — | — | No value in live sources |
| General government expenditure (% of GDP) | 18.9% of GDP | 2024 | IMF Public Finances in Modern History |
| Military expenditure (% of GDP) | 0.0% of GDP | 2025 | SIPRI via World Bank WDI |
| Military expenditure (current US$) | US$0 | 2025 | SIPRI via World Bank WDI |
| Military expenditure (% of government spending) | 0.0% | 2025 | SIPRI via World Bank WDI |
| Government health expenditure (% of GDP) | 4.6% of GDP | 2023 | WHO GHED via World Bank WDI |
| Government health expenditure per person (current US$) | US$781 | 2023 | WHO GHED via World Bank WDI |
| Government health expenditure (% of government spending) | 24.9% | 2023 | WHO GHED via World Bank WDI |
| Government education expenditure (% of GDP) | 5.3% of GDP | 2023 | UNESCO UIS via World Bank WDI |
| Government education expenditure (% of government spending) | 20.4% | 2023 | UNESCO UIS via World Bank WDI |
| Government interest expense (% of GDP) | 4.8% of GDP | 2024 | IMF Public Finances in Modern History |
| Research & development expenditure (% of GDP) | 0.3% of GDP | 2023 | UNESCO UIS via World Bank WDI |
| Central government expense (% of GDP) | 28.6% of GDP | 2023 | World Bank WDI (IMF GFS) |
| Compensation of employees (% of expense) | 26.8% | 2023 | World Bank WDI (IMF GFS) |
| Subsidies and other transfers (% of expense) | 14.9% | 2023 | World Bank WDI (IMF GFS) |
| General government revenue (% of GDP) | 15.1% of GDP | 2024 | IMF Public Finances in Modern History |
| Tax revenue (% of GDP) | 13.5% of GDP | 2024 | World Bank WDI (IMF GFS) |
| GDP (current US$) | US$115.25B | 2026 | IMF World Economic Outlook |
| GDP per capita (current US$) | US$21,282 | 2026 | IMF World Economic Outlook |
| Real GDP growth (annual %) | 3.3% | 2026 | IMF World Economic Outlook |
| Inflation, consumer prices (annual %) | -0.8% | 2026 | IMF World Economic Outlook |
| Unemployment rate (%) | 7.0% | 2026 | IMF World Economic Outlook |
| Current account balance (% of GDP) | -1.5% of GDP | 2026 | IMF World Economic Outlook |
| Foreign direct investment, net inflows (% of GDP) | 5.4% of GDP | 2025 | World Bank WDI |
| Personal remittances received (% of GDP) | 0.8% of GDP | 2025 | World Bank WDI |
| Net official development assistance received (% of GNI) | 0.2% of GNI | 2023 | OECD DAC via World Bank WDI |
| Total reserves (months of imports) | 4.7 months | 2025 | World Bank WDI |
| Population | 5.4M | 2026 | IMF World Economic Outlook |
| Life expectancy at birth (years) | 81.0 years | 2024 | UN Population Division via World Bank WDI |
| Extreme poverty headcount (% of population) | 0.8% | 2025 | World Bank Poverty & Inequality Platform |
| Gini index (income inequality) | 45.5 | 2025 | World 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.