Morocco Population Pyramid 2023
Morocco in 2023
In 2023, Morocco had a total population of 37,712,505 people. That is 11.6% more than in 2013, when the population stood at 33,787,571.
With a median age of 30.2 years, Morocco had a youth dependency ratio of 39.4 and an old-age dependency ratio of 11.8 per 100 people of working age. This is a stationary pyramid — similar numbers in each age group up to the older cohorts, the signature of near-replacement fertility.
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,712,505 | 30.2 | |
| Algeria | 46,164,219 | 29.1 | |
| Sudan | 50,042,791 | 19.3 | |
| Tunisia | 12,200,431 | 33.2 | |
| Libya | 7,305,659 | 28.2 |





