Skip to content

Economy of Libya vs Morocco compared: GDP & Debt

Updated on by Georank team

Libya has a GDP of $48.5B compared to $161B for Morocco, ranking 95/197 and 58/197 by economy size, respectively.

Libya vs Morocco GDP by year

Libya
Morocco
1x
Year GDP, current $
Libya Morocco
2024 $48,487,151,215 $160,610,994,055
2023 $44,027,664,915 $146,036,093,667
2022 $43,246,297,922 $131,245,312,804
2021 $35,217,995,647 $142,022,058,447
2020 $46,854,285,441 $121,353,645,057
2019 $69,254,496,472 $128,920,266,409
2018 $76,686,029,772 $127,341,147,582
2017 $67,157,452,182 $118,540,573,368
2016 $49,912,073,701 $111,572,947,005
2015 $48,717,501,321 $110,413,823,842
2014 $57,372,355,592 $119,130,841,412
2013 $75,351,107,029 $115,739,287,305
2012 $92,540,938,129 $106,937,392,311
2011 $48,169,263,294 $110,080,631,332
2010 $75,380,825,062 $100,865,329,473
2009 $60,808,562,033 $101,154,952,241
2008 $86,710,767,415 $101,822,906,949
2007 $68,032,978,391 $86,947,913,287
2006 $60,094,231,607 $75,883,823,301
2005 $47,334,691,241 $68,852,658,069
2004 $33,122,307,692 $66,114,145,451
2003 $26,265,625,000 $58,029,363,354
2002 $20,481,889,764 $47,077,192,188
2001 $34,112,093,927 $43,831,480,208
2000 $38,270,954,138 $43,017,455,402
1999 $35,975,860,857 $46,266,428,648
1998 $27,251,301,398 $46,497,608,725
1997 $30,700,897,875 $39,147,844,526
1996 $27,884,615,385 $43,161,571,528
1995 $25,541,379,187 $39,030,285,468
1994 $28,610,549,763 $35,604,137,423
1993 $30,660,051,911 $31,655,473,664
1992 $33,887,047,909 $33,711,069,431
1991 $31,991,821,265 $32,285,573,574
1990 $28,904,183,602 $30,179,954,775
1989 $25,156,707,899 $26,314,313,191
1988 $24,308,959,591 $25,705,296,184
1987 $26,697,659,335 $21,765,195,948
1986 $24,180,400,959 $19,462,085,540
1985 $31,530,566,324 $14,991,283,216
1984 $29,476,109,153 $14,824,667,954
1983 $33,200,520,140 $16,251,408,128
1982 $33,760,146,991 $17,692,276,734
1981 $36,374,353,880 $17,788,185,479
1980 $40,953,924,949 $21,728,516,153
1979 $30,536,429,497 $15,911,994,817
1978 $22,136,422,643 $13,236,946,234
1977 $22,428,297,108 $11,049,783,872
1976 $19,096,943,017 $9,584,297,284
1975 $14,710,912,458 $8,984,853,005
1974 $15,112,543,717 $7,675,466,449
1973 $8,625,889,430 $6,242,145,880
1972 $6,299,395,544 $5,074,117,545
1971 $5,260,185,125 $4,356,669,034
1970 $4,601,649,451 $3,956,336,244
1969 $4,380,987,481 $3,651,622,669
1968 $3,850,623,095 $3,271,422,333
1967 $2,726,986,913 $3,046,345,314
1966 $2,312,438,536 $2,876,401,297
1965 $1,804,979,680 $2,948,331,090
1964 $1,341,395,421 $2,798,345,299
1963 $892,327,911 $2,657,252,578
1962 $619,725,785 $2,379,611,125
1961 $443,905,612 $2,025,693,540
1960 $401,644,249 $2,037,154,742

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

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

GDP per capita in Libya vs Morocco by year

Libya
GDP per capita

GDP per capita, PPP
Morocco
GDP per capita

GDP per capita, PPP
1x
Year Current $
Libya Morocco
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $6,569 $14,304 $4,218 $10,415
2023 $6,027 $13,847 $3,872 $9,895
2022 $5,987 $12,266 $3,516 $9,310
2021 $4,936 $12,642 $3,843 $8,623
2020 $6,650 $10,955 $3,317 $7,705
2019 $9,963 $16,194 $3,560 $8,046
2018 $11,197 $18,879 $3,553 $7,801
2017 $9,966 $18,026 $3,344 $8,115
2016 $7,526 $16,961 $3,186 $7,853
2015 $7,458 $17,903 $3,190 $7,799
2014 $8,926 $17,510 $3,483 $7,237
2013 $11,952 $21,151 $3,425 $7,542
2012 $14,976 $26,826 $3,206 $7,308
2011 $7,594 $15,698 $3,345 $7,274
2010 $11,601 $30,234 $3,107 $6,849
2009 $9,551 $29,027 $3,158 $6,629
2008 $13,906 $30,812 $3,222 $6,437
2007 $11,145 $30,929 $2,788 $6,058
2006 $10,049 $28,936 $2,466 $5,781
2005 $8,079 $26,903 $2,268 $5,275
2004 $5,774 $23,813 $2,207 $5,025
2003 $4,674 $22,663 $1,962 $4,741
2002 $3,718 $20,061 $1,612 $4,436
2001 $6,313 $20,332 $1,521 $4,269
2000 $7,214 $20,617 $1,513 $3,930
1999 $6,895 $19,769 $1,651 $3,801
1998 $5,301 $19,639 $1,683 $3,740
1997 $6,062 $20,439 $1,439 $3,502
1996 $5,591 $19,392 $1,610 $3,551
1995 $5,205 $18,952 $1,478 $3,152
1994 $5,933 $19,318 $1,369 $3,315
1993 $6,478 $18,904 $1,236 $2,979
1992 $7,303 $19,572 $1,337 $2,979
1991 $7,040 $20,085 $1,302 $3,025
1990 $6,502 $17,173 $1,238 $2,777
1989 $5,793 - $1,099 -
1988 $5,736 - $1,094 -
1987 $6,465 - $944 -
1986 $6,019 - $861 -
1985 $8,087 - $678 -
1984 $7,811 - $687 -
1983 $8,927 - $772 -
1982 $9,064 - $862 -
1981 $10,044 - $890 -
1980 $11,960 - $1,117 -
1979 $9,443 - $839 -
1978 $7,252 - $716 -
1977 $7,783 - $613 -
1976 $7,018 - $545 -
1975 $5,721 - $524 -
1974 $6,214 - $459 -
1973 $3,727 - $382 -
1972 $2,830 - $319 -
1971 $2,443 - $280.6 -
1970 $2,210 - $261.5 -
1969 $2,175 - $247.8 -
1968 $1,972 - $228 -
1967 $1,437 - $218.1 -
1966 $1,251 - $211.5 -
1965 $1,001 - $222.7 -
1964 $765 - $216.9 -
1963 $528 - $211.3 -
1962 $382 - $194.2 -
1961 $285.3 - $169.8 -
1960 $269 - $175.2 -

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

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

Libya's GDP per capita is $6,569, ranking 107/197, compared to $4,218 in Morocco, ranking 127/197. Adjusted for purchasing power (GDP per capita PPP), Libya ranks 118th at $14,304, while Morocco ranks 132nd at $10,415.

Economic indicators

Libya Morocco
Gross domestic product
$48.5B
2024
$161B
2024
GDP rank
95/197
2024
58/197
2024
GDP growth
1.9%
2023-2024
3.79%
2023-2024
GDP per capita
$6,569
2024
$4,218
2024
GDP per capita rank
107/197
2024
127/197
2024
GDP per capita, PPP
$14,304
2024
$10,415
2024
GDP per capita PPP rank
118/197
2024
132/197
2024
Government debt n/a
$109B
2024
Debt-to-GDP ratio n/a
67.7%
2024
Government debt per person n/a
$2,857
2024
Government debt per person rank n/a
104/185
2024
Average annual personal income after taxes
$3,172
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
94.8%
2024
33%
2024
Consumer prices inflation
2.13%
2023-2024
0.99%
2023-2024
Central bank interest rate n/a
2.25%
2025
Unemployment rate
30%
2004
11.8%
2022
Population
7559873
38871720

Government deficit by year

Deficit/surplus
Libya

Morocco
1x
Year Deficit/surplus, % of GDP
Libya Morocco
2024 -25.1% -3.92%
2023 8.22% -4.41%
2022 23.6% -5.37%
2021 14.8% -5.92%
2020 -22.3% -7.15%
2019 11.9% -3.8%
2018 9.39% -3.52%
2017 -11.1% -3.3%
2016 -29.3% -4.49%
2015 -28.5% -4.59%
2014 -30.5% -4.78%
2013 -16.3% -4.7%
2012 24.6% -6.63%
2011 -11.5% -6.08%
2010 11.5% -3.93%
2009 -5.46% -1.63%
2008 27.7% 0.63%
2007 28.4% -0.12%
2006 29.1% -1.8%
2005 30.4% -5.46%
2004 11.3% -3.31%
2003 6.17% -3.74%
2002 6.99% -4.37%
2001 0.07% -3.79%
2000 13.6% -1.97%
1999 5.69% 3.21%
1998 -2.36% 1.47%
1997 -2.1% 1.5%
1996 11.3% 0.87%
1995 3.8% -2.54%
1994 -2.67% -2.51%
1993 -5.77% -2%
1992 0.11% -1.84%
1991 8.41% -0.9%
1990 3.36% -1.32%

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

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

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

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

Inflation comparison by year

Inflation
Libya

Morocco
1x
Year Consumer prices inflation
Libya Morocco
2024 2.13% 0.99%
2023 2.37% 6.09%
2022 4.51% 6.66%
2021 2.87% 1.4%
2020 1.45% 0.71%
2019 -2.16% 0.3%
2018 13.2% 1.8%
2017 25.8% 0.75%
2016 25.9% 1.64%
2015 10.4% 1.56%
2014 2.43% 0.44%
2013 2.61% 1.88%
2012 6.06% 1.29%
2011 15.5% 0.91%
2010 2.8% 0.99%
2009 2.46% 0.97%
2008 10.4% 3.71%
2007 6.25% 2.04%
2006 1.46% 3.28%
2005 2.65% 0.98%
2004 -2.2% 1.49%
2003 -2.19% 1.17%
2002 -9.8% 2.8%
2001 -8.81% 0.62%
2000 -2.9% 1.89%
1999 2.65% 0.68%
1998 3.71% 2.75%
1997 3.55% 1.04%

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

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

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

Top exports between countries

Libya
Export category Export value
Metals $1.96M
Raw agricultural goods $1.92M
Machinery & equipment $1K
Morocco
Export category Export value
Processed food, beverages & tobacco $66.7M
Chemicals & pharma $11.7M
Raw materials & minerals $8.7M
Machinery & equipment $3.22M
Textiles & consumer goods $2.39M
Raw agricultural goods $1.34M
Metals $551K
Weapons & explosives $305K
Animal & marine products $203K
Wood & paper products $171K

Balance of trade

Libya Morocco
Current account balance
$1.86B
2023
-$1.87B
2024
Current account balance ranking
46/190
2023
141/190
2024
Current account balance, % of GDP
+4.24%
2023
-1.16%
2024
Goods imports
$23.2B
2023
$66.5B
2024
Goods exports
$37.1B
2023
$39.3B
2024
Service imports
$10.1B
2023
$14.3B
2024
Service exports
$642M
2023
$28.2B
2024
Imports of goods and services, % of GDP
56.8%
2024
50.2%
2024
Exports of goods and services, % of GDP
72%
2024
42%
2024

Economic freedom indices

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

Libya Morocco
Economic freedom 35.9 61.8
Economic freedom ranking 189/197 91/197
Property rights 6.3 55.2
Government integrity 10.3 35.6
Judicial effectiveness 4.9 32.5
Tax burden 95 65.5
Government spending 0 67.5
Fiscal health 19.9 57.5
Business freedom 32.4 72.1
Labor freedom 48.2 46.2
Monetary freedom 75.2 79.6
Trade freedom 80 69.8
Investment freedom 5 80
Financial freedom 20 80

Economic freedom comparison by year

Libya
Morocco
1x
Year Economic freedom index
Libya Morocco
2026 - 61.8
2025 - 60.3
2024 - 56.8
2023 - 58.4
2022 - 59.2
2021 - 63.3
2020 - 63.3
2019 - 62.9
2018 - 61.9
2017 - 61.5
2016 - 61.3
2015 - 60.1
2014 - 58.3
2013 - 59.6
2012 35.9 60.2
2011 38.6 59.6
2010 40.2 59.2
2009 43.5 57.7
2008 38.7 55.6
2007 37 56.4
2006 33.2 51.5
2005 32.8 52.2
2004 31.5 56.7
2003 34.6 57.8
2002 35.4 59
2001 34 63.9
2000 34.7 63.2
1999 32.3 63.8
1998 32 61.1
1997 28.9 64.7
1996 31.7 64.3
1995 - 62.8

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

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

The Economic Freedom Index for Libya is 35.9, ranking 189/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

Libya Morocco
Services, % of GDP
28.3%
2024
52.7%
2024
Industry, % of GDP
73.5%
2024
25.6%
2024
Agriculture, forestry, and fishing, % of GDP
2.39%
2024
10.6%
2024
GNI, Atlas method
$50.9B
2024
$149B
2024
GNI per capita, PPP
$15,400
2024
$10,260
2024
Total reserves including gold
$92.9B
2024
$37.1B
2024
Total reserves ranking
29/177
2024
52/177
2024
Net foreign direct investment
-$795M
2023
-$948M
2024
Net inflows of foreign direct investment
$0
2024
$1.64B
2024
Net outflows of foreign direct investment
-$56.5M
2024
$691M
2024
Servicing debt to the IMF, % of GNI n/a
5.63%
2024
Poverty at national poverty lines
7.4%
2005
3.9%
2022
Gross capital formation, % of GDP
14.3%
2024
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/libya/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. Central Intelligence Agency (CIA) (2004–2005, retrieved 2026-02-20)
  7. United Nations | World Population Prospects (2026, retrieved 2026-03-10)
  8. 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.