If you lived in Morocco instead of El Salvador, you would:

Health

live 3.2 years longer

In El Salvador, the average life expectancy is 72 years (68 years for men, 76 years for women) as of 2024. In Morocco, that number is 75 years (73 years for men, 78 years for women) as of 2024.

View global rankings →

be 33.0% less likely to be obese

In El Salvador, 32.2% of adults are obese as of 2024. In Morocco, that number is 21.6% of people as of 2024.

View global rankings →

be 61.9% less likely to die by suicide

El Salvador has a suicide rate of 7.6 per 100,000 people as of 2021. In Morocco, it is 2.9 per 100,000 as of 2021.

View global rankings →

see 48.4% less spent on your healthcare

El Salvador spends $1,176 per person on healthcare as of 2023 (international dollars, adjusted for prices). Morocco spends $606 as of 2023.

View global rankings →

have 54.2% fewer doctors per person

El Salvador has 16.2 doctors per 10,000 people as of 2023. Morocco has 7.4 as of 2021.

View global rankings →

have 11.5% less access to essential health services

El Salvador scores 78 out of 100 on the universal health coverage index as of 2021. Morocco scores 69 as of 2021.

View global rankings →

Economy

be 85.7% less likely to live below the poverty line

In El Salvador, 27.2% live below the poverty line as of 2023. In Morocco, however, that number is 3.9% as of 2022.

View global rankings →

be 2.7 times more likely to be unemployed

In El Salvador, 3.3% of the labor force is unemployed as of 2025. In Morocco, that number is 9.0% as of 2025.

View global rankings →

make 19.0% less money

El Salvador has a GDP per capita of $5,767 as of 2025, while in Morocco, the GDP per capita is $4,672 as of 2025.

View global rankings →

Life

be 79.5% more likely to die during childbirth

In El Salvador, approximately 39.0 women die from pregnancy or childbirth per 100,000 live births as of 2023. In Morocco, 70.0 women do as of 2023.

View global rankings →

be 15.5% less likely to be literate

In El Salvador, the literacy rate is 89.8% as of 2024. In Morocco, it is 75.9% as of 2021.

View global rankings →

be 67.0% more likely to die during infancy

In El Salvador, approximately 8.8 children (per 1,000 live births) die before they reach the age of one as of 2024. In Morocco, on the other hand, 14.7 children do as of 2024.

View global rankings →

Basic Needs

be 37.2% more likely to have internet access

In El Salvador, approximately 66.5% of the population has internet access as of 2024. In Morocco, about 91.2% do as of 2024.

View global rankings →

Expenditures

spend 34.8% less on healthcare

El Salvador spends 9.3% of its total GDP on healthcare as of 2023. In Morocco, that number is 6.1% of GDP as of 2023.

View global rankings →

spend 81.3% more on education

El Salvador spends 3.3% of its total GDP on education as of 2024. Morocco spends 6.0% of total GDP on education as of 2023.

View global rankings →

Geography

see 6.0 times more coastline

El Salvador has a total of 307 km of coastline. In Morocco, that number is 1,835 km.

View global rankings →

Safety

be 78.4% less likely to be murdered

El Salvador has a homicide rate of 7.9 per 100,000 people as of 2022. In Morocco, that number is 1.7 per 100,000 as of 2023.

View global rankings →

be 13.5% less likely to die in a road accident

In El Salvador, road accidents kill 21.5 people per 100,000 as of 2021. In Morocco, they kill 18.6 per 100,000 as of 2021.

View global rankings →

Infrastructure

find 41.4% less home broadband

El Salvador has 12.5 fixed broadband subscriptions per 100 people as of 2024. Morocco has 7.3 as of 2024.

View global rankings →

live with 4.2 times more strain on fresh water

El Salvador withdraws 12% of its available fresh water each year as of 2022. Morocco withdraws 51% as of 2022.

View global rankings →

use 12.3% less electricity

El Salvador uses 1,137 kWh of electricity per person each year as of 2023. Morocco uses 997 kWh as of 2023.

View global rankings →

Environment

be 90.3% more likely to die from air pollution

In El Salvador, air pollution causes 31.0 deaths per 100,000 people as of 2019. In Morocco, it causes 59.0 as of 2019.

View global rankings →

emit 21.9% more CO2

El Salvador emits 1.5 tonnes of CO2 per person each year as of 2024. Morocco emits 1.8 tonnes as of 2024.

View global rankings →


Sources: World Bank (2021–2025), United Nations SDG Indicators (2019–2021), The World Factbook (2021), World Health Organization (2024). How we calculate this

Morocco: At a glance

Morocco is a sovereign country in Africa, with a total land area of approximately 446,300 sq km. In 788, about a century after the Arab conquest of North Africa, a series of Moroccan Muslim dynasties began to rule in Morocco. In the 16th century, the Sa'adi monarchy, particularly under Ahmad al-MANSUR (1578-1603), repelled foreign invaders and inaugurated a golden age. The Alaouite Dynasty, to which the current Moroccan royal family belongs, dates from the 17th century. In 1860, Spain occupied northern Morocco and ushered in a half century of trade rivalry among European powers that saw Morocco's sovereignty steadily erode; in 1912, the French imposed a protectorate over the country. A protracted independence struggle with France ended successfully in 1956. The internationalized city of Tangier and most Spanish possessions were turned over to the new country that same year. Sultan MOHAMMED V, the current monarch's grandfather, organized the new state as a constitutional monarchy and in 1957 assumed the title of king. Although Morocco is not the UN-recognized Administering Power for the Western Sahara, it exercises de facto administrative control over 80% of the territory. The UN since 1991 has monitored a ceasefire between Morocco and the Polisario Front and leads ongoing negotiations over the status of the territory. King MOHAMMED VI in early 2011 responded to the spread of pro-democracy protests in the region by implementing a reform program that included a new constitution, passed by popular referendum in July 2011, under which some new powers were extended to parliament and the prime minister but ultimate authority remains in the hands of the monarch. In November 2012, the Justice and Development Party - a moderate Islamist party - won the largest number of seats in parliamentary elections, becoming the first Islamist party to lead the Moroccan Government.
Read more

How big is Morocco compared to El Salvador? See an in-depth size comparison.

Share this

Ask the Elsewhere Community

Join the Elsewhere community and ask a question about Morocco or El Salvador. It's a free, question-and-answer based forum to discuss what life is like in countries and cities around the world.