Skip to content

Economy of Morocco vs Sri Lanka compared: GDP & Debt

Updated on by Georank team

Morocco has a GDP of $161B compared to $99B for Sri Lanka, ranking 58/197 and 72/197 by economy size, respectively.

Morocco has $109B in government debt (67.7% of GDP), compared to $99.8B (100.8% of GDP) in Sri Lanka.

Morocco vs Sri Lanka GDP by year

Morocco
Sri Lanka
1x
Year GDP, current $
Morocco Sri Lanka
2024 $160,610,994,055 $98,963,185,510
2023 $146,036,093,667 $83,716,142,582
2022 $131,245,312,804 $74,143,020,263
2021 $142,022,058,447 $88,556,698,938
2020 $121,353,645,057 $84,335,574,582
2019 $128,920,266,409 $88,998,706,297
2018 $127,341,147,582 $94,450,015,983
2017 $118,540,573,368 $94,369,350,286
2016 $111,572,947,005 $88,000,211,172
2015 $110,413,823,842 $85,090,301,052
2014 $119,130,841,412 $82,531,125,191
2013 $115,739,287,305 $76,976,203,829
2012 $106,937,392,311 $70,447,217,164
2011 $110,080,631,332 $67,753,285,897
2010 $100,865,329,473 $58,636,049,434
2009 $101,154,952,241 $42,066,224,093
2008 $101,822,906,949 $40,713,826,215
2007 $86,947,913,287 $32,350,238,760
2006 $75,883,823,301 $28,267,410,543
2005 $68,852,658,069 $24,405,791,045
2004 $66,114,145,451 $20,662,525,941
2003 $58,029,363,354 $18,881,765,437
2002 $47,077,192,188 $16,536,535,647
2001 $43,831,480,208 $15,749,753,805
2000 $43,017,455,402 $16,595,882,819
1999 $46,266,428,648 $15,711,933,513
1998 $46,497,608,725 $15,760,736,956
1997 $39,147,844,526 $15,091,913,884
1996 $43,161,571,528 $13,897,738,375
1995 $39,030,285,468 $13,029,697,561
1994 $35,604,137,423 $11,717,604,209
1993 $31,655,473,664 $10,338,679,636
1992 $33,711,069,431 $9,703,011,636
1991 $32,285,573,574 $9,000,362,582
1990 $30,179,954,775 $8,032,551,173
1989 $26,314,313,191 $6,987,267,684
1988 $25,705,296,184 $6,978,371,581
1987 $21,765,195,948 $6,682,167,120
1986 $19,462,085,540 $6,405,210,564
1985 $14,991,283,216 $5,978,460,972
1984 $14,824,667,954 $6,043,474,843
1983 $16,251,408,128 $5,167,913,302
1982 $17,692,276,734 $4,768,765,017
1981 $17,788,185,479 $4,415,844,156
1980 $21,728,516,153 $4,024,621,900
1979 $15,911,994,817 $3,364,611,432
1978 $13,236,946,234 $2,733,183,857
1977 $11,049,783,872 $4,104,509,583
1976 $9,584,297,284 $3,591,319,857
1975 $8,984,853,005 $3,791,298,146
1974 $7,675,466,449 $3,574,586,466
1973 $6,242,145,880 $2,875,625,000
1972 $5,074,117,545 $2,553,936,348
1971 $4,356,669,034 $2,369,308,600
1970 $3,956,336,244 $2,296,470,588
1969 $3,651,622,669 $1,965,546,218
1968 $3,271,422,333 $1,801,344,538
1967 $3,046,345,314 $1,859,465,021
1966 $2,876,401,297 $1,751,470,588
1965 $2,948,331,090 $1,698,319,328
1964 $2,798,345,299 $1,309,747,899
1963 $2,657,252,578 $1,240,672,269
1962 $2,379,611,125 $1,434,156,379
1961 $2,025,693,540 $1,444,327,731
1960 $2,037,154,742 $1,409,873,950

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

GeoRank.org/economy/morocco/sri-lanka | CC BY

GDP per capita in Morocco vs Sri Lanka by year

Morocco
GDP per capita

GDP per capita, PPP
Sri Lanka
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Sri Lanka
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $4,218 $10,415 $4,516 $15,633
2023 $3,872 $9,895 $3,799 $14,456
2022 $3,516 $9,310 $3,343 $14,194
2021 $3,843 $8,623 $3,997 $14,316
2020 $3,317 $7,705 $3,848 $12,941
2019 $3,560 $8,046 $4,082 $14,113
2018 $3,553 $7,801 $4,359 $14,178
2017 $3,344 $8,115 $4,399 $13,610
2016 $3,186 $7,853 $4,149 $13,079
2015 $3,190 $7,799 $4,058 $12,227
2014 $3,483 $7,237 $3,972 $11,721
2013 $3,425 $7,542 $3,739 $11,253
2012 $3,206 $7,308 $3,328 $10,249
2011 $3,345 $7,274 $3,225 $9,076
2010 $3,107 $6,849 $2,808 $8,234
2009 $3,158 $6,629 $2,027 $7,576
2008 $3,222 $6,437 $1,974 $7,317
2007 $2,788 $6,058 $1,579 $6,820
2006 $2,466 $5,781 $1,389 $6,261
2005 $2,268 $5,275 $1,207 $5,679
2004 $2,207 $5,025 $1,029 $5,216
2003 $1,962 $4,741 $946 $4,850
2002 $1,612 $4,436 $835 $4,522
2001 $1,521 $4,269 $804 $4,328
2000 $1,513 $3,930 $860 $4,368
1999 $1,651 $3,801 $829 $4,103
1998 $1,683 $3,740 $848 $3,952
1997 $1,439 $3,502 $827 $3,804
1996 $1,610 $3,551 $776 $3,582
1995 $1,478 $3,152 $742 $3,454
1994 $1,369 $3,315 $678 $3,260
1993 $1,236 $2,979 $607 $3,067
1992 $1,337 $2,979 $580 $2,851
1991 $1,302 $3,025 $546 $2,713
1990 $1,238 $2,777 $491 $2,527
1989 $1,099 - $430 -
1988 $1,094 - $434 -
1987 $944 - $420 -
1986 $861 - $407 -
1985 $678 - $385 -
1984 $687 - $391 -
1983 $772 - $336 -
1982 $862 - $312 -
1981 $890 - $292.5 -
1980 $1,117 - $271.1 -
1979 $839 - $230.8 -
1978 $716 - $191 -
1977 $613 - $292.1 -
1976 $545 - $260.3 -
1975 $524 - $279.8 -
1974 $459 - $268.7 -
1973 $382 - $220.2 -
1972 $319 - $199.4 -
1971 $280.6 - $188.8 -
1970 $261.5 - $186.9 -
1969 $247.8 - $163.6 -
1968 $228 - $153.5 -
1967 $218.1 - $162.3 -
1966 $211.5 - $156.6 -
1965 $222.7 - $155.6 -
1964 $216.9 - $122.9 -
1963 $211.3 - $119.4 -
1962 $194.2 - $141.4 -
1961 $169.8 - $145.9 -
1960 $175.2 - $145.9 -

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

GeoRank.org/economy/morocco/sri-lanka | CC BY

Morocco's GDP per capita is $4,218, ranking 127/197, compared to $4,516 in Sri Lanka, ranking 124/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Sri Lanka ranks 111th at $15,633.

Economic indicators

Morocco Sri Lanka
Gross domestic product
$161B
2024
$99B
2024
GDP rank
58/197
2024
72/197
2024
GDP growth
3.79%
2023-2024
5.01%
2023-2024
GDP per capita
$4,218
2024
$4,516
2024
GDP per capita rank
127/197
2024
124/197
2024
GDP per capita, PPP
$10,415
2024
$15,633
2024
GDP per capita PPP rank
132/197
2024
111/197
2024
Government debt
$109B
2024
$99.8B
2024
Debt-to-GDP ratio
67.7%
2024
100.8%
2024
Government debt per person
$2,857
2024
$4,554
2024
Government debt per person rank
104/185
2024
85/185
2024
Average annual personal income after taxes
$5,678
2026
$2,874
2026
Market capitalization of domestic companies
$74.5B
2024
$19.5B
2024
Number of billionaires
3
2025
n/a
Income share by richest 10%
31.9%
2013
30.8%
2019
Income share by poorest 10%
2.7%
2013
3.1%
2019
Government expenditure, % of GDP
33%
2024
19.3%
2024
Consumer prices inflation
0.99%
2023-2024
-0.43%
2023-2024
Central bank interest rate
2.25%
2025
7.75%
2025
Unemployment rate
11.8%
2022
4.67%
2023
Population
38871720
22185425

Spending and national debt comparison by year

Morocco
Spending

Debt
Sri Lanka
Spending

Debt
1x
Year % of GDP
Morocco Sri Lanka
Government spending Government debt Government spending Government debt
2024 33% 67.7% 19.3% 100.8%
2023 32% 68.7% 19.5% 110.4%
2022 33.7% 71.4% 18.6% 115.9%
2021 31% 69.4% 20% 102.7%
2020 34.1% 72.2% 22.1% 96.9%
2019 27.6% 60.3% 19.5% 82.6%
2018 27.8% 60.5% 17.5% 83.6%
2017 27.9% 60.3% 17.9% 72.3%
2016 28.6% 60.1% 18.2% 75%
2015 28.5% 58.4% 19.3% 76.3%
2014 30.7% 58.6% 17.2% 69.6%
2013 30.4% 57.1% 16.6% 69.5%
2012 32.5% 52.3% 17.3% 67.5%
2011 31.2% 48.6% 19.1% 69.4%
2010 28.7% 45.3% 19.3% 68.7%
2009 28.1% 42.6% 21% 72.8%
2008 28.3% 42% 19.1% 68.8%
2007 26.4% 47.1% 19.9% 71.8%
2006 26% 50.6% 20.5% 74.3%
2005 28.6% 54.8% 20.1% 76.6%
2004 24.5% 54.4% 19.3% 86.5%
2003 24.1% 56.9% 19.3% 86.5%
2002 25.8% 59.4% 20.8% 96.3%
2001 23.7% 60.4% 22.4% 84.4%
2000 22.8% 64.9% 21.7% 79.2%
1999 18.4% 63.4% 20.5% 77.7%
1998 18.7% 64.5% 21.4% 74.2%
1997 18.6% 68% 21.4% 70.1%
1996 17.6% 65.3% 23.1% 76.2%
1995 21.3% 72.2% 24.8% 77.8%
1994 21.7% 69.3% 24.1% 77.9%
1993 23.1% 74.7% 23.2% 79.2%
1992 22.3% 67% 23% 77.9%
1991 20.8% 59.1% 26.4% 80.5%
1990 22.6% 70.5% 25.4% 78.9%

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

GeoRank.org/economy/morocco/sri-lanka | CC BY

In 2024, Morocco's government spending was $53.1B, accounting for 33% of its GDP, while Sri Lanka spent $19.1B, or 19.3% of GDP.

Debt-to-GDP ratio is 67.7% in Morocco and 100.8% in Sri Lanka, ranking 60/185 and 23/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Sri Lanka
1x
Year Deficit/surplus, % of GDP
Morocco Sri Lanka
2024 -3.92% -5.64%
2023 -4.41% -8.32%
2022 -5.37% -10.2%
2021 -5.92% -11.7%
2020 -7.15% -13.4%
2019 -3.8% -7.52%
2018 -3.52% -4.96%
2017 -3.3% -5.1%
2016 -4.49% -5%
2015 -4.59% -6.64%
2014 -4.78% -5.99%
2013 -4.7% -5%
2012 -6.63% -5.44%
2011 -6.08% -6.01%
2010 -3.93% -6.73%
2009 -1.63% -8.33%
2008 0.63% -5.93%
2007 -0.12% -5.81%
2006 -1.8% -5.91%
2005 -5.46% -5.93%
2004 -3.31% -6.32%
2003 -3.74% -6.15%
2002 -4.37% -6.9%
2001 -3.79% -8.48%
2000 -1.97% -7.78%
1999 3.21% -5.58%
1998 1.47% -6.79%
1997 1.5% -5.71%
1996 0.87% -6.89%
1995 -2.54% -7.11%
1994 -2.51% -7.41%
1993 -2% -5.77%
1992 -1.84% -4.95%
1991 -0.9% -7.97%
1990 -1.32% -6.39%

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

GeoRank.org/economy/morocco/sri-lanka | 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 Sri Lanka's deficit of $5.58B, or 5.64% of GDP.

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

Inflation comparison by year

Inflation
Morocco

Sri Lanka
1x
Year Consumer prices inflation
Morocco Sri Lanka
2024 0.99% -0.43%
2023 6.09% 16.5%
2022 6.66% 49.7%
2021 1.4% 7.01%
2020 0.71% 6.15%
2019 0.3% 3.53%
2018 1.8% 2.14%
2017 0.75% 7.7%
2016 1.64% 3.96%
2015 1.56% 3.77%
2014 0.44% 3.18%
2013 1.88% 6.91%
2012 1.29% 7.54%
2011 0.91% 6.72%
2010 0.99% 6.22%
2009 0.97% 3.46%
2008 3.71% 22.6%
2007 2.04% 15.8%
2006 3.28% 10%
2005 0.98% 11.6%
2004 1.49% 7.58%
2003 1.17% 6.31%
2002 2.8% 9.55%
2001 0.62% 14.2%
2000 1.89% 6.18%
1999 0.68% 4.69%
1998 2.75% 9.36%
1997 1.04% 9.57%

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

GeoRank.org/economy/morocco/sri-lanka | CC BY

Over the past 28 years, Morocco has recorded an average annual inflation rate of 1.82%, compared with 9.34% in Sri Lanka. In 2024, inflation was 0.99% in Morocco and -0.43% in Sri Lanka.

Top exports between countries

Morocco
Export category Export value
Raw agricultural goods $691K
Textiles & consumer goods $378K
Raw materials & minerals $153K
Machinery & equipment $48K
Chemicals & pharma $1K
Metals $1K
Sri Lanka
Export category Export value
Textiles & consumer goods $13.5M
Raw agricultural goods $4.3M
Raw materials & minerals $2.82M
Metals $1.01M
Animal & marine products $75K
Chemicals & pharma $67K
Wood & paper products $61K
Machinery & equipment $36K
Processed food, beverages & tobacco $31K
Miscellaneous $9K

Balance of trade

Morocco Sri Lanka
Current account balance
-$1.87B
2024
$1.21B
2024
Current account balance ranking
141/190
2024
53/190
2024
Current account balance, % of GDP
-1.16%
2024
+1.22%
2024
Goods imports
$66.5B
2024
$18.8B
2024
Goods exports
$39.3B
2024
$12.8B
2024
Service imports
$14.3B
2024
$3.48B
2024
Service exports
$28.2B
2024
$6.91B
2024
Imports of goods and services, % of GDP
50.2%
2024
22.5%
2024
Exports of goods and services, % of GDP
42%
2024
19.9%
2024

Economic freedom indices

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

Morocco Sri Lanka
Economic freedom 61.8 50.3
Economic freedom ranking 91/197 162/197
Property rights 55.2 47.3
Government integrity 35.6 37.3
Judicial effectiveness 32.5 47.2
Tax burden 65.5 77
Government spending 67.5 89
Fiscal health 57.5 0
Business freedom 72.1 60.1
Labor freedom 46.2 54.3
Monetary freedom 79.6 65.9
Trade freedom 69.8 65.6
Investment freedom 80 30
Financial freedom 80 30

Economic freedom comparison by year

Morocco
Sri Lanka
1x
Year Economic freedom index
Morocco Sri Lanka
2026 61.8 50.3
2025 60.3 49.4
2024 56.8 49.2
2023 58.4 52.2
2022 59.2 53.3
2021 63.3 55.7
2020 63.3 57.4
2019 62.9 56.4
2018 61.9 57.8
2017 61.5 57.4
2016 61.3 59.9
2015 60.1 58.6
2014 58.3 60
2013 59.6 60.7
2012 60.2 58.3
2011 59.6 57.1
2010 59.2 54.6
2009 57.7 56
2008 55.6 58.4
2007 56.4 59.4
2006 51.5 58.7
2005 52.2 61
2004 56.7 61.6
2003 57.8 62.5
2002 59 64
2001 63.9 66
2000 63.2 63.2
1999 63.8 64
1998 61.1 64.6
1997 64.7 65.5
1996 64.3 62.5
1995 62.8 60.6

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

GeoRank.org/economy/morocco/sri-lanka | CC BY

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

Other economic metrics

Morocco Sri Lanka
Services, % of GDP
52.7%
2024
57.5%
2024
Industry, % of GDP
25.6%
2024
25.5%
2024
Agriculture, forestry, and fishing, % of GDP
10.6%
2024
8.3%
2024
GNI, Atlas method
$149B
2024
$84.6B
2024
GNI per capita, PPP
$10,260
2024
$15,240
2024
Total reserves including gold
$37.1B
2024
$6.09B
2024
Total reserves ranking
52/177
2024
92/177
2024
Net foreign direct investment
-$948M
2024
-$651M
2024
Net inflows of foreign direct investment
$1.64B
2024
$761M
2024
Net outflows of foreign direct investment
$691M
2024
$110M
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
4.98%
2024
Poverty at national poverty lines
3.9%
2022
14.3%
2019
Gross capital formation, % of GDP
30.1%
2024
27%
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/morocco/sri-lanka | 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 (2020–2024, 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.