Morocco vs South Africa: Government spending as share of GDP

Morocco
33.0%
in 2024
South Africa
33.0%
in 2024
Morocco rank
64th
South Africa rank
66th

Government spending as share of GDP over time

  • Morocco
  • South Africa
101520253035191319682024

How they compare

Morocco currently reports 33.0% against 33.0% in South Africa, a difference of 0.0%.

The two have swapped places 7 times across 35 shared years of data; in 1990 it was South Africa ahead.

Morocco ranks 64th and South Africa ranks 66th of 151 countries.

Across the 4 decades both report, Morocco averaged higher in 1 and South Africa in 3.

Head to head by decade

Decade Morocco South Africa Difference Ahead
1990s 20.5% 28.4% 7.9% South Africa
2000s 25.8% 24.2% 1.7% Morocco
2010s 29.4% 29.5% 0.1% South Africa
2020s 32.8% 32.9% 0.1% South Africa

Averages of every year both report within each decade.

Frequently asked questions

Which has higher government spending as share of gdp, Morocco or South Africa?
Morocco, at 33.0% against 33.0% in South Africa as of 2024.
What is the difference in government spending as share of gdp between Morocco and South Africa?
0.0%, with Morocco ahead.
How many years of comparable data are there for Morocco and South Africa?
35 years are reported by both, from 1990 to 2024.
How do Morocco and South Africa rank globally for government spending as share of gdp?
Morocco ranks 64th and South Africa ranks 66th of 151 countries.
Where does this data come from?
International Monetary Fund (2025) – with minor processing by Our World in Data, published as Government spending as share of GDP. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

Morocco vs South Africa: Government spending as share of GDP. Statizoid, drawing on International Monetary Fund (2025) – with minor processing by Our World in Data. Retrieved 30 August 2026, from https://economy.statizoid.com/compare/historical-gov-spending-gdp/morocco/south-africa/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://economy.statizoid.com/compare/historical-gov-spending-gdp/morocco/south-africa/">Morocco vs South Africa: Government spending as share of GDP</a> β€” Statizoid

About this data

Indicator
Government spending as share of GDP
Unit
% of GDP
Source
International Monetary Fund (2025) – with minor processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
151 places, 9,265 data points, 1800–2024
Last refreshed

Sum of all the money spent by the government on goods and services, as a percentage of GDP. It includes interest paid on government debt.