Skip to content

Economy of Morocco vs Nigeria compared: GDP & Debt

Updated on by Georank team

Morocco has a GDP of $161B compared to $252B for Nigeria, ranking 58/197 and 54/197 by economy size, respectively.

Morocco has $109B in government debt (67.7% of GDP), compared to $99.2B (39.3% of GDP) in Nigeria.

Morocco vs Nigeria GDP by year

Morocco
Nigeria
1x
Year GDP, current $
Morocco Nigeria
2024 $160,610,994,055 $252,261,880,141
2023 $146,036,093,667 $487,387,801,881
2022 $131,245,312,804 $646,950,257,578
2021 $142,022,058,447 $609,147,716,973
2020 $121,353,645,057 $598,586,817,819
2019 $128,920,266,409 $668,219,992,691
2018 $127,341,147,582 $421,739,251,509
2017 $118,540,573,368 $375,745,731,053
2016 $111,572,947,005 $404,649,125,252
2015 $110,413,823,842 $493,026,682,801
2014 $119,130,841,412 $574,183,763,412
2013 $115,739,287,305 $520,117,180,314
2012 $106,937,392,311 $463,971,018,239
2011 $110,080,631,332 $414,466,676,831
2010 $100,865,329,473 $366,990,417,129
2009 $101,154,952,241 $295,008,835,381
2008 $101,822,906,949 $339,476,276,258
2007 $86,947,913,287 $278,260,846,800
2006 $75,883,823,301 $238,454,997,161
2005 $68,852,658,069 $175,670,569,969
2004 $66,114,145,451 $135,764,731,646
2003 $58,029,363,354 $104,738,954,264
2002 $47,077,192,188 $95,054,059,303
2001 $43,831,480,208 $73,557,840,064
2000 $43,017,455,402 $69,171,451,627
1999 $46,266,428,648 $59,145,077,039
1998 $46,497,608,725 $218,416,200,673
1997 $39,147,844,526 $200,850,397,618
1996 $43,161,571,528 $185,730,236,700
1995 $39,030,285,468 $140,919,776,986
1994 $35,604,137,423 $80,399,613,064
1993 $31,655,473,664 $56,721,051,402
1992 $33,711,069,431 $52,058,181,854
1991 $32,285,573,574 $59,526,833,412
1990 $30,179,954,775 $54,035,795,388
1989 $26,314,313,191 $44,003,061,108
1988 $25,705,296,184 $49,648,470,440
1987 $21,765,195,948 $52,676,041,931
1986 $19,462,085,540 $54,805,852,581
1985 $14,991,283,216 $73,745,821,158
1984 $14,824,667,954 $73,484,359,521
1983 $16,251,408,128 $97,094,911,792
1982 $17,692,276,734 $142,769,363,314
1981 $17,788,185,479 $164,475,209,516
1980 $21,728,516,153 $64,201,788,123
1979 $15,911,994,817 $47,259,911,894
1978 $13,236,946,234 $36,527,862,209
1977 $11,049,783,872 $36,035,407,725
1976 $9,584,297,284 $36,308,883,249
1975 $8,984,853,005 $27,778,934,625
1974 $7,675,466,449 $24,846,641,318
1973 $6,242,145,880 $15,162,871,287
1972 $5,074,117,545 $12,274,416,018
1971 $4,356,669,034 $9,181,769,912
1970 $3,956,336,244 $12,546,094,982
1969 $3,651,622,669 $6,634,317,346
1968 $3,271,422,333 $5,200,997,920
1967 $3,046,345,314 $5,203,237,919
1966 $2,876,401,297 $6,366,917,453
1965 $2,948,331,090 $5,874,537,650
1964 $2,798,345,299 $5,552,931,319
1963 $2,657,252,578 $5,165,590,254
1962 $2,379,611,125 $4,909,399,176
1961 $2,025,693,540 $4,467,287,893
1960 $2,037,154,742 $4,196,174,502

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

GeoRank.org/economy/morocco/nigeria | CC BY

GDP per capita in Morocco vs Nigeria by year

Morocco
GDP per capita

GDP per capita, PPP
Nigeria
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Nigeria
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $4,218 $10,415 $1,084 $9,087
2023 $3,872 $9,895 $2,139 $8,705
2022 $3,516 $9,310 $2,899 $8,305
2021 $3,843 $8,623 $2,787 $7,588
2020 $3,317 $7,705 $2,797 $7,415
2019 $3,560 $8,046 $3,190 $7,551
2018 $3,553 $7,801 $2,058 $7,158
2017 $3,344 $8,115 $1,876 $7,037
2016 $3,186 $7,853 $2,070 $7,072
2015 $3,190 $7,799 $2,586 $7,308
2014 $3,483 $7,237 $3,089 $7,396
2013 $3,425 $7,542 $2,873 $7,004
2012 $3,206 $7,308 $2,633 $6,671
2011 $3,345 $7,274 $2,418 $6,585
2010 $3,107 $6,849 $2,202 $6,301
2009 $3,158 $6,629 $1,820 $5,927
2008 $3,222 $6,437 $2,154 $5,607
2007 $2,788 $6,058 $1,816 $5,298
2006 $2,466 $5,781 $1,600 $4,975
2005 $2,268 $5,275 $1,211 $4,678
2004 $2,207 $5,025 $962 $4,381
2003 $1,962 $4,741 $763 $4,015
2002 $1,612 $4,436 $712 $3,770
2001 $1,521 $4,269 $566 $3,309
2000 $1,513 $3,930 $547 $3,139
1999 $1,651 $3,801 $481 $3,002
1998 $1,683 $3,740 $1,822 $3,022
1997 $1,439 $3,502 $1,720 $2,990
1996 $1,610 $3,551 $1,633 $2,931
1995 $1,478 $3,152 $1,272 $2,835
1994 $1,369 $3,315 $745 $2,853
1993 $1,236 $2,979 $540 $2,921
1992 $1,337 $2,979 $509 $2,991
1991 $1,302 $3,025 $597 $2,870
1990 $1,238 $2,777 $556 $2,840
1989 $1,099 - $465 -
1988 $1,094 - $540 -
1987 $944 - $588 -
1986 $861 - $628 -
1985 $678 - $869 -
1984 $687 - $890 -
1983 $772 - $1,207 -
1982 $862 - $1,822 -
1981 $890 - $2,162 -
1980 $1,117 - $870 -
1979 $839 - $661 -
1978 $716 - $527 -
1977 $613 - $536 -
1976 $545 - $556 -
1975 $524 - $438 -
1974 $459 - $403 -
1973 $382 - $252.4 -
1972 $319 - $209.5 -
1971 $280.6 - $160.5 -
1970 $261.5 - $224.5 -
1969 $247.8 - $121.4 -
1968 $228 - $97.3 -
1967 $218.1 - $99.5 -
1966 $211.5 - $124.4 -
1965 $222.7 - $117.3 -
1964 $216.9 - $113.3 -
1963 $211.3 - $107.7 -
1962 $194.2 - $104.5 -
1961 $169.8 - $97.1 -
1960 $175.2 - $93.1 -

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

GeoRank.org/economy/morocco/nigeria | CC BY

Morocco's GDP per capita is $4,218, ranking 127/197, compared to $1,084 in Nigeria, ranking 174/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Nigeria ranks 136th at $9,087.

Economic indicators

Morocco Nigeria
Gross domestic product
$161B
2024
$252B
2024
GDP rank
58/197
2024
54/197
2024
GDP growth
3.79%
2023-2024
4.06%
2023-2024
GDP per capita
$4,218
2024
$1,084
2024
GDP per capita rank
127/197
2024
174/197
2024
GDP per capita, PPP
$10,415
2024
$9,087
2024
GDP per capita PPP rank
132/197
2024
136/197
2024
Government debt
$109B
2024
$99.2B
2024
Debt-to-GDP ratio
67.7%
2024
39.3%
2024
Government debt per person
$2,857
2024
$426
2024
Government debt per person rank
104/185
2024
170/185
2024
Average annual personal income after taxes
$5,678
2026
$1,104
2026
Market capitalization of domestic companies
$74.5B
2024
$54.4B
2024
Number of billionaires
3
2025
4
2025
Income share by richest 10%
31.9%
2013
26.3%
2022
Income share by poorest 10%
2.7%
2013
3%
2022
Government expenditure, % of GDP
33%
2024
12.3%
2024
Consumer prices inflation
0.99%
2023-2024
33.2%
2023-2024
Central bank interest rate
2.25%
2025
27%
2025
Unemployment rate
11.8%
2022
3.45%
2024
Population
38871720
243824469

Spending and national debt comparison by year

Morocco
Spending

Debt
Nigeria
Spending

Debt
1x
Year % of GDP
Morocco Nigeria
Government spending Government debt Government spending Government debt
2024 33% 67.7% 12.3% 39.3%
2023 32% 68.7% 10.4% 36.3%
2022 33.7% 71.4% 10.6% 29.8%
2021 31% 69.4% 9.09% 26.6%
2020 34.1% 72.2% 8.73% 25.7%
2019 27.6% 60.3% 8.87% 21.4%
2018 27.8% 60.5% 9.1% 20.4%
2017 27.9% 60.3% 8.51% 18%
2016 28.6% 60.1% 6.93% 17.4%
2015 28.5% 58.4% 7.85% 14.9%
2014 30.7% 58.6% 9.49% 12.9%
2013 30.4% 57.1% 10% 13%
2012 32.5% 52.3% 10.5% 12.5%
2011 31.2% 48.6% 12.3% 12.4%
2010 28.7% 45.3% 11.8% 6.67%
2009 28.1% 42.6% 11% 6.12%
2008 28.3% 42% 10.2% 5.17%
2007 26.4% 47.1% 12.9% 5.76%
2006 26% 50.6% 8.75% 6.68%
2005 28.6% 54.8% 12.6% 13.4%
2004 24.5% 54.4% 13% 25.2%
2003 24.1% 56.9% 16.5% 29.9%
2002 25.8% 59.4% 13.8% 30.7%
2001 23.7% 60.4% 21.9% 37.7%
2000 22.8% 64.9% 17.6% 40.9%
1999 18.4% 63.4% 14.9% 46.1%
1998 18.7% 64.5% 11.2% 15.8%
1997 18.6% 68% 9.68% 17.1%
1996 17.6% 65.3% 7.87% 17.9%
1995 21.3% 72.2% 8.87% 24.2%
1994 21.7% 69.3% 12.1% 39.7%
1993 23.1% 74.7% 20% 50.4%
1992 22.3% 67% 15.9% 49.8%
1991 20.8% 59.1% 13.6% 53.2%
1990 22.6% 70.5% 14.2% 50.9%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/morocco/nigeria | CC BY

In 2024, Morocco's government spending was $53.1B, accounting for 33% of its GDP, while Nigeria spent $31.1B, or 12.3% of GDP.

Debt-to-GDP ratio is 67.7% in Morocco and 39.3% in Nigeria, ranking 60/185 and 135/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Nigeria
1x
Year Deficit/surplus, % of GDP
Morocco Nigeria
2024 -3.92% -1.57%
2023 -4.41% -3.12%
2022 -5.37% -4%
2021 -5.92% -3.97%
2020 -7.15% -4.03%
2019 -3.8% -3.31%
2018 -3.52% -3.06%
2017 -3.3% -3.85%
2016 -4.49% -3.3%
2015 -4.59% -2.7%
2014 -4.78% -1.72%
2013 -4.7% -1.89%
2012 -6.63% -0.09%
2011 -6.08% 0.31%
2010 -3.93% -2.96%
2009 -1.63% -3.78%
2008 0.63% 4.05%
2007 -0.12% -0.79%
2006 -1.8% 6.22%
2005 -5.46% 3.49%
2004 -3.31% 3.9%
2003 -3.74% -1.56%
2002 -4.37% 0.95%
2001 -3.79% -2.29%
2000 -1.97% 2.89%
1999 3.21% -1.39%
1998 1.47% -3.47%
1997 1.5% 1.14%
1996 0.87% 3.37%
1995 -2.54% 2.52%
1994 -2.51% -2.96%
1993 -2% -6.07%
1992 -1.84% 0.94%
1991 -0.9% -1.18%
1990 -1.32% -0.48%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20).

GeoRank.org/economy/morocco/nigeria | CC BY

In 2024, Morocco's government deficit, the difference between spending and revenue, was $6.3B, equivalent to 3.92% of GDP. This compares to Nigeria's deficit of $3.95B, or 1.57% of GDP.

Over the past 35 years, Morocco recorded a fiscal deficit in 30 of those years, while Nigeria ran a deficit in 24 years. On average, Morocco posted an annual deficit equal to 2.92% of GDP, compared to deficit of 0.97% of GDP for Nigeria.

Inflation comparison by year

Inflation
Morocco

Nigeria
1x
Year Consumer prices inflation
Morocco Nigeria
2024 0.99% 33.2%
2023 6.09% 24.7%
2022 6.66% 18.8%
2021 1.4% 17%
2020 0.71% 13.2%
2019 0.3% 11.4%
2018 1.8% 12.1%
2017 0.75% 16.5%
2016 1.64% 15.7%
2015 1.56% 9.01%
2014 0.44% 8.05%
2013 1.88% 8.5%
2012 1.29% 12.2%
2011 0.91% 10.8%
2010 0.99% 13.7%
2009 0.97% 12.5%
2008 3.71% 11.6%
2007 2.04% 5.39%
2006 3.28% 8.23%
2005 0.98% 17.9%
2004 1.49% 15%
2003 1.17% 14%
2002 2.8% 12.9%
2001 0.62% 18.9%
2000 1.89% 6.93%
1999 0.68% 6.62%
1998 2.75% 10%
1997 1.04% 8.53%

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

GeoRank.org/economy/morocco/nigeria | CC BY

Over the past 28 years, Morocco has recorded an average annual inflation rate of 1.82%, compared with 13.3% in Nigeria. In 2024, inflation was 0.99% in Morocco and 33.2% in Nigeria.

Top exports between countries

Morocco
Export category Export value
Raw materials & minerals $69.4M
Processed food, beverages & tobacco $28.5M
Machinery & equipment $3.72M
Raw agricultural goods $3.68M
Chemicals & pharma $1.42M
Animal & marine products $1.14M
Metals $857K
Textiles & consumer goods $265K
Wood & paper products $27K
Weapons & explosives $1K
Nigeria
Export category Export value
Processed food, beverages & tobacco $16.8M
Raw agricultural goods $2.13M
Textiles & consumer goods $809K
Chemicals & pharma $682K
Precious metals & jewellery $44K
Metals $1K

Balance of trade

Morocco Nigeria
Current account balance
-$1.87B
2024
$17.2B
2024
Current account balance ranking
141/190
2024
20/190
2024
Current account balance, % of GDP
-1.16%
2024
+6.82%
2024
Goods imports
$66.5B
2024
$39.8B
2024
Goods exports
$39.3B
2024
$53B
2024
Service imports
$14.3B
2024
$17.9B
2024
Service exports
$28.2B
2024
$4.57B
2024
Imports of goods and services, % of GDP
50.2%
2024
16.9%
1960
Exports of goods and services, % of GDP
42%
2024
9.24%
1960

Economic freedom indices

The indices of economic freedom below are issued by the Heritage Foundation. Higher scores indicate stronger economic health.

Morocco Nigeria
Economic freedom 61.8 54.8
Economic freedom ranking 91/197 132/197
Property rights 55.2 29.7
Government integrity 35.6 23.5
Judicial effectiveness 32.5 34.4
Tax burden 65.5 84.6
Government spending 67.5 96.3
Fiscal health 57.5 83.5
Business freedom 72.1 50.3
Labor freedom 46.2 75.4
Monetary freedom 79.6 56.1
Trade freedom 69.8 64.4
Investment freedom 80 30
Financial freedom 80 30

Economic freedom comparison by year

Morocco
Nigeria
1x
Year Economic freedom index
Morocco Nigeria
2026 61.8 54.8
2025 60.3 53.4
2024 56.8 53.1
2023 58.4 53.9
2022 59.2 54.4
2021 63.3 58.7
2020 63.3 57.2
2019 62.9 57.3
2018 61.9 58.5
2017 61.5 57.1
2016 61.3 57.5
2015 60.1 55.6
2014 58.3 54.3
2013 59.6 55.1
2012 60.2 56.3
2011 59.6 56.7
2010 59.2 56.8
2009 57.7 55.1
2008 55.6 55.1
2007 56.4 55.6
2006 51.5 48.7
2005 52.2 48.4
2004 56.7 49.2
2003 57.8 49.5
2002 59 50.9
2001 63.9 49.6
2000 63.2 53.1
1999 63.8 55.7
1998 61.1 52.3
1997 64.7 52.8
1996 64.3 47.4
1995 62.8 47.3

Data sources: The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09).

GeoRank.org/economy/morocco/nigeria | CC BY

The Economic Freedom Index for Morocco is 61.8, ranking 91/197, compared to 54.8 for Nigeria, ranking 132/197. The chart above displays a comparison of annual changes in economic freedom indexes.

Other economic metrics

Morocco Nigeria
Services, % of GDP
52.7%
2024
53.7%
2024
Industry, % of GDP
25.6%
2024
18.2%
2024
Agriculture, forestry, and fishing, % of GDP
10.6%
2024
25.9%
2024
GNI, Atlas method
$149B
2024
$396B
2024
GNI per capita, PPP
$10,260
2024
$8,850
2024
Total reserves including gold
$37.1B
2024
$38.6B
2024
Total reserves ranking
52/177
2024
51/177
2024
Net foreign direct investment
-$948M
2024
-$672M
2024
Net inflows of foreign direct investment
$1.64B
2024
$1.08B
2024
Net outflows of foreign direct investment
$691M
2024
$408M
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
5.48%
2024
Poverty at national poverty lines
3.9%
2022
56.2%
2023
Gross capital formation, % of GDP
30.1%
2024
n/a

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2024, retrieved 2026-04-06); U.S. Census Bureau (1985–2024, retrieved 2026-02-08).

GeoRank.org/economy/morocco/nigeria | CC BY

Compare countries by 7 more topics

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 | Economy & Growth (1960–2024, retrieved 2026-04-06)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20)
  3. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  4. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  5. TradeMap (2021–2023, retrieved 2026-02-08)
  6. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  7. LivingCost (2026, retrieved 2025-10-14)

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.

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.