Morocco Population Pyramid 2024
Morocco in 2024
As of 2024, Morocco counted 38,081,173 inhabitants. Over the previous ten years the population grew by 11.3%, up from 34,204,780 in 2014.
The median age was 30.5 years, and for every 100 people of working age (15–64) there were 38.7 children under 15 and 12.3 people aged 65 or over. The pyramid is stationary: cohort sizes are roughly even through the younger ages, reflecting fertility close to replacement level and slow population change.
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 | 38,081,173 | 30.5 | |
| Algeria | 46,814,308 | 29.3 | |
| Sudan | 50,448,963 | 19.4 | |
| Tunisia | 12,277,109 | 33.5 | |
| Libya | 7,381,023 | 28.5 |





