World Factbook
Morocco
Al Mamlakah al Maghribiyah
Last updated: 2026-03-28 (today)
Languages
note
note: the proportion of Tamazight speakers is disputed
Languages
Arabic (official), Tamazight languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy)
major-language sample(s)
كتاب ديال لحقائق متاع العالم، احسن مصدر متاع المعلومات الأساسية (Arabic) The World Factbook, the indispensable source for basic information.
Religions
Muslim 99% (official; virtually all Sunni, <0.1% Shia), other 1% (includes Christian, Jewish, and Baha'i); note - Jewish about 3,000-3,500 (2020 est.)
note: does not include data from the former Western Sahara
Sex ratio
at birth
1.05 male(s)/female
0-14 years
1.04 male(s)/female
15-64 years
0.99 male(s)/female
total population
1 male(s)/female (2024 est.)
65 years and over
0.95 male(s)/female
Birth rate
16.5 births/1,000 population (2025 est.)
Death rate
6.66 deaths/1,000 population (2025 est.)
Median age
male
30.1 years
total
30.9 years (2025 est.)
female
31 years
Population
male
18,664,263
total
37,387,585 (2024 est.)
female
18,723,322
Nationality
noun
Moroccan(s)
adjective
Moroccan
Tobacco use
male
23.7% (2025 est.)
total
12.3% (2025 est.)
female
0.9% (2025 est.)
Urbanization
note
note: data does not include former Western Sahara
urban population
65.1% of total population (2023)
rate of urbanization
1.88% annual rate of change (2020-25 est.)
Age structure
0-14 years
25.7% (male 4,898,154/female 4,701,786)
15-64 years
65.9% (male 12,236,752/female 12,410,567)
65 years and over
8.4% (2024 est.) (male 1,529,357/female 1,610,969)
Ethnic groups
Arab-Amazigh 99%, other 1%
note: does not include data from the former Western Sahara
Child marriage
women married by age 15
0.5% (2018)
women married by age 18
13.7% (2018)
Dependency ratios
total dependency ratio
51.7 (2024 est.)
youth dependency ratio
38.9 (2024 est.)
potential support ratio
7.8 (2024 est.)
elderly dependency ratio
12.7 (2024 est.)
Physician density
0.74 physicians/1,000 population (2021)
Health expenditure
Health expenditure (as % of GDP)
5.7% of GDP (2021)
Health expenditure (as % of national budget)
6.8% of national budget (2022 est.)
Net migration rate
-1.7 migrant(s)/1,000 population (2025 est.)
Hospital bed density
0.7 beds/1,000 population (2020 est.)
note: does not include data from the former Western Sahara
Total fertility rate
2.24 children born/woman (2025 est.)
Drinking water source
improved: rural
rural: 65.6% of population (2022 est.)
improved: total
total: 87% of population (2022 est.)
improved: urban
urban: 98.8% of population (2022 est.)
unimproved: rural
rural: 34.4% of population (2022 est.)
unimproved: total
total: 13% of population (2022 est.)
unimproved: urban
urban: 1.2% of population (2022 est.)
Education expenditure
Education expenditure (% GDP)
6% of GDP (2023 est.)
Education expenditure (% national budget)
23.3% national budget (2024 est.)
Infant mortality rate
male
20.4 deaths/1,000 live births
total
17.8 deaths/1,000 live births (2025 est.)
female
16 deaths/1,000 live births
Population growth rate
0.81% (2025 est.)
Gross reproduction rate
1.09 (2025 est.)
Population distribution
the highest population density is found along the Atlantic and Mediterranean coasts; a number of densely populated agglomerations are scattered through the Atlas Mountains, as shown in this population distribution map
Life expectancy at birth
male
72.5 years
female
76 years
total population
74.2 years (2024 est.)
Maternal mortality ratio
70 deaths/100,000 live births (2023 est.)
Sanitation facility access
improved: rural
rural: 72.4% of population (2022 est.)
improved: total
total: 89.1% of population (2022 est.)
improved: urban
urban: 98.2% of population (2022 est.)
unimproved: rural
rural: 27.6% of population (2022 est.)
unimproved: total
total: 10.9% of population (2022 est.)
unimproved: urban
urban: 1.8% of population (2022 est.)
Alcohol consumption per capita
beer
0.18 liters of pure alcohol (2019 est.)
wine
0.24 liters of pure alcohol (2019 est.)
total
0.51 liters of pure alcohol (2019 est.)
spirits
0.09 liters of pure alcohol (2019 est.)
other alcohols
0 liters of pure alcohol (2019 est.)
Major urban areas - population
3.893 million Casablanca, 1.959 million RABAT (capital), 1.290 million Fes, 1.314 million Tangier, 1.050 million Marrakech, 979,000 Agadir (2023)
Obesity - adult prevalence rate
26.1% (2016)
Currently married women (ages 15-49)
58% (2018 est.)
Children under the age of 5 years underweight
3% (2019 est.)
School life expectancy (primary to tertiary education)
male
15 years (2023 est.)
total
15 years (2023 est.)
female
15 years (2023 est.)