---
title: "Costa Rica government debt to GDP | Narwhal API"
description: "Government debt of Costa Rica was 60.4% of GDP in 2025, according to the IMF. Yearly debt and budget balance from the IMF, with forecasts marked."
url: "https://narwhalapi.com/economics/costa-rica/government-debt"
---

# Costa Rica government debt

60.4%2025, percent of GDP

Government debt of Costa Rica was 60.4% of GDP in 2025, according to the IMF. The government budget of Costa Rica had a deficit of 3.4% of GDP in 2025.

**+26.7 pts** since 1996

**Budget balance**

-3.4% in 2025

**Next debt forecast**

61.8% in 2026

**Source**

IMF World Economic Outlook

**Edition**

October 2026

## Debt and budget balance by year

| Year | Government debt | Budget balance |
| --- | --- | --- |
| 2031 | 62.4% forecast | -3.0% forecast |
| 2030 | 63.0% forecast | -3.2% forecast |
| 2029 | 63.3% forecast | -3.5% forecast |
| 2028 | 63.3% forecast | -3.8% forecast |
| 2027 | 62.8% forecast | -3.9% forecast |
| 2026 | 61.8% forecast | -3.7% forecast |
| 2025 | 60.4% | -3.4% |
| 2024 | 58.9% | -3.7% |
| 2023 | 60.4% | -3.2% |
| 2022 | 61.4% | -2.7% |
| 2021 | 67.0% | -5.0% |
| 2020 | 66.5% | -8.3% |
| 2019 | 56.1% | -6.6% |
| 2018 | 51.7% | -5.6% |
| 2017 | 47.1% | -5.9% |
| 2016 | 44.1% | -5.1% |
| 2015 | 39.8% | -5.5% |
| 2014 | 37.4% | -5.5% |
| 2013 | 35.1% | -5.2% |
| 2012 | 33.7% | -4.2% |
| 2011 | 29.5% | -3.9% |
| 2010 | 28.1% | -5.0% |
| 2009 | 26.0% | -3.3% |
| 2008 | 24.0% | 0.2% |
| 2007 | 27.0% | 0.6% |
| 2006 | 33.0% | -1.0% |
| 2005 | 37.3% | -2.1% |
| 2004 | 41.0% | -3.4% |
| 2003 | 40.6% | -3.4% |
| 2002 | 41.4% | -5.0% |
| 2001 | 39.6% | -3.5% |
| 2000 | 38.9% | -3.7% |
| 1999 | 39.0% | -2.9% |
| 1998 | 40.7% | -3.0% |
| 1997 | 30.6% | -3.4% |
| 1996 | 33.7% | -4.3% |
| 1995 |  | -3.7% |
| 1994 |  | -5.5% |
| 1993 |  | -1.5% |
| 1992 |  | -1.5% |
| 1991 |  | -2.4% |
| 1990 |  | -4.4% |

Figures are percent of GDP. A negative budget balance is a deficit. Years marked forecast are IMF projections.

## Common questions

What is the government debt of Costa Rica?

Government debt of Costa Rica was 60.4% of GDP in 2025, according to the IMF.

What is the budget balance of Costa Rica?

The government budget of Costa Rica had a deficit of 3.4% of GDP in 2025.

Which government debt figures are forecasts?

Each year is marked actual or forecast, as the IMF classes it. The last actual debt year for Costa Rica is 2025.

## Get this data by API

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)
[Government debt API](https://narwhalapi.com/api/economics/government-debt.md)

## Related pages

- [Costa Rica equity risk premium](https://narwhalapi.com/economics/costa-rica/equity-risk-premium.md)
- [All countries](https://narwhalapi.com/api/economics/government-debt.md#coverage)

## Start with a free key

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)
