Geozy › Countries › Morocco

🇲🇦 Morocco: key facts and numbers

Morocco is in Northern Africa. Its capital is Rabat, and about 38.4 million people live there (2025). Its economy was worth $182 bn in 2025, $4,672 per person. Life expectancy is 75.5 years (2024).

Morocco in numbers

LatestIn the worldTen years before
Population38.4 m (2025)41st largest of 19534.6 m (2015)
GDP$182 bn (2025)57th largest of 194$110 bn (2015)
GDP per person$4,672 (2025)123rd highest of 194$3,146 (2015)
GDP growth4.6% (2025)4.3% (2015)
Inflation0.7% (2025)1.6% (2015)
Unemployment9.0% (2025)9.5% (2015)
Life expectancy75.5 yrs (2024)83rd highest of 19572.5 yrs (2014)
People living in cities63.1% (2025)60.6% (2015)
People online91.2% (2024)56.8% (2014)
People with electricity100.0% (2024)97.3% (2014)
Military spending (share of GDP)3.5% (2025)3.0% (2015)
Inequality (Gini index)39.5 (2013)
Area446,550 km²57th largest of 197

Key facts

CapitalRabat
Political systemParliamentary constitutional monarchy
Head of stateKing MOHAMMED VI (since 30 July 1999)
Head of governmentPrime Minister Aziz AKHANNOUCH (since 7 October 2021)
Independence2 March 1956 (from France)
LanguagesArabic (official), Tamazight languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy)
ReligionsMuslim 99% (official
Ethnic groupsArab-Amazigh 99%, other 1%
CurrencyMoroccan dirham
ClimateMediterranean in the north, becoming more extreme in the interior

Background

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.

Trade

Exports$76.5 bn
Imports$93.3 bn
Top exportsfertilizers, cars, garments, insulated wire, tomatoes
Export partnersSpain 20%, France 17%, Germany 6%, UK 5%, Italy 4%
Top importsrefined petroleum, cars, vehicle parts/accessories, natural gas, coal
Import partnersSpain 16%, China 11%, France 10%, USA 9%, Turkey 5%

Neighbours

🇩🇿 Algeria · 🇪🇸 Spain

Explore Morocco

Sources: World Bank World Development Indicators (numbers and world ranks, among 197 countries and territories), CIA World Factbook (key facts, background, trade partners).