Home

Spain vs. Morocco

Demographics

SpainMorocco
Population47,260,584 (July 2021 est.)36,561,813 (July 2021 est.)

note: includes Western Sahara
Age structure0-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.)
0-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
Median agetotal: 43.9 years

male: 42.7 years

female: 45.1 years (2020 est.)
total: 29.1 years

male: 28.7 years

female: 29.6 years (2020 est.)

note: does not include data from the former Western Sahara
Population growth rate-0.03% (2021 est.)0.92% (2021 est.)

note: does not include data from the former Western Sahara
Birth rate8.05 births/1,000 population (2021 est.)17.58 births/1,000 population (2021 est.)

note: does not include data from the former Western Sahara
Death rate9.78 deaths/1,000 population (2021 est.)6.53 deaths/1,000 population (2021 est.)

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

note: does not include data from the former Western Sahara
Sex ratioat 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.)
at 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
Infant mortality ratetotal: 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.)
total: 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
Life expectancy at birthtotal population: 82.21 years

male: 79.22 years

female: 85.39 years (2021 est.)
total 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 fertility rate1.51 children born/woman (2021 est.)2.29 children born/woman (2021 est.)

note: does not include data from the former Western Sahara
HIV/AIDS - adult prevalence rate0.4% (2020 est.)<.1% (2020 est.)

note: does not include data from the former Western Sahara
Nationalitynoun: Spaniard(s)

adjective: Spanish
noun: Moroccan(s)

adjective: Moroccan
Ethnic groupsSpanish 84.8%, Moroccan 1.7%, Romanian 1.2%, other 12.3% (2021 est.)

note: data represent population by country of birth
Arab-Berber 99%, other 1%

note: does not include data from the former Western Sahara
HIV/AIDS - people living with HIV/AIDS150,000 (2020 est.)

note: estimate does not include children
22,000 (2020 est.)

note: does not include data from the former Western Sahara
ReligionsRoman Catholic 58.2%, atheist 16.2%, agnostic 10.8%, other 2.7%, non-believer 10.5%, unspecified 1.7% (2021 est.)Muslim 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
HIV/AIDS - deaths<1,000 (2020)

note: estimate does not include children
<500 (2020 est.)

note: does not include data from the former Western Sahara
LanguagesCastilian 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.
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; does not include data from the former Western Sahara

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

male: 98.9%

female: 98% (2018)
definition: 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
Major infectious diseasesrespiratory 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
note: 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 population
School life expectancy (primary to tertiary education)total: 18 years

male: 17 years

female: 18 years (2018)
total: 14 years

male: 14 years

female: 14 years (2019)

note: does not include data from the former Western Sahara
Education expenditures4.2% of GDP (2017)NA

note: does not include data from the former Western Sahara
Urbanizationurban 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
urban 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
Drinking water sourceimproved: 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.)
improved: 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
Sanitation facility accessimproved: 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.)
improved: 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
Major cities - population6.669 million MADRID (capital), 5.624 million Barcelona, 835,000 Valencia (2021)3.794 million Casablanca, 1.907 million RABAT (capital), 1.245 million Fes, 1.238 million Tangier, 1.017 million Marrakech, 942,000 Agadir (2021)
Maternal mortality rate4 deaths/100,000 live births (2017 est.)70 deaths/100,000 live births (2017 est.)

note: does not include data from the former Western Sahara
Health expenditures9% (2018)5.3% (2018)

note: does not include data from the former Western Sahara
Physicians density3.87 physicians/1,000 population (2017)0.73 physicians/1,000 population (2017)

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

note: does not include data from the former Western Sahara
Obesity - adult prevalence rate23.8% (2016)26.1% (2016)

note: does not include data from the former Western Sahara
Contraceptive prevalence rate62.1% (2018)

note: percent of women aged 18-49
70.8% (2018)

note: does not include data from the former Western Sahara
Dependency ratiostotal dependency ratio: 52.4

youth dependency ratio: 21.9

elderly dependency ratio: 30.4

potential support ratio: 3.3 (2020 est.)
total 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

Source: CIA Factbook