Skip to content

Economy of Egypt vs Morocco compared: GDP & Debt

Updated on by Georank team

Egypt has a GDP of $389B compared to $161B for Morocco, ranking 41/197 and 58/197 by economy size, respectively.

Egypt has $354B in government debt (90.9% of GDP), compared to $109B (67.7% of GDP) in Morocco.

Egypt vs Morocco GDP by year

Egypt
Morocco
1x
Year GDP, current $
Egypt Morocco
2024 $389,059,911,004 $160,610,994,055
2023 $395,926,075,163 $146,036,093,667
2022 $476,747,720,365 $131,245,312,804
2021 $424,671,765,456 $142,022,058,447
2020 $383,817,841,547 $121,353,645,057
2019 $318,678,815,490 $128,920,266,409
2018 $262,588,632,527 $127,341,147,582
2017 $248,362,771,739 $118,540,573,368
2016 $332,441,717,791 $111,572,947,005
2015 $329,366,576,819 $110,413,823,842
2014 $305,595,408,895 $119,130,841,412
2013 $288,434,108,527 $115,739,287,305
2012 $279,116,666,667 $106,937,392,311
2011 $235,989,672,978 $110,080,631,332
2010 $218,983,666,062 $100,865,329,473
2009 $189,147,005,445 $101,154,952,241
2008 $162,818,181,818 $101,822,906,949
2007 $130,437,828,371 $86,947,913,287
2006 $107,426,086,957 $75,883,823,301
2005 $89,660,339,660 $68,852,658,069
2004 $78,782,467,532 $66,114,145,451
2003 $80,288,461,538 $58,029,363,354
2002 $85,146,067,416 $47,077,192,188
2001 $96,684,636,119 $43,831,480,208
2000 $99,838,543,960 $43,017,455,402
1999 $90,710,704,807 $46,266,428,648
1998 $84,828,807,556 $46,497,608,725
1997 $78,436,578,171 $39,147,844,526
1996 $67,629,716,981 $43,161,571,528
1995 $60,159,245,060 $39,030,285,468
1994 $51,897,983,393 $35,604,137,423
1993 $46,578,631,453 $31,655,473,664
1992 $41,855,986,519 $33,711,069,431
1991 $37,387,836,491 $32,285,573,574
1990 $42,978,914,311 $30,179,954,775
1989 $39,756,299,050 $26,314,313,191
1988 $34,980,124,929 $25,705,296,184
1987 $40,455,616,654 $21,765,195,948
1986 $41,253,507,951 $19,462,085,540
1985 $39,053,502,251 $14,991,283,216
1984 $33,971,188,992 $14,824,667,954
1983 $30,966,239,814 $16,251,408,128
1982 $27,655,172,414 $17,692,276,734
1981 $22,136,081,081 $17,788,185,479
1980 $21,669,908,176 $21,728,516,153
1979 $18,020,571,429 $15,911,994,817
1978 $14,811,704,063 $13,236,946,234
1977 $14,400,806,876 $11,049,783,872
1976 $13,315,988,083 $9,584,297,284
1975 $11,632,178,869 $8,984,853,005
1974 $9,228,963,225 $7,675,466,449
1973 $10,098,534,613 $6,242,145,880
1972 $9,299,638,056 $5,074,117,545
1971 $8,609,283,346 $4,356,669,034
1970 $8,042,200,452 $3,956,336,244
1969 $6,524,455,206 $3,651,622,669
1968 $5,932,242,991 $3,271,422,333
1967 $5,605,484,299 $3,046,345,314
1966 $5,278,005,612 $2,876,401,297
1965 $4,948,667,540 $2,948,331,090
1964 $4,709,245,762 $2,798,345,299
1963 $4,187,146,232 $2,657,252,578
1962 $4,035,462,027 $2,379,611,125
1961 $4,494,575,611 $2,025,693,540
1960 $4,206,270,352 $2,037,154,742

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

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

GDP per capita in Egypt vs Morocco by year

Egypt
GDP per capita

GDP per capita, PPP
Morocco
GDP per capita

GDP per capita, PPP
1x
Year Current $
Egypt Morocco
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $3,338 $19,094 $4,218 $10,415
2023 $3,457 $18,525 $3,872 $9,895
2022 $4,233 $17,527 $3,516 $9,310
2021 $3,827 $15,579 $3,843 $8,623
2020 $3,511 $15,232 $3,317 $7,705
2019 $2,963 $13,364 $3,560 $8,046
2018 $2,485 $12,329 $3,553 $7,801
2017 $2,395 $11,125 $3,344 $8,115
2016 $3,271 $10,666 $3,186 $7,853
2015 $3,307 $10,903 $3,190 $7,799
2014 $3,133 $10,256 $3,483 $7,237
2013 $3,026 $10,511 $3,425 $7,542
2012 $2,996 $10,342 $3,206 $7,308
2011 $2,591 $8,988 $3,345 $7,274
2010 $2,455 $8,838 $3,107 $6,849
2009 $2,162 $8,465 $3,158 $6,629
2008 $1,896 $8,191 $3,222 $6,437
2007 $1,548 $7,641 $2,788 $6,058
2006 $1,299 $7,079 $2,466 $5,781
2005 $1,106 $6,554 $2,268 $5,275
2004 $991 $6,207 $2,207 $5,025
2003 $1,031 $5,928 $1,962 $4,741
2002 $1,117 $5,753 $1,612 $4,436
2001 $1,295 $5,650 $1,521 $4,269
2000 $1,366 $5,452 $1,513 $3,930
1999 $1,268 $5,121 $1,651 $3,801
1998 $1,213 $4,869 $1,683 $3,740
1997 $1,146 $4,661 $1,439 $3,502
1996 $1,009 $4,434 $1,610 $3,551
1995 $916 $4,235 $1,478 $3,152
1994 $807 $4,048 $1,369 $3,315
1993 $740 $3,895 $1,236 $2,979
1992 $681 $3,784 $1,337 $2,979
1991 $623 $3,627 $1,302 $3,025
1990 $736 $3,566 $1,238 $2,777
1989 $701 - $1,099 -
1988 $634 - $1,094 -
1987 $754 - $944 -
1986 $790 - $861 -
1985 $770 - $678 -
1984 $690 - $687 -
1983 $648 - $772 -
1982 $596 - $862 -
1981 $490 - $890 -
1980 $493 - $1,117 -
1979 $421 - $839 -
1978 $355 - $716 -
1977 $353 - $613 -
1976 $335 - $545 -
1975 $299.2 - $524 -
1974 $243.1 - $459 -
1973 $272.2 - $382 -
1972 $256.5 - $319 -
1971 $243 - $280.6 -
1970 $232.3 - $261.5 -
1969 $193 - $247.8 -
1968 $179.8 - $228 -
1967 $174.1 - $218.1 -
1966 $168.1 - $211.5 -
1965 $161.6 - $222.7 -
1964 $157.7 - $216.9 -
1963 $143.9 - $211.3 -
1962 $142.4 - $194.2 -
1961 $162.8 - $169.8 -
1960 $156.4 - $175.2 -

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

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

Egypt's GDP per capita is $3,338, ranking 138/197, compared to $4,218 in Morocco, ranking 127/197. Adjusted for purchasing power (GDP per capita PPP), Egypt ranks 99th at $19,094, while Morocco ranks 132nd at $10,415.

Economic indicators

Egypt Morocco
Gross domestic product
$389B
2024
$161B
2024
GDP rank
41/197
2024
58/197
2024
GDP growth
2.4%
2023-2024
3.79%
2023-2024
GDP per capita
$3,338
2024
$4,218
2024
GDP per capita rank
138/197
2024
127/197
2024
GDP per capita, PPP
$19,094
2024
$10,415
2024
GDP per capita PPP rank
99/197
2024
132/197
2024
Government debt
$354B
2024
$109B
2024
Debt-to-GDP ratio
90.9%
2024
67.7%
2024
Government debt per person
$3,036
2024
$2,857
2024
Government debt per person rank
99/185
2024
104/185
2024
Average annual personal income after taxes
$1,948
2026
$5,678
2026
Market capitalization of domestic companies
$42.6B
2024
$74.5B
2024
Number of billionaires
5
2025
3
2025
Income share by richest 10%
24.6%
2021
31.9%
2013
Income share by poorest 10%
4.2%
2021
2.7%
2013
Government expenditure, % of GDP
22.9%
2024
33%
2024
Consumer prices inflation
28.3%
2023-2024
0.99%
2023-2024
Central bank interest rate
21%
2025
2.25%
2025
Unemployment rate
5.95%
2024
11.8%
2022
Population
120697176
38871720

Spending and national debt comparison by year

Egypt
Spending

Debt
Morocco
Spending

Debt
1x
Year % of GDP
Egypt Morocco
Government spending Government debt Government spending Government debt
2024 22.9% 90.9% 33% 67.7%
2023 22.7% 95.9% 32% 68.7%
2022 24.9% 88.5% 33.7% 71.4%
2021 25.5% 89.9% 31% 69.4%
2020 25.7% 86.2% 34.1% 72.2%
2019 26.9% 80.1% 27.6% 60.3%
2018 28.6% 87.9% 27.8% 60.5%
2017 30.6% 97.8% 27.9% 60.3%
2016 31% 91.6% 28.6% 60.1%
2015 31.3% 83.8% 28.5% 58.4%
2014 33.9% 80.9% 30.7% 58.6%
2013 32.9% 79.8% 30.4% 57.1%
2012 29.2% 69.9% 32.5% 52.3%
2011 30.5% 72.8% 31.2% 48.6%
2010 31.4% 69.6% 28.7% 45.3%
2009 32.5% 69.5% 28.1% 42.6%
2008 32.7% 66.8% 28.3% 42%
2007 31.3% 76.3% 26.4% 47.1%
2006 34.5% 85.9% 26% 50.6%
2005 30.3% 98.3% 28.6% 54.8%
2004 30.1% 96.5% 24.5% 54.4%
2003 30.6% 97.1% 24.1% 56.9%
2002 30.9% 85.8% 25.8% 59.4%
2001 27.9% 79.1% 23.7% 60.4%
2000 26% 71.7% 22.8% 64.9%
1999 26.3% 72.4% 18.4% 63.4%
1998 - 73.8% 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/egypt/morocco | CC BY

In 2024, Egypt's government spending was $89.2B, accounting for 22.9% of its GDP, while Morocco spent $53.1B, or 33% of GDP.

Debt-to-GDP ratio is 90.9% in Egypt and 67.7% in Morocco, ranking 31/185 and 60/185, respectively.

Government deficit by year

Deficit/surplus
Egypt

Morocco
1x
Year Deficit/surplus, % of GDP
Egypt Morocco
2024 -7.12% -3.92%
2023 -5.77% -4.41%
2022 -5.74% -5.37%
2021 -6.96% -5.92%
2020 -7.47% -7.15%
2019 -7.6% -3.8%
2018 -8.97% -3.52%
2017 -9.9% -3.3%
2016 -11.8% -4.49%
2015 -10.4% -4.59%
2014 -10.7% -4.78%
2013 -12.3% -4.7%
2012 -9.47% -6.63%
2011 -9.6% -6.08%
2010 -7.45% -3.93%
2009 -6.2% -1.63%
2008 -6.05% 0.63%
2007 -4.9% -0.12%
2006 -7.35% -1.8%
2005 -6.69% -5.46%
2004 -5.76% -3.31%
2003 -5.73% -3.74%
2002 -6.77% -4.37%
2001 -1.07% -3.79%
2000 1.32% -1.97%
1999 2.14% 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/egypt/morocco | CC BY

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

Over the past 26 years, Egypt recorded a fiscal deficit in 24 of those years, while Morocco ran a deficit in 24 years. On average, Egypt posted an annual deficit equal to 6.86% of GDP, compared to deficit of 3.65% of GDP for Morocco.

Inflation comparison by year

Inflation
Egypt

Morocco
1x
Year Consumer prices inflation
Egypt Morocco
2024 28.3% 0.99%
2023 33.9% 6.09%
2022 13.9% 6.66%
2021 5.21% 1.4%
2020 5.04% 0.71%
2019 9.15% 0.3%
2018 14.4% 1.8%
2017 29.5% 0.75%
2016 13.8% 1.64%
2015 10.4% 1.56%
2014 10.1% 0.44%
2013 9.47% 1.88%
2012 7.11% 1.29%
2011 10.1% 0.91%
2010 11.3% 0.99%
2009 11.8% 0.97%
2008 18.3% 3.71%
2007 9.32% 2.04%
2006 7.64% 3.28%
2005 4.87% 0.98%
2004 11.3% 1.49%
2003 4.51% 1.17%
2002 2.74% 2.8%
2001 2.27% 0.62%
2000 2.68% 1.89%
1999 3.08% 0.68%
1998 3.87% 2.75%
1997 4.63% 1.04%

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

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

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

Top exports between countries

Egypt
Export category Export value
Processed food, beverages & tobacco $191M
Raw agricultural goods $181M
Chemicals & pharma $169M
Metals $125M
Textiles & consumer goods $112M
Raw materials & minerals $110M
Machinery & equipment $97.7M
Wood & paper products $23.8M
Miscellaneous $22.7M
Animal & marine products $1.03M
Morocco
Export category Export value
Machinery & equipment $22.4M
Raw materials & minerals $9.49M
Chemicals & pharma $8.03M
Processed food, beverages & tobacco $5.48M
Metals $3.23M
Textiles & consumer goods $1.76M
Raw agricultural goods $987K
Animal & marine products $800K
Wood & paper products $533K
Precious metals & jewellery $4K

Balance of trade

Egypt Morocco
Current account balance
-$22.3B
2024
-$1.87B
2024
Current account balance ranking
184/190
2024
141/190
2024
Current account balance, % of GDP
-5.72%
2024
-1.16%
2024
Goods imports
$72.9B
2024
$66.5B
2024
Goods exports
$34.8B
2024
$39.3B
2024
Service imports
$27.5B
2024
$14.3B
2024
Service exports
$29.6B
2024
$28.2B
2024
Imports of goods and services, % of GDP
23.2%
2024
50.2%
2024
Exports of goods and services, % of GDP
16.4%
2024
42%
2024

Economic freedom indices

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

Egypt Morocco
Economic freedom 50.3 61.8
Economic freedom ranking 160/197 91/197
Property rights 35.5 55.2
Government integrity 27.1 35.6
Judicial effectiveness 24 32.5
Tax burden 85.7 65.5
Government spending 83.4 67.5
Fiscal health 21.8 57.5
Business freedom 51.4 72.1
Labor freedom 43.1 46.2
Monetary freedom 56 79.6
Trade freedom 60.2 69.8
Investment freedom 65 80
Financial freedom 50 80

Economic freedom comparison by year

Egypt
Morocco
1x
Year Economic freedom index
Egypt Morocco
2026 50.3 61.8
2025 50.9 60.3
2024 49.7 56.8
2023 49.6 58.4
2022 49.1 59.2
2021 55.7 63.3
2020 54 63.3
2019 52.5 62.9
2018 53.4 61.9
2017 52.6 61.5
2016 56 61.3
2015 55.2 60.1
2014 52.9 58.3
2013 54.8 59.6
2012 57.9 60.2
2011 59.1 59.6
2010 59 59.2
2009 58 57.7
2008 58.5 55.6
2007 54.4 56.4
2006 53.2 51.5
2005 55.8 52.2
2004 55.5 56.7
2003 55.3 57.8
2002 54.1 59
2001 51.5 63.9
2000 51.7 63.2
1999 58 63.8
1998 55.8 61.1
1997 54.5 64.7
1996 52 64.3
1995 45.7 62.8

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

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

The Economic Freedom Index for Egypt is 50.3, ranking 160/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

Egypt Morocco
Services, % of GDP
48.9%
2024
52.7%
2024
Industry, % of GDP
32.6%
2024
25.6%
2024
Agriculture, forestry, and fishing, % of GDP
13.7%
2024
10.6%
2024
GNI, Atlas method
$409B
2024
$149B
2024
GNI per capita, PPP
$18,230
2024
$10,260
2024
Total reserves including gold
$44.9B
2024
$37.1B
2024
Total reserves ranking
44/177
2024
52/177
2024
Net foreign direct investment
-$46.1B
2024
-$948M
2024
Net inflows of foreign direct investment
$46.6B
2024
$1.64B
2024
Net outflows of foreign direct investment
$508M
2024
$691M
2024
Servicing debt to the IMF, % of GNI
8.86%
2024
5.63%
2024
Poverty at national poverty lines
33.5%
2021
3.9%
2022
Gross capital formation, % of GDP
13%
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/egypt/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 (2021–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.