Skip to content

Morocco's economy ranking: GDP & GDP per capita, debt

Updated on by Georank team

Morocco ranked 58/197 by economy size with a GDP of $161B and 127/197 by GDP per capita at $4,218. Morocco has $112B in government debt, with a debt-to-GDP ratio of 67.7%.

In 2026, Morocco made up 0.14% of the world's economy, compared to 0.15% in 1960.

The chart below shows GDP in nominal terms, GDP adjusted for inflation (in constant dollars), and a bar chart of year-over-year inflation-adjusted growth.

GDP, current $
GDP, constant 2015 $
GDP growth
Year GDP GDP growth
Current $ Constant $
1960 $2,037,154,742 - -
1961 $2,025,693,540 - -0.56%
1962 $2,379,611,125 - 17.5%
1963 $2,657,252,578 - 11.7%
1964 $2,798,345,299 - 5.31%
1965 $2,948,331,090 - 5.36%
1966 $2,876,401,297 $11,518,527,478 -2.44%
1967 $3,046,345,314 $12,673,702,326 5.91%
1968 $3,271,422,333 $13,927,351,921 7.39%
1969 $3,651,622,669 $15,091,980,118 11.6%
1970 $3,956,336,244 $15,803,334,621 8.34%
1971 $4,356,669,034 $16,687,830,454 10.1%
1972 $5,074,117,545 $17,094,552,490 16.5%
1973 $6,242,145,880 $17,703,000,749 23%
1974 $7,675,466,449 $18,693,669,512 23%
1975 $8,984,853,005 $20,106,578,472 17.1%
1976 $9,584,297,284 $22,280,658,838 6.67%
1977 $11,049,783,872 $23,630,681,317 15.3%
1978 $13,236,946,234 $24,158,274,887 19.8%
1979 $15,911,994,817 $25,316,371,178 20.2%
1980 $21,728,516,153 $26,238,435,141 36.6%
1981 $17,788,185,479 $25,780,985,097 -18.1%
1982 $17,692,276,734 $28,090,283,844 -0.54%
1983 $16,251,408,128 $28,479,775,174 -8.14%
1984 $14,824,667,954 $30,307,717,168 -8.78%
1985 $14,991,283,216 $32,128,499,366 1.12%
1986 $19,462,085,540 $35,107,166,524 29.8%
1987 $21,765,195,948 $34,993,066,802 11.8%
1988 $25,705,296,184 $39,148,576,061 18.1%
1989 $26,314,313,191 $40,262,823,844 2.37%
1990 $30,179,954,775 $41,636,515,790 14.7%
1991 $32,285,573,574 $44,641,043,474 6.98%
1992 $33,711,069,431 $43,704,591,005 4.42%
1993 $31,655,473,664 $43,380,918,431 -6.1%
1994 $35,604,137,423 $47,974,090,255 12.5%
1995 $39,030,285,468 $45,380,875,814 9.62%
1996 $43,161,571,528 $50,995,795,429 10.6%
1997 $39,147,844,526 $50,199,902,853 -9.3%
1998 $46,497,608,725 $53,833,649,265 18.8%
1999 $46,266,428,648 $54,747,239,389 -0.5%
2000 $43,017,455,402 $56,160,912,156 -7.02%
2001 $43,831,480,208 $60,497,559,621 1.89%
2002 $47,077,192,188 $62,754,238,002 7.4%
2003 $58,029,363,354 $66,626,866,132 23.3%
2004 $66,114,145,451 $69,672,633,475 13.9%
2005 $68,852,658,069 $71,896,757,929 4.14%
2006 $75,883,823,301 $77,498,104,933 10.2%
2007 $86,947,913,287 $80,164,867,241 14.6%
2008 $101,822,906,949 $84,721,870,675 17.1%
2009 $101,154,952,241 $87,895,356,583 -0.66%
2010 $100,865,329,473 $90,971,304,769 -0.29%
2011 $110,080,631,332 $95,997,146,622 9.14%
2012 $106,937,392,311 $98,936,909,179 -2.86%
2013 $115,739,287,305 $103,015,299,181 8.23%
2014 $119,130,841,412 $105,816,536,606 2.93%
2015 $110,413,823,842 $110,413,823,842 -7.32%
2016 $111,572,947,005 $110,989,284,688 1.05%
2017 $118,540,573,368 $116,603,009,678 6.24%
2018 $127,341,147,582 $120,177,639,735 7.42%
2019 $128,920,266,409 $123,651,944,969 1.24%
2020 $121,353,645,057 $114,775,951,852 -5.87%
2021 $142,022,058,447 $124,135,631,044 17%
2022 $131,245,312,804 $126,385,828,221 -7.59%
2023 $146,036,093,667 $131,006,044,306 11.3%
2024 $160,610,994,055 $135,975,581,948 9.98%

Economic Statistics of Morocco

Morocco Rank
Gross domestic product
$161B
2024
58/197
GDP growth
9.98%
2023-2024
44/196
GDP per capita
$4,218
2024
127/197
GDP per capita, PPP
$10,415
2024
132/197
Government debt
$112B
2024
57/185
Debt-to-GDP ratio
67.7%
2026
59/185
Government debt per person
$2,954
2024
103/185
Average annual personal income after taxes
$5,043
2026
116/197
Listed domestic companies
76
2024
59/103
Market capitalization of domestic companies
$74.5B
2024
43/100
Number of billionaires
3
2025
52/78
Billionaire frequency
1 in 8,376,481
2025
65/78
Income share by richest 10%
31.9%
2013
38/169
Income share by poorest 10%
2.7%
2013
95/169
Government expenditure, % of GDP
32.8%
2026
77/195
Consumer prices inflation
0.99%
2023-2024
174/195
Central bank interest rate
2.25%
2025
92/105
Unemployment rate
11.8%
2022
26/196
Population
38765910
39/197

Morocco's GDP per capita

Morocco has a GDP per capita of $4,218, ranking 127/197, a GDP per capita based on purchasing power parity (PPP) of $10,415, ranking 132/197, and a median annual after tax income of $5,043, ranking 116/197.

GDP per capita
GDP per capita, PPP
Year Current $
GDP per capita GDP per capita, PPP
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 $2,777
1991 $1,302 $3,025
1992 $1,337 $2,979
1993 $1,236 $2,979
1994 $1,369 $3,315
1995 $1,478 $3,152
1996 $1,610 $3,551
1997 $1,439 $3,502
1998 $1,683 $3,740
1999 $1,651 $3,801
2000 $1,513 $3,930
2001 $1,521 $4,269
2002 $1,612 $4,436
2003 $1,962 $4,741
2004 $2,207 $5,025
2005 $2,268 $5,275
2006 $2,466 $5,781
2007 $2,788 $6,058
2008 $3,222 $6,437
2009 $3,158 $6,629
2010 $3,107 $6,849
2011 $3,345 $7,274
2012 $3,206 $7,308
2013 $3,425 $7,542
2014 $3,483 $7,237
2015 $3,190 $7,799
2016 $3,186 $7,853
2017 $3,344 $8,115
2018 $3,553 $7,801
2019 $3,560 $8,046
2020 $3,317 $7,705
2021 $3,843 $8,623
2022 $3,516 $9,310
2023 $3,872 $9,895
2024 $4,218 $10,415

Morocco's government spending, deficit, and chart

This chart shows Morocco's government spending, budget balance, and debt over time, each expressed as a share of GDP.

Over the past 37 years, Morocco recorded a fiscal deficit in 32 years — average annual deficit equal to -2.97% of GDP. In 2024, government spending reached $54.9B (32.8% of GDP), with a deficit of -3.4%.

The national debt reached $112B, ranking 57th out of 185 countries by total size, with a debt-to-GDP ratio of 67.7%, ranking 59th.

Government spending
Government debt
Deficit/surplus
Year % of GDP
Government spending Government debt Government deficit/surplus
1990 22.6% 70.5% -1.32%
1991 20.8% 59.1% -0.9%
1992 22.3% 67% -1.84%
1993 23.1% 74.7% -2%
1994 21.7% 69.3% -2.51%
1995 21.3% 72.2% -2.54%
1996 17.6% 65.3% 0.87%
1997 18.6% 68% 1.5%
1998 18.7% 64.5% 1.47%
1999 18.4% 63.4% 3.21%
2000 22.8% 64.9% -1.97%
2001 23.7% 60.4% -3.79%
2002 25.8% 59.4% -4.37%
2003 24.1% 56.9% -3.74%
2004 24.5% 54.4% -3.31%
2005 28.6% 54.8% -5.46%
2006 26% 50.6% -1.8%
2007 26.4% 47.1% -0.12%
2008 28.3% 42% 0.63%
2009 28.1% 42.6% -1.63%
2010 28.7% 45.3% -3.93%
2011 31.2% 48.6% -6.08%
2012 32.5% 52.3% -6.63%
2013 30.4% 57.1% -4.7%
2014 30.7% 58.6% -4.78%
2015 28.5% 58.4% -4.59%
2016 28.6% 60.1% -4.49%
2017 27.9% 60.3% -3.3%
2018 27.8% 60.5% -3.52%
2019 27.7% 60.3% -3.88%
2020 34.1% 72.2% -7.15%
2021 31% 69.4% -5.92%
2022 33.8% 71.5% -5.38%
2023 32.3% 69.5% -4.46%
2024 34.2% 70% -4.06%
2025 34.3% 68.9% -3.89%
2026 32.8% 67.7% -3.4%

Inflation rate by year

Over the past 20 years, Morocco has had an average annual inflation rate of 1.92%. In 2024, inflation was 0.99%. The bar chart below shows consumer price inflation by year.

Year Inflation
1960 3.42%
1961 1.76%
1962 5.1%
1963 5.7%
1964 4.02%
1965 3.48%
1966 -1.01%
1967 -0.75%
1968 0.44%
1969 2.95%
1970 1.28%
1971 4.16%
1972 3.76%
1973 4.08%
1974 17.6%
1975 7.92%
1976 8.5%
1977 12.6%
1978 9.72%
1979 8.33%
1980 9.41%
1981 12.5%
1982 10.5%
1983 6.21%
1984 12.4%
1985 7.73%
1986 8.73%
1987 2.7%
1988 2.37%
1989 3.26%
1990 6.78%
1991 7.99%
1992 5.74%
1993 5.18%
1994 5.14%
1995 6.12%
1996 2.99%
1997 1.04%
1998 2.75%
1999 0.68%
2000 1.89%
2001 0.62%
2002 2.8%
2003 1.17%
2004 1.49%
2005 0.98%
2006 3.28%
2007 2.04%
2008 3.71%
2009 0.97%
2010 0.99%
2011 0.91%
2012 1.29%
2013 1.88%
2014 0.44%
2015 1.56%
2016 1.64%
2017 0.75%
2018 1.8%
2019 0.3%
2020 0.71%
2021 1.4%
2022 6.66%
2023 6.09%
2024 0.99%

Balance of trade

Morocco Rank
Current account balance
-$1.87B
2024
141/190
Current account balance, % of GDP
-1.16%
2024
92/190
Goods imports
$66.5B
2024
47/189
Goods exports
$39.3B
2024
60/189
Service imports
$14.3B
2024
57/189
Service exports
$28.2B
2024
44/189
Imports of goods and services, % of GDP
50.2%
2024
79/181
Exports of goods and services, % of GDP
42%
2024
75/193

Morocco's top 10 trading partners

Morocco's biggest trading partner accounting for 18.5%% of all exports and imports is Spain, with a trade balance between the two of -$1.5B — Morocco exports $9.57B worth of goods and services to Spain and imports $11.1B.

Below is the list of the top 10 trade partners of Morocco.

Rank Country Trade value Share of total trade Export to Import from Top export to Top import from
1 Spain $20.7B 18.5% $9.57B $11.1B Machinery & equipment Machinery & equipment
2 France $16.2B 14.5% $8.72B $7.47B Machinery & equipment Machinery & equipment
3 China $7.86B 7.05% $351M $7.51B Raw materials & minerals Machinery & equipment
4 United States $7.22B 6.48% $1.25B $5.97B Machinery & equipment Raw materials & minerals
5 Italy $5.6B 5.03% $2.2B $3.4B Machinery & equipment Machinery & equipment
6 Germany $5.31B 4.76% $1.82B $3.49B Machinery & equipment Machinery & equipment
7 Turkey $4.78B 4.29% $1.17B $3.61B Machinery & equipment Textiles & consumer goods
8 Brazil $2.76B 2.48% $1.2B $1.56B Raw materials & minerals Processed food, beverages & tobacco
9 United Kingdom $2.74B 2.46% $1.89B $843M Machinery & equipment Machinery & equipment
10 India $2.7B 2.42% $1.22B $1.48B Raw materials & minerals Machinery & equipment

Morocco's top 10 exports

Morocco Rank
Machinery & equipment $17.6B 41/193
Transport & tourism services $15.6B 40/188
Raw materials & minerals $8.98B 59/193
Textiles & consumer goods $5.47B 39/193
Business & finance services $4.26B 46/188
Raw agricultural goods $3.91B 35/193
Manufacturing & construction services $2.5B 30/164
Processed food, beverages & tobacco $2.47B 55/192
IT & IP services $2.1B 45/183
Animal & marine products $1.91B 41/192

Morocco's top 10 imports

Morocco Rank
Machinery & equipment $23B 46/193
Raw materials & minerals $15.5B 40/193
Transport & tourism services $7.71B 53/188
Textiles & consumer goods $6.78B 44/193
Chemicals & pharma $6.4B 58/193
Metals $5.67B 45/193
Raw agricultural goods $4.7B 31/193
Processed food, beverages & tobacco $4.39B 47/193
Wood & paper products $1.71B 45/193
Business & finance services $1.51B 75/188

Economic freedom indices

Morocco Rank
Economic freedom 60.3 94/197
Property rights 58.6 74/182
Government integrity 36.9 74/182
Judicial effectiveness 32.7 74/182
Tax burden 71.4 141/181
Government spending 67.9 110/180
Fiscal health 46.2 131/181
Business freedom 68.9 79/182
Labor freedom 48.5 148/182
Monetary freedom 74.7 46/180
Trade freedom 67.2 118/181
Investment freedom 75 21/181
Financial freedom 75 15/181

Morocco's economic freedom by year

Morocco is ranked 84/180 for economic freedom with a score of 60.3, compared to 124/163 and a score of 52.2 in 2005.

Economic freedom
Judicial effectiveness
Tax burden
Government spending
Fiscal health
Year Index
Economic freedom Judicial effectiveness Tax burden Government spending Fiscal health
1995 62.8 - 57.5 72.8 -
1996 64.3 - 60.5 73.2 -
1997 64.7 - 62.1 76.3 -
1998 61.1 - 63.6 73.7 -
1999 63.8 - 63.4 95.1 -
2000 63.2 - 63 88 -
2001 63.9 - 62.3 82.7 -
2002 59 - 62.3 69.3 -
2003 57.8 - 62.5 67.9 -
2004 56.7 - 63.2 70.4 -
2005 52.2 - 63.1 73.2 -
2006 51.5 - 63.3 72.8 -
2007 56.4 - 63.2 78.1 -
2008 55.6 - 65.4 73.2 -
2009 57.7 - 65.1 76.5 -
2010 59.2 - 68.5 81.5 -
2011 59.6 - 67.8 74.6 -
2012 60.2 - 69.7 74.8 -
2013 59.6 - 71.4 64.3 -
2014 58.3 - 71.3 64.1 -
2015 60.1 - 70.9 61 -
2016 61.3 - 71.5 65.6 -
2017 61.5 41.9 71.7 69.4 55
2018 61.9 44.3 70.5 70.5 60.6
2019 62.9 47.1 72.2 72.7 66.9
2020 63.3 48 71.8 72.8 67.2
2021 63.3 51.2 68.3 73 68.5
2022 59.2 32.7 68.2 69.8 46
2023 58.4 38.7 67.9 72 41.3
2024 56.8 32.9 68 68.2 29.9
2025 60.3 32.7 71.4 67.9 46.2

More economic indicators

Morocco Rank
Services, % of GDP
52.7%
2024
118/191
Industry, % of GDP
25.6%
2024
75/194
Agriculture, forestry, and fishing, % of GDP
10.6%
2024
68/193
GNI, Atlas method
$149B
2024
59/194
GNI per capita, PPP
$10,260
2024
127/191
Total reserves including gold
$37.1B
2024
52/177
Net foreign direct investment
-$948M
2024
117/189
Net inflows of foreign direct investment
$1.64B
2024
78/193
Net outflows of foreign direct investment
$691M
2024
55/193
Servicing debt to the IMF, % of GNI
5.63%
2024
43/121
Poverty at national poverty lines
3.9%
2022
173/176
Gross capital formation, % of GDP
30.1%
2024
34/178

Compare countries by 7 more topics

GDP per capita map

GDP per capita

Economy comparisons

Economy 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

The current account balance is the sum of net trade in goods and services, net earnings from cross-border investments, and net transfer payments. It reflects a country's economic transactions with the rest of the world and is a fundamental component of the balance of payments. A surplus indicates that a country exports more than it imports, while a deficit shows the opposite.

Gross National Income (GNI) measures a country's total income. It encompasses income earned by residents, businesses, and foreign sources, defined as employee compensation and investment profits. GNI adds product taxes not included elsewhere and subtracts subsidies. It accounts for income from residents working abroad but excludes earnings from foreigners within the country.

A negative value for Net Foreign Direct Investment indicates a country is a net receiver of investments, as foreign inflows exceed outflows after Balance of Payments adjustments. A positive value indicates a net provider, with outflows exceeding inflows. Inflows are credits (increasing foreign claims on domestic assets), while outflows are debits (increasing domestic assets abroad).

Foreign direct investment (FDI, net inflows) shows how much capital foreign investors bring into a country after accounting for any funds that flow back in the opposite direction. It represents the net value of overseas companies establishing, expanding, or financing businesses in the reporting country. A positive number means more capital entered the country than was withdrawn, while a negative number means foreign investors pulled out more than they invested.

Foreign direct investment (FDI, net outflows) shows how much capital residents of a country invest abroad after accounting for any funds that flow back in the opposite direction. It represents the net value of domestic companies establishing, expanding, or financing businesses in other countries. A positive number means more capital was invested abroad than withdrawn, while a negative number means residents pulled back more than they invested.

Principal and interest payments to the IMF in currency, goods, or services on long-term debt expressed as a share of GNI.

Formerly gross domestic investment, gross capital formation measures the share of a country’s economic output invested in fixed assets, including buildings, machinery, and infrastructure. It indicates how much of the economy is devoted to building productive capacity.