Morocco vs Spain

Morocco vs Spain: Government debt

Government debt in 2025: 66.6% of GDP in Morocco and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 33.9 percentage points, or 1.51 times that in Morocco.

% of GDP · IMF

Morocco vs Spain: Government debtGovernment debt in 2025: 66.6% of GDP in Morocco and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 33.9 percentage points, or 1.51 times that in Morocco.
MoroccoSpainIMF projection (World Economic Outlook, October 2026)

What the numbers say

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

Every year

% of GDP · IMF

YearMoroccoSpain
202566.6100.5
202467101.4
202368.4105.2
202271.4109.2
202169.4115.6
202072.3119.2
201960.397.6
201860.599.7
201760.3101.1
201660.1102
201558.4102.4
201458.6104.4
201357.1100
201252.389.6
201148.669.5
201045.360.3
200942.653.1
20084239.6
200747.135.7
200650.639
200554.842.4
200454.445.3
200356.947.7
200259.451.2
200160.454.1
200064.957.8
199963.460.9
199864.562.4
19976864.3
199665.365.4
199572.261.6
199469.357
199374.754.6
19926744.1
199159.141.9
199070.541.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
YearMoroccoSpain
202666.697.6
202766.295.2
202865.393.2
202963.992
203062.690.7
203161.689.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

Morocco vs Spain

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment