Flag of Morocco

Morocco Demographics Profile 2019

Home > Factbook > Countries > Morocco

34,314,130 (July 2018 est.)
Age structure
0-14 years: 25.47% (male 4,441,554 /female 4,298,715)
15-24 years: 16.83% (male 2,873,939 /female 2,902,206)
25-54 years: 42.41% (male 7,039,912 /female 7,513,651)
55-64 years: 8.33% (male 1,404,527 /female 1,454,304)
65 years and over: 6.95% (male 1,081,035 /female 1,304,287) (2018 est.)
Dependency ratios
total dependency ratio: 51.6 (2015 est.)
youth dependency ratio: 41.9 (2015 est.)
elderly dependency ratio: 9.7 (2015 est.)
potential support ratio: 10.3 (2015 est.)
Median age
total: 29.7 years (2018 est.)
male: 29 years
female: 30.3 years
Population growth rate
0.95% (2018 est.)
Birth rate
17.5 births/1,000 population (2018 est.)
Death rate
4.9 deaths/1,000 population (2018 est.)
Net migration rate
-3.1 migrant(s)/1,000 population (2018 est.)
urban population: 63% of total population (2019)
rate of urbanization: 2.14% annual rate of change (2015-20 est.)
Major cities - population
3.716 million Casablanca, 1.865 million RABAT (capital), 1.204 million Fes, 1.157 million Tangier, 989,000 Marrakech, 906,000 Agadir (2019)
Sex ratio
at birth: 1.05 male(s)/female
0-14 years: 1.03 male(s)/female
15-24 years: 0.99 male(s)/female
25-54 years: 0.94 male(s)/female
55-64 years: 0.97 male(s)/female
65 years and over: 0.83 male(s)/female
total population: 0.96 male(s)/female (2018 est.)
Infant mortality rate
total: 21.1 deaths/1,000 live births (2018 est.)
male: 25 deaths/1,000 live births
female: 16.9 deaths/1,000 live births
Life expectancy at birth
total population: 77.3 years (2018 est.)
male: 74.2 years
female: 80.5 years
Total fertility rate
2.09 children born/woman (2018 est.)
Contraceptive prevalence rate
70.8% (2018)
HIV/AIDS - adult prevalence rate
<.1% (2018 est.)
HIV/AIDS - people living with HIV/AIDS
21,000 (2018 est.)
HIV/AIDS - deaths
<500 (2018 est.)
Drinking water source
improved: urban: 98.7% of population
rural: 65.3% of population
total: 85.4% of population
unimproved: urban: 1.3% of population
rural: 34.7% of population
total: 14.6% of population (2015 est.)
Sanitation facility access
improved: urban: 84.1% of population (2015 est.)
rural: 65.5% of population (2015 est.)
total: 76.7% of population (2015 est.)
unimproved: urban: 15.9% of population (2015 est.)
rural: 34.5% of population (2015 est.)
total: 23.3% of population (2015 est.)
noun: Moroccan(s)
adjective: Moroccan
Ethnic groups
Arab-Berber 99%, other 1%
Muslim 99% (official; virtually all Sunni, <0.1% Shia), other 1% (includes Christian, Jewish, and Baha'i); note - Jewish about 6,000 (2010 est.)
Demographic profile

Morocco is undergoing a demographic transition. Its population is growing but at a declining rate, as people live longer and women have fewer children. Infant, child, and maternal mortality rates have been reduced through better health care, nutrition, hygiene, and vaccination coverage, although disparities between urban and rural and rich and poor households persist. Morocco’s shrinking child cohort reflects the decline of its total fertility rate from 5 in mid-1980s to 2.2 in 2010, which is a result of increased female educational attainment, higher contraceptive use, delayed marriage, and the desire for smaller families. Young adults (persons aged 15-29) make up almost 26% of the total population and represent a potential economic asset if they can be gainfully employed. Currently, however, many youths are unemployed because Morocco’s job creation rate has not kept pace with the growth of its working-age population. Most youths who have jobs work in the informal sector with little security or benefits.

During the second half of the 20th century, Morocco became one of the world’s top emigration countries, creating large, widely dispersed migrant communities in Western Europe. The Moroccan Government has encouraged emigration since its independence in 1956, both to secure remittances for funding national development and as an outlet to prevent unrest in rebellious (often Berber) areas. Although Moroccan labor migrants earlier targeted Algeria and France, the flood of Moroccan "guest workers" from the mid-1960s to the early 1970s spread widely across northwestern Europe to fill unskilled jobs in the booming manufacturing, mining, construction, and agriculture industries. Host societies and most Moroccan migrants expected this migration to be temporary, but deteriorating economic conditions in Morocco related to the 1973 oil crisis and tighter European immigration policies resulted in these stays becoming permanent.

A wave of family migration followed in the 1970s and 1980s, with a growing number of second generation Moroccans opting to become naturalized citizens of their host countries. Spain and Italy emerged as new destination countries in the mid-1980s, but their introduction of visa restrictions in the early 1990s pushed Moroccans increasingly to migrate either legally by marrying Moroccans already in Europe or illegally to work in the underground economy. Women began to make up a growing share of these labor migrants. At the same time, some higher-skilled Moroccans went to the US and Quebec, Canada.

In the mid-1990s, Morocco developed into a transit country for asylum seekers from sub-Saharan Africa and illegal labor migrants from sub-Saharan Africa and South Asia trying to reach Europe via southern Spain, Spain’s Canary Islands, or Spain’s North African enclaves, Ceuta and Melilla. Forcible expulsions by Moroccan and Spanish security forces have not deterred these illegal migrants or calmed Europe’s security concerns. Rabat remains unlikely to adopt an EU agreement to take back third-country nationals who have entered the EU illegally via Morocco. Thousands of other illegal migrants have chosen to stay in Morocco until they earn enough money for further travel or permanently as a "second-best" option. The launching of a regularization program in 2014 legalized the status of some migrants and granted them equal access to education, health care, and work, but xenophobia and racism remain obstacles.

Arabic (official), Berber languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy)
note:  the proportion of Berber speakers is disputed
definition: age 15 and over can read and write
total population: 68.5%
male: 78.6%
female: 58.8% (2015 est.)
School life expectancy (primary to tertiary education)
total: 13 years
male: 14 years
female: 13 years (2017)
Education expenditures
5.3% of GDP (2009)
Maternal mortality rate
70 deaths/100,000 live births (2017 est.)
Children under the age of 5 years underweight
2.9% (2011)
Health expenditures
5.5% (2015)
Physicians density
0.73 physicians/1,000 population (2017)
Hospital bed density
1.1 beds/1,000 population (2014)
Obesity - adult prevalence rate
26.1% (2016)

Source: CIA World Factbook
This page was last updated on December 7, 2019

Demographics Comparison