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 60/197 by GDP ($154B) and 128/197 by GDP per capita ($4,055). The top category for both exports and imports is machinery & equipment.

Main facts and rankings

Morocco Rank
Population
38697192
41/197
GDP
$154B
2024
60/197
GDP per capita
$4,055
2024
128/197
GDP per capita, PPP
$10,305
2024
132/197
Government debt
$108B
2024
56/185
Debt-to-GDP ratio
68.9%
2025
58/185
Government debt per person
$2,840
2024
105/185
Average annual personal income after taxes
$5,043
2025
116/197
Land area 172,317 sq mi 55/197
Population density 221 ppl/mi² 103/197
Fertility rate 2.23 87/196
Median age 30.5 years 100/196
Life expectancy 75.7 years 84/197

Morocco trends dashboard: time-series charts

Morocco's economy ranked

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

Morocco's economy ranked

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

Morocco's life expectancy calculator

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

Morocco's population clock and projection

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

Morocco's birth and fertility rates

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

Morocco's demographics

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

Morocco vs. World: Interactive Maps

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

GDP per capita

GDP

Life expectancy

Population

Population density

Fertility rate

Median age

Land area

Morocco: National Statistics

Finance

Morocco Rank
GNI, Atlas method
$145B
2024
60/194
Government expenditure, % of GDP
34.3%
2025
74/195
Education expenditure, % of GDP
6.02%
2023
25/193
Military expenditure, % of GDP
3.64%
2023
25/163
Armed forces personnel
246,000
2020
28/174
Deficit/surplus, % of GDP
-3.89%
2025
122/188
Unemployment rate
11.8%
2022
26/196
Services, % of GDP
54.1%
2024
111/191
Industry, % of GDP
24.1%
2024
97/194
Economic freedom index
60.3
2025
94/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
17/190
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
126/177
GDP PPP per kg equivalent of energy use
$16.6
2023
58/173
Carbon dioxide (CO2) emissions
69.9 megatons
2023
48/187
CO2 emissions per capita
1.85 tons
2023
112/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
-46,802
2024
176/196
Urban population
65.6%
2024
90/195
Male:Female ratio
50:50
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
49.7
2025
88/197
Corruption Perceptions Index
37
2024
119/197
Higher education index
56
2025
83/183
Homicides per 100K people
1.71
2023
123/197
Road traffic mortality per 100K people
17
2019
79/197
Visa free countries
85
2025
118/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
$199.2
2022
125/191
Out-of-pocket health expenditure per capita
$85.7
2022
105/191
Life expectancy
75.7 years
2025
84/197
Foreign aid share of health expenditure
3.12%
2022
85/178
Physicians per 1,000 people
0.73
2017
129/193
Maternal mortality per 100K births
70
2023
78/193
Mortality rate before reaching 5 years of age, per 1,000 live births
16.6
2023
91/192
Obesity rate
22.5%
2022
95/189
Diabetes prevalence
11.9%
2024
53/195
Air quality index
75
2025
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%
2025
55/197
Land area per capita
4,525 sq mi
2024
95/197
Agricultural land area
115,013 sq mi
2025
38/194
Forest area
22,293 sq mi
2025
72/196
Roads length
35,626 mi
2022
68/175

Compare Morocco with other countries

Facts comparisons

Facts vs Morocco
Afghanistan Compare
Albania Compare
Algeria Compare
Andorra Compare
Angola Compare
Antigua Compare
Argentina Compare
Armenia Compare
Australia Compare
Austria Compare
Azerbaijan Compare
Bahamas Compare
Bahrain Compare
Bangladesh Compare
Barbados Compare
Belarus Compare
Belgium Compare
Belize Compare
Benin Compare
Bhutan Compare
Bolivia Compare
Bosnia Compare
Botswana Compare
Brazil Compare
Brunei Compare
Bulgaria Compare
Burkina Faso Compare
Burundi Compare
Cambodia Compare
Cameroon Compare
Canada Compare
Cape Verde Compare
Cayman Islands Compare
CAR Compare
Chad Compare
Chile Compare
China Compare
Colombia Compare
Comoros Compare
Congo Compare
Costa Rica Compare
Croatia Compare
Cuba Compare
Curacao Compare
Cyprus Compare
Czech Republic Compare
DR Congo Compare
Denmark Compare
Djibouti Compare
Dominica Compare
Dominican Republic Compare
East Timor Compare
Ecuador Compare
Egypt Compare
El Salvador Compare
Equatorial Guinea Compare
Eritrea Compare
Estonia Compare
Eswatini Compare
Ethiopia Compare
Fiji Compare
Finland Compare
France Compare
Gabon Compare
Gambia Compare
Georgia Compare
Germany Compare
Ghana Compare
Greece Compare
Grenada Compare
Guatemala Compare
Guinea Compare
Guinea-Bissau Compare
Guyana Compare
Haiti Compare
Honduras Compare
Hungary Compare
Iceland Compare
India Compare
Indonesia Compare
Iran Compare
Iraq Compare
Ireland Compare
Israel Compare
Italy Compare
Ivory Coast Compare
Jamaica Compare
Japan Compare
Jordan Compare
Kazakhstan Compare
Kenya Compare
Kiribati Compare
Kuwait Compare
Kyrgyzstan Compare
Laos Compare
Latvia Compare
Lebanon Compare
Lesotho Compare
Liberia Compare
Libya Compare
Liechtenstein Compare
Lithuania Compare
Luxembourg Compare
Madagascar Compare
Malawi Compare
Malaysia Compare
Maldives Compare
Mali Compare
Malta Compare
Marshall Islands Compare
Mauritania Compare
Mauritius Compare
Mexico Compare
Moldova Compare
Monaco Compare
Mongolia Compare
Montenegro Compare
Mozambique Compare
Myanmar Compare
Namibia Compare
Nauru Compare
Nepal Compare
Netherlands Compare
New Zealand Compare
Nicaragua Compare
Niger Compare
Nigeria Compare
North Korea Compare
North Macedonia Compare
Norway Compare
Oman Compare
Pakistan Compare
Palau Compare
Palestine Compare
Panama Compare
Papua New Guinea Compare
Paraguay Compare
Peru Compare
Philippines Compare
Poland Compare
Portugal Compare
Qatar Compare
Romania Compare
Russia Compare
Rwanda Compare
Saint Kitts Compare
Saint Lucia Compare
Saint Vincent Compare
Samoa Compare
San Marino Compare
Sao Tome Compare
Saudi Arabia Compare
Senegal Compare
Serbia Compare
Seychelles Compare
Sierra Leone Compare
Singapore Compare
Slovakia Compare
Slovenia Compare
Solomon Islands Compare
Somalia Compare
South Africa Compare
South Korea Compare
South Sudan Compare
Spain Compare
Sri Lanka Compare
Sudan Compare
Suriname Compare
Sweden Compare
Switzerland Compare
Syria Compare
Taiwan Compare
Tajikistan Compare
Tanzania Compare
Thailand Compare
Togo Compare
Tonga Compare
Trinidad Compare
Tunisia Compare
Turkey Compare
Turkmenistan Compare
Tuvalu Compare
Uganda Compare
Ukraine Compare
UAE Compare
United Kingdom Compare
United States Compare
Uruguay Compare
Uzbekistan Compare
Vanuatu Compare
Vatican Compare
Venezuela Compare
Vietnam Compare
Yemen Compare
Zambia Compare
Zimbabwe Compare