Morocco
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
Internet Users (%)
91.0%The percentage of people who have used the internet in the last 3 months.
Land Area
446.3KTotal land area in square kilometers, excluding lakes, rivers, and territorial waters.
Life Expectancy
75.3 yearsHow many years a newborn can expect to live, based on current mortality rates.
Life Expectancy
75.3 yearsHow many years a newborn can expect to live, based on current mortality rates.
University Enrollment Rate
48.2%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.0KMilitary and security service personnel strengths from CIA World Factbook.
🌱Irrigated Land
17.6KIrrigated land area from CIA World Factbook.
🛡️Military Spend (% GDP)
4.0%Military expenditures as percent of GDP from CIA World Factbook.
🚀Education Spending (% GDP)
6.0%Government spending on education as a percentage of GDP.
📡Mobile Subscriptions (%)
148.155The 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 2023Has 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 2023Ranks #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 NowHow Morocco Compares
Country vs continent vs world averages
GDP per Capita
GDP per person, adjusted for purchasing power parity (PPP) so costs of living are comparable across countries.
World Bank 2023Life Expectancy
Above avgHow many years a newborn can expect to live, based on current mortality rates.
World Bank 2023Human 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 2023Internet Users
Above avgThe percentage of people who have used the internet in the last 3 months.
World Bank 2023Think you can guess which countries rank higher?
Test Your IntuitionAbout 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.
- 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
- 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 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)
- 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)
- 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 metricsEvery stat we track, organized by category
Related Countries
Neighboring Countries
Countries with Similar GDP
Compare Morocco with...
More Africa Countries
Share a Fact
Share something surprising about Morocco!
The total number of people living in the country.
Frequently Asked Questions about Morocco
Morocco has a population of 37.39M, ranking #40 globally by population.
Morocco is located in Africa. It has an area of 446,550 km².
Life expectancy in Morocco is 75.3 years, ranking #100 globally.
Morocco's GDP per capita (PPP) is 10.4K, ranking #136 globally.
Morocco ranks particularly high in Population (#40), Internet Users (%) (#56), Land Area (#55).
Morocco has an HDI of 0.710, ranking #120 globally. The HDI combines life expectancy, education, and income indicators.
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.