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
| Period | Population |
|---|---|
| 2024 | 38.08M |
| 2023 | 37.71M |
| 2022 | 37.33M |
| 2021 | 36.95M |
| 2020 | 36.58M |
| 2019 | 36.21M |
| 2018 | 35.84M |
| 2017 | 35.45M |
| 2016 | 35.02M |
| 2015 | 34.61M |
| 2014 | 34.2M |
| 2013 | 33.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 keyPopulation 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.