Age composition in 2026:
| Morocco | Western Sahara | |
|---|---|---|
| Young Population | 24.76%9,596,736 | 22.73%138,858 |
| Working Age Population | 66.47%25,766,353 | 70.29%429,344 |
| Elderly Population | 8.77%3,399,352 | 6.98%42,620 |
In 2026, the median age is 31.1 years in Morocco and 33.8 years in Western Sahara.Western Sahara already reached Moroccoโs current median age in 2018, about 8 years ahead in population aging.
The total population of Morocco peaks in 2058 at 43,736,169.The total population of Western Sahara peaks in 2089 at 836,625.
By 2050, the dependency ratio of Morocco will be 54.5%, and 16.42% of the population will be elderly.By 2050, the dependency ratio of Western Sahara will be 52.2%, and 15.53% of the population will be elderly.
| Morocco | Western Sahara | ||
|---|---|---|---|
| Demographic dividend (dependency ratio below 50%) | 2029โ2039 | 2003โ2047 | |
| Aging society (65+ reaches 7%) | 2021 | 2027 6 years later | |
| Aged society (65+ reaches 14%) | 2044 | 2048 4 years later | |
| Super-aged society (65+ reaches 20%) | 2060 | 2080 20 years later |