Morocco

AfricaRegional Champion

Morocco dominates Africa when it comes to tourist arrivals. That 2.8 million figure tops every neighbor. See how it stacks up across the continent.

Morocco is a country in Africa with a population of 37.39M and an area of 446,550 km². Life expectancy is 75.3 years.

At a Glance

The numbers that define this country

Population

37.39M
#40globally

The total number of people living in the country.

Internet Users (%)

91.0%
#56globally

The percentage of people who have used the internet in the last 3 months.

Land Area

446.3K
#55globally

Total land area in square kilometers, excluding lakes, rivers, and territorial waters.

Life Expectancy

75.3 years
#100globally

How many years a newborn can expect to live, based on current mortality rates.

Life Expectancy

75.3 years
#118globally

How many years a newborn can expect to live, based on current mortality rates.

University Enrollment Rate

48.2%
#79globally

Total university and college enrollment as a percentage of the typical college-age population.

Where They Stand Out

Global rankings worth knowing

🛡️Active Military Personnel

220.0K
#19globallyTop performer

Military and security service personnel strengths from CIA World Factbook.

🌱Irrigated Land

17.6K
#23globallyTop performer

Irrigated land area from CIA World Factbook.

🛡️Military Spend (% GDP)

4.0%
#21globallyTop performer

Military expenditures as percent of GDP from CIA World Factbook.

🚀Education Spending (% GDP)

6.0%
#26globallyTop performer

Government spending on education as a percentage of GDP.

📡Mobile Subscriptions (%)

148.155
#36globally

The number of mobile phone subscriptions per 100 people.

Did You Know?

Facts that catch players off guard

🌍

Only ranks #228 in lowest elevation

Lowest Elevation: -59

Lowest point elevation from CIA World Factbook.

🌱

Only ranks #200 in protected land (%)

Protected Land (%): 2.1%

The percentage of land area designated as protected natural reserves or parks.

World Bank 2023
💰

Has one of the highest rates of inflation rate

Inflation Rate: 1.0%

How much prices increased over the year, based on the cost of everyday goods and services.

World Bank 2023
🛡️

Ranks #19 globally in active military personnel

Active Military Personnel: 220.0K

Military and security service personnel strengths from CIA World Factbook.

🌱

Ranks #23 globally in irrigated land

Irrigated Land: 17.6K

Irrigated land area from CIA World Factbook.

Surprised? See how you stack up.

Play Now

How Morocco Compares

Country vs continent vs world averages

Morocco
Africa avg
World avg

GDP per Capita

GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.

World Bank 2023
Morocco10.4K
Africa7.9K
World31.8K

Life Expectancy

Above avg

How many years a newborn can expect to live, based on current mortality rates.

World Bank 2023
Morocco75.3 years
Africa65.4 years
World73.7 years

Human Development Index

The Human Development Index (HDI), combining life expectancy, education, and income into a single score from 0 to 1.

Our World in Data 2023
Morocco0.71
Africa0.58
World0.74

Internet Users

Above avg

The percentage of people who have used the internet in the last 3 months.

World Bank 2023
Morocco91.0%
Africa43.1%
World70.3%

Think you can guess which countries rank higher?

Test Your Intuition
Regional comparison for Morocco across 4 key metrics, comparing with Africa and world averages.

About Morocco

In 788, about a century after the Arab conquest of North Africa, a series of 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.

Since Spain's 1976 withdrawal from Western Sahara, Morocco has extended its de facto administrative control to roughly 75% of this territory; however, the UN does not recognize Morocco as the administering power for Western Sahara. The UN since 1991 has monitored a cease-fire, which broke down in late 2020, between Morocco and the Polisario Front -- an organization advocating the territory’s independence -- and restarted negotiations over the status of the territory in 2018. In 2020, the US recognized Morocco's sovereignty over all of Western Sahara.

In 2011, King MOHAMMED VI responded to the spread of pro-democracy protests in the North Africa region by implementing a reform program that included a new constitution, passed by popular referendum, under which some new powers were extended to parliament and the prime minister, but ultimate authority remains in the hands of the monarch. Later that year, the Justice and Development Party (PJD) -- a moderate Islamist democratic party -- won the largest number of seats in parliamentary elections, becoming the first Islamist party to lead the Moroccan Government. In 2015, Morocco held its first direct elections for regional councils, which was one of the reforms included in the 2011 constitution. The PJD again won the largest number of seats in nationwide parliamentary elections in 2016, but it lost its plurality to the probusiness National Rally of Independents (RNI) in 2021. In 2020, Morocco signed a normalization agreement with Israel, similar to those that Bahrain, the United Arab Emirates, and Sudan had concluded with Israel earlier that year.

🌍Geography & Climate6 facts
Location
Northern Africa, bordering the North Atlantic Ocean and the Mediterranean Sea, between Algeria and Mauritania
Climate
Mediterranean in the north, becoming more extreme in the interior; in the south, hot, dry desert; rain is rare; cold offshore air currents produce fog and heavy dew
Terrain
mountainous northern coast (Rif Mountains) and interior (Atlas Mountains) bordered by large plateaus with intermontane valleys, and fertile coastal plains; the south is mostly low, flat desert with large areas of rocky or sandy surfaces
Natural Resources
phosphates, iron ore, manganese, lead, zinc, fish, salt
Natural Hazards
in the north, the mountains are geologically unstable and subject to earthquakes; periodic droughts; windstorms; flash floods; landslides; in the south, a hot, dry, dust/sand-laden sirocco wind can occur during winter and spring; widespread harmattan haze exists 60% of time, often severely restricting visibility
Size Comparison
slightly larger than twice the size of California
👥People & Culture4 facts
Languages
Arabic (official), Tamazight languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy)
Religions
Muslim 99% (official; virtually all Sunni, <0.1% Shia), other 1% (includes Christian, Jewish, and Baha'i); note - Jewish about 3,000-3,500 (2020 est.)
Ethnic Groups
Arab-Amazigh 99%, other 1%
Major Cities
3.893 million Casablanca, 1.959 million RABAT (capital), 1.290 million Fes, 1.314 million Tangier, 1.050 million Marrakech, 979,000 Agadir (2023)
🏛️Government & History10 facts
Government Type
parliamentary constitutional monarchy
Capital
Rabat
Capital Coordinates
34 01 N, 6 49 W
Capital Timezone
UTC+1 (6 hours ahead of Washington, DC, during Standard Time)
Official Name
Kingdom of Morocco
Name Origin
the English name of Morocco derives from, respectively, the Spanish and Portuguese names Marruecos and Marrocos, which stem from Marrakesh, the Latin name for the former capital of ancient Morocco; the Arabic name, Al Maghrib, translates as "The West"
Independence
2 March 1956 (from France)
National Symbols
pentacle symbol, lion
National Anthem
"Hymne Cherifien" (Hymn of the Sharif)
UNESCO Heritage
9 (all cultural)
💼Economy & Trade7 facts
Overview
lower middle-income North African economy; ongoing recovery from recent drought and earthquake; rebounding via tourism, manufacturing, and raw materials processing; significant trade and investment with EU; reform programs include fiscal rebalancing, state enterprise governance and private sector investments
Industries
automotive parts, phosphate mining and processing, aerospace, food processing, leather goods, textiles, construction, energy, tourism
Agricultural Products
wheat, milk, potatoes, sugar beets, tomatoes, barley, olives, apples, tangerines/mandarins, onions (2023)
Export Partners
Spain 20%, France 17%, Germany 6%, UK 5%, Italy 4% (2023)
Export Commodities
fertilizers, cars, garments, insulated wire, tomatoes (2023)
Import Partners
Spain 16%, China 11%, France 10%, USA 9%, Turkey 5% (2023)
Import Commodities
refined petroleum, cars, vehicle parts/accessories, natural gas, coal (2023)
🔧Infrastructure & Defense4 facts
Military Forces
Royal Moroccan Armed Forces (FAR): Royal Moroccan Army (includes the Moroccan Royal Guard), Royal Moroccan Navy (includes Coast Guard, marines), Royal Moroccan Air Force, Moroccan Royal Guard, Royal Moroccan Gendarmerie Ministry of Interior: General Directorate for National Security (DGSN; aka National Police), Auxiliary Forces (2025)
Military Service
19-25 years of age for 12-month compulsory and voluntary military service for men and women (2025)
Energy Mix
fossil fuels: 78.6% of total installed capacity (2023 est.); solar: 5% of total installed capacity (2023 est.); wind: 15.5% of total installed capacity (2023 est.); hydroelectricity: 0.9% of total installed capacity (2023 est.); biomass and waste: 0.1% of total installed capacity (2023 est.)
Broadcast Media
2 TV broadcast networks with state-run Radio-Television Marocaine (RTM) operating one network and the state partially owning the other; foreign TV is available via satellite dish; 3 radio broadcast networks, with RTM operating one; the state-owned network includes 10 regional radio channels in addition to its national service (2019)

Deep Dive

67 of 85 metrics

Every stat we track, organized by category

🛡️Military & Defense2 metricsBest: #19
Active Military Personnel
220.0K#19
Military Spend (% GDP)
4.0%#21
🌱Environment10 metricsBest: #23
Irrigated Land
17.6K#23
Carbon Emissions (Total)
64.17M#50
Forest Area
57.7K#72WB
Electricity Access (%)
100.0%#72WB
Air Pollution (PM2.5)
21.321#93WB
CO2 Per Capita
1.81#136OWID
Renewable Energy (%)
8.7%#53OWID
Renewable Energy (%)
10.9%#142WB
Forest Coverage (%)
12.9%#149WB
Protected Land (%)
2.1%#200WB
🚀Education & Future5 metricsBest: #26
Education Spending (% GDP)
6.0%#26WB
Foreign Patents
2.5K#26WB
Domestic Patents
254#57WB
University Enrollment Rate
48.2%#79WB
Human Development Index
0.71#120OWID
🍻Lifestyle5 metricsBest: #34
Tourist Arrivals
2.80M#34WB
Air Passengers
9.35M#49WB
Spirits Consumption
0.08#156OWID
Beer Consumption
0.13#162OWID
Alcohol Consumption
0.50#166OWID
📡Technology3 metricsBest: #36
Mobile Subscriptions (%)
148.155#36WB
Internet Users (%)
91.0%#56WB
Broadband Access (%)
7.02#164WB
🌍Land & Sea5 metricsBest: #40
Highest Elevation
4.2K#40
Coastline Length
2.9K#41
Land Boundaries Length
3.5K#58
Border Countries Count
4.00#75
Lowest Elevation
-59#228
👥Demographics12 metricsBest: #40
Population
37.39M#40WB
Land Area
446.3K#55WB
Fertility Rate
2.24#79WB
Birth Rate
16.5#93WB
Youth Population (%)
25.6%#94WB
Elderly Population (%)
8.1%#112WB
Urban Population (%)
62.8%#121WB
Population Density
84.5#116WB
Teen Birth Rate
25.103#118WB
Death Rate
6.66#128WB
Median Age
30.9 years#132
Dependency Ratio
50.993#145WB
💰Wealth & Economy10 metricsBest: #47
Youth Unemployment Rate
22.1%#47
Unemployment Rate
8.9%#47WB
GDP (Nominal)
160.61B#58WB
Government Debt (% GDP)
64.9%#64WB
GDP Growth Rate
3.8%#83WB
High-Tech Exports (%)
5.4%#93WB
GDP Per Capita
$9.1K#136OWID
GDP Per Capita (PPP)
10.4K#136WB
FDI Inflows (% GDP)
1.0%#138WB
Inflation Rate
1.0%#190WB
Energy1 metricsBest: #56
Electricity Capacity
14.62M#56
🔧Infrastructure3 metricsBest: #72
Airports
48#91
Merchant Ships
94#94
Railway Length
2.1K#72
❤️Health & Survival10 metricsBest: #85
Infant Mortality
15.5#85WB
Life Expectancy
75.3 years#100WB
Child Mortality
16.6#92WB
Life Expectancy
75.3 years#118OWID
Obesity Rate
22.1%#111OWID
Health Spending (% GDP)
5.7%#116WB
Doctors (per 1,000)
0.74#134WB
Smoking Rate
13.0%#113WB
Suicide Rate
2.91#157WB
Hospital Beds (per 1,000)
0.70#140WB
🤝Society & Equality1 metricsBest: #103
Women in Parliament (%)
24.3%#103WB

Neighboring Countries

Countries with Similar GDP

Share a Fact

Share something surprising about Morocco!

Morocco
#40 in Population

The total number of people living in the country.

Top 20% globally
37.39M

Frequently Asked Questions about Morocco

What is the population of Morocco?

Morocco has a population of 37.39M, ranking #40 globally by population.

What continent is Morocco in?

Morocco is located in Africa. It has an area of 446,550 km².

What is the life expectancy in Morocco?

Life expectancy in Morocco is 75.3 years, ranking #100 globally.

What is the GDP per capita of Morocco?

Morocco's GDP per capita (PPP) is 10.4K, ranking #136 globally.

What is Morocco known for in global statistics?

Morocco ranks particularly high in Population (#40), Internet Users (%) (#56), Land Area (#55).

What is Morocco's Human Development Index?

Morocco has an HDI of 0.710, ranking #120 globally. The HDI combines life expectancy, education, and income indicators.

How densely populated is Morocco?

Morocco has a population density of 84.5 people per km², ranking #116 globally.

Think you know Morocco?

Compare countries, guess statistics, and prove you know your stuff.