Demographics · North Africa

Morocco Population

38.08Mas of 2024+1.0% vs 2023

Total mid-year population. Source: World Bank — World Development Indicators. Updated May 1, 2026.

Morocco Population trend

20122024

History

PeriodPopulation
202438.08M
202337.71M
202237.33M
202136.95M
202036.58M
201936.21M
201835.84M
201735.45M
201635.02M
201534.61M
201434.2M
201333.79M

Get this data via API

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=population_total" \
  -H "Authorization: Bearer $AFRICA_API_KEY"
Get a free API key

Population across Africa

Frequently asked questions

What is Morocco's total population?

Morocco's total population is 38.08M 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 Population data via API?

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

More Morocco demographics data