Skip to content

Economy of Madagascar vs Morocco compared: GDP & Debt

Updated on by Georank team

Madagascar has a GDP of $17.4B compared to $161B for Morocco, ranking 136/197 and 58/197 by economy size, respectively.

Madagascar has $8.77B in government debt (50.3% of GDP), compared to $109B (67.7% of GDP) in Morocco.

Madagascar vs Morocco GDP by year

Madagascar
Morocco
1x
Year GDP, current $
Madagascar Morocco
2024 $17,420,501,490 $160,610,994,055
2023 $15,869,945,478 $146,036,093,667
2022 $15,325,603,273 $131,245,312,804
2021 $14,354,731,964 $142,022,058,447
2020 $13,051,441,204 $121,353,645,057
2019 $14,104,664,679 $128,920,266,409
2018 $13,760,033,282 $127,341,147,582
2017 $13,176,313,594 $118,540,573,368
2016 $11,848,613,858 $111,572,947,005
2015 $11,323,020,701 $110,413,823,842
2014 $12,522,957,399 $119,130,841,412
2013 $12,423,555,455 $115,739,287,305
2012 $11,578,975,062 $106,937,392,311
2011 $11,551,819,618 $110,080,631,332
2010 $9,982,711,338 $100,865,329,473
2009 $9,616,879,409 $101,154,952,241
2008 $10,725,137,724 $101,822,906,949
2007 $8,524,620,890 $86,947,913,287
2006 $6,395,712,491 $75,883,823,301
2005 $5,859,269,753 $68,852,658,069
2004 $5,064,732,626 $66,114,145,451
2003 $6,372,498,890 $58,029,363,354
2002 $5,351,701,663 $47,077,192,188
2001 $5,438,332,602 $43,831,480,208
2000 $4,629,247,204 $43,017,455,402
1999 $4,277,903,780 $46,266,428,648
1998 $4,401,967,633 $46,497,608,725
1997 $4,262,965,420 $39,147,844,526
1996 $4,931,861,039 $43,161,571,528
1995 $3,838,100,904 $39,030,285,468
1994 $3,522,227,092 $35,604,137,423
1993 $4,063,298,919 $31,655,473,664
1992 $3,714,966,678 $33,711,069,431
1991 $3,254,713,056 $32,285,573,574
1990 $3,931,334,875 $30,179,954,775
1989 $3,175,638,333 $26,314,313,191
1988 $3,189,456,965 $25,705,296,184
1987 $3,212,900,556 $21,765,195,948
1986 $4,347,989,788 $19,462,085,540
1985 $3,802,557,895 $14,991,283,216
1984 $3,905,938,481 $14,824,667,954
1983 $4,686,457,031 $16,251,408,128
1982 $4,784,977,326 $17,692,276,734
1981 $4,759,333,998 $17,788,185,479
1980 $5,201,818,348 $21,728,516,153
1979 $3,463,565,854 $15,911,994,817
1978 $2,669,755,115 $13,236,946,234
1977 $2,358,930,406 $11,049,783,872
1976 $2,181,844,179 $9,584,297,284
1975 $2,283,049,215 $8,984,853,005
1974 $1,917,508,190 $7,675,466,449
1973 $1,653,062,335 $6,242,145,880
1972 $1,341,590,690 $5,074,117,545
1971 $1,199,507,631 $4,356,669,034
1970 $1,111,859,571 $3,956,336,244
1969 $1,056,391,056 $3,651,622,669
1968 $1,031,669,637 $3,271,422,333
1967 $956,436,932 $3,046,345,314
1966 $900,264,585 $2,876,401,297
1965 $833,563,473 $2,948,331,090
1964 $802,482,184 $2,798,345,299
1963 $759,345,864 $2,657,252,578
1962 $739,286,908 $2,379,611,125
1961 $699,161,945 $2,025,693,540
1960 $673,081,725 $2,037,154,742

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

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

GDP per capita in Madagascar vs Morocco by year

Madagascar
GDP per capita

GDP per capita, PPP
Morocco
GDP per capita

GDP per capita, PPP
1x
Year Current $
Madagascar Morocco
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $545 $1,884 $4,218 $10,415
2023 $509 $1,808 $3,872 $9,895
2022 $504 $1,717 $3,516 $9,310
2021 $483 $1,577 $3,843 $8,623
2020 $451 $1,490 $3,317 $7,705
2019 $500 $1,612 $3,560 $8,046
2018 $500 $1,547 $3,553 $7,801
2017 $492 $1,547 $3,344 $8,115
2016 $454 $1,562 $3,186 $7,853
2015 $445 $1,497 $3,190 $7,799
2014 $506 $1,499 $3,483 $7,237
2013 $515 $1,473 $3,425 $7,542
2012 $494 $1,464 $3,206 $7,308
2011 $506 $1,475 $3,345 $7,274
2010 $450 $1,464 $3,107 $6,849
2009 $446 $1,480 $3,158 $6,629
2008 $513 $1,577 $3,222 $6,437
2007 $420 $1,493 $2,788 $6,058
2006 $324 $1,416 $2,466 $5,781
2005 $306 $1,343 $2,268 $5,275
2004 $272.2 $1,280 $2,207 $5,025
2003 $353 $1,219 $1,962 $4,741
2002 $305 $1,121 $1,612 $4,436
2001 $319 $1,299 $1,521 $4,269
2000 $280.3 $1,236 $1,513 $3,930
1999 $267.4 $1,194 $1,651 $3,801
1998 $284.2 $1,162 $1,683 $3,740
1997 $284.4 $1,142 $1,439 $3,502
1996 $340 $1,119 $1,610 $3,551
1995 $273.1 $1,111 $1,478 $3,152
1994 $258.7 $1,104 $1,369 $3,315
1993 $308 $1,116 $1,236 $2,979
1992 $290.2 $1,101 $1,337 $2,979
1991 $262 $1,096 $1,302 $3,025
1990 $326 $1,166 $1,238 $2,777
1989 $271.3 - $1,099 -
1988 $280.5 - $1,094 -
1987 $290.8 - $944 -
1986 $405 - $861 -
1985 $364 - $678 -
1984 $385 - $687 -
1983 $476 - $772 -
1982 $501 - $862 -
1981 $513 - $890 -
1980 $578 - $1,117 -
1979 $396 - $839 -
1978 $315 - $716 -
1977 $286.9 - $613 -
1976 $273.5 - $545 -
1975 $295 - $524 -
1974 $255.3 - $459 -
1973 $226.8 - $382 -
1972 $189.6 - $319 -
1971 $174.6 - $280.6 -
1970 $166.6 - $261.5 -
1969 $162.9 - $247.8 -
1968 $163.6 - $228 -
1967 $155.9 - $218.1 -
1966 $150.7 - $211.5 -
1965 $143.2 - $222.7 -
1964 $141.5 - $216.9 -
1963 $137.4 - $211.3 -
1962 $137.3 - $194.2 -
1961 $133.3 - $169.8 -
1960 $131.7 - $175.2 -

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

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

Madagascar's GDP per capita is $545, ranking 193/197, compared to $4,218 in Morocco, ranking 127/197. Adjusted for purchasing power (GDP per capita PPP), Madagascar ranks 187th at $1,884, while Morocco ranks 132nd at $10,415.

Economic indicators

Madagascar Morocco
Gross domestic product
$17.4B
2024
$161B
2024
GDP rank
136/197
2024
58/197
2024
GDP growth
4.2%
2023-2024
3.79%
2023-2024
GDP per capita
$545
2024
$4,218
2024
GDP per capita rank
193/197
2024
127/197
2024
GDP per capita, PPP
$1,884
2024
$10,415
2024
GDP per capita PPP rank
187/197
2024
132/197
2024
Government debt
$8.77B
2024
$109B
2024
Debt-to-GDP ratio
50.3%
2024
67.7%
2024
Government debt per person
$274.3
2024
$2,857
2024
Government debt per person rank
180/185
2024
104/185
2024
Average annual personal income after taxes
$1,268
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%
29.6%
2021
31.9%
2013
Income share by poorest 10%
2.9%
2021
2.7%
2013
Government expenditure, % of GDP
16.2%
2024
33%
2024
Consumer prices inflation
9.87%
2022-2023
0.99%
2023-2024
Central bank interest rate n/a
2.25%
2025
Unemployment rate
3.19%
2022
11.8%
2022
Population
33750171
38871720

Spending and national debt comparison by year

Madagascar
Spending

Debt
Morocco
Spending

Debt
1x
Year % of GDP
Madagascar Morocco
Government spending Government debt Government spending Government debt
2024 16.2% 50.3% 33% 67.7%
2023 17.9% 52.7% 32% 68.7%
2022 16.2% 49.9% 33.7% 71.4%
2021 13.9% 49.4% 31% 69.4%
2020 16.4% 52.9% 34.1% 72.2%
2019 15.4% 41.3% 27.6% 60.3%
2018 14.4% 42.9% 27.8% 60.5%
2017 14.9% 40.1% 27.9% 60.3%
2016 13.5% 40.3% 28.6% 60.1%
2015 13% 44.1% 28.5% 58.4%
2014 12.6% 37.8% 30.7% 58.6%
2013 12.7% 36.2% 30.4% 57.1%
2012 11.5% 30.4% 32.5% 52.3%
2011 12% 29.9% 31.2% 48.6%
2010 12.3% 32.3% 28.7% 45.3%
2009 12.5% 34.9% 28.1% 42.6%
2008 15.7% 31% 28.3% 42%
2007 16.1% 28.2% 26.4% 47.1%
2006 18.5% 32.2% 26% 50.6%
2005 18.4% 74.4% 28.6% 54.8%
2004 21.7% 81.9% 24.5% 54.4%
2003 16.6% 85.9% 24.1% 56.9%
2002 12.4% 86.7% 25.8% 59.4%
2001 15.3% 82.1% 23.7% 60.4%
2000 15.3% 90.2% 22.8% 64.9%
1999 15.5% 104.1% 18.4% 63.4%
1998 16.9% 108.5% 18.7% 64.5%
1997 14.5% 89.7% 18.6% 68%
1996 14.4% 98.7% 17.6% 65.3%
1995 14.5% 95.8% 21.3% 72.2%
1994 16.7% 96% 21.7% 69.3%
1993 17.1% 105.2% 23.1% 74.7%
1992 16.2% 110.9% 22.3% 67%
1991 13.5% 113.8% 20.8% 59.1%
1990 13.3% 92.7% 22.6% 70.5%
1989 15.5% 122% - -
1988 11.4% 126.6% - -
1987 10.4% 127.5% - -
1986 11.1% 84.9% - -
1985 11.8% 82.7% - -
1984 13.9% 70.9% - -
1983 13.4% 57.5% - -
1982 14.3% 56.1% - -
1981 18.2% 51.5% - -
1980 22.7% 37.7% - -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1980–1989, retrieved 2026-02-20).

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

In 2024, Madagascar's government spending was $2.82B, accounting for 16.2% of its GDP, while Morocco spent $53.1B, or 33% of GDP.

Debt-to-GDP ratio is 50.3% in Madagascar and 67.7% in Morocco, ranking 106/185 and 60/185, respectively.

Government deficit by year

Deficit/surplus
Madagascar

Morocco
1x
Year Deficit/surplus, % of GDP
Madagascar Morocco
2024 -2.48% -3.92%
2023 -4.19% -4.41%
2022 -5.46% -5.37%
2021 -2.83% -5.92%
2020 -3.96% -7.15%
2019 -1.42% -3.8%
2018 -1.34% -3.52%
2017 -2.1% -3.3%
2016 -1.11% -4.49%
2015 -2.85% -4.59%
2014 -1.96% -4.78%
2013 -3.4% -4.7%
2012 -2.24% -6.63%
2011 -2.04% -6.08%
2010 -0.76% -3.93%
2009 -2.26% -1.63%
2008 -1.72% 0.63%
2007 -2.31% -0.12%
2006 -5.71% -1.8%
2005 -2.47% -5.46%
2004 -4.23% -3.31%
2003 -3.32% -3.74%
2002 -4.09% -4.37%
2001 -3.61% -3.79%
2000 -2.35% -1.97%
1999 -2.42% 3.21%
1998 -5.31% 1.47%
1997 -2% 1.5%
1996 -3.97% 0.87%
1995 -5.09% -2.54%
1994 -7.23% -2.51%
1993 -6.34% -2%
1992 -5% -1.84%
1991 -4.4% -0.9%
1990 -0.49% -1.32%
1989 -3.35% -
1988 -0.57% -
1987 -2.12% -
1986 -2.24% -
1985 -2.39% -
1984 -6.09% -
1983 -6.04% -
1982 -6.97% -
1981 -9.97% -
1980 -11% -

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2024, retrieved 2026-02-20); International Monetary Fund (IMF) | Public Finances in Modern History (1980–1989, retrieved 2026-02-20).

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

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

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

Inflation comparison by year

Inflation
Madagascar

Morocco
1x
Year Consumer prices inflation
Madagascar Morocco
2024 - 0.99%
2023 9.87% 6.09%
2022 8.16% 6.66%
2021 5.81% 1.4%
2020 4.2% 0.71%
2019 5.61% 0.3%
2018 8.59% 1.8%
2017 8.61% 0.75%
2016 6.04% 1.64%
2015 7.4% 1.56%
2014 6.08% 0.44%
2013 5.83% 1.88%
2012 5.71% 1.29%
2011 9.48% 0.91%
2010 9.25% 0.99%
2009 8.95% 0.97%
2008 9.3% 3.71%
2007 10.3% 2.04%
2006 10.8% 3.28%
2005 18.4% 0.98%
2004 14% 1.49%
2003 -1.7% 1.17%
2002 16.5% 2.8%
2001 7.92% 0.62%
2000 11.9% 1.89%
1999 9.93% 0.68%
1998 6.21% 2.75%
1997 4.49% 1.04%

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

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

Over the past 27 years, Madagascar has recorded an average annual inflation rate of 8.42%, compared with 1.85% in Morocco. In 2023, inflation was 9.87% in Madagascar and 0.99% in Morocco.

Top exports between countries

Madagascar
Export category Export value
Raw agricultural goods $16M
Textiles & consumer goods $2.29M
Processed food, beverages & tobacco $1.7M
Miscellaneous $17K
Wood & paper products $10K
Metals $6K
Raw materials & minerals $3K
Machinery & equipment $2K
Morocco
Export category Export value
Raw materials & minerals $2.48M
Processed food, beverages & tobacco $1.77M
Machinery & equipment $1.59M
Metals $319K
Chemicals & pharma $296K
Textiles & consumer goods $187K
Wood & paper products $140K
Precious metals & jewellery $95K
Animal & marine products $57K

Balance of trade

Madagascar Morocco
Current account balance
-$829M
2022
-$1.87B
2024
Current account balance ranking
119/190
2022
141/190
2024
Current account balance, % of GDP
-5.41%
2022
-1.16%
2024
Goods imports
$4.52B
2022
$66.5B
2024
Goods exports
$3.55B
2022
$39.3B
2024
Service imports
$1.52B
2022
$14.3B
2024
Service exports
$1.14B
2022
$28.2B
2024
Imports of goods and services, % of GDP
31.7%
2024
50.2%
2024
Exports of goods and services, % of GDP
23.3%
2024
42%
2024

Economic freedom indices

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

Madagascar Morocco
Economic freedom 57 61.8
Economic freedom ranking 119/197 91/197
Property rights 39.8 55.2
Government integrity 26.8 35.6
Judicial effectiveness 33.7 32.5
Tax burden 90.5 65.5
Government spending 91.5 67.5
Fiscal health 68.8 57.5
Business freedom 37.3 72.1
Labor freedom 56.1 46.2
Monetary freedom 71.8 79.6
Trade freedom 67.6 69.8
Investment freedom 50 80
Financial freedom 50 80

Economic freedom comparison by year

Madagascar
Morocco
1x
Year Economic freedom index
Madagascar Morocco
2026 57 61.8
2025 57 60.3
2024 57.3 56.8
2023 58.9 58.4
2022 58.9 59.2
2021 57.7 63.3
2020 60.5 63.3
2019 56.6 62.9
2018 56.8 61.9
2017 57.4 61.5
2016 61.1 61.3
2015 61.7 60.1
2014 61.7 58.3
2013 62 59.6
2012 62.4 60.2
2011 61.2 59.6
2010 63.2 59.2
2009 62.2 57.7
2008 62.4 55.6
2007 61.1 56.4
2006 61 51.5
2005 63.1 52.2
2004 60.9 56.7
2003 62.8 57.8
2002 56.8 59
2001 53.9 63.9
2000 54.4 63.2
1999 52.8 63.8
1998 51.8 61.1
1997 53.8 64.7
1996 52.2 64.3
1995 51.6 62.8

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

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

The Economic Freedom Index for Madagascar is 57, ranking 119/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

Madagascar Morocco
Services, % of GDP
47.7%
2024
52.7%
2024
Industry, % of GDP
22.8%
2024
25.6%
2024
Agriculture, forestry, and fishing, % of GDP
22.5%
2024
10.6%
2024
GNI, Atlas method
$16.4B
2024
$149B
2024
GNI per capita, PPP
$1,830
2024
$10,260
2024
Total reserves including gold
$2.78B
2024
$37.1B
2024
Total reserves ranking
120/177
2024
52/177
2024
Net foreign direct investment
-$326M
2022
-$948M
2024
Net inflows of foreign direct investment
$606M
2024
$1.64B
2024
Net outflows of foreign direct investment
$134M
2024
$691M
2024
Servicing debt to the IMF, % of GNI
1.72%
2024
5.63%
2024
Poverty at national poverty lines
75.2%
2021
3.9%
2022
Gross capital formation, % of GDP
22.2%
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/madagascar/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. International Monetary Fund (IMF) | Public Finances in Modern History (1980–1989, retrieved 2026-02-20)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2023–2024, retrieved 2026-02-08)
  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.