Skip to main content
Factbook

Morocco — Country Profile

Population, GDP, natural resources, leaders and history of Morocco: the Magna Factbook country file, with its Magna Power score (--/100, ranked #-- of 195).

Last updated: October 2026

CapitalRabat
Population37,387,585 (2024 est.)
GDP (PPP)$350.594 billion (2024 est.)
Magna PowerPOWER --/100 #--

Morocco is in Northern Africa, bordering the North Atlantic Ocean and the Mediterranean Sea, between Algeria and Mauritania. It covers 716,550 sq km. 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. 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.

Morocco facts: population, GDP, capital and more

CapitalRabat
Population37,387,585 (2024 est.)
GDP (PPP)$350.594 billion (2024 est.)
GDP per capita (PPP)$9,100 (2024 est.)
Real GDP growth3.2% (2024 est.)
Inflation1% (2024 est.)
Unemployment9% (2024 est.)
Public debt64.9% of GDP (2016 est.)
Exports$61.746 billion (2023 est.)
Imports$73.759 billion (2023 est.)
Life expectancy74.2 years (2024 est.)
Median age30.9 years (2025 est.)
Urbanization65.1% of total population (2023)
Governmentparliamentary constitutional monarchy
Independence2 March 1956 (from France)
LanguagesArabic (official), Tamazight languages (Tamazight (official), Tachelhit, Tarifit), French (often the language of business, government, and diplomacy)

What is the GDP of Morocco?

Morocco’s GDP is $350.594 billion (2024 est.) in purchasing-power-parity terms. At official exchange rates it stands at $154.431 billion (2024 est.). Real GDP grew 3.2% (2024 est.). See where Morocco ranks among all 195 countries by GDP.

Magna assessment

POWER --/100 — The Magna Power score is our 0–100 composite of structural national power — nine components, 135 indicators. It is the Bureau's own assessment, not a mirror of World Bank or CIA figures.

Momentum 0 — Quarterly momentum: the Bureau's read on the country's trajectory over the last quarter, from −10 (deteriorating fast) to +10 (accelerating).

The September 23 legislative elections put PAM on top with 97 seats, and Fatima Ezzahra El Mansouri took office September 29 as Morocco's first woman head of government — a historic handover; coalition talks now decide the pace.

Offsetting forces kept the score flat: the Ceuta crossing crisis in July, against World Cup infrastructure barrelling ahead and steady macro data. A mixed quarter, honestly netted at zero.

Natural resources of Morocco

Phosphates, Iron ore, Manganese, Lead, Zinc, Salt.

PhosphatesIron oreManganeseLeadZincSalt

Energy of Morocco

Energy is the physical base of economic power — what a country can generate, move and burn decides what it can build, sell and defend.

Electricity access100% (2022 est.)
Installed capacity mix (CIA)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.)
Energy consumption per capita (CIA)23.52 million Btu/person (2023 est.)
Primary energy consumption (OWID)276.3 TWh (2024)
Electricity generation (OWID)43.9 TWh (2024)
Energy per capita (OWID)7,257 kWh per person (2024)
Electricity generation mix (OWID)Coal 59.3%, Wind 21.2%, Gas 10.1%, Oil 4.1%, Solar 3.6%, Hydro 1.5% (2024)
Low-carbon share of electricity (OWID)26.5% (2024)
Carbon intensity of electricity (OWID)577.7 gCO2/kWh (2024)

Sources: CIA World Factbook, Energy section; Our World in Data (IEA/Ember), 2024.

Trade of Morocco

Trade shows what the world buys from a country and what the country must buy from the world — the balance between the two is a direct measure of economic leverage.

Exports$61.746 billion (2023 est.)
Imports$73.759 billion (2023 est.)
Trade balance (calculated)Deficit of $12.0 billion (2023), calculated from the CIA export and import figures above.
Key industriesautomotive parts, phosphate mining and processing, aerospace, food processing, leather goods, textiles, construction, energy, tourism

Source: CIA World Factbook, Economy section.

Who leads Morocco?

Aziz Akhannouch — Head of Government (outgoing). King MOHAMMED VI (since 30 July 1999)

Diplomatic weight

Morocco maintains 95 embassies and 53 consulates abroad, hosts 116 foreign diplomatic missions, holds permanent missions to UN New York, AU Addis Ababa. The breadth of a diplomatic network is a direct measure of diplomatic power — it shows how far a country’s influence, alliances and interests reach.

Embassies abroad95
Consulates abroad53
Foreign missions hosted116
Multilateral missionsUN New York, AU Addis Ababa

Source: Consular Affairs Center, Diplomatic and Consular Networks Database and Rankings, March 2026 (Zenodo, CC BY 4.0). https://zenodo.org/records/18917562

Transport & infrastructure

Transport networks are economic power made physical — ports, runways, railways and pipelines decide what a country can move, sell and defend.

Sea accessCoastal — 2945 km of coastline.
Airports (total)48 + 17 heliports (registration prefix CN)
Major seaportsAgadir, Casablanca, Tanger, Tangier-Mediterranean
Railways2067 km

Major airports

Al Massira Airport (AGA) — Agadir (Temsia); Beni Mellal Airport (BEM) — Oulad Yaich; Fes Saïss International Airport (FEZ) — Saïss; Marrakesh Menara Airport (RAK) — Marrakesh; Mohammed V International Airport (CMN) — Casablanca; Nador Al Aaroui International Airport (NDR) — Al Aaroui; Ouarzazate International Airport (OZZ) — Ouarzazate; Oujda Angads Airport (OUD) — Ahl Angad; Rabat-Salé Airport (RBA) — Rabat; Sania Ramel Airport (TTU) — Tétouan.

Showing 10 of 15 major airports.

Sources: OurAirports public-domain extract (2026-10-02); per-entry Wikipedia links included; CIA World Factbook via cia_factbook snapshot (2026-09-28)

Elections & power

Political systemparliamentary constitutional monarchy
Last election2026 — legislative; 2026-09-23; winner: Authenticity and Modernity Party (PAM) (PAM); PAM 97/395; RNI 66; Istiqlal 65; PJD comeback 54; turnout 38%; PM to be appointed from PAM Reuters
Next election2031 — legislative (scheduled)

Source: constitutional schedule / public election calendar

Where does Morocco rank?

POWER --/100 Ranked #-- of 195 countries in the Magna Country Rankings. Full ranking breakdown for Morocco.

History of Morocco

Historical timeline of Morocco

Empire MoroccoMorocco Abd Al MuminMorocco AlmohadsMorocco AlmoravidsMorocco Andalusi HeritageMorocco Battle Of IslyMorocco Battle Of ZallaqaMorocco Cuisine

Major cities

CasablancaRabatFesTangierMarrakechAgadir

This profile covers the population, economy, natural resources, leaders, and history of Morocco — with the Bureau’s live national-power score of --/100, ranking #-- of 195 countries.

Frequently asked questions

What is Morocco's power score?

Morocco has a Magna Power score of --/100. The score measures structural power — the proven capacity to shape events — across nine components.

Across the Bureau

Morocco — Military Capability AssessmentHistory of Morocco — TimelineMorocco Ranking — Magna Country RankingsDid Morocco acquire 36 Atmos 2000 self-propelled artillery guns?Did Morocco acquire 600 FIM-92K Stinger Block I MANPADS missiles?Who won the last election in Morocco?What are the main airports of Morocco?The Alaouite dynasty: Morocco's unbroken throne