Morocco Population Pyramid 2022
Morocco in 2022
In 2022, Morocco had a total population of 37,329,064 people. That is 11.9% more than in 2012, when the population stood at 33,355,242.
The median age was 29.9 years, and for every 100 people of working age (15–64) there were 40.0 children under 15 and 11.4 people aged 65 or over. The near-vertical sides of the pyramid indicate a stationary age structure, with births roughly balancing the passage of cohorts into older age.
Data source: United Nations World Population Prospects, 2024 revision (medium variant) — last updated July 2024.
In 2023 women in Morocco had on average 2.23 children, above the replacement level of 2.1.
Source: World Bank World Development Indicators, latest available year.
A child born there in 2023 could expect to live 75.3 years on average (77.6 years for girls, 73.2 for boys).
Source: World Bank World Development Indicators, latest available year.
92,403 immigrants live in Morocco, 0.2% of the population.
| France | 41,301 |
| Algeria | 15,731 |
| Spain | 4,797 |
| Syrian Arab Republic | 3,989 |
| Tunisia | 3,018 |
3,626,262 people born in Morocco live in other countries.
| Spain | 1,088,408 |
| France | 1,066,129 |
| Italy | 472,734 |
| Belgium | 246,575 |
| Israel | 190,607 |
Source: United Nations International Migrant Stock 2024.
| Country | Population | Median age | Relative size |
|---|---|---|---|
| Morocco | 37,329,064 | 29.9 | |
| Algeria | 45,477,390 | 28.9 | |
| Sudan | 49,383,346 | 19.2 | |
| Tunisia | 12,119,334 | 32.8 | |
| Libya | 7,223,805 | 28.0 |





