Home

Morocco vs. Algeria

Demographics

MoroccoAlgeria
Population36,561,813 (July 2021 est.)

note: includes Western Sahara
43,576,691 (July 2021 est.)
Age structure0-14 years: 27.04% (male 4,905,626/female 4,709,333)

15-24 years: 16.55% (male 2,953,523/female 2,930,708)

25-54 years: 40.64% (male 7,126,781/female 7,325,709)

55-64 years: 8.67% (male 1,533,771/female 1,548,315)

65 years and over: 7.11% (male 1,225,307/female 1,302,581) (2020 est.)

note: does not include data from the former Western Sahara
0-14 years: 29.58% (male 6,509,490/female 6,201,450)

15-24 years: 13.93% (male 3,063,972/female 2,922,368)

25-54 years: 42.91% (male 9,345,997/female 9,091,558)

55-64 years: 7.41% (male 1,599,369/female 1,585,233)

65 years and over: 6.17% (male 1,252,084/female 1,401,357) (2020 est.)
Median agetotal: 29.1 years

male: 28.7 years

female: 29.6 years (2020 est.)

note: does not include data from the former Western Sahara
total: 28.9 years

male: 28.6 years

female: 29.3 years (2020 est.)
Population growth rate0.92% (2021 est.)

note: does not include data from the former Western Sahara
1.41% (2021 est.)
Birth rate17.58 births/1,000 population (2021 est.)

note: does not include data from the former Western Sahara
19.24 births/1,000 population (2021 est.)
Death rate6.53 deaths/1,000 population (2021 est.)

note: does not include data from the former Western Sahara
4.32 deaths/1,000 population (2021 est.)
Net migration rate-1.83 migrant(s)/1,000 population (2021 est.)

note: does not include data from the former Western Sahara
-0.84 migrant(s)/1,000 population (2021 est.)
Sex ratioat birth: 1.05 male(s)/female

0-14 years: 1.04 male(s)/female

15-24 years: 1.01 male(s)/female

25-54 years: 0.97 male(s)/female

55-64 years: 0.99 male(s)/female

65 years and over: 0.94 male(s)/female

total population: 1 male(s)/female (2020 est.)

note: does not include data from the former Western Sahara
at birth: 1.05 male(s)/female

0-14 years: 1.05 male(s)/female

15-24 years: 1.05 male(s)/female

25-54 years: 1.03 male(s)/female

55-64 years: 1.01 male(s)/female

65 years and over: 0.89 male(s)/female

total population: 1.03 male(s)/female (2020 est.)
Infant mortality ratetotal: 19 deaths/1,000 live births

male: 21.27 deaths/1,000 live births

female: 16.62 deaths/1,000 live births (2021 est.)

note: does not include data from the former Western Sahara
total: 20.23 deaths/1,000 live births

male: 22.36 deaths/1,000 live births

female: 17.98 deaths/1,000 live births (2021 est.)
Life expectancy at birthtotal population: 73.56 years

male: 71.87 years

female: 75.34 years (2021 est.)

note: does not include data from the former Western Sahara
total population: 77.79 years

male: 76.32 years

female: 79.33 years (2021 est.)
Total fertility rate2.29 children born/woman (2021 est.)

note: does not include data from the former Western Sahara
2.55 children born/woman (2021 est.)
HIV/AIDS - adult prevalence rate<.1% (2020 est.)

note: does not include data from the former Western Sahara
<.1% (2020 est.)
Nationalitynoun: Moroccan(s)

adjective: Moroccan
noun: Algerian(s)

adjective: Algerian
Ethnic groupsArab-Berber 99%, other 1%

note: does not include data from the former Western Sahara
Arab-Berber 99%, European less than 1%

note: although almost all Algerians are Berber in origin (not Arab), only a minority identify themselves as primarily Berber, about 15% of the total population; these people live mostly in the mountainous region of Kabylie east of Algiers and several other communities; the Berbers are also Muslim but identify with their Berber rather than Arab cultural heritage; Berbers have long agitated, sometimes violently, for autonomy; the government is unlikely to grant autonomy but has officially recognized Berber languages and introduced them into public schools
HIV/AIDS - people living with HIV/AIDS22,000 (2020 est.)

note: does not include data from the former Western Sahara
18,000 (2020 est.)
ReligionsMuslim 99% (official; virtually all Sunni, <0.1% Shia), other 1% (includes Christian, Jewish, and Baha'i); note - Jewish about 6,000 (2010 est.)

note: does not include data from the former Western Sahara
Muslim (official; predominantly Sunni) 99%, other (includes Christian and Jewish) <1% (2012 est.)
HIV/AIDS - deaths<500 (2020 est.)

note: does not include data from the former Western Sahara
<200 (2020 est.)
LanguagesArabic (official), Berber languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy); note - the proportion of Berber speakers is disputed; does not include data from the former Western Sahara

major-language sample(s):
???? ???? ?????? ???? ??????? ???? ???? ???? ????????? ???????? (Arabic)

The World Factbook, the indispensable source for basic information.
Arabic (official), French (lingua franca), Berber or Tamazight (official); dialects include Kabyle Berber (Taqbaylit), Shawiya Berber (Tacawit), Mzab Berber, Tuareg Berber (Tamahaq)

major-language sample(s):
???? ????? ??????? ?????? ???? ?? ???? ????????? ??? ????????? ???????? (Arabic)

The World Factbook, the indispensable source for basic information.
Literacydefinition: age 15 and over can read and write

total population: 73.8%

male: 83.3%

female: 64.6% (2018)

note: does not include data from the former Western Sahara
definition: age 15 and over can read and write

total population: 81.4%

male: 87.4%

female: 75.3% (2018)
School life expectancy (primary to tertiary education)total: 14 years

male: 14 years

female: 14 years (2019)

note: does not include data from the former Western Sahara
total: 14 years

male: 14 years

female: 15 years (2011)
Education expendituresNA

note: does not include data from the former Western Sahara
NA
Urbanizationurban population: 64.1% of total population (2021)

rate of urbanization: 1.88% annual rate of change (2020-25 est.)

note:  data does not include former Western Sahara
urban population: 74.3% of total population (2021)

rate of urbanization: 1.99% annual rate of change (2020-25 est.)
Drinking water sourceimproved: urban: 98.3% of population

rural: 79.1% of population

total: 91% of population

unimproved: urban: 1.7% of population

rural: 20.9% of population

total: 9% of population (2017 est.)

note: does not include data from the former Western Sahara
improved: urban: 99.2% of population

rural: 97.4% of population

total: 98.7% of population

unimproved: urban: 0.8% of population

rural: 2.1% of population

total: 1.1% of population (2017 est.)
Sanitation facility accessimproved: urban: 99.1% of population

rural: 81.1% of population

total: 92.2% of population

unimproved: urban: 0.9% of population

rural: 18.9% of population

total: 7.3% of population (2017 est.)

note: does not include data from the former Western Sahara
improved: urban: 96.9% of population

rural: 93.4% of population

total: 96% of population

unimproved: urban: 3.1% of population

rural: 6.6% of population

total: 4% of population (2017 est.)
Major cities - population3.794 million Casablanca, 1.907 million RABAT (capital), 1.245 million Fes, 1.238 million Tangier, 1.017 million Marrakech, 942,000 Agadir (2021)2.809 million ALGIERS (capital), 910,000 Oran (2021)
Maternal mortality rate70 deaths/100,000 live births (2017 est.)

note: does not include data from the former Western Sahara
112 deaths/100,000 live births (2017 est.)
Children under the age of 5 years underweight2.6% (2017/18)

note: does not include data from the former Western Sahara
2.7% (2018/19)
Health expenditures5.3% (2018)

note: does not include data from the former Western Sahara
6.2% (2018)
Physicians density0.73 physicians/1,000 population (2017)

note: does not include data from the former Western Sahara
1.72 physicians/1,000 population (2018)
Hospital bed density1 beds/1,000 population (2017)

note: does not include data from the former Western Sahara
1.9 beds/1,000 population (2015)
Obesity - adult prevalence rate26.1% (2016)

note: does not include data from the former Western Sahara
27.4% (2016)
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.

For the first two thirds of the 20th century, Algeria's high fertility rate caused its population to grow rapidly. However, about a decade after independence from France in 1962, the total fertility rate fell dramatically from 7 children per woman in the 1970s to about 2.4 in 2000, slowing Algeria's population growth rate by the late 1980s. The lower fertility rate was mainly the result of women's rising age at first marriage (virtually all Algerian children being born in wedlock) and to a lesser extent the wider use of contraceptives. Later marriages and a preference for smaller families are attributed to increases in women's education and participation in the labor market; higher unemployment; and a shortage of housing forcing multiple generations to live together. The average woman's age at first marriage increased from about 19 in the mid-1950s to 24 in the mid-1970s to 30.5 in the late 1990s.

Algeria's fertility rate experienced an unexpected upturn in the early 2000s, as the average woman's age at first marriage dropped slightly. The reversal in fertility could represent a temporary fluctuation in marriage age or, less likely, a decrease in the steady rate of contraceptive use.

Thousands of Algerian peasants - mainly Berber men from the Kabylia region - faced with land dispossession and economic hardship under French rule migrated temporarily to France to work in manufacturing and mining during the first half of the 20th century. This movement accelerated during World War I, when Algerians filled in for French factory workers or served as soldiers. In the years following independence, low-skilled Algerian workers and Algerians who had supported the French (known as Harkis) emigrated en masse to France. Tighter French immigration rules and Algiers' decision to cease managing labor migration to France in the 1970s limited legal emigration largely to family reunification.

Not until Algeria's civil war in the 1990s did the country again experience substantial outmigration. Many Algerians legally entered Tunisia without visas claiming to be tourists and then stayed as workers. Other Algerians headed to Europe seeking asylum, although France imposed restrictions. Sub-Saharan African migrants came to Algeria after its civil war to work in agriculture and mining. In the 2000s, a wave of educated Algerians went abroad seeking skilled jobs in a wider range of destinations, increasing their presence in North America and Spain. At the same time, legal foreign workers principally from China and Egypt came to work in Algeria's construction and oil sectors. Illegal migrants from Sub-Saharan Africa, particularly Malians, Nigeriens, and Gambians, continue to come to Algeria in search of work or to use it as a stepping stone to Libya and Europe.

Since 1975, Algeria also has been the main recipient of Sahrawi refugees from the ongoing conflict in Western Sahara (today part of Morocco). More than 1000,000 Sahrawis are estimated to be living in five refugee camps in southwestern Algeria near Tindouf.

Contraceptive prevalence rate70.8% (2018)

note: does not include data from the former Western Sahara
57.1% (2012/13)
Dependency ratiostotal dependency ratio: 52.4

youth dependency ratio: 40.8

elderly dependency ratio: 11.6

potential support ratio: 8.6 (2020 est.)

note: does not include data from the former Western Sahara
total dependency ratio: 60.1

youth dependency ratio: 49.3

elderly dependency ratio: 10.8

potential support ratio: 9.3 (2020 est.)

Source: CIA Factbook