Morocco Population Pyramid 2027
Morocco in 2027
By 2027, the population of Morocco is expected to reach 39,080,099. Compared with 2017, when the projection stands at 35,446,392, that represents growth of 10.3% over ten years.
The median age is projected at 31.4 years, with 36.5 children under 15 and 13.7 people aged 65 or over for every 100 people of working age (15–64). 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 | 39,080,099 | 31.4 | |
| Algeria | 48,593,408 | 30.0 | |
| Sudan | 54,724,218 | 20.0 | |
| Tunisia | 12,476,098 | 34.8 | |
| Libya | 7,627,488 | 29.4 |





