Skip to content
PopulationCount

Libya vs Morocco population (2026)

AMorocco

38.8 million

#41 in the world · +0.84% a year

Open Morocco →

BLibya

7.5 million

#105 in the world · +1.12% a year

Open Libya →

Summary

Morocco has 38.8 million people in 2026, 31.2 million more than Libya (7.5 million), about 5.1 times as many.

Updated:

Side by side

IndicatorMoroccoLibya
Population38,762,4417,539,852
World rank41105
Annual change0.84%1.12%
Density (per km²)875
Median age30.128.0
Fertility rate2.162.21
Life expectancy75.975.2
Urban population63.1%87.9%
Birth rate15.815.8
Death rate5.94.9
Net migration rate−1.6+0.3
Infant mortality12.86.8
Under-5 mortality15.28.4
Life expectancy, women78.177.8
Life expectancy, men73.772.7
Children under 1524.8%26.2%
Working age, 15–6466.5%68.4%
People aged 65+8.8%5.4%
Dependency ratio50.446.3
Sex ratio101.6103.3
Population 205043,440,4319,260,606
Population 210037,884,3709,783,568

Population, 1950–2100

  • Morocco
  • Libya
Morocco vs Libya population, 1950–2100010M20M30M40M50M1950197520002025205020752100Morocco vs Libya population, 1950–2100010M20M30M40M50M1950200020502100
UN medium scenario. Hover or tap the chart for exact values. Dashed line: current year.

Fertility rate

  • Morocco
  • Libya
Fertility rate: Morocco vs Libya, 1950–210002468101950197520002025205020752100Fertility rate: Morocco vs Libya, 1950–210002468101950200020502100
Fertility rate, births per woman, 1950–2100. After 2026: UN medium projection.

Median age

  • Morocco
  • Libya
Median age: Morocco vs Libya, 1950–210010203040501950197520002025205020752100Median age: Morocco vs Libya, 1950–210010203040501950200020502100
Median age, years, 1950–2100. After 2026: UN medium projection.

Life expectancy

  • Morocco
  • Libya
Life expectancy: Morocco vs Libya, 1950–2100204060801001950197520002025205020752100Life expectancy: Morocco vs Libya, 1950–2100204060801001950200020502100
Life expectancy, years, 1950–2100. After 2026: UN medium projection.

Morocco age pyramid

  • Male
  • Female
Morocco age pyramid 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemaleMorocco age pyramid 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemale
Thousands of people by 5-year age group. Each pyramid has its own scale.

Libya age pyramid

  • Male
  • Female
Libya age pyramid 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemaleLibya age pyramid 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemale
Thousands of people by 5-year age group. Each pyramid has its own scale.
Compare other countries

Frequently asked questions

Which has a larger population, Morocco or Libya?

Morocco has 38.8 million people in 2026, 31.2 million more than Libya (7.5 million), about 5.1 times as many.

Will Libya overtake Morocco?

Under the UN medium scenario, Libya is not projected to overtake Morocco before 2100.

Which country is younger, Morocco or Libya?

The median age is 30.1 years in Morocco and 28.0 years in Libya.

More comparisons

Sources and how to cite

Data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. Medium scenario, mid-year (1 July) estimates and projections. Licence CC BY 3.0 IGO. See the methodology and editorial policy.

Spotted an error? Report it.

APA

PopulationCount. (2026). Libya vs Morocco Population (2026). Retrieved 2026-11-27, from https://populationcount.com/compare/libya-vs-morocco

MLA

"Libya vs Morocco Population (2026)." PopulationCount, 2026, populationcount.com/compare/libya-vs-morocco. Accessed 27 Nov. 2026.

Chicago

PopulationCount. "Libya vs Morocco Population (2026)." 2026. Accessed November 27, 2026. https://populationcount.com/compare/libya-vs-morocco.

Harvard

PopulationCount (2026) Libya vs Morocco Population (2026). Available at: https://populationcount.com/compare/libya-vs-morocco (Accessed: 2026-11-27).

BibTeX

@misc{populationcount2026comparelibyavsmorocco,
  author = {{PopulationCount}},
  title = {Libya vs Morocco Population (2026)},
  year = {2026},
  url = {https://populationcount.com/compare/libya-vs-morocco},
  note = {Data: United Nations, World Population Prospects 2024. Accessed 2026-11-27}
}