Skip to content
WorldPop

Morocco

Rank #41 by populationAfrica

Officially Kingdom of Morocco

Population 2025
38,430,770
0.46% of world population
World Bank, 2025
Annual Growth
+0.91%
+351,257 people a year
World Bank, 2025
Density
85/km²
446,300 km² land area
World Bank, 2023
Median Age
29.8 years
Life expectancy 75.5 years
Our World in Data, 2025

About Morocco

With 38.4 million people, Morocco ranks 41st globally and maintains an annual growth rate of 0.9%. The country spans 446,300 km² at a density of 85 people per km², with 63% of its population concentrated in urban areas. A median age of 29.8 years reflects a relatively young demographic, and the fertility rate of 2.2 births per woman supports modest ongoing growth, while life expectancy stands at 75.5 years.

A constitutional monarchy established in 789, Morocco operates with Arabic and Berber as official languages and uses the Moroccan dirham as its currency. The country's GDP per capita is $4,672, positioning it among lower-middle-income economies. Morocco shares borders with Algeria, Western Sahara, and Spain, anchoring its position at the crossroads of North Africa and the Mediterranean region.

This summary is AI-generated from the indicators on this page. The figures themselves come from the sources cited beside each value.

Country Facts

Capital
Rabat
Continent
Africa
ISO codes
MA · MAR
Demonym
Moroccan
Currency
Moroccan dirham (MAD د.م.)
Government
Constitutional monarchy
State inception
789
Time zone
UTC±00:00
Driving side
Right
Calling code
+212
Internet TLD
.ma, المغرب.
Land neighbours
3

Languages

  • Arabic
  • Berber

Demographics

Urban Population131st of 240
63.1%
World Bank, 2025
Fertility Rate96th of 240
2.21 births per woman
World Bank, 2024
Birth Rate94th of 213
16.4 per 1,000
World Bank, 2024
Death Rate166th of 213
5.7 per 1,000
World Bank, 2024

Economy

GDP per Capita167th of 240
$4,672
World Bank, 2025
GDP Growth60th of 210
+4.6%
World Bank, 2025
Unemployment Rate45th of 186
9.0%
World Bank, 2025
Inflation Rate159th of 191
0.7%
World Bank, 2025
Poverty Rate162nd of 164
3.9%
World Bank, 2022
Gini Index51st of 170
39.5
World Bank, 2013

Health

Infant Mortality87th of 194
14.7 per 1,000 live births
World Bank, 2024
Health Spending103rd of 192
6.1% of GDP
World Bank, 2023
Physicians139th of 206
0.74 per 1,000
World Bank, 2021
Hospital Beds172nd of 199
0.73 per 1,000
World Bank, 2023
Maternal Mortality78th of 193
70 per 100,000 live births
World Bank, 2023
Obesity Rate113th of 198
22.0%
Our World in Data, 2024

Education

Literacy Rate152nd of 175
64.3%
World Bank, 2014
Education Spending28th of 202
6.0% of GDP
World Bank, 2023
School Enrollment114th of 207
90.0% gross, secondary
World Bank, 2024
Mean Years of Schooling115th of 148
6.8 years
Our World in Data, 2020

Environment

Renewable Energy142nd of 211
10.9% of final consumption
World Bank, 2021
Forest Coverage147th of 211
12.9% of land area
World Bank, 2023
Protected Areas199th of 211
2.1% of land area
World Bank, 2025
CO₂ Emissions135th of 212
1.81 tonnes per capita
Our World in Data, 2024

Infrastructure

Internet Penetration54th of 211
91.2%
World Bank, 2024
Mobile Subscriptions30th of 212
153.1 per 100 people
World Bank, 2024

Quality of Life

Human Development Index119th of 192
0.710
Our World in Data, 2023
Happiness Index120th of 164
4.65/ 10
Our World in Data, 2025

Geography

Land Area55th of 240
446,300 km²
World Bank, 2023

Military

Military Spending23rd of 163
3.52% of GDP
World Bank, 2024

Age & Gender Distribution

Population by five-year age band, UN World Population Prospects 2024.

Male Female
100+95-9990-9485-8980-8475-7970-7465-6960-6455-5950-5445-4940-4435-3930-3425-2920-2415-1910-145-90-41.73M1.73MAge
Age 0–14
25.6%
Age 15–64
66.2%
Age 65+
8.1%
Source: UN World Population Prospects 2024, medium variant.
Morocco population pyramid
Age bandMaleFemale
100+38145
95-999962,706
90-949,06318,605
85-8939,79767,210
80-84107,995162,542
75-79228,048283,209
70-74431,240452,214
65-69646,939648,548
60-64786,414815,272
55-59890,315920,466
50-541,029,9041,032,155
45-491,174,4841,182,157
40-441,327,1321,315,874
35-391,439,1711,407,282
30-341,489,8691,425,600
25-291,463,7631,399,296
20-241,503,1111,427,890
15-191,632,2201,558,191
10-141,726,4261,633,973
5-91,668,5471,586,622
0-41,606,5501,539,194

Population History & Projection (1950–2100)

Observed population to 2024, then the UN medium-variant projection.

010M20M30M40M1950197520002025205020752100projected →
Morocco's population was 8.94M in 1950 and is projected at 37.9M by 2100. Peak of 43.7M in 2058. Source: UN World Population Prospects 2024 (estimates to 2024, medium variant thereafter).
Morocco population, 1950 to 2100
YearPopulation
19508,935,450
196011,624,933
197015,129,449
198019,459,943
199024,375,551
200028,423,435
201032,467,016
202036,584,208
203039,953,460
204042,168,205
205043,440,431
206043,707,410
207043,078,139
208041,806,425
209040,048,050
210037,884,370

How Morocco Compares

Population against the ten most populous countries.

  1. India1.46B
  2. China1.41B
  3. United States341.8M
  4. Indonesia285.7M
  5. Pakistan255.2M
  6. Nigeria237.5M
  7. Brazil212.8M
  8. Bangladesh175.7M
  9. Russia143.5M
  10. Ethiopia135.5M
  11. Morocco38.4M
Sources as cited on each country page.
Morocco compared with the ten largest countries by population
NamePopulation
India1.46B
China1.41B
United States341.8M
Indonesia285.7M
Pakistan255.2M
Nigeria237.5M
Brazil212.8M
Bangladesh175.7M
Russia143.5M
Ethiopia135.5M
Morocco38.4M

Major Cities in Morocco

1 metropolitan area in our city dataset.

Countries Bordering Morocco

3 land borders.

Morocco Population FAQ

What is the population of Morocco in 2026?

Morocco has a population of 38,430,770 people (2025 estimate), which is 41st in the world and about 0.46% of the global total.

Is the population of Morocco growing or shrinking?

Morocco's population is growing at +0.91% per year, a change of roughly 351,257 people annually.

What is the capital of Morocco?

The capital of Morocco is Rabat.

What is the largest city in Morocco?

Casablanca is the largest metropolitan area in Morocco, with about 3.86M people.

How densely populated is Morocco?

Morocco has 85/km² across 446,300 km² of land area.

What is life expectancy in Morocco?

Life expectancy at birth in Morocco is 75.5 years (2024).

What is the median age in Morocco?

The median age in Morocco is 29.8 years, meaning half the population is younger than that and half older.

Which continent is Morocco in?

Morocco is in Africa.

Explore More Countries