Costa Rica vs Panama

Costa Rica vs Panama: Government debt

Government debt in 2025: 60.4% of GDP in Costa Rica and 56.6% of GDP in Panama, by IMF estimates. In 2025 the value was higher in Costa Rica, by 3.8 percentage points, or 1.07 times that in Panama.

% of GDP · IMF

Costa Rica vs Panama: Government debtGovernment debt in 2025: 60.4% of GDP in Costa Rica and 56.6% of GDP in Panama, by IMF estimates. In 2025 the value was higher in Costa Rica, by 3.8 percentage points, or 1.07 times that in Panama.
Costa RicaPanamaIMF projection (World Economic Outlook, October 2026)

What the numbers say

  • Costa Rica has been higher since 2012, when it overtook Panama.
  • In 2025, Costa Rica ranked 55 and Panama ranked 65 of 149 countries, counting from the highest.
  • The IMF projection (World Economic Outlook, October 2026) puts Costa Rica at 62.4% of GDP and Panama at 49.6% of GDP in 2031.

Every year

% of GDP · IMF

YearCosta RicaPanama
202560.456.6
202458.957.8
202360.454.4
202261.456.2
20216758
202066.562.4
201956.142.5
201851.736.3
201747.134.3
201644.134
201539.834.1
201437.433
201335.130.8
201233.731.3
201129.535.9
201028.138.5
20092639.5
20082440.6
20072748.2
20063356.1
200537.361.6
20044161.6
200340.659.9
200241.460.9
200139.662.1
200038.958
19993960.4
199840.764.3
199730.667.3
199633.773.6
1995–86.8
1994–88.7
IMF projection (World Economic Outlook, October 2026) · 2026–2031
YearCosta RicaPanama
202661.856.4
202762.855.9
202863.354.9
202963.353.5
20306351.6
203162.449.6

Each country on its own

Good to know

  • What the government owes, as a share of the economy’s yearly output.
  • Source: IMF, World Economic Outlook, October 2026.
  • The dashed line is the IMF projection (World Economic Outlook, October 2026), a scenario rather than a forecast.
  • Ranks count the 149 countries with a value in 2025, highest first.

How the layers work, where their data comes from and what they can’t tell you: Countries through time

Costa Rica vs Panama

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment