Morocco vs Libya: population pyramids in 2026
MoroccoLibya
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
Morocco and Libya compared
In 2026, Morocco has a population of 38.6 million and Libya 7.5 million; Morocco is about 5.1 times the size of Libya.
The share aged 65 and over is 8.6% in Morocco and 5.3% in Libya, 3.3 points higher in Morocco. The median age is 30.1 years in Morocco and 28.0 years in Libya.
The total fertility rate is 2.16 in Morocco and 2.21 in Libya, both above the replacement level of about 2.1. Life expectancy at birth is 75.9 years in Morocco and 75.2 years in Libya.
By 2050, the population of Morocco is projected to grow by 12.4% and that of Libya to grow by 23.2% compared with 2026.
GDP per person is $4,672 in Morocco (2025) and $6,449 in Libya (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Morocco | Libya | |
|---|---|---|
| Population | 38.6 million | 7.5 million |
| Aged 0–14 | 25.0% | 26.5% |
| Aged 15–64 | 66.4% | 68.2% |
| Aged 65+ | 8.6% | 5.3% |
| Median age | 30.1 yrs | 28.0 yrs |
| Old-age dependency | 13.0 | 7.8 |
| Total fertility rate | 2.16 | 2.21 |
| Life expectancy | 75.9 yrs | 75.2 yrs |
| Population growth | +0.84% | +1.12% |
| Net migration (per year) | -60,886 | +2,610 |
| GDP | $182B (2025) | $48B (2025) |
| GDP per person | $4,672 (2025) | $6,449 (2025) |
| Unemployment | 9% (2025) | 18.8% (2025) |
Economic figures are the latest year published for each country.