Skip to content

Morocco statistics: country profile & rankings

Updated on by Georank team

Morocco is a lower-middle-income country with a population of 38.1M people. The capital is Rabat, while the largest city is Casablanca, with 3.22M residents. Morocco shares land borders with Algeria, Mauritania and Spain.

Morocco ranks 58/197 by GDP ($161B) and 127/197 by GDP per capita ($4,218). The top category for both exports and imports is machinery & equipment.

Main facts and rankings

Morocco Rank
Population
38871720
41/197
GDP
$161B
2024
58/197
GDP per capita
$4,218
2024
127/197
GDP per capita, PPP
$10,415
2024
132/197
Government debt
$109B
2024
56/185
Debt-to-GDP ratio
67.7%
2024
60/185
Government debt per person
$2,857
2024
104/185
Average annual personal income after taxes
$5,678
2026
108/197
Land area 172,317 sq mi 55/197
Population density 225.1 ppl/mi² 102/197
Fertility rate 2.23 87/196
Median age 30.5 years 100/196
Life expectancy 75.9 years 85/197

Morocco trends dashboard: time-series charts

Morocco's economy ranked

1x
Year GDP
2024 $160,610,994,055
2023 $146,036,093,667
2022 $131,245,312,804
2021 $142,022,058,447
2020 $121,353,645,057
2019 $128,920,266,409
2018 $127,341,147,582
2017 $118,540,573,368
2016 $111,572,947,005
2015 $110,413,823,842
2014 $119,130,841,412
2013 $115,739,287,305
2012 $106,937,392,311
2011 $110,080,631,332
2010 $100,865,329,473
2009 $101,154,952,241
2008 $101,822,906,949
2007 $86,947,913,287
2006 $75,883,823,301
2005 $68,852,658,069
2004 $66,114,145,451
2003 $58,029,363,354
2002 $47,077,192,188
2001 $43,831,480,208
2000 $43,017,455,402
1999 $46,266,428,648
1998 $46,497,608,725
1997 $39,147,844,526
1996 $43,161,571,528
1995 $39,030,285,468
1994 $35,604,137,423
1993 $31,655,473,664
1992 $33,711,069,431
1991 $32,285,573,574
1990 $30,179,954,775
1989 $26,314,313,191
1988 $25,705,296,184
1987 $21,765,195,948
1986 $19,462,085,540
1985 $14,991,283,216
1984 $14,824,667,954
1983 $16,251,408,128
1982 $17,692,276,734
1981 $17,788,185,479
1980 $21,728,516,153
1979 $15,911,994,817
1978 $13,236,946,234
1977 $11,049,783,872
1976 $9,584,297,284
1975 $8,984,853,005
1974 $7,675,466,449
1973 $6,242,145,880
1972 $5,074,117,545
1971 $4,356,669,034
1970 $3,956,336,244
1969 $3,651,622,669
1968 $3,271,422,333
1967 $3,046,345,314
1966 $2,876,401,297
1965 $2,948,331,090
1964 $2,798,345,299
1963 $2,657,252,578
1962 $2,379,611,125
1961 $2,025,693,540
1960 $2,037,154,742

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/morocco | CC BY

Morocco's economy ranked

1x
Year GDP per capita
2024 $4,218
2023 $3,872
2022 $3,516
2021 $3,843
2020 $3,317
2019 $3,560
2018 $3,553
2017 $3,344
2016 $3,186
2015 $3,190
2014 $3,483
2013 $3,425
2012 $3,206
2011 $3,345
2010 $3,107
2009 $3,158
2008 $3,222
2007 $2,788
2006 $2,466
2005 $2,268
2004 $2,207
2003 $1,962
2002 $1,612
2001 $1,521
2000 $1,513
1999 $1,651
1998 $1,683
1997 $1,439
1996 $1,610
1995 $1,478
1994 $1,369
1993 $1,236
1992 $1,337
1991 $1,302
1990 $1,238
1989 $1,099
1988 $1,094
1987 $944
1986 $861
1985 $678
1984 $687
1983 $772
1982 $862
1981 $890
1980 $1,117
1979 $839
1978 $716
1977 $613
1976 $545
1975 $524
1974 $459
1973 $382
1972 $319
1971 $280.6
1970 $261.5
1969 $247.8
1968 $228
1967 $218.1
1966 $211.5
1965 $222.7
1964 $216.9
1963 $211.3
1962 $194.2
1961 $169.8
1960 $175.2

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/morocco | CC BY

Morocco's life expectancy calculator

1x
Year Life expectancy, years
2026 75.9
2025 75.7
2024 75.5
2023 75.3
2022 75.2
2021 73.4
2020 73.1
2019 74.2
2018 73.9
2017 73.6
2016 73.2
2015 72.9
2014 72.5
2013 72.1
2012 71.7
2011 71.3
2010 70.8
2009 70.5
2008 70.1
2007 69.6
2006 69.2
2005 68.7
2004 68.3
2003 68
2002 67.6
2001 67.2
2000 66.8
1999 66.4
1998 66
1997 65.6
1996 65.2
1995 64.7
1994 64.3
1993 63.9
1992 63.4
1991 62.9
1990 62.4
1989 61.8
1988 61.2
1987 60.6
1986 60
1985 59.2
1984 58.4
1983 57.7
1982 56.9
1981 56
1980 55.2
1979 54.4
1978 53.6
1977 52.8
1976 52
1975 51.4
1974 50.8
1973 50.2
1972 49.7
1971 49.2
1970 48.7
1969 48.2
1968 47.7
1967 47.1
1966 46.5
1965 45.9
1964 45.3
1963 44.8
1962 44.2
1961 43.7
1960 41.7
1959 42.7
1958 42.2
1957 41.7
1956 41.2
1955 40.8
1954 40.4
1953 40
1952 39.6
1951 39.1
1950 38.8

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

GeoRank.org/facts/morocco | CC BY

Morocco's population clock and projection

1x
Year Population
2024 38,081,173
2023 37,712,505
2022 37,329,064
2021 36,954,442
2020 36,584,208
2019 36,210,898
2018 35,839,760
2017 35,446,392
2016 35,023,457
2015 34,607,588
2014 34,204,780
2013 33,787,571
2012 33,355,241
2011 32,912,588
2010 32,467,016
2009 32,030,778
2008 31,606,767
2007 31,186,468
2006 30,771,178
2005 30,358,144
2004 29,953,018
2003 29,571,415
2002 29,198,142
2001 28,814,643
2000 28,423,435
1999 28,027,179
1998 27,621,648
1997 27,213,337
1996 26,808,107
1995 26,399,429
1994 26,000,822
1993 25,614,586
1992 25,212,468
1991 24,799,014
1990 24,375,551
1989 23,939,414
1988 23,500,524
1987 23,054,392
1986 22,600,803
1985 22,113,953
1984 21,593,778
1983 21,060,696
1982 20,520,318
1981 19,985,401
1980 19,459,943
1979 18,955,589
1978 18,477,385
1977 18,014,756
1976 17,574,182
1975 17,150,786
1974 16,733,842
1973 16,326,269
1972 15,924,692
1971 15,527,225
1970 15,129,449
1969 14,734,255
1968 14,347,899
1967 13,968,175
1966 13,597,065
1965 13,239,171
1964 12,898,886
1963 12,577,502
1962 12,253,092
1961 11,931,085
1960 11,624,933

Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/morocco | CC BY

Morocco's birth and fertility rates

1x
Year Fertility rate
2023 2.23
2022 2.26
2021 2.29
2020 2.32
2019 2.34
2018 2.35
2017 2.38
2016 2.4
2015 2.41
2014 2.42
2013 2.48
2012 2.54
2011 2.6
2010 2.63
2009 2.62
2008 2.61
2007 2.62
2006 2.61
2005 2.61
2004 2.61
2003 2.61
2002 2.62
2001 2.69
2000 2.77
1999 2.88
1998 3.04
1997 3.15
1996 3.23
1995 3.3
1994 3.41
1993 3.55
1992 3.76
1991 3.95
1990 4.06
1989 4.22
1988 4.39
1987 4.58
1986 4.77
1985 4.99
1984 5.2
1983 5.41
1982 5.6
1981 5.71
1980 5.78
1979 5.85
1978 5.91
1977 6.04
1976 6.18
1975 6.3
1974 6.4
1973 6.48
1972 6.55
1971 6.62
1970 6.68
1969 6.73
1968 6.79
1967 6.85
1966 6.89
1965 6.93
1964 6.97
1963 7.01
1962 7.05
1961 6.97
1960 6.89

Data sources: World Bank | Health (1960–2023, retrieved 2026-04-06).

GeoRank.org/facts/morocco | CC BY

Morocco's demographics

1x
Year Median age, years
2024 30.5
2023 30.2
2022 29.9
2021 29.5
2020 29.2
2019 28.9
2018 28.5
2017 28.2
2016 27.8
2015 27.5
2014 27.1
2013 26.7
2012 26.4
2011 26.1
2010 25.7
2009 25.4
2008 25
2007 24.7
2006 24.3
2005 24
2004 23.7
2003 23.4
2002 23.1
2001 22.8
2000 22.5
1999 22.2
1998 21.9
1997 21.6
1996 21.3
1995 21
1994 20.6
1993 20.3
1992 20
1991 19.7
1990 19.4
1989 19.2
1988 18.9
1987 18.7
1986 18.5
1985 18.3
1984 18.1
1983 18
1982 17.8
1981 17.7
1980 17.6
1979 17.4
1978 17.3
1977 17.2
1976 17.1
1975 16.9
1974 16.9
1973 16.8
1972 16.7
1971 16.7
1970 16.6
1969 16.6
1968 16.6
1967 16.7
1966 16.8
1965 16.9
1964 17
1963 17.2
1962 17.4
1961 17.6
1960 17.9

Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/morocco | CC BY

Morocco vs. World: Interactive Maps

Use the buttons below to toggle between world maps that display different statistics comparing Morocco with other countries.

1x
1x
1x
1x
1x
1x
1x

Morocco: National Statistics

Finance

Morocco Rank
GNI, Atlas method
$149B
2024
59/194
Government expenditure, % of GDP
33%
2024
80/195
Education expenditure, % of GDP
6.02%
2023
25/193
Military expenditure, % of GDP
3.52%
2024
23/163
Armed forces personnel
246,000
2020
28/174
Deficit/surplus, % of GDP
-3.92%
2024
124/188
Unemployment rate
11.8%
2022
27/196
Services, % of GDP
52.7%
2024
118/191
Industry, % of GDP
25.6%
2024
75/194
Economic freedom index
61.8
2026
91/197
Income share by richest 10%
31.9%
2013
38/169
Income share by poorest 10%
2.7%
2013
95/169
Number of billionaires
3
2025
52/78
Percentage of billionaires
0.00001%
2025
65/78
Listed domestic companies
76
2024
59/103
Market capitalization of domestic companies
$74.5B
2024
43/100
Total reserves including gold
$37.1B
2024
52/177
Personal remittances received
$12.5B
2024
16/191
International tourist arrivals
2,802,000
2020
49/188
International tourism as share of exports
12%
2020
55/184
Banked people share
44.4%
2024
122/158

Energy

Morocco Rank
Energy use, kg of oil equivalent per capita
601 kg
2023
127/177
GDP PPP per kg equivalent of energy use
$16.7
2023
57/173
Carbon dioxide (CO2) emissions
70 megatons
2024
49/187
CO2 emissions per capita
1.84 tons
2024
108/187
Fossil fuel energy use share
90.1%
2022
29/176
Renewable energy use share
10.9%
2021
140/193
Alternative and nuclear energy use share
4.92%
2023
86/147
Net energy imports use share
93.6%
2023
11/144
Electric power consumption per capita
997 kWh
2023
105/147
Renewable electricity output share
19.3%
2021
116/192
Hydroelectric share
1.18%
2023
132/192
Nuclear share
0%
2021
131/192
Electricity access
100%
2023
66/195

Society

Morocco Rank
% of world population
0.47%
2024
39/197
Annual migration change
-56,254
2025
176/196
Urban population
62.8%
2024
100/195
Male:Female ratio
50.4:49.6
2024
N/A
Average male height
5.79 ft
2025
46/190
Average female height
5.29 ft
2025
85/190
Quality of life index
51.1
2026
89/197
Corruption Perceptions Index
39
2025
109/197
Higher education index
54
2026
86/183
Homicides per 100K people
1.69
2024
126/197
Road traffic mortality per 100K people
17
2019
79/197
Visa free countries
83
2025
116/195
Adult literacy rate
77.3%
2022
159/196
English speaking
18.4%
2023
108/197
People using the Internet
91%
2023
47/195

Health

Morocco Rank
Government health expenditure per capita
$232.2
2023
125/192
Out-of-pocket health expenditure per capita
$86.5
2023
107/192
Life expectancy
75.9 years
2026
85/197
Foreign aid share of health expenditure
0.62%
2023
111/181
Physicians per 1,000 people
0.74
2021
127/193
Maternal mortality per 100K births
70
2023
78/193
Mortality rate before reaching 5 years of age
16.6
2023
91/192
Obesity rate
22.5%
2022
95/189
Diabetes prevalence
11.9%
2024
53/195
Air quality index
75
2026
51/197
Tobacco use prevalence
13%
2022
113/164
Pure alcohol consumption per capita
0.5 liters
2020
163/186

Territory

Morocco Rank
% of world land
0.3%
2026
55/197
Land area per capita
4,525 sq mi
2024
95/197
Agricultural land area
115,013 sq mi
2026
38/194
Forest area
22,293 sq mi
2026
72/196
Roads length
35,626 mi
2022
69/176

Compare Morocco with other countries

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Health (1960–2025, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. Wikidata (2014–2024, retrieved 2026-02-08)
  8. World Obesity Federation (2022, retrieved 2026-02-08)
  9. Passport Index (2025, retrieved 2026-02-08)
  10. Transparency International (2025, retrieved 2026-02-10)
  11. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  12. EduRank (2026, retrieved 2025-10-13)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.