Skip to content

Economy of Morocco vs Namibia compared: GDP & Debt

Updated on by Georank

Morocco has a GDP of $182B compared to $15.1B for Namibia, ranking 58/197 and 146/197 by economy size, respectively.

Morocco has $122B in government debt (67.1% of GDP), compared to $10.6B (70.2% of GDP) in Namibia.

Morocco vs Namibia GDP by year

Morocco
Namibia
1x
Year GDP, current $
Morocco Namibia
2025 $182,374,250,612 $15,080,340,654
2024 $160,610,994,055 $13,641,190,683
2023 $146,036,093,667 $12,522,012,874
2022 $131,245,312,804 $12,569,449,123
2021 $142,022,058,447 $12,402,486,184
2020 $121,353,645,057 $10,583,748,542
2019 $128,920,266,409 $12,541,928,303
2018 $127,341,147,582 $13,682,019,076
2017 $118,540,573,368 $12,895,153,371
2016 $111,572,947,005 $10,722,018,732
2015 $110,413,823,842 $11,335,161,084
2014 $119,130,841,412 $12,435,430,970
2013 $115,739,287,305 $12,043,307,277
2012 $106,937,392,311 $13,042,053,592
2011 $110,080,631,332 $12,523,359,441
2010 $100,865,329,473 $11,431,412,421
2009 $101,154,952,241 $8,938,847,189
2008 $101,822,906,949 $8,607,431,497
2007 $86,947,913,287 $8,839,536,476
2006 $75,883,823,301 $8,001,779,551
2005 $68,852,658,069 $7,248,374,838
2004 $66,114,145,451 $6,609,205,995
2003 $58,029,363,354 $4,926,439,384
2002 $47,077,192,188 $3,349,169,826
2001 $43,831,480,208 $3,557,341,215
2000 $43,017,455,402 $3,922,232,165
1999 $46,266,428,648 $3,868,551,730
1998 $46,497,608,725 $3,873,109,866
1997 $39,147,844,526 $4,154,989,950
1996 $43,161,571,528 $3,989,163,197
1995 $39,030,285,468 $3,978,514,206
1994 $35,604,137,423 $3,666,503,530
1993 $31,655,473,664 $3,251,188,833
1992 $33,711,069,431 $3,429,521,699
1991 $32,285,573,574 $2,996,869,281
1990 $30,179,954,775 $2,789,921,854
1989 $26,314,313,191 $2,535,135,798
1988 $25,705,296,184 $2,495,094,746
1987 $21,765,195,948 $2,300,068,217
1986 $19,462,085,540 $1,809,048,527
1985 $14,991,283,216 $1,608,237,350
1984 $14,824,667,954 $1,951,260,038
1983 $16,251,408,128 $2,297,400,688
1982 $17,692,276,734 $2,118,710,248
1981 $17,788,185,479 $2,249,908,578
1980 $21,728,516,153 $2,421,990,338
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–2025, retrieved 2026-07-08).

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

GDP per capita in Morocco vs Namibia by year

Morocco
GDP per capita

GDP per capita, PPP
Namibia
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Namibia
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $4,746 - $4,876 -
2024 $4,218 $10,415 $4,502 $11,687
2023 $3,872 $9,895 $4,226 $11,251
2022 $3,516 $9,310 $4,350 $10,663
2021 $3,843 $8,623 $4,413 $9,709
2020 $3,317 $7,705 $3,879 $9,354
2019 $3,560 $8,046 $4,732 $9,609
2018 $3,553 $7,801 $5,309 $9,854
2017 $3,344 $8,115 $5,144 $9,888
2016 $3,186 $7,853 $4,396 $10,200
2015 $3,190 $7,799 $4,774 $10,466
2014 $3,483 $7,237 $5,378 $10,365
2013 $3,425 $7,542 $5,347 $9,699
2012 $3,206 $7,308 $5,943 $9,364
2011 $3,345 $7,274 $5,835 $9,002
2010 $3,107 $6,849 $5,418 $8,538
2009 $3,158 $6,629 $4,303 $8,079
2008 $3,222 $6,437 $4,205 $8,125
2007 $2,788 $6,058 $4,379 $7,875
2006 $2,466 $5,781 $4,017 $7,374
2005 $2,268 $5,275 $3,686 $6,767
2004 $2,207 $5,025 $3,403 $6,480
2003 $1,962 $4,741 $2,569 $5,693
2002 $1,612 $4,436 $1,772 $5,433
2001 $1,521 $4,269 $1,916 $5,196
2000 $1,513 $3,930 $2,157 $5,129
1999 $1,651 $3,801 $2,178 $4,961
1998 $1,683 $3,740 $2,235 $4,852
1997 $1,439 $3,502 $2,460 $4,764
1996 $1,610 $3,551 $2,423 $4,612
1995 $1,478 $3,152 $2,483 $4,509
1994 $1,369 $3,315 $2,356 $4,376
1993 $1,236 $2,979 $2,155 $4,345
1992 $1,337 $2,979 $2,347 $4,452
1991 $1,302 $3,025 $2,117 $4,192
1990 $1,238 $2,777 $2,037 $3,875
1989 $1,099 - $1,967 -
1988 $1,094 - $2,063 -
1987 $944 - $1,969 -
1986 $861 - $1,599 -
1985 $678 - $1,466 -
1984 $687 - $1,830 -
1983 $772 - $2,214 -
1982 $862 - $2,097 -
1981 $890 - $2,267 -
1980 $1,117 - $2,468 -
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–2025, retrieved 2026-07-08).

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

Morocco's GDP per capita is $4,746, ranking 126/197, compared to $4,876 in Namibia, ranking 125/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Namibia ranks 128th at $11,687.

Economic indicators

Morocco Namibia
Gross domestic product
$182B
2025
$15.1B
2025
GDP rank
58/197
2025
146/197
2025
GDP growth
4.6%
2024-2025
1.73%
2024-2025
GDP per capita
$4,746
2025
$4,876
2025
GDP per capita rank
126/197
2025
125/197
2025
GDP per capita, PPP
$10,415
2024
$11,687
2024
GDP per capita PPP rank
132/197
2024
128/197
2024
Government debt
$122B
2025
$10.6B
2025
Debt-to-GDP ratio
67.1%
2025
70.2%
2025
Government debt per person
$3,183
2025
$3,425
2025
Government debt per person rank
102/185
2025
97/185
2025
Average annual personal income after taxes
$4,045
2026
$3,433
2026
Market capitalization of domestic companies
$114B
2025
$2.48B
2024
Number of billionaires
3
2026
n/a
Income share by richest 10%
31.9%
2013
47.2%
2015
Income share by poorest 10%
2.7%
2013
1%
2015
Government expenditure, % of GDP
31.3%
2025
39.4%
2025
Consumer prices inflation
0.7%
2024-2025
3.5%
2024-2025
Central bank interest rate
2.25%
2025
6.5%
2025
Unemployment rate
11.8%
2022
19.9%
2018
Population
38938817
3185686

Spending and national debt comparison by year

Morocco
Spending

Debt
Namibia
Spending

Debt
1x
Year % of GDP
Morocco Namibia
Government spending Government debt Government spending Government debt
2025 31.3% 67.1% 39.4% 70.2%
2024 30.9% 67.7% 39.6% 69.8%
2023 30.2% 68.7% 37% 67.9%
2022 31.8% 71.4% 36.6% 70.1%
2021 30.1% 69.4% 39.3% 69.6%
2020 34.1% 72.2% 41.5% 64.3%
2019 27% 60.3% 37.4% 57.6%
2018 27.8% 60.5% 36.3% 48.7%
2017 27.9% 60.3% 38.1% 43.8%
2016 28.6% 60.1% 41.8% 45.8%
2015 28.5% 58.4% 43.7% 42.1%
2014 30.7% 58.6% 41.8% 27.6%
2013 30.4% 57.1% 38.3% 26.1%
2012 32.5% 52.3% 35% 24.6%
2011 31.2% 48.6% 38.5% 27.4%
2010 28.7% 45.3% 33.5% 16.3%
2009 28.1% 42.6% 32% 15.9%
2008 28.3% 42% 28.4% 19.1%
2007 26.4% 47.1% 26.1% 19.4%
2006 26% 50.6% 27.4% 26.1%
2005 28.6% 54.8% 27.7% 26.9%
2004 24.5% 54.4% 28.4% 29.2%
2003 24.1% 56.9% 31.1% 27.1%
2002 25.8% 59.4% 29.8% 22.2%
2001 23.7% 60.4% 30.7% 24.4%
2000 22.8% 64.9% 30.1% 20.9%
1999 18.4% 63.4% 31.8% 21.8%
1998 18.7% 64.5% 31.3% 19.6%
1997 18.6% 68% 30.9% 17.7%
1996 17.6% 65.3% 30.4% 18.7%
1995 21.3% 72.2% 29.6% 18%
1994 21.7% 69.3% 28.7% 16.4%
1993 23.1% 74.7% 32.4% 17.2%
1992 22.3% 67% 32.8% 14.1%
1991 20.8% 59.1% 33% 11.8%
1990 22.6% 70.5% 30.2% 12.9%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1990–1992, retrieved 2026-07-08).

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

In 2025, Morocco's government spending was $57B, accounting for 31.3% of its GDP, while Namibia spent $5.94B, or 39.4% of GDP.

Debt-to-GDP ratio is 67.1% in Morocco and 70.2% in Namibia, ranking 64/185 and 57/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Namibia
1x
Year Deficit/surplus, % of GDP
Morocco Namibia
2025 -3.54% -6.46%
2024 -3.92% -3.84%
2023 -4.41% -3.14%
2022 -5.37% -6.33%
2021 -5.92% -8.68%
2020 -7.15% -8.07%
2019 -3.8% -5.49%
2018 -3.52% -5.09%
2017 -3.3% -4.99%
2016 -4.49% -9.3%
2015 -4.59% -8.3%
2014 -4.78% -6.44%
2013 -4.7% -4.69%
2012 -6.63% -3.1%
2011 -6.08% -7.09%
2010 -3.93% -4.98%
2009 -1.63% -0.4%
2008 0.63% 3.48%
2007 -0.12% 6.01%
2006 -1.8% 3.41%
2005 -5.46% -0.31%
2004 -3.31% -2.67%
2003 -3.74% -4.47%
2002 -4.37% -1.38%
2001 -3.79% -2.01%
2000 -1.97% -0.79%
1999 3.21% -1.88%
1998 1.47% -2.76%
1997 1.5% -2.38%
1996 0.87% -3.7%
1995 -2.54% -1.74%
1994 -2.51% -0.57%
1993 -2% -2.73%
1992 -1.84% -2.55%
1991 -0.9% -1.59%
1990 -1.32% 1.08%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08).

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

In 2025, Morocco's government deficit, the difference between spending and revenue, was $6.46B, equivalent to 3.54% of GDP. This compares to Namibia's deficit of $974M, or 6.46% of GDP.

Over the past 36 years, Morocco recorded a fiscal deficit in 31 of those years, while Namibia ran a deficit in 32 years. On average, Morocco posted an annual deficit equal to 2.94% of GDP, compared to deficit of 3.17% of GDP for Namibia.

Inflation comparison by year

Inflation
Morocco

Namibia
1x
Year Consumer prices inflation
Morocco Namibia
2025 0.7% 3.5%
2024 0.99% 4.2%
2023 6.09% 5.9%
2022 6.66% 6.1%
2021 1.4% 3.6%
2020 0.71% 2.2%
2019 0.3% 3.7%
2018 1.8% 4.3%
2017 0.75% 6.1%
2016 1.64% 6.7%
2015 1.56% 3.4%
2014 0.44% 5.3%
2013 1.88% 5.6%
2012 1.29% 6.7%
2011 0.91% 5%
2010 0.99% 4.9%
2009 0.97% 9.5%
2008 3.71% 9.1%
2007 2.04% 6.5%
2006 3.28% 5%
2005 0.98% 2.3%
2004 1.49% 4.1%
2003 1.17% 7.2%
2002 2.8% 12.7%
2001 0.62% 10.2%
2000 1.89% 10.2%
1999 0.68% 9.4%
1998 2.75% 6.6%
1997 1.04% 9.7%

Data sources: International Monetary Fund (IMF) | World Economic Outlook (1997–2025, retrieved 2026-07-08); World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

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

Over the past 29 years, Morocco has recorded an average annual inflation rate of 1.78%, compared with 6.2% in Namibia. In 2025, inflation was 0.7% in Morocco and 3.5% in Namibia.

Top exports between countries

Morocco
Export category Export value
Raw materials & minerals $63.5M
Chemicals & pharma $142K
Machinery & equipment $99K
Metals $79K
Animal & marine products $62K
Wood & paper products $6K
Textiles & consumer goods $4K
Raw agricultural goods $3K
Processed food, beverages & tobacco $1K
Namibia
Export category Export value
Textiles & consumer goods $752K
Machinery & equipment $209K
Raw materials & minerals $146K
Animal & marine products $54K
Miscellaneous $6K
Chemicals & pharma $2K

Balance of trade

Morocco Namibia
Current account balance
-$4.56B
2025
-$1.83B
2024
Current account balance ranking
163/190
2025
138/190
2024
Current account balance, % of GDP
-2.5%
2025
-13.4%
2024
Goods imports
$77.2B
2025
$6.77B
2024
Goods exports
$43.7B
2025
$4.67B
2024
Service imports
$16.7B
2025
$2.47B
2024
Service exports
$33.6B
2025
$1.29B
2024
Imports of goods and services, % of GDP
51.1%
2025
63.9%
2025
Exports of goods and services, % of GDP
42%
2025
44.7%
2025

Economic freedom indices

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

Morocco Namibia
Economic freedom 61.8 60.2
Economic freedom ranking 91/197 95/197
Property rights 55.2 63.1
Government integrity 35.6 51.5
Judicial effectiveness 32.5 67.2
Tax burden 65.5 66.4
Government spending 67.5 57.1
Fiscal health 57.5 60.5
Business freedom 72.1 58
Labor freedom 46.2 62.7
Monetary freedom 79.6 76.1
Trade freedom 69.8 69.8
Investment freedom 80 50
Financial freedom 80 40

Economic freedom comparison by year

Morocco
Namibia
1x
Year Economic freedom index
Morocco Namibia
2026 61.8 60.2
2025 60.3 58.7
2024 56.8 57.5
2023 58.4 57.7
2022 59.2 59.2
2021 63.3 62.6
2020 63.3 60.9
2019 62.9 58.7
2018 61.9 58.5
2017 61.5 62.5
2016 61.3 61.9
2015 60.1 59.6
2014 58.3 59.4
2013 59.6 60.3
2012 60.2 61.9
2011 59.6 62.7
2010 59.2 62.2
2009 57.7 62.4
2008 55.6 61.4
2007 56.4 63.5
2006 51.5 60.7
2005 52.2 61.4
2004 56.7 62.4
2003 57.8 67.3
2002 59 65.1
2001 63.9 64.8
2000 63.2 66.7
1999 63.8 66.1
1998 61.1 66.1
1997 64.7 61.6
1996 64.3 -
1995 62.8 -

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

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

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

Other economic metrics

Morocco Namibia
Services, % of GDP
52.3%
2025
55%
2025
Industry, % of GDP
25.2%
2025
28.9%
2025
Agriculture, forestry, and fishing, % of GDP
10.5%
2025
6.99%
2025
GNI, Atlas method
$170B
2025
$13.4B
2025
GNI per capita, PPP
$10,960
2025
$11,260
2025
Total reserves including gold
$48.5B
2025
$3.1B
2025
Total reserves ranking
50/177
2025
119/177
2025
Net foreign direct investment
-$2.51B
2025
-$1.89B
2024
Net inflows of foreign direct investment
$1.75B
2024
$1.93B
2024
Net outflows of foreign direct investment
$679M
2024
$44.4M
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
n/a
Poverty at national poverty lines
3.9%
2022
17.4%
2015
Gross capital formation, % of GDP
31.9%
2025
18.7%
2025

GDP per capita map

1x

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

GeoRank.org/economy/morocco/namibia | 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–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08)
  3. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  4. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  5. TradeMap (2020–2025, retrieved 2026-07-08)
  6. International Monetary Fund (IMF) | Public Finances in Modern History (1990–1992, retrieved 2026-07-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  8. LivingCost (2026, retrieved 2026-07-08)

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.