54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · North Africa

Morocco Government Spending (% of GDP)

33%as of 2024+3.4% vs 2023

General government total expenditure as a share of GDP. Source: IMF MACRO FINANCIAL. Updated May 1, 2026.

Trend

20002024 · IMF

History

most recent 12 periods
PeriodGovernment Spending (% of GDP)
202433%
202332%
202233.7%
202131%
202034.1%
201927.6%
201827.8%
201727.9%
201628.6%
201528.5%
201430.7%
201330.4%

Get this via API

GET /v1/data

The series above is served by the /v1/data endpoint. With a free key you get JSON for every country and indicator on this site.

curl "https://api.africa-api.com/v1/data?country_code=MA&metric_key=government_expenditure_pct_gdp" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Government Spending (% of GDP) across Africa

Rank all 54 ->
CountryGovernment Spending (% of GDP)Period
Nigeria12.3%2024
Kenya23.3%2024
South Africa33%2024
Ghana23.2%2024
Ethiopia9.5%2024

Frequently asked questions

What is Morocco's general government expenditure as a share of GDP?

Morocco's general government expenditure as a share of GDP is 33% as of 2024, according to IMF MACRO FINANCIAL.

What is the source for this figure?

The figure comes from IMF MACRO FINANCIAL and is republished by the Africa API with the retrieval date shown on this page.

How do I get Morocco Government Spending (% of GDP) data via API?

Call GET /v1/data?country_code=MA&metric_key=government_expenditure_pct_gdp with a free Africa API key to receive the full time series as JSON.

More Morocco economy data