54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · North Africa

Morocco Military Spending (% of GDP)

3.5%as of 2024-2.1% vs 2023

Military expenditure as a share of GDP (SIPRI via World Bank). Source: World Bank — World Development Indicators. Updated June 19, 2026.

Trend

20002024 · World Bank

History

most recent 12 periods
PeriodMilitary Spending (% of GDP)
20243.5%
20233.6%
20223.8%
20213.7%
20204%
20192.9%
20182.9%
20172.9%
20163%
20153%
20143.4%
20133.8%

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=military_expenditure_pct_gdp" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Military Spending (% of GDP) across Africa

Rank all 54 ->
CountryMilitary Spending (% of GDP)Period
Nigeria0.6%2024
Kenya1%2024
South Africa0.7%2024
Egypt0.7%2024
Ghana0.4%2024
Ethiopia0.7%2024

Frequently asked questions

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

Morocco's military expenditure as a share of GDP is 3.5% as of 2024, according to World Bank — World Development Indicators.

What is the source for this figure?

The figure comes from World Bank — World Development Indicators and is republished by the Africa API with the retrieval date shown on this page.

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

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

More Morocco economy data