Morocco Population Pyramid 2020
Morocco in 2020
The population of Morocco in 2020 was 36,584,208. That is 12.7% more than in 2010, when the population stood at 32,467,015.
With a median age of 29.2 years, Morocco had a youth dependency ratio of 40.9 and an old-age dependency ratio of 10.6 per 100 people of working age. 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 | 36,584,208 | 29.2 | |
| Algeria | 44,042,091 | 28.6 | |
| Sudan | 46,789,231 | 18.9 | |
| Tunisia | 11,974,057 | 32.0 | |
| Libya | 7,045,399 | 27.5 |





