If you lived in Morocco instead of Indonesia, you would:

Health

live 4.2 years longer

In Indonesia, the average life expectancy is 71 years (69 years for men, 73 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 →

see 45.5% more spent on your healthcare

Indonesia spends $417 per person on healthcare as of 2023 (international dollars, adjusted for prices). Morocco spends $606 as of 2023.

View global rankings →

have 41.2% more doctors per person

Indonesia has 5.2 doctors per 10,000 people as of 2023. Morocco has 7.4 as of 2021.

View global rankings →

have 25.5% more access to essential health services

Indonesia scores 55 out of 100 on the universal health coverage index as of 2021. Morocco scores 69 as of 2021.

View global rankings →

be 82.7% more likely to be obese

In Indonesia, 11.8% of adults are obese as of 2024. In Morocco, that number is 21.6% of people as of 2024.

View global rankings →

be 2.4 times more likely to die by suicide

Indonesia has a suicide rate of 1.2 per 100,000 people as of 2021. In Morocco, it is 2.9 per 100,000 as of 2021.

View global rankings →

Economy

be 54.1% less likely to live below the poverty line

In Indonesia, 8.5% live below the poverty line as of 2025. In Morocco, however, that number is 3.9% as of 2022.

View global rankings →

be 2.8 times more likely to be unemployed

In Indonesia, 3.2% of the labor force is unemployed as of 2025. In Morocco, that number is 9.0% as of 2025.

View global rankings →

Life

be 50.0% less likely to die during childbirth

In Indonesia, approximately 140.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 20.9% less likely to be literate

In Indonesia, the literacy rate is 96.0% as of 2020. In Morocco, it is 75.9% as of 2021.

View global rankings →

Basic Needs

be 25.3% more likely to have internet access

In Indonesia, approximately 72.8% of the population has internet access as of 2024. In Morocco, about 91.2% do as of 2024.

View global rankings →

Expenditures

spend 4.7 times more on education

Indonesia spends 1.3% of its total GDP on education as of 2023. Morocco spends 6.0% of total GDP on education as of 2023.

View global rankings →

spend 2.2 times more on healthcare

Indonesia spends 2.7% of its total GDP on healthcare as of 2023. In Morocco, that number is 6.1% of GDP as of 2023.

View global rankings →

Geography

see 96.6% less coastline

Indonesia has a total of 54,716 km of coastline. In Morocco, that number is 1,835 km.

View global rankings →

Safety

be 5.7 times more likely to be murdered

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

View global rankings →

be 64.6% more likely to die in a road accident

In Indonesia, road accidents kill 11.3 people per 100,000 as of 2021. In Morocco, they kill 18.6 per 100,000 as of 2021.

View global rankings →

Infrastructure

find 48.4% more home broadband

Indonesia has 4.9 fixed broadband subscriptions per 100 people as of 2024. Morocco has 7.3 as of 2024.

View global rankings →

live with 70.9% more strain on fresh water

Indonesia withdraws 30% of its available fresh water each year as of 2022. Morocco withdraws 51% as of 2022.

View global rankings →

use 31.0% less electricity

Indonesia uses 1,445 kWh of electricity per person each year as of 2023. Morocco uses 997 kWh as of 2023.

View global rankings →

Environment

emit 35.9% less CO2

Indonesia emits 2.9 tonnes of CO2 per person each year as of 2024. Morocco emits 1.8 tonnes as of 2024.

View global rankings →


Sources: World Bank (2020–2025), United Nations SDG Indicators (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 Indonesia? See an in-depth size comparison.

Share this

Ask the Elsewhere Community

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