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
Income-group medianWorld
Under-5 mortality (15.7, 2024) is below the median for Lower middle income countries (36.9, 2024).
Income-group medianWorld
Infant mortality (14.7, 2024) is below the median for Lower middle income countries (28.7, 2024).
Income-group medianWorld
Fertility rate (2.21, 2024) is below the median for Lower middle income countries (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
Region medianWorld
Region medianWorld
Region medianWorld
Region medianWorld
Region medianWorld
Region medianWorld
Where Morocco sits in Middle East, North Africa, Afghanistan & Pakistan
Morocco ranks 8th of 23 for Population (1 = highest)
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 rose from 0.7% in 2000 to 91.2% in 2024.
Secondary enrollment rose from 39.7% in 2000 to 90.0% in 2024.
Women in parliament rose from 0.6% in 2000 to 24.3% in 2025.
Infant mortality fell from 45.4 per 1,000 live births in 2000 to 14.7 in 2024.
Under-5 mortality fell from 52.4 per 1,000 live births in 2000 to 15.7 in 2024.
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
Income-group medianWorld
Unemployment (9.0%, 2025) is above the median for Lower middle income countries (5.1%, 2025).
Income-group medianWorld
Share aged under 15 (25.2%, 2025) is below the median for Lower middle income countries (34.4%, 2025).
People
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| Populationpeople | 38.4 million (2025) | 11.5 million (2025) | 12.3 million (2025) | 8.22 billion (2025) | 41st of 218 |
| Population growth% per year | 0.9% (2025) | 1.6% (2025) | 1.7% (2025) | 0.9% (2025) | 108th of 217 |
| Share aged under 15% of population | 25.2% (2025) | 26.8% (2025) | 34.4% (2025) | 24.4% (2025) | 94th of 218 |
| Share aged 65 and over% of population | 8.5% (2025) | 4.8% (2025) | 4.4% (2025) | 10.4% (2025) | 115th of 218 |
| Urban population% of population | 63.1% (2025) | 79.5% (2025) | 50.9% (2025) | 57.8% (2025) | 115th of 217 |
| Population densitypeople per sq. km of land area | 85.3 (2024) | 117.1 (2024) | 82.9 (2024) | 62.1 (2023) | 117th of 216 |
| Fertility ratebirths per woman | 2.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.
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.
| Year | Projected population | 80% range | 95% range |
|---|---|---|---|
| 2050 | 43.5 million | 40.4 million to 46.9 million | 38.7 million to 49.2 million |
| 2100 | 37.8 million | 28.2 million to 50.3 million | 23.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
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| Life expectancyyears | 75.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 estimateyears | 64.6 (2023) 95% uncertainty interval: 59.5–69.5 | 66.0 (2023) | 59.2 (2023) | 82nd of 185 | |
| Infant mortalityper 1,000 live births | 14.7 (2024) | 12.0 (2024) | 28.7 (2024) | 27.7 (2024) | 87th of 196 |
| Under-5 mortalityper 1,000 live births | 15.7 (2024) | 12.9 (2024) | 36.9 (2024) | 37.4 (2024) | 94th of 196 |
| Maternal mortality Modeled estimateper 100,000 live births | 70 (2023) | 17 (2023) | 146 (2023) | 197 (2023) | 79th of 194 |
| Health spending% of GDP | 6.1% (2023) | 5.6% (2023) | 4.5% (2023) | 10.1% (2023) | 103rd of 193 |
| Measles immunization% of children ages 12-23 months | 98% (2025) | 96% (2025) | 84% (2025) | 84% (2024) | 18th of 193 |
| DTP3 immunization% of children ages 12-23 months | 96% (2025) | 96% (2025) | 86% (2025) | 43rd of 193 |
Economy
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| 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 year | 4.6% (2025) | 3.2% (2025) | 4.3% (2025) | 2.9% (2025) | 60th of 211 |
| Inflation% per year | 0.7% (2025) | 1.8% (2025) | 3.6% (2025) | 3.0% (2025) | 154th of 181 |
| Unemployment Modeled estimate% of labor force | 9.0% (2025) | 9.0% (2025) | 5.1% (2025) | 4.8% (2025) | 45th of 188 |
| Trade% of GDP | 93.1% (2025) | 83.8% (2025) | 69.0% (2025) | 68.5% (2025) | 75th of 184 |
| Remittances received% of GDP | 7.5% (2025) | 1.3% (2025) | 5.2% (2025) | 0.8% (2025) | 41st of 178 |
| Government debt% of GDP | No recent data (latest 2011: 51.2%) |
Poverty and inequality
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| Poverty at $3.00 a day% of population | No recent data (latest 2013: 3.7%) | ||||
| Gini indexindex (0 to 100) | No recent data (latest 2013: 39.5) |
Education
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| Adult literacy% of people ages 15 and above | 64.3% (2014) | 94.4% (2022) | 78.2% (2022) | 87.7% (2024) | 105th of 123 |
| Secondary enrollment% gross | 90.0% (2024) | 91.8% (2024) | 67.7% (2024) | 77.3% (2024) | 105th of 176 |
| Education spending% of GDP | 6.0% (2023) | 4.4% (2023) | 4.1% (2023) | 3.6% (2023) | 27th of 184 |
Gender
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| 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 seats | 24.3% (2025) | 18.3% (2025) | 23.3% (2025) | 27.2% (2025) | 103rd of 190 |
Infrastructure
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| Access to electricity% of population | 100.0% (2024) | 100.0% (2024) | 88.7% (2024) | 91.9% (2024) | 1st of 215 |
| Internet users% of population | 91.2% (2024) | 86.6% (2024) | 56.5% (2024) | 73.6% (2025) | 50th of 188 |
| Safely managed drinking water% of population | 80.0% (2024) | 84.8% (2024) | 42.9% (2024) | 73.7% (2024) | 77th of 150 |
Environment
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| CO2 emissions per capitat CO2e per capita | 1.84 (2024) | 3.58 (2024) | 0.77 (2024) | 4.69 (2024) | 118th of 203 |
| Forest area% of land area | 12.8% (2024) | 1.6% (2024) | 25.3% (2024) | 31.1% (2023) | 151st of 214 |
| Renewable energy share% of total final energy consumption | 10.9% (2021) | 3.7% (2021) | 42.5% (2021) | 19.7% (2020) | 142nd of 212 |
Development
| Indicator | Morocco | Region median | Income-group median | World | Rank |
|---|---|---|---|---|---|
| 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.
| Country | Population | GDP per capita, PPP | Life expectancy |
|---|---|---|---|
| Morocco this country | 38.4 million (2025) | $9,495 (2025) | 75.2 (2023) |
| Ecuador | 18.3 million (2025) | $14,319 (2025) | 77.6 (2023) |
| Uzbekistan | 37.1 million (2025) | $11,623 (2025) | 74.0 (2023) |
| Nepal | 29.6 million (2025) | $5,277 (2025) | 72.1 (2023) |
| Bolivia | 12.6 million (2025) | $11,001 (2025) | 73.1 (2023) |
| Korea, Dem. People's Rep. | 26.6 million (2025) | No data | 72.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 this country's data
Every indicator for Morocco: the full published history of each series, with its source organization and unit.
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.