Mexico vs Spain

Mexico vs Spain: Government debt

Government debt in 2025: 61.7% of GDP in Mexico and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 38.8 percentage points, or 1.63 times that in Mexico.

% of GDP · IMF

Mexico vs Spain: Government debtGovernment debt in 2025: 61.7% of GDP in Mexico and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 38.8 percentage points, or 1.63 times that in Mexico.
MexicoSpainIMF projection (World Economic Outlook, October 2026)

What the numbers say

  • Spain has been higher since 2009, when it overtook Mexico.
  • In 2025, Mexico ranked 52 and Spain ranked 14 of 149 countries, counting from the highest.
  • The IMF projection (World Economic Outlook, October 2026) puts Mexico at 64.5% of GDP and Spain at 89.4% of GDP in 2031.

Every year

% of GDP · IMF

YearMexicoSpain
202561.7100.5
202459101.4
202352.7105.2
202253.8109.2
202156.7115.6
202058.5119.2
201951.997.6
201852.299.7
201752.5101.1
201655102
201551102.4
201447.1104.4
201344.1100
201240.889.6
201141.269.5
201040.260.3
200941.753.1
200840.639.6
200735.535.7
200635.839
200536.842.4
200438.945.3
200342.147.7
200239.951.2
200137.354.1
200038.557.8
199941.760.9
199839.762.4
199739.164.3
199642.565.4
1995–61.6
1994–57
1993–54.6
1992–44.1
1991–41.9
1990–41.3
1989–39.9
1988–38.5
1987–41.9
1986–42.1
1985–40.9
1984–36
1983–29.5
1982–24.4
1981–19.5
1980–16.1
IMF projection (World Economic Outlook, October 2026) · 2026–2031
YearMexicoSpain
202662.197.6
202762.995.2
202863.493.2
20296492
203064.390.7
203164.589.4

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

Mexico vs Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment