MARCapital: Rabat

Morocco

Middle East, North Africa, Afghanistan & Pakistan · Population 38.4 million (2025) · World Bank WDI · UN WPP 2024

Morocco is a lower middle-income country in Middle East, North Africa, Afghanistan & Pakistan with about 38.4 million people. Its capital is Rabat.

What stands out

Under-5 mortality-21.2
15.7 (2024)

Income-group medianWorld

Under-5 mortality (15.7, 2024) is below the median for Lower middle income countries (36.9, 2024).

Lower middle income median: 36.9 (2024)
Infant mortality-14.0
14.7 (2024)

Income-group medianWorld

Infant mortality (14.7, 2024) is below the median for Lower middle income countries (28.7, 2024).

Lower middle income median: 28.7 (2024)
Fertility rate-0.92
2.21 (2024)

Income-group medianWorld

Fertility rate (2.21, 2024) is below the median for Lower middle income countries (3.12, 2024).

Lower middle income median: 3.12 (2024)

About MoroccoAbout this place

Morocco has a population of 38.4 million (2025), ranking 41st out of 218 countries by population. It covers 716,550 square kilometres. Population density is 85.3 people per square kilometre of land area (2024). Its capital is Rabat. It is a parliamentary constitutional monarchy. The population grew from 32,467,016 in 2010 to 38,430,770 in 2025.

25.2% of the population is under 15 (2025), below the Lower middle income median of 34.4% (2025). 8.5% is 65 or older (2025), above the Middle East, North Africa, Afghanistan & Pakistan median of 4.8% (2025). The fertility rate is 2.21 births per woman (2024), below the Middle East, North Africa, Afghanistan & Pakistan median of 2.51 births per woman (2024). Life expectancy is 75.2 years (2023), above the Lower middle income median of 68.3 years (2023). 63.1% of the population lives in urban areas (2025), below the Middle East, North Africa, Afghanistan & Pakistan median of 79.5% (2025).

GDP is $182.37 billion (2025). GDP per capita (PPP) is $9,495 (2025). The economy grew 4.6% (2025), above the Middle East, North Africa, Afghanistan & Pakistan median of 3.2% (2025). Inflation was 0.7% (2025). Unemployment was 9.0% of the labor force (2025), above the Lower middle income median of 5.1% (2025).

Secondary enrollment is 90.0% (2024, gross), above the Lower middle income median of 67.7% (2024). The Human Development Index is 0.710 (2023), above the Lower middle income median of 0.622 (2023). Measles immunization coverage is 98% of children ages 12-23 months (2025), above the Lower middle income median of 84% (2025).

Headline indicators

Population
38.4 million (2025)
Morocco38.4 million (2025)
Middle East, North Africa, Afghanistan & Pakistan828.0 million (2025)
World8.22 billion (2025)
Rank41st out of 218 countries (2025)
Life expectancy
75.2 (2023)
95% uncertainty interval: 72.4–78.1

Region medianWorld

Morocco75.2 (2023)
Region median77.7 (2023)
Income-group median68.3 (2023)
World73.5 (2024)
Rank82nd out of 185 countries (2023)
Infant mortality
14.7 (2024)

Region medianWorld

Morocco14.7 (2024)
Region median12.0 (2024)
Income-group median28.7 (2024)
World27.7 (2024)
Rank87th out of 196 countries (2024)
GDP
$182.37 billion (2025)
Morocco$182.37 billion (2025)
Region median$133.41 billion (2025)
Income-group median$32.08 billion (2025)
World$118.35 trillion (2025)
Rank58th out of 211 countries (2025)
GDP per capita, PPP
$9,495 (2025)

Region medianWorld

Morocco$9,495 (2025)
Region median$15,000 (2025)
Income-group median$6,095 (2025)
World$21,914 (2025)
Rank138th out of 200 countries (2025)
Unemployment Modeled estimate
9.0% (2025)

Region medianWorld

Morocco9.0% (2025)
Region median9.0% (2025)
Income-group median5.1% (2025)
World4.8% (2025)
Rank45th out of 188 countries (2025)
Internet users
91.2% (2024)

Region medianWorld

Morocco91.2% (2024)
Region median86.6% (2024)
Income-group median56.5% (2024)
World73.6% (2025)
Rank50th out of 188 countries (2025)
Human Development Index Modeled estimate
0.710 (2023)

Region medianWorld

Morocco0.710 (2023)
Region median0.754 (2023)
Income-group median0.622 (2023)
World0.756 (2023)
Rank120th out of 193 countries (2023)

Where Morocco sits in Middle East, North Africa, Afghanistan & Pakistan

Morocco ranks 8th of 23 for Population (1 = highest)

Every country in the region on the same scale579,704255.2 million

Ranks compare the published figures. The strip shows point values; where a source publishes an uncertainty interval for a figure, it is shown with the figure.

How Morocco has changed

Internet users

Internet users rose from 0.7% in 2000 to 91.2% in 2024.

Secondary enrollment

Secondary enrollment rose from 39.7% in 2000 to 90.0% in 2024.

Women in parliament

Women in parliament rose from 0.6% in 2000 to 24.3% in 2025.

Infant mortality

Infant mortality fell from 45.4 per 1,000 live births in 2000 to 14.7 in 2024.

Under-5 mortality

Under-5 mortality fell from 52.4 per 1,000 live births in 2000 to 15.7 in 2024.

Safely managed drinking water

Safely managed drinking water rose from 40.7% in 2000 to 80.0% in 2024.

A change is shown only when it is large enough to describe: at least 10 percent, or a quarter of the spread across countries, whichever is larger. The full history of every series is in the data download.

Data notes

No recent data for:

  • Government debt: latest figure is from 2011 (51.2%), outside the current window.
  • Poverty at $3.00 a day: latest figure is from 2013 (3.7%), outside the current window.
  • Gini index: latest figure is from 2013 (39.5), outside the current window.

Modeled estimates (the source models the figure rather than counting it directly): Healthy life expectancy, Maternal mortality, Unemployment, Women's labor-force participation, Human Development Index.

The poverty figure uses the international line of $3.00 a day at 2021 PPP, the World Bank's current line. National poverty lines differ and are not shown.

About these numbers

  • Every figure carries its year. The figure shown is the most recent year the source publishes for this country, within a set limit: five years for most indicators, ten for survey-based ones. A figure outside its limit is not shown as current; the page says so and gives the latest year instead.
  • Comparisons are descriptive. Each figure is shown beside its regional median, its income-group median, and the world figure, each with its year. Most international series publish no margin of error, so no comparison is presented as proven.
  • Regional and income-group figures are medians computed from the member countries. The world figure is the World Bank's published world aggregate where one exists.
  • Ranks read "55th out of 218 countries", with the year those figures cover. Ranks carry no range, because the sources publish no uncertainty for these figures.
  • Where the source models a figure rather than counting it directly, the figure is tagged "Modeled estimate".

More findings

Unemployment Modeled estimate+3.9%
9.0% (2025)

Income-group medianWorld

Unemployment (9.0%, 2025) is above the median for Lower middle income countries (5.1%, 2025).

Lower middle income median: 5.1% (2025)
Share aged under 15-9.2%
25.2% (2025)

Income-group medianWorld

Share aged under 15 (25.2%, 2025) is below the median for Lower middle income countries (34.4%, 2025).

Lower middle income median: 34.4% (2025)

People

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Populationpeople38.4 million (2025)11.5 million (2025)12.3 million (2025)8.22 billion (2025)41st of 218
Population growth% per year0.9% (2025)1.6% (2025)1.7% (2025)0.9% (2025)108th of 217
Share aged under 15% of population25.2% (2025)26.8% (2025)34.4% (2025)24.4% (2025)94th of 218
Share aged 65 and over% of population8.5% (2025)4.8% (2025)4.4% (2025)10.4% (2025)115th of 218
Urban population% of population63.1% (2025)79.5% (2025)50.9% (2025)57.8% (2025)115th of 217
Population densitypeople per sq. km of land area85.3 (2024)117.1 (2024)82.9 (2024)62.1 (2023)117th of 216
Fertility ratebirths per woman2.21 (2024)2.51 (2024)3.12 (2024)2.19 (2024)92nd of 218

Population: age structure and projections

Age and sex, 2023

UN estimates for 2023, with the outline of the projected 2050 population (UN medium projection) behind them.

100+95-9990-9485-8980-8475-7970-7465-6960-6455-5950-5445-4940-4435-3930-3425-2920-2415-1910-145-90-4MaleFemale
MaleFemale2050 outline (UN medium projection)

Population projection to 2100

The UN's medium projection, with its 80% and 95% ranges. Estimates run to 2023; from 2024 the figures are projections, and the ranges widen as the future gets less certain.

23.5 million41.1 million58.7 million2024204420642084
UN medium projection80% range95% range
YearProjected population80% range95% range
205043.5 million40.4 million to 46.9 million38.7 million to 49.2 million
210037.8 million28.2 million to 50.3 million23.5 million to 58.7 million

Source: United Nations, Department of Economic and Social Affairs, Population Division (2024), World Population Prospects 2024 (CC BY 3.0 IGO).

Health

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Life expectancyyears75.2 (2023)
95% uncertainty interval: 72.4–78.1
77.7 (2023)68.3 (2023)73.5 (2024)82nd of 185
Healthy life expectancy Modeled estimateyears64.6 (2023)
95% uncertainty interval: 59.5–69.5
66.0 (2023)59.2 (2023)82nd of 185
Infant mortalityper 1,000 live births14.7 (2024)12.0 (2024)28.7 (2024)27.7 (2024)87th of 196
Under-5 mortalityper 1,000 live births15.7 (2024)12.9 (2024)36.9 (2024)37.4 (2024)94th of 196
Maternal mortality Modeled estimateper 100,000 live births70 (2023)17 (2023)146 (2023)197 (2023)79th of 194
Health spending% of GDP6.1% (2023)5.6% (2023)4.5% (2023)10.1% (2023)103rd of 193
Measles immunization% of children ages 12-23 months98% (2025)96% (2025)84% (2025)84% (2024)18th of 193
DTP3 immunization% of children ages 12-23 months96% (2025)96% (2025)86% (2025)43rd of 193

Economy

IndicatorMoroccoRegion medianIncome-group medianWorldRank
GDPcurrent US$$182.37 billion (2025)$133.41 billion (2025)$32.08 billion (2025)$118.35 trillion (2025)58th of 211
GDP per capita, PPPconstant 2021 international $$9,495 (2025)$15,000 (2025)$6,095 (2025)$21,914 (2025)138th of 200
GDP growth% per year4.6% (2025)3.2% (2025)4.3% (2025)2.9% (2025)60th of 211
Inflation% per year0.7% (2025)1.8% (2025)3.6% (2025)3.0% (2025)154th of 181
Unemployment Modeled estimate% of labor force9.0% (2025)9.0% (2025)5.1% (2025)4.8% (2025)45th of 188
Trade% of GDP93.1% (2025)83.8% (2025)69.0% (2025)68.5% (2025)75th of 184
Remittances received% of GDP7.5% (2025)1.3% (2025)5.2% (2025)0.8% (2025)41st of 178
Government debt% of GDPNo recent data (latest 2011: 51.2%)

Poverty and inequality

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Poverty at $3.00 a day% of populationNo recent data (latest 2013: 3.7%)
Gini indexindex (0 to 100)No recent data (latest 2013: 39.5)

Education

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Adult literacy% of people ages 15 and above64.3% (2014)94.4% (2022)78.2% (2022)87.7% (2024)105th of 123
Secondary enrollment% gross90.0% (2024)91.8% (2024)67.7% (2024)77.3% (2024)105th of 176
Education spending% of GDP6.0% (2023)4.4% (2023)4.1% (2023)3.6% (2023)27th of 184

Gender

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Women's labor-force participation Modeled estimate% of female population ages 15+19.7% (2025)22.2% (2025)49.7% (2025)48.9% (2025)176th of 187
Women in parliament% of seats24.3% (2025)18.3% (2025)23.3% (2025)27.2% (2025)103rd of 190

Infrastructure

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Access to electricity% of population100.0% (2024)100.0% (2024)88.7% (2024)91.9% (2024)1st of 215
Internet users% of population91.2% (2024)86.6% (2024)56.5% (2024)73.6% (2025)50th of 188
Safely managed drinking water% of population80.0% (2024)84.8% (2024)42.9% (2024)73.7% (2024)77th of 150

Environment

IndicatorMoroccoRegion medianIncome-group medianWorldRank
CO2 emissions per capitat CO2e per capita1.84 (2024)3.58 (2024)0.77 (2024)4.69 (2024)118th of 203
Forest area% of land area12.8% (2024)1.6% (2024)25.3% (2024)31.1% (2023)151st of 214
Renewable energy share% of total final energy consumption10.9% (2021)3.7% (2021)42.5% (2021)19.7% (2020)142nd of 212

Development

IndicatorMoroccoRegion medianIncome-group medianWorldRank
Human Development Index Modeled estimateindex (0 to 1)0.710 (2023)0.754 (2023)0.622 (2023)0.756 (2023)120th of 193

Similar countries elsewhere

The closest matches on income per person, population, urban share, life expectancy, and the share aged 65 and over.

CountryPopulationGDP per capita, PPPLife expectancy
Morocco this country38.4 million (2025)$9,495 (2025)75.2 (2023)
Ecuador18.3 million (2025)$14,319 (2025)77.6 (2023)
Uzbekistan37.1 million (2025)$11,623 (2025)74.0 (2023)
Nepal29.6 million (2025)$5,277 (2025)72.1 (2023)
Bolivia12.6 million (2025)$11,001 (2025)73.1 (2023)
Korea, Dem. People's Rep.26.6 million (2025)No data72.1 (2023)

Explore this data

The World development practice panel carries every country's full indicator history in one file, with a codebook, ready to load into Analysis Studio.

Download the practice panel (CSV) Codebook Open a Studio

Download this country's data

Every indicator for Morocco: the full published history of each series, with its source organization and unit.

Download CSV

Sources and licenses

  • World Bank, World Development Indicators. The World Bank: World Development Indicators: [source organization named in the series metadata] License: CC BY 4.0 (World Bank Terms of Use for Datasets), unless a series is specifically labeled otherwise in its metadata
  • UN World Population Prospects 2024 (UN DESA, Population Division). United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. License: CC BY 3.0 IGO
  • UNDP Human Development Report 2025. UNDP (2025). Human Development Report 2025. Credit with a link to the license; changes indicated. Only the current edition's time series is published (each edition recalculates the whole series). License: CC BY 3.0 IGO
  • CIA World Factbook, final edition (January 2026). CIA World Factbook, final edition (January 2026). Facts are a frozen snapshot and will not update; every use is vintage-labeled on the page. License: Public domain (work of the U.S. government). The Factbook was discontinued on 2026-02-04; the final edition is dated January 2026.
  • Natural Earth. Made with Natural Earth (crediting optional under its terms; given anyway). Boundaries are illustrative and imply no position. License: Public domain
  • WHO Global Health Observatory. WHO, Life expectancy at birth (WHO life tables, Global Health Estimates 2000-2023), 2023, accessed 2026-11-16; underlying data provided by Morocco. WHO, Healthy life expectancy (HALE) at birth (Global Health Estimates 2000-2023), 2023, accessed 2026-11-16; underlying data provided by Morocco. WHO, Measles-containing-vaccine first-dose (MCV1) immunization coverage (WHO/UNICEF Estimates of National Immunization Coverage), 2025, accessed 2026-11-16; underlying data provided by Morocco. WHO, Diphtheria tetanus toxoid and pertussis (DTP3) immunization coverage (WHO/UNICEF Estimates of National Immunization Coverage), 2025, accessed 2026-11-16; underlying data provided by Morocco. License: WHO data Terms and Conditions (grant, request ID 202611675) — royalty-free use for public health purposes

The organization behind each indicator series is named in this page's data download and in the codebook. Full standards are on the methods page.

Capital, area, currency, languages, and government are from the CIA World Factbook final edition (January 2026), a frozen snapshot that will not update.

Country Profiles · Methods, sources, and licenses · Maineblock Data

Country Profiles is part of Maineblock's Data hub. Figures are published as reported by the sources named on each page, with the year of every figure shown.