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