Your country comes first in the rankings, in Compare and on the home page, and sets the units you start with.

Settings Sources Changelog Feedback
Wikipedia ↗
Flag of Morocco

Morocco

Kingdom of Morocco

Africa Northern Africa Capital: Rabat UN member
Compare with… Then and now
Population 38.4 million #41 of 193 · in Africa #12 of 54 · 2025
Area 172,414 sq mi #57 of 194 · in Africa #25 of 54
GDP per person US$4,672 #122 of 191 · in Africa #11 of 53 · 2025
Life expectancy 75.5 years #82 of 193 · in Africa #5 of 54 · 2024

Did you know?

  • Since 1960, life expectancy in Morocco has gone up by 34 years.
  • Uzbekistan is about the same size as Morocco: 172,742 sq mi.
  • Russia is 38 times the size of Morocco.
  • Morocco has the highest share of internet users in Africa: 91.20%.
  • About 1 in 214 people on Earth lives in Morocco.

Where in the world

Morocco Neighbours

True size

Morocco in the world

Over time

Morocco and its neighbours

If Morocco were 100 people

63 would live in a city. Living in cities · 2025

Age groups

Children (0–14)Working age (15–64)Aged 65 and over
Morocco
25%66%8%
World
24%65%10%

The people of Morocco

Men 100+: 45Women 100+: 178100+Men 95–99: 1,092Women 95–99: 3,058Men 90–94: 9,511Women 90–94: 19,93090–94Men 85–89: 41,266Women 85–89: 71,510Men 80–84: 113,310Women 80–84: 170,80980–84Men 75–79: 244,722Women 75–79: 297,447Men 70–74: 458,003Women 70–74: 479,13170–74Men 65–69: 663,282Women 65–69: 674,226Men 60–64: 795,027Women 60–64: 835,04460–64Men 55–59: 906,571Women 55–59: 932,243Men 50–54: 1,053,282Women 50–54: 1,059,31450–54Men 45–49: 1,200,354Women 45–49: 1,204,997Men 40–44: 1,351,753Women 40–44: 1,339,93340–44Men 35–39: 1,452,831Women 35–39: 1,410,617Men 30–34: 1,480,255Women 30–34: 1,417,87030–34Men 25–29: 1,464,697Women 25–29: 1,394,974Men 20–24: 1,510,520Women 20–24: 1,438,99020–24Men 15–19: 1,664,751Women 15–19: 1,584,878Men 10–14: 1,713,670Women 10–14: 1,621,40710–14Men 5–9: 1,658,336Women 5–9: 1,580,378Men 0–4: 1,588,802Women 0–4: 1,521,7590–4← men 50.4%women 49.6% →
Median age29.8years · 2025 · in 2050: 37.4
Life expectancy at birth75.7years · 2025 · in 2050: 79.8
Children per woman2.18children · 2025 · in 2050: 1.86
People in 2100 (projection)37.9 millionThe most people: 43.7 million in 2055

The population of Morocco, 1950–2100

021.9 million43.7 million 1950200020502100 projection after 2023

UN World Population Prospects 2024 (CC BY 3.0 IGO): estimates up to 2023, after that the medium projection. Move the slider to see every 5 years from 1950 to 2100. The US Census Bureau (CIA World Factbook) estimates a median age of 30.9 and 2.24 children per woman.

Religions in Morocco

estimate of 2020
Muslim · 99%Other or not stated · 1%
As the source gives them
  • Muslim 99%
  • other 1%
  • 000-3
  • 500

CIA World Factbook (public domain), from censuses and surveys; how people are asked differs per country, and the year is the year of the estimate.

Morocco in international organisations

17 of the 39 on this site

The UN and its agencies

FAO Food and Agriculture OrganizationIAEA International Atomic Energy AgencyICAO International Civil Aviation OrganizationILO International Labour OrganizationIMF International Monetary FundITU International Telecommunication UnionUN United NationsUNESCO United Nations Educational, Scientific and Cultural OrganizationUPU Universal Postal UnionWorld Bank World Bank (International Bank for Reconstruction and Development)WHO World Health Organization

Unions of a region

AU African UnionArab League OIC Organisation of Islamic Cooperation

Trade and the economy

WTO World Trade Organization

Security

Interpol International Criminal Police OrganizationOPCW Organisation for the Prohibition of Chemical Weapons

The economy of Morocco

GDPUS$182 billion 2025 · #57 of 191
GDP in purchasing power (PPP)US$434 billion 2025 · #56 of 186
GDP per personUS$4,672 2025 · #122 of 191 · world: US$14,406
GDP per person in purchasing power (PPP)US$11,112 2025 · #124 of 186 · world: US$25,704

Prices in Morocco are lower than in the United States: the same money buys 2.4 times as much there, which is what GDP in purchasing power (PPP) counts.

Economic growth per year

-7%0%8%2005: +3.2%2006: +7.8%2007: +3.4%2008: +5.7%2009: +3.7%2010: +3.5%2011: +5.5%2012: +3.1%2013: +4.1%2014: +2.7%2015: +4.3%2016: +0.5%2017: +5.1%2018: +3.1%2019: +2.9%2020: -7.2%2021: +8.2%2022: +1.8%2023: +3.7%2024: +3.8%2025: +4.6%20052010201520202025

Inflation per year

0%0%9%2005: +1%2006: +3.3%2007: +2%2008: +3.7%2009: +1%2010: +1%2011: +0.9%2012: +1.3%2013: +1.9%2014: +0.4%2015: +1.6%2016: +1.6%2017: +0.8%2018: +1.8%2019: +0.3%2020: +0.7%2021: +1.4%2022: +6.7%2023: +6.1%2024: +1%2025: +0.7%20052010201520202025

Morocco in colour, the world in grey; the last 20 years.

What the economy earns its money with (2025)

11%25%52%
Agriculture (% of GDP)Industry (% of GDP)Services (% of GDP)

Shares of GDP; with taxes and subsidies they do not always add up to 100%.

World Bank, World Development Indicators (CC BY 4.0); GDP in purchasing power (PPP) in international dollars, which correct for the prices in each country. Each figure with its year: not every country reports every year.

Living standards

Internet users 91.20% World: 73.60%
Access to electricity 100.00% World: 91.93%
Renewable energy 10.90% World: 19.74%
Forest 12.76% World: 31.10%
CapitalRabat
Official languagesArabic, Berber
CurrencyMoroccan dirham (د.م.)
Calling code · web+212 · .ma المغرب.
PeopleMoroccan
CoastHas a coastline
Neighbours (3)Flag of AlgeriaFlag of SpainFlag of Western Sahara

Cities in Morocco

Highest point, longest rivers and biggest lake in Morocco

Wikidata, river lengths checked against Wikipedia

Mountains, rivers and more of Morocco

Every place of the geography pages that Wikidata puts in this country; a river or a mountain range on a border counts for both sides. The cities on a river: within 10 km of its course.

The tallest building in Morocco: Casablanca Finance City Tower

next to the tallest in the world
Burj Khalifa: 2,717 ft2,717 ftBurj KhalifaCasablanca Finance City Tower: 446 ft446 ftCasablanca Financ…

Heights to the top of the building, spires included and antennas not (the standard of the CTBUH, which keeps the official list).

Electricity in Morocco (2025)

All about its electricity →

23% clean, 5.8% from the sun, 603 g CO₂/kWh.

CoalGasOther fossilHydroWindSolarBioenergy

Ember (CC BY 4.0)

Natural resources of Morocco

EIA · USGS

Where it ranks among the producers and the holders of known reserves, with its share of the world.

ResourceProducerReserves
Phosphate#2 14%#1 68%

Languages of Morocco

Glottolog

Official languages: Arabic, Tamazight languages*

Official languages: the CIA World Factbook and Wikidata; * = only one of the two calls it official. The shares: the Factbook, from censuses, as a first or home language.

Every language spoken there (Glottolog)

15 languages are spoken in Morocco: 4 of them are endangered and 0 are extinct.

What Morocco grows most

FAOSTAT

Animals of Morocco

GBIF

The wild animals of the Animals theme seen most here (GBIF sightings by people and camera traps, CC0/CC BY records).

Volcanoes and earthquakes in Morocco

NOAA

The strongest earthquakes since 1900 (2)

  1. 1Morocco: Marrakech, Safi · 2023 · 2,946 deathsM 6.8
  2. 2Morocco: Agadir · 1960 · 13,100 deathsM 5.9

Airports in Morocco

OurAirports

17 airports with scheduled flights, 12 of them large.

  1. 1Al Massira Airport (AGA) · Agadir (Temsia)large
  2. 2Beni Mellal Airport (BEM) · Oulad Yaichlarge
  3. 3Fes Saïss International Airport (FEZ) · Saïsslarge
  4. 4Marrakesh Menara Airport (RAK) · Marrakeshlarge
  5. 5Mohammed V International Airport (CMN) · Casablancalarge
  6. 6Nador Al Aaroui International Airport (NDR) · Al Aarouilarge

Highest: Ouarzazate International Airport (3,783 ft). Longest runway: Mohammed V International Airport (3,720 m). All airports of the world

Climate change in Morocco

Climate of this country →
1880: -0.7 °F1881: +0.6 °F1882: -1 °F1883: -1.3 °F1884: -1.1 °F1885: -1.5 °F1886: -1.2 °F1887: -1 °F1888: -0.9 °F1889: -1.7 °F1890: -1.7 °F1891: -1.1 °F1892: -0.1 °F1893: +0.8 °F1894: -1 °F1895: +0.5 °F1896: -1.2 °F1897: 0 °F1898: -0.4 °F1899: +1.4 °F1900: +0.1 °F1901: -0.4 °F1902: -0.4 °F1903: -0.8 °F1904: -0.4 °F1905: -0.7 °F1906: -0.8 °F1907: -1 °F1908: -0.5 °F1909: -1.2 °F1910: -1 °F1911: -0.9 °F1912: -0.7 °F1913: -0.6 °F1914: -0.2 °F1915: +0.2 °F1916: -0.5 °F1917: -1.1 °F1918: -1.2 °F1919: -0.3 °F1920: +0.8 °F1921: -0 °F1922: -0.4 °F1923: -1 °F1924: +0.4 °F1925: -1.4 °F1926: +1 °F1927: +0.1 °F1928: -0.2 °F1929: -0.1 °F1930: +0 °F1931: -0.4 °F1932: -1.1 °F1933: -0.5 °F1934: -1.4 °F1935: -1.2 °F1936: -0.8 °F1937: +0.1 °F1938: -0.4 °F1939: -0.7 °F1940: -0.2 °F1941: -0.8 °F1942: +0.1 °F1943: +0.2 °F1944: -0.1 °F1945: +1.8 °F1946: -0.4 °F1947: +1 °F1948: +0.9 °F1949: +1.1 °F1950: +0.9 °F1951: -0.2 °F1952: +0.1 °F1953: +0.4 °F1954: -0.6 °F1955: +1.9 °F1956: -1.3 °F1957: -0.1 °F1958: +0.8 °F1959: +0 °F1960: +0.6 °F1961: +1.9 °F1962: +0.8 °F1963: +0.4 °F1964: +0.5 °F1965: -0.2 °F1966: +0.7 °F1967: -0.3 °F1968: -0.1 °F1969: -0.3 °F1970: +0.1 °F1971: -1.6 °F1972: -2.3 °F1973: -0 °F1974: -0.7 °F1975: -0.6 °F1976: -1.2 °F1977: +0.1 °F1978: +0.5 °F1979: +0.4 °F1980: +0.6 °F1981: +1.1 °F1982: +0.1 °F1983: +1.6 °F1984: +0.1 °F1985: +1.2 °F1986: +0.2 °F1987: +1.9 °F1988: +1.1 °F1989: +1.6 °F1990: +1.9 °F1991: +0.1 °F1992: +0.2 °F1993: +0.1 °F1994: +1.8 °F1995: +2.3 °F1996: +1.4 °F1997: +2.2 °F1998: +2.2 °F1999: +1.6 °F2000: +1.7 °F2001: +2.8 °F2002: +1.9 °F2003: +2.4 °F2004: +1.5 °F2005: +2.1 °F2006: +2.3 °F2007: +1.6 °F2008: +1.6 °F2009: +2.5 °F2010: +3.4 °F2011: +2.5 °F2012: +2.2 °F2013: +2 °F2014: +2.5 °F2015: +2.2 °F2016: +2.9 °F2017: +3.5 °F2018: +1.2 °F2019: +2.4 °F2020: +3.5 °F2021: +3 °F2022: +4.1 °F2023: +4.2 °F2024: +4.6 °F2025: +3.5 °F

Morocco is +3.7 °F warmer than 100 years ago (the last 10 years against 1901–1930, NASA GISTEMP).

Native plants of Morocco (176)

164 more in Plants

All the data

FactValueYearRankSource
Area 172,414 sq mi – #57 of 194 mledoze/countries
Population 38,430,770 2025 #41 of 193 World Bank, World Development Indicators · SP.POP.TOTL
Population density 221 per sq mi 2024 #99 of 193 World Bank, World Development Indicators · EN.POP.DNST
GDP US$182 billion 2025 #57 of 191 World Bank, World Development Indicators · NY.GDP.MKTP.CD
GDP per person US$4,672 2025 #122 of 191 World Bank, World Development Indicators · NY.GDP.PCAP.CD
Life expectancy 75.5 years 2024 #82 of 193 World Bank, World Development Indicators · SP.DYN.LE00.IN
Births per woman 2.2 2024 #87 of 193 World Bank, World Development Indicators · SP.DYN.TFRT.IN
Infant mortality 14.7 per 1,000 2024 #86 of 192 World Bank, World Development Indicators · SP.DYN.IMRT.IN
Living in cities 63.13% 2025 #98 of 193 World Bank, World Development Indicators · SP.URB.TOTL.IN.ZS
Children (0–14) 25.20% 2025 – World Bank, World Development Indicators · SP.POP.0014.TO.ZS
Working age (15–64) 66.35% 2025 – World Bank, World Development Indicators · SP.POP.1564.TO.ZS
Aged 65 and over 8.45% 2025 #91 of 193 World Bank, World Development Indicators · SP.POP.65UP.TO.ZS
Internet users 91.20% 2024 #49 of 192 World Bank, World Development Indicators · IT.NET.USER.ZS
Access to electricity 100.00% 2024 #1 of 193 World Bank, World Development Indicators · EG.ELC.ACCS.ZS
Renewable energy 10.90% 2021 #139 of 191 World Bank, World Development Indicators · EG.FEC.RNEW.ZS
Forest 12.76% 2024 #140 of 193 World Bank, World Development Indicators · AG.LND.FRST.ZS
CO₂ per person 2 t 2024 #106 of 186 World Bank, World Development Indicators · EN.GHG.CO2.PC.CE.AR5
Land borders 3 – #85 of 194 mledoze/countries
Official languages 2 – – mledoze/countries
Median age 30.1 years 2026 #96 of 194 UN World Population Prospects 2024
Births per 1,000 people 15.8 per 1,000 2026 #91 of 194 UN World Population Prospects 2024
Deaths per 1,000 people 5.9 per 1,000 2026 #148 of 194 UN World Population Prospects 2024
Net migration per 1,000 people -1.6 per 1,000 2026 #147 of 194 UN World Population Prospects 2024
Population in 2050 (projection) 43,440,431 2050 #50 of 194 UN World Population Prospects 2024
Population in 2100 (projection) 37,884,370 2100 #57 of 194 UN World Population Prospects 2024
Population change to 2050 +13% 2050 #99 of 194 UN World Population Prospects 2024
Christian (share) 0.00% 2020 #169 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Muslim (share) 99.00% 2020 #6 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Hindu (share) 0.00% 2020 #31 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Buddhist (share) 0.00% 2020 #31 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Jewish (share) 0.00% 2020 #14 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
Folk religions (share) 0.00% 2020 #36 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
No religion (share) 0.00% 2020 #129 of 181 CIA World Factbook (religions, languages, ethnic groups; the US Census Bureau's estimates, checked against)
GDP in purchasing power (PPP) US$434 billion 2025 #56 of 186 World Bank, World Development Indicators · NY.GDP.MKTP.PP.CD
GDP per person in purchasing power (PPP) US$11,112 2025 #124 of 186 World Bank, World Development Indicators · NY.GDP.PCAP.PP.CD
Economic growth +4.6% 2025 #53 of 190 World Bank, World Development Indicators · NY.GDP.MKTP.KD.ZG
Inflation +0.7% 2025 #156 of 182 World Bank, World Development Indicators · FP.CPI.TOTL.ZG
Unemployment 9.00% 2025 #41 of 178 World Bank, World Development Indicators · SL.UEM.TOTL.ZS
Exports (% of GDP) 41.97% 2025 #64 of 171 World Bank, World Development Indicators · NE.EXP.GNFS.ZS
Imports (% of GDP) 51.13% 2025 #70 of 171 World Bank, World Development Indicators · NE.IMP.GNFS.ZS
Agriculture (% of GDP) 10.55% 2025 #67 of 187 World Bank, World Development Indicators · NV.AGR.TOTL.ZS
Industry (% of GDP) 25.25% 2025 #83 of 188 World Bank, World Development Indicators · NV.IND.TOTL.ZS
Services (% of GDP) 52.31% 2025 #122 of 187 World Bank, World Development Indicators · NV.SRV.TOTL.ZS
Military spending (% of GDP) 3.54% 2025 #20 of 160 World Bank, World Development Indicators · MS.MIL.XPND.GD.ZS

Smart Infographics · smartinfographics.com/en/countries/morocco · CC BY 4.0 · data and photos: the sources and licences named above