Country profile

Morocco

At a glance

  • Morocco has a population of about 38.4M; its total GDP of $182.4B ranks #56 of 168 countries with data.
  • Its surface area of 592,489 km² is about 3.1× the world median of 190,157 km².
  • Tourism receipts stands out most against the median: $4.5B — rank #34 of 165 countries with data.

Morocco: all 46 metrics vs the world median

Key metrics ranked against the world median
Metric Value Rank vs median
Population & land
Population 38.4M (2025) #41 / 169 median 11.5M · 3.3×
Population growth 0.9% (2025) #97 / 169 median 1.1% · 83%
Urban population share 63.1% (2025) #88 / 169 median 63.8% · 99%
Population aged 65+ 8.5% (2025) #78 / 169 median 7.4% · 1.1×
Fertility rate 2.2 (2024) #79 / 169 median 2.1 · 1.1×
Birth rate 16.4‰ (2024) #84 / 169 median 16.0‰ · 1.0×
Death rate 5.7‰ (2024) #130 / 169 median 7.1‰ · 80%
Net migration -56.3K (2025) #149 / 169 N/A
Surface area 592,489 km² #48 / 176 median 190,157 km² · 3.1×
Population density derived 64.9/km² (2025) #94 / 169 median 73.2/km² · 89%
Economy
GDP (total) $182.4B (2025) #56 / 168 median $80.7B · 2.3×
GDP per capita $4,746 (2025) #101 / 168 median $6,834 · 69%
GNI per capita $4,360 (2025) #103 / 168 median $6,350 · 69%
GDP growth (annual) 4.6% (2025) #47 / 168 median 3.1% · 1.5×
Inflation rate 0.7% (2025) #138 / 162 median 3.3% · 21%
Unemployment rate 9.0% (2025) #39 / 168 median 5.1% · 1.8×
Gini index 39.5 (2013) #47 / 153 median 35.3 · 1.1×
Poverty rate ($2.15/day) 3.7% (2013) #71 / 153 median 2.5% · 1.5×
Trade & industry
Exports share of GDP 42.0% (2025) #59 / 163 median 35.0% · 1.2×
Imports share of GDP 51.1% (2025) #59 / 163 median 40.2% · 1.3×
Agriculture share of GDP 10.5% (2025) #62 / 168 median 7.2% · 1.5×
Manufacturing share of GDP 14.9% (2025) #41 / 165 median 11.2% · 1.3×
International tourist arrivals 2.8M (2020) #49 / 162 median 1.1M · 2.5×
Tourism receipts $4.5B (2020) #34 / 165 median $705M · 6.4×
Health & education
Life expectancy 75.5 years (2024) #72 / 169 median 73.8 years · 1.0×
Infant mortality 14.7‰ (2024) #78 / 166 median 13.1‰ · 1.1×
Under-five mortality 15.7‰ (2024) #85 / 166 median 15.8‰ · 100%
DPT immunization 96.0% (2024) #40 / 166 median 90.5% · 1.1×
Hospital beds 0.7 per 1,000 (2023) #141 / 167 median 2.0 per 1,000 · 36%
Health spending share of GDP 6.1% (2023) #90 / 165 median 6.5% · 93%
Secondary school enrollment 90.0% (2024) #88 / 167 median 90.5% · 99%
Education spending share of GDP 6.0% (2023) #23 / 165 median 4.1% · 1.5×
Society & living
Human Development Index 0.710 (2023) #100 / 165 median 0.754 · 94%
Internet users 91.2% (2024) #42 / 169 median 81.5% · 1.1×
Mobile subscriptions 153.1 per 100 (2024) #22 / 169 median 116.4 per 100 · 1.3×
Fixed broadband 7.3 per 100 (2024) #98 / 168 median 12.1 per 100 · 61%
Electricity access 100.0% (2024) #49 / 169 median 99.9% · 1.0×
Environment & security
CO₂ emissions per capita 1.8 t (2024) #99 / 165 median 2.6 t · 70%
CO₂ emissions (total) derived 70.0 Mt (2024) #48 / 165 median 21.3 Mt · 3.3×
Renewable electricity share 19.3% (2021) #113 / 169 median 34.1% · 57%
Renewable energy consumption 10.9% (2021) #133 / 169 median 26.9% · 41%
Forest area 12.9% (2023) #120 / 169 median 32.4% · 40%
Agricultural land 66.7% (2023) #24 / 169 median 41.7% · 1.6×
Arable land 15.4% (2023) #60 / 168 median 11.0% · 1.4×
PM2.5 exposure 18.7 µg/m³ (2023) #91 / 168 median 19.8 µg/m³ · 95%
Military spending 3.5% (2024) #23 / 157 median 1.8% · 1.9×

Ranks are value-descending and count only the countries that have data for that metric (#1 = highest value); N/A rows occupy no rank.

The median is the unweighted middle value across the countries with data (gold tick) — not a world average. Bars grow with the value: reaching the tick means matching the median, and a full bar means twice the median or more. The median value and this country's multiple are noted under each bar.

Morocco's true-shape outline

Morocco's border outline from Natural Earth 1:110m boundaries — total surface area 592,489 km².

No curated head-to-head page features this country yet — pick any second country in the compare tool instead.

Open Morocco in the interactive compare tool →

See Morocco's true size on the drag-and-drop map →

Measure the distance to Morocco →

Back to the homepage

Other countries

Data & method

Indicators: World Bank Open Data, 43 indicators — CC BY 4.0 © World Bank — https://creativecommons.org/licenses/by/4.0/; Human Development Index — CC BY 3.0 IGO © United Nations Development Programme — https://hdr.undp.org/terms-use

Boundaries: Natural Earth 1:110m (public domain); surface areas are computed with an equal-area spherical formula (Chamberlin–Duquette).

Reference facts (capital, languages, currencies, subregion): mledoze/countries (ODbL).