Home

Morocco vs. Spain

Demographics

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

note: includes Western Sahara
47,260,584 (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: 15.02% (male 3,861,522/female 3,650,085)

15-24 years: 9.9% (male 2,557,504/female 2,392,498)

25-54 years: 43.61% (male 11,134,006/female 10,675,873)

55-64 years: 12.99% (male 3,177,080/female 3,319,823)

65 years and over: 18.49% (male 3,970,417/female 5,276,984) (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: 43.9 years

male: 42.7 years

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

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

note: does not include data from the former Western Sahara
8.05 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
9.78 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
1.39 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.07 male(s)/female

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

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

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

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

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

total population: 0.98 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: 3.14 deaths/1,000 live births

male: 3.51 deaths/1,000 live births

female: 2.74 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: 82.21 years

male: 79.22 years

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

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

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

adjective: Moroccan
noun: Spaniard(s)

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

note: does not include data from the former Western Sahara
Spanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.)

note: data represent population by country of birth
HIV/AIDS - people living with HIV/AIDS22,000 (2020 est.)

note: does not include data from the former Western Sahara
150,000 (2020 est.)

note: estimate does not include children
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
Roman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)
HIV/AIDS - deaths<500 (2020 est.)

note: does not include data from the former Western Sahara
<1,000 (2020)

note: estimate does not include children
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.
Castilian Spanish (official nationwide) 74%, Catalan (official in Catalonia, the Balearic Islands, and the Valencian Community (where it is known as Valencian)) 17%, Galician (official in Galicia) 7%, Basque (official in the Basque Country and in the Basque-speaking area of Navarre) 2%, Aranese (official in the northwest corner of Catalonia (Vall d'Aran) along with Catalan, <5,000 speakers); note - Aragonese, Aranese Asturian, Basque, Calo, Catalan, Galician, and Valencian are recognized as regional languages under the European Charter for Regional or Minority Languages

major-language sample(s):
La Libreta Informativa del Mundo, la fuente indispensable de información básica. (Spanish)

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: 98.4%

male: 98.9%

female: 98% (2018)
Major infectious diseasesnote: clusters of cases of a respiratory illness caused by the novel coronavirus (COVID-19) are occurring in Morocco; as of 24 January 2021, Morocco has reported a total of 465,769 cases of COVID-19 or 1,261.9 cumulative cases of COVID-19 per 100,000 population with 22.0 cumulative deaths per 100,000 populationrespiratory diseases: Covid-19 (see note) (2020)

note: widespread ongoing transmission of a respiratory illness caused by the novel coronavirus (COVID-19) is occurring throughout Spain; as of 19 July 2021, Spain has reported a total of 4,161,850 cases of COVID-19 or 8,792.77 cumulative cases of COVID-19 per 100,000 population with 171.38 cumulative deaths per 100,000 population; as of 19 July 2021, 63.52% of the population has received at least one dose of COVID-19 vaccine; the Department of Homeland Security has issued instructions requiring US passengers who have been in Spain to travel through select airports where the US Government has implemented enhanced screening procedures
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: 18 years

male: 17 years

female: 18 years (2018)
Education expendituresNA

note: does not include data from the former Western Sahara
4.2% of GDP (2017)
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: 81.1% of total population (2021)

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

note: data include Canary Islands, Ceuta, and Melilla
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: 100% of population

rural: 100% of population

total: 100% of population

unimproved: urban: 0% of population

rural: 0% of population

total: 0% 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: 100% of population

rural: 100% of population

total: 100% of population

unimproved: urban: 0% of population

rural: 0% of population

total: 0% 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)6.669 million MADRID (capital), 5.624 million Barcelona, 835,000 Valencia (2021)
Maternal mortality rate70 deaths/100,000 live births (2017 est.)

note: does not include data from the former Western Sahara
4 deaths/100,000 live births (2017 est.)
Health expenditures5.3% (2018)

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

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

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

note: does not include data from the former Western Sahara
23.8% (2016)
Contraceptive prevalence rate70.8% (2018)

note: does not include data from the former Western Sahara
62.1% (2018)

note: percent of women aged 18-49
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: 52.4

youth dependency ratio: 21.9

elderly dependency ratio: 30.4

potential support ratio: 3.3 (2020 est.)

Source: CIA Factbook