Skip to content

Economy of Afghanistan vs Morocco compared: GDP & Debt

Updated on by Georank team

Afghanistan has a GDP of $17.2B compared to $161B for Morocco, ranking 137/197 and 58/197 by economy size, respectively.

Afghanistan has $1.44B in government debt (8.8% of GDP), compared to $109B (67.7% of GDP) in Morocco.

Afghanistan vs Morocco GDP by year

Afghanistan
Morocco
1x
Year GDP, current $
Afghanistan Morocco
2024 - $160,610,994,055
2023 $17,152,234,637 $146,036,093,667
2022 $14,497,243,872 $131,245,312,804
2021 $14,259,995,441 $142,022,058,447
2020 $19,955,929,052 $121,353,645,057
2019 $18,799,444,490 $128,920,266,409
2018 $18,053,222,687 $127,341,147,582
2017 $18,753,456,498 $118,540,573,368
2016 $18,116,572,395 $111,572,947,005
2015 $19,134,221,645 $110,413,823,842
2014 $20,497,128,556 $119,130,841,412
2013 $20,146,416,758 $115,739,287,305
2012 $19,907,329,778 $106,937,392,311
2011 $17,805,098,206 $110,080,631,332
2010 $15,856,668,556 $100,865,329,473
2009 $12,416,152,732 $101,154,952,241
2008 $10,109,297,048 $101,822,906,949
2007 $9,747,886,187 $86,947,913,287
2006 $6,971,758,282 $75,883,823,301
2005 $6,203,256,539 $68,852,658,069
2004 $5,224,896,719 $66,114,145,451
2003 $4,520,946,819 $58,029,363,354
2002 $3,825,701,439 $47,077,192,188
2001 $2,813,571,754 $43,831,480,208
2000 $3,521,418,060 $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/economy/afghanistan/morocco | CC BY

GDP per capita in Afghanistan vs Morocco by year

Afghanistan
GDP per capita

GDP per capita, PPP
Morocco
GDP per capita

GDP per capita, PPP
1x
Year Current $
Afghanistan Morocco
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 - - $4,218 $10,415
2023 $414 $2,202 $3,872 $9,895
2022 $357 $2,123 $3,516 $9,310
2021 $356 $2,144 $3,843 $8,623
2020 $511 $2,562 $3,317 $7,705
2019 $497 $2,583 $3,560 $8,046
2018 $491 $2,432 $3,553 $7,801
2017 $525 $2,336 $3,344 $8,115
2016 $522 $2,213 $3,186 $7,853
2015 $566 $2,284 $3,190 $7,799
2014 $625 $2,224 $3,483 $7,237
2013 $637 $2,133 $3,425 $7,542
2012 $651 $1,988 $3,206 $7,308
2011 $607 $1,744 $3,345 $7,274
2010 $561 $1,766 $3,107 $6,849
2009 $452 $1,571 $3,158 $6,629
2008 $382 $1,334 $3,222 $6,437
2007 $376 $1,287 $2,788 $6,058
2006 $274.2 $1,122 $2,466 $5,781
2005 $254.2 $1,076 $2,268 $5,275
2004 $221.8 $972 $2,207 $5,025
2003 $198.9 $967 $1,962 $4,741
2002 $179 $927 $1,612 $4,436
2001 $138.7 $748 $1,521 $4,269
2000 $174.9 $814 $1,513 $3,930
1999 - - $1,651 $3,801
1998 - - $1,683 $3,740
1997 - - $1,439 $3,502
1996 - - $1,610 $3,551
1995 - - $1,478 $3,152
1994 - - $1,369 $3,315
1993 - - $1,236 $2,979
1992 - - $1,337 $2,979
1991 - - $1,302 $3,025
1990 - - $1,238 $2,777
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/economy/afghanistan/morocco | CC BY

Afghanistan's GDP per capita is $414, ranking 196/197, compared to $4,218 in Morocco, ranking 127/197. Adjusted for purchasing power (GDP per capita PPP), Afghanistan ranks 184th at $2,202, while Morocco ranks 132nd at $10,415.

Economic indicators

Afghanistan Morocco
Gross domestic product
$17.2B
2023
$161B
2024
GDP rank
137/197
2023
58/197
2024
GDP growth
2.27%
2022-2023
3.79%
2023-2024
GDP per capita
$414
2023
$4,218
2024
GDP per capita rank
196/197
2023
127/197
2024
GDP per capita, PPP
$2,202
2023
$10,415
2024
GDP per capita PPP rank
184/197
2023
132/197
2024
Government debt
$1.44B
2023
$109B
2024
Debt-to-GDP ratio
8.8%
2024
67.7%
2024
Government debt per person
$34.8
2023
$2,857
2024
Government debt per person rank
185/185
2023
104/185
2024
Average annual personal income after taxes
$1,869
2026
$5,678
2026
Market capitalization of domestic companies n/a
$74.5B
2024
Number of billionaires n/a
3
2025
Income share by richest 10% n/a
31.9%
2013
Income share by poorest 10% n/a
2.7%
2013
Government expenditure, % of GDP
19.4%
2024
33%
2024
Consumer prices inflation
-4.3%
2023-2024
0.99%
2023-2024
Central bank interest rate
6%
2021
2.25%
2025
Unemployment rate
5.68%
2021
11.8%
2022
Population
45409324
38871720

Spending and national debt comparison by year

Afghanistan
Spending

Debt
Morocco
Spending

Debt
1x
Year % of GDP
Afghanistan Morocco
Government spending Government debt Government spending Government debt
2024 19.4% 8.8% 33% 67.7%
2023 17% 8.42% 32% 68.7%
2022 16.1% 10.8% 33.7% 71.4%
2021 17.9% 11.2% 31% 69.4%
2020 27.9% 7.33% 34.1% 72.2%
2019 28% 6.14% 27.6% 60.3%
2018 28.9% 7.38% 27.8% 60.5%
2017 27.7% 8% 27.9% 60.3%
2016 28% 8.44% 28.6% 60.1%
2015 25.9% 9.15% 28.5% 58.4%
2014 25.4% 8.7% 30.7% 58.6%
2013 25% 6.92% 30.4% 57.1%
2012 25% 6.77% 32.5% 52.3%
2011 21.9% 7.52% 31.2% 48.6%
2010 20.8% 7.71% 28.7% 45.3%
2009 21.2% 16.2% 28.1% 42.6%
2008 20.9% 19.1% 28.3% 42%
2007 21.4% 20.1% 26.4% 47.1%
2006 18.3% 23% 26% 50.6%
2005 15.7% 206.4% 28.6% 54.8%
2004 15.1% 245% 24.5% 54.4%
2003 11.9% 270.6% 24.1% 56.9%
2002 6.94% 346% 25.8% 59.4%
2001 - - 23.7% 60.4%
2000 - - 22.8% 64.9%
1999 - - 18.4% 63.4%
1998 - - 18.7% 64.5%
1997 - - 18.6% 68%
1996 - - 17.6% 65.3%
1995 - - 21.3% 72.2%
1994 - - 21.7% 69.3%
1993 - - 23.1% 74.7%
1992 - - 22.3% 67%
1991 - - 20.8% 59.1%
1990 - - 22.6% 70.5%

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

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

In 2024, Afghanistan's government spending was $2.91B, accounting for 19.4% of its GDP, while Morocco spent $53.1B, or 33% of GDP.

Debt-to-GDP ratio is 8.8% in Afghanistan and 67.7% in Morocco, ranking 181/185 and 60/185, respectively.

Government deficit by year

Deficit/surplus
Afghanistan

Morocco
1x
Year Deficit/surplus, % of GDP
Afghanistan Morocco
2024 -0.54% -3.92%
2023 -1.33% -4.41%
2022 -1% -5.37%
2021 -0.48% -5.92%
2020 -2.24% -7.15%
2019 -1.06% -3.8%
2018 1.63% -3.52%
2017 -0.67% -3.3%
2016 0.13% -4.49%
2015 -1.38% -4.59%
2014 -1.72% -4.78%
2013 -0.63% -4.7%
2012 0.18% -6.63%
2011 -0.67% -6.08%
2010 0.93% -3.93%
2009 -1.76% -1.63%
2008 -3.86% 0.63%
2007 -2.46% -0.12%
2006 0.68% -1.8%
2005 -0.92% -5.46%
2004 -2.39% -3.31%
2003 -2.1% -3.74%
2002 -0.1% -4.37%
2001 - -3.79%
2000 - -1.97%
1999 - 3.21%
1998 - 1.47%
1997 - 1.5%
1996 - 0.87%
1995 - -2.54%
1994 - -2.51%
1993 - -2%
1992 - -1.84%
1991 - -0.9%
1990 - -1.32%

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

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

In 2023, Afghanistan's government deficit, the difference between spending and revenue, was $228M, equivalent to 1.33% of GDP. This compares to Morocco's deficit of $6.43B, or 4.41% of GDP.

Over the past 22 years, Afghanistan recorded a fiscal deficit in 17 of those years, while Morocco ran a deficit in 21 years. On average, Afghanistan posted an annual deficit equal to 0.96% of GDP, compared to deficit of 4.02% of GDP for Morocco.

Inflation comparison by year

Inflation
Afghanistan

Morocco
1x
Year Consumer prices inflation
Afghanistan Morocco
2024 -4.3% 0.99%
2023 -7.7% 6.09%
2022 10.6% 6.66%
2021 7.8% 1.4%
2020 5.6% 0.71%
2019 2.3% 0.3%
2018 0.6% 1.8%
2017 5% 0.75%
2016 4.4% 1.64%
2015 -0.7% 1.56%
2014 4.7% 0.44%
2013 7.4% 1.88%
2012 6.4% 1.29%
2011 11.8% 0.91%
2010 2.2% 0.99%
2009 -6.8% 0.97%
2008 26.4% 3.71%
2007 8.7% 2.04%
2006 6.8% 3.28%
2005 10.6% 0.98%
2004 16.4% 1.49%
2003 35.7% 1.17%
2002 - 2.8%
2001 - 0.62%
2000 - 1.89%
1999 - 0.68%
1998 - 2.75%
1997 - 1.04%

Data sources: World Bank | Economy & Growth (1997–2024, retrieved 2026-04-06); International Monetary Fund (IMF) | World Economic Outlook (2003–2024, retrieved 2026-02-20).

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

Over the past 22 years, Afghanistan has recorded an average annual inflation rate of 7%, compared with 1.87% in Morocco. In 2024, inflation was -4.3% in Afghanistan and 0.99% in Morocco.

Top exports between countries

Afghanistan
Export category Export value
Raw agricultural goods $32K
Morocco
Export category Export value
Chemicals & pharma $1.45M
Machinery & equipment $66K

Balance of trade

Afghanistan Morocco
Current account balance
-$3.14B
2020
-$1.87B
2024
Current account balance ranking
159/190
2020
141/190
2024
Current account balance, % of GDP
-15.7%
2020
-1.16%
2024
Goods imports
$5.88B
2020
$66.5B
2024
Goods exports
$777M
2020
$39.3B
2024
Service imports
$1.11B
2020
$14.3B
2024
Service exports
$700M
2020
$28.2B
2024
Imports of goods and services, % of GDP
50.7%
2023
50.2%
2024
Exports of goods and services, % of GDP
16.9%
2023
42%
2024

Economic freedom indices

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

Afghanistan Morocco
Economic freedom 53 61.8
Economic freedom ranking 142/197 91/197
Property rights 3.6 55.2
Government integrity 13.5 35.6
Judicial effectiveness 0 32.5
Tax burden 92 65.5
Government spending 90.8 67.5
Fiscal health 98.4 57.5
Business freedom 33.7 72.1
Labor freedom 44.4 46.2
Monetary freedom 84.9 79.6
Trade freedom 68.6 69.8
Investment freedom 10 80
Financial freedom 10 80

Economic freedom comparison by year

Afghanistan
Morocco
1x
Year Economic freedom index
Afghanistan Morocco
2026 - 61.8
2025 - 60.3
2024 - 56.8
2023 - 58.4
2022 - 59.2
2021 53 63.3
2020 54.7 63.3
2019 51.5 62.9
2018 51.3 61.9
2017 48.9 61.5
2016 - 61.3
2015 - 60.1
2014 - 58.3
2013 - 59.6
2012 - 60.2
2011 - 59.6
2010 - 59.2
2009 - 57.7
2008 - 55.6
2007 - 56.4
2006 - 51.5
2005 - 52.2
2004 - 56.7
2003 - 57.8
2002 - 59
2001 - 63.9
2000 - 63.2
1999 - 63.8
1998 - 61.1
1997 - 64.7
1996 - 64.3
1995 - 62.8

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

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

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

Other economic metrics

Afghanistan Morocco
Services, % of GDP
46.4%
2023
52.7%
2024
Industry, % of GDP
13.4%
2023
25.6%
2024
Agriculture, forestry, and fishing, % of GDP
34.7%
2023
10.6%
2024
GNI, Atlas method
$15.5B
2023
$149B
2024
GNI per capita, PPP
$2,210
2023
$10,260
2024
Total reserves including gold
$9.75B
2020
$37.1B
2024
Total reserves ranking
78/177
2020
52/177
2024
Net foreign direct investment
$24.3M
2020
-$948M
2024
Net inflows of foreign direct investment
$0
2024
$1.64B
2024
Net outflows of foreign direct investment
$0
2024
$691M
2024
Servicing debt to the IMF, % of GNI
0.25%
2023
5.63%
2024
Poverty at national poverty lines
47.1%
2019
3.9%
2022
Gross capital formation, % of GDP
15.3%
2023
30.1%
2024

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/afghanistan/morocco | 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 (2019–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.