World Population PyramidsPopulation pyramids and indicators by country and year日本語

Morocco vs Libya: population pyramids in 2026

◀2026▶Swap

MoroccoLibya

1%0.75%0.5%0.25%0%0.25%0.5%0.75%1%0102030405060708090100+MaleFemale

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)

MoroccoLibya
Population38.6 million7.5 million
Aged 0–1425.0%26.5%
Aged 15–6466.4%68.2%
Aged 65+8.6%5.3%
Median age30.1 yrs28.0 yrs
Old-age dependency13.07.8
Total fertility rate2.162.21
Life expectancy75.9 yrs75.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)
Unemployment9% (2025)18.8% (2025)

Economic figures are the latest year published for each country.

Compare other years