Skip to content

Economy of Morocco vs Panama compared: GDP & Debt

Updated on by Georank

Morocco has a GDP of $182B compared to $90.5B for Panama, ranking 58/197 and 82/197 by economy size, respectively.

Morocco has $122B in government debt (67.1% of GDP), compared to $51.2B (56.6% of GDP) in Panama.

Morocco vs Panama GDP by year

Morocco
Panama
1x
Year GDP, current $
Morocco Panama
2025 $182,374,250,612 $90,462,600,000
2024 $160,610,994,055 $86,523,959,100
2023 $146,036,093,667 $83,812,155,200
2022 $131,245,312,804 $76,479,304,500
2021 $142,022,058,447 $67,396,392,500
2020 $121,353,645,057 $57,059,846,500
2019 $128,920,266,409 $69,778,991,200
2018 $127,341,147,582 $67,316,471,200
2017 $118,540,573,368 $64,327,688,800
2016 $111,572,947,005 $59,760,858,700
2015 $110,413,823,842 $55,767,806,100
2014 $119,130,841,412 $51,427,104,900
2013 $115,739,287,305 $46,949,496,500
2012 $106,937,392,311 $41,595,439,700
2011 $110,080,631,332 $35,687,738,300
2010 $100,865,329,473 $30,231,009,500
2009 $101,154,952,241 $27,791,215,500
2008 $101,822,906,949 $25,721,328,000
2007 $86,947,913,287 $21,717,433,800
2006 $75,883,823,301 $18,659,721,500
2005 $68,852,658,069 $16,623,906,700
2004 $66,114,145,451 $15,100,203,400
2003 $58,029,363,354 $13,603,456,000
2002 $47,077,192,188 $12,800,851,300
2001 $43,831,480,208 $12,252,906,300
2000 $43,017,455,402 $11,966,497,000
1999 $46,266,428,648 $11,660,704,800
1998 $46,497,608,725 $11,019,557,700
1997 $39,147,844,526 $10,058,854,400
1996 $43,161,571,528 $9,197,503,300
1995 $39,030,285,468 $9,573,813,700
1994 $35,604,137,423 $9,365,289,800
1993 $31,655,473,664 $8,782,585,400
1992 $33,711,069,431 $8,042,337,700
1991 $32,285,573,574 $7,074,675,500
1990 $30,179,954,775 $6,433,967,000
1989 $26,314,313,191 $5,918,469,800
1988 $25,705,296,184 $5,902,783,400
1987 $21,765,195,948 $6,827,665,300
1986 $19,462,085,540 $6,797,834,200
1985 $14,991,283,216 $6,541,517,100
1984 $14,824,667,954 $6,183,387,100
1983 $16,251,408,128 $5,923,755,900
1982 $17,692,276,734 $5,769,767,900
1981 $17,788,185,479 $5,222,421,500
1980 $21,728,516,153 $4,614,086,400
1979 $15,911,994,817 $3,704,551,600
1978 $13,236,946,234 $3,244,558,600
1977 $11,049,783,872 $2,738,261,900
1976 $9,584,297,284 $2,588,106,000
1975 $8,984,853,005 $2,435,304,100
1974 $7,675,466,449 $2,188,307,600
1973 $6,242,145,880 $1,913,793,400
1972 $5,074,117,545 $1,673,411,700
1971 $4,356,669,034 $1,523,917,200
1970 $3,956,336,244 $1,351,006,400
1969 $3,651,622,669 $1,221,305,700
1968 $3,271,422,333 $1,112,791,100
1967 $3,046,345,314 $1,034,376,400
1966 $2,876,401,297 $928,833,000
1965 $2,948,331,090 $852,485,300
1964 $2,798,345,299 $776,137,500
1963 $2,657,252,578 $722,784,500
1962 $2,379,611,125 $652,120,900
1961 $2,025,693,540 $599,026,300
1960 $2,037,154,742 $537,147,100

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

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

GDP per capita in Morocco vs Panama by year

Morocco
GDP per capita

GDP per capita, PPP
Panama
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Panama
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2025 $4,746 - $19,790 -
2024 $4,218 $10,415 $19,161 $41,369
2023 $3,872 $9,895 $18,797 $39,813
2022 $3,516 $9,310 $17,379 $36,333
2021 $3,843 $8,623 $15,510 $30,933
2020 $3,317 $7,705 $13,291 $27,017
2019 $3,560 $8,046 $16,478 $33,240
2018 $3,553 $7,801 $16,151 $32,464
2017 $3,344 $8,115 $15,695 $33,533
2016 $3,186 $7,853 $14,832 $30,277
2015 $3,190 $7,799 $14,083 $27,245
2014 $3,483 $7,237 $13,213 $24,376
2013 $3,425 $7,542 $12,273 $21,924
2012 $3,206 $7,308 $11,065 $19,473
2011 $3,345 $7,274 $9,662 $17,474
2010 $3,107 $6,849 $8,331 $15,573
2009 $3,158 $6,629 $7,797 $14,766
2008 $3,222 $6,437 $7,348 $14,705
2007 $2,788 $6,058 $6,318 $13,333
2006 $2,466 $5,781 $5,529 $11,685
2005 $2,268 $5,275 $5,018 $10,511
2004 $2,207 $5,025 $4,645 $9,592
2003 $1,962 $4,741 $4,265 $8,801
2002 $1,612 $4,436 $4,091 $8,370
2001 $1,521 $4,269 $3,992 $8,197
2000 $1,513 $3,930 $3,975 $8,097
1999 $1,651 $3,801 $3,950 $7,749
1998 $1,683 $3,740 $3,808 $7,408
1997 $1,439 $3,502 $3,546 $6,895
1996 $1,610 $3,551 $3,308 $6,421
1995 $1,478 $3,152 $3,514 $6,182
1994 $1,369 $3,315 $3,508 $6,073
1993 $1,236 $2,979 $3,358 $5,902
1992 $1,337 $2,979 $3,140 $5,582
1991 $1,302 $3,025 $2,821 $5,150
1990 $1,238 $2,777 $2,620 $4,651
1989 $1,099 - $2,462 -
1988 $1,094 - $2,509 -
1987 $944 - $2,966 -
1986 $861 - $3,019 -
1985 $678 - $2,972 -
1984 $687 - $2,875 -
1983 $772 - $2,819 -
1982 $862 - $2,811 -
1981 $890 - $2,605 -
1980 $1,117 - $2,357 -
1979 $839 - $1,938 -
1978 $716 - $1,738 -
1977 $613 - $1,503 -
1976 $545 - $1,457 -
1975 $524 - $1,406 -
1974 $459 - $1,296 -
1973 $382 - $1,164 -
1972 $319 - $1,046 -
1971 $280.6 - $979 -
1970 $261.5 - $893 -
1969 $247.8 - $830 -
1968 $228 - $778 -
1967 $218.1 - $745 -
1966 $211.5 - $689 -
1965 $222.7 - $651 -
1964 $216.9 - $611 -
1963 $211.3 - $587 -
1962 $194.2 - $546 -
1961 $169.8 - $516 -
1960 $175.2 - $477 -

Data sources: World Bank | Economy & Growth (1960–2025, retrieved 2026-07-08).

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

Morocco's GDP per capita is $4,746, ranking 126/197, compared to $19,790 in Panama, ranking 62/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Panama ranks 56th at $41,369.

Economic indicators

Morocco Panama
Gross domestic product
$182B
2025
$90.5B
2025
GDP rank
58/197
2025
82/197
2025
GDP growth
4.6%
2024-2025
4.35%
2024-2025
GDP per capita
$4,746
2025
$19,790
2025
GDP per capita rank
126/197
2025
62/197
2025
GDP per capita, PPP
$10,415
2024
$41,369
2024
GDP per capita PPP rank
132/197
2024
56/197
2024
Government debt
$122B
2025
$51.2B
2025
Debt-to-GDP ratio
67.1%
2025
56.6%
2025
Government debt per person
$3,183
2025
$11,198
2025
Government debt per person rank
102/185
2025
56/185
2025
Average annual personal income after taxes
$4,045
2026
$11,056
2026
Market capitalization of domestic companies
$114B
2025
$27.2B
2025
Number of billionaires
3
2026
n/a
Income share by richest 10%
31.9%
2013
37.6%
2024
Income share by poorest 10%
2.7%
2013
1.2%
2024
Government expenditure, % of GDP
31.3%
2025
20.9%
2025
Consumer prices inflation
0.7%
2024-2025
-0.19%
2024-2025
Central bank interest rate
2.25%
2025
n/a
Unemployment rate
11.8%
2022
8.31%
2025
Population
38938817
4654479

Spending and national debt comparison by year

Morocco
Spending

Debt
Panama
Spending

Debt
1x
Year % of GDP
Morocco Panama
Government spending Government debt Government spending Government debt
2025 31.3% 67.1% 20.9% 56.6%
2024 30.9% 67.7% 23.1% 57.8%
2023 30.2% 68.7% 21.4% 54.4%
2022 31.8% 71.4% 21.3% 56.2%
2021 30.1% 69.4% 23.7% 58%
2020 34.1% 72.2% 27% 62.4%
2019 27% 60.3% 20.5% 42.5%
2018 27.8% 60.5% 21.7% 36.3%
2017 27.9% 60.3% 21.1% 34.3%
2016 28.6% 60.1% 21.3% 34%
2015 28.5% 58.4% 21.4% 34.1%
2014 30.7% 58.6% 22.9% 32.9%
2013 30.4% 57.1% 23.6% 30.8%
2012 32.5% 52.3% 23% 31.3%
2011 31.2% 48.6% 23.7% 35.9%
2010 28.7% 45.3% 24.4% 38.5%
2009 28.1% 42.6% 22.9% 39.5%
2008 28.3% 42% 23% 40.6%
2007 26.4% 47.1% 22.2% 48.2%
2006 26% 50.6% 22.4% 56.1%
2005 28.6% 54.8% 23.2% 61.5%
2004 24.5% 54.4% 24.4% 61.5%
2003 24.1% 56.9% 25.7% 59.9%
2002 25.8% 59.4% 25.1% 60.9%
2001 23.7% 60.4% 25.2% 62.1%
2000 22.8% 64.9% 24.7% 58%
1999 18.4% 63.4% 25.2% 60.4%
1998 18.7% 64.5% 25.9% 64.3%
1997 18.6% 68% 24.8% 67.3%
1996 17.6% 65.3% 24.3% 73.6%
1995 21.3% 72.2% 29.3% 86.7%
1994 21.7% 69.3% 28.5% 88.7%
1993 23.1% 74.7% 33.8% 83.6%
1992 22.3% 67% 27.8% 91.2%
1991 20.8% 59.1% 20.9% 103.7%
1990 22.6% 70.5% 41.5% 112.7%
1989 - - 43% 104.4%
1988 - - 41.8% 105%
1987 - - 40.1% 92.2%
1986 - - 38.6% 84%
1985 - - 39.7% 82.5%
1984 - - 44% 82.5%
1983 - - 44.6% 86.6%
1982 - - 48% 80.9%
1981 - - 30.7% 68.7%
1980 - - 30.5% 69.4%
1979 - - 35% 78.9%
1978 - - 27.6% 83.1%
1977 - - 16.9% 77.7%
1976 - - 15.9% 69.7%
1975 - - 15.3% 52.6%
1974 - - 15.3% 37.6%
1973 - - 14.4% 32.6%
1972 - - 15.6% 29.5%
1971 - - 15% 26.2%
1970 - - 22.4% 25.7%
1969 - - 20.5% 23.2%
1968 - - 14.2% 18%
1967 - - 14.9% 17.8%
1966 - - 14% 17.9%
1965 - - 13.2% 18.7%
1964 - - 14.1% 20%
1963 - - 19.1% 22.6%
1962 - - 16.4% 19.8%
1961 - - 18.9% 20.5%
1960 - - 16.6% 21%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1960–1993, retrieved 2026-07-08).

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

In 2025, Morocco's government spending was $57B, accounting for 31.3% of its GDP, while Panama spent $18.9B, or 20.9% of GDP.

Debt-to-GDP ratio is 67.1% in Morocco and 56.6% in Panama, ranking 64/185 and 84/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Panama
1x
Year Deficit/surplus, % of GDP
Morocco Panama
2025 -3.54% -3.67%
2024 -3.92% -6.23%
2023 -4.41% -3.9%
2022 -5.37% -3.98%
2021 -5.92% -6.45%
2020 -7.15% -9.68%
2019 -3.8% -2.74%
2018 -3.52% -2.76%
2017 -3.3% -1.8%
2016 -4.49% -1.76%
2015 -4.59% -2.17%
2014 -4.78% -3.04%
2013 -4.7% -2.4%
2012 -6.63% -1.32%
2011 -6.08% -1.97%
2010 -3.93% -1.69%
2009 -1.63% -0.91%
2008 0.63% 0.38%
2007 -0.12% 3.17%
2006 -1.8% 0.53%
2005 -5.46% -2.29%
2004 -3.31% -4.54%
2003 -3.74% -2.41%
2002 -4.37% -1.03%
2001 -3.79% -0.45%
2000 -1.97% 2.22%
1999 3.21% -0.71%
1998 1.47% -1.23%
1997 1.5% 1.39%
1996 0.87% 2.81%
1995 -2.54% 2.61%
1994 -2.51% 2.4%
1993 -2% -9.4%
1992 -1.84% -2.62%
1991 -0.9% -0.6%
1990 -1.32% -3.65%
1989 - -13.6%
1988 - -13.5%
1987 - -1.7%
1986 - -1%
1985 - -2.57%
1984 - -7.56%
1983 - -7.62%
1982 - -13.3%
1981 - -6.77%
1980 - -5.17%
1979 - -12.1%
1978 - -5.21%
1977 - -1.61%
1976 - -2.65%
1975 - -0.74%
1974 - -0.6%
1973 - -0.01%
1972 - -1.17%
1971 - -0.51%
1970 - -8.02%
1969 - -7.56%
1968 - -1.5%
1967 - -1.97%
1966 - -1.18%
1965 - -1.17%
1964 - -2.51%
1963 - -6.71%
1962 - -3.01%
1961 - -5.45%
1960 - -3.05%
1959 - -3.79%
1958 - -1.62%
1957 - -0.89%
1956 - -3.69%
1955 - -1.33%
1954 - -0.2%
1953 - -0.55%
1952 - -3.84%
1951 - -2.54%
1950 - -3.89%
1949 - -1%
1948 - -1.21%
1947 - -1.94%
1946 - -3.19%

Data sources: International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08); International Monetary Fund (IMF) | Public Finances in Modern History (1946–1993, retrieved 2026-07-08).

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

In 2025, Morocco's government deficit, the difference between spending and revenue, was $6.46B, equivalent to 3.54% of GDP. This compares to Panama's deficit of $3.32B, or 3.67% of GDP.

Over the past 36 years, Morocco recorded a fiscal deficit in 31 of those years, while Panama ran a deficit in 28 years. On average, Morocco posted an annual deficit equal to 2.94% of GDP, compared to deficit of 1.94% of GDP for Panama.

Inflation comparison by year

Inflation
Morocco

Panama
1x
Year Consumer prices inflation
Morocco Panama
2025 0.7% -0.19%
2024 0.99% 0.69%
2023 6.09% 1.49%
2022 6.66% 2.86%
2021 1.4% 1.63%
2020 0.71% -1.55%
2019 0.3% -0.36%
2018 1.8% 0.76%
2017 0.75% 0.88%
2016 1.64% 0.74%
2015 1.56% 0.14%
2014 0.44% 2.63%
2013 1.88% 4.03%
2012 1.29% 5.7%
2011 0.91% 5.88%
2010 0.99% 3.49%
2009 0.97% 2.41%
2008 3.71% 8.76%
2007 2.04% 4.17%
2006 3.28% 2.46%
2005 0.98% 2.86%
2004 1.49% 0.47%
2003 1.17% 0.39%
2002 2.8% 1.01%
2001 0.62% 0.31%
2000 1.89% 1.5%
1999 0.68% 1.25%
1998 2.75% 0.56%
1997 1.04% 1.32%

Data sources: World Bank | Economy & Growth (1997–2025, retrieved 2026-07-08).

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

Over the past 29 years, Morocco has recorded an average annual inflation rate of 1.78%, compared with 1.94% in Panama. In 2025, inflation was 0.7% in Morocco and -0.19% in Panama.

Top exports between countries

Morocco
Export category Export value
Raw materials & minerals $24.3M
Chemicals & pharma $415K
Animal & marine products $319K
Raw agricultural goods $196K
Processed food, beverages & tobacco $195K
Textiles & consumer goods $194K
Wood & paper products $53K
Machinery & equipment $42K
Metals $38K
Miscellaneous $6K
Panama
Export category Export value
Textiles & consumer goods $823K
Processed food, beverages & tobacco $177K
Animal & marine products $88K
Machinery & equipment $71K
Metals $15K
Chemicals & pharma $7K

Balance of trade

Morocco Panama
Current account balance
-$4.56B
2025
-$169M
2025
Current account balance ranking
163/190
2025
91/190
2025
Current account balance, % of GDP
-2.5%
2025
-0.19%
2025
Goods imports
$77.2B
2025
$28.2B
2025
Goods exports
$43.7B
2025
$18.6B
2025
Service imports
$16.7B
2025
$5.91B
2025
Service exports
$33.6B
2025
$20.2B
2025
Imports of goods and services, % of GDP
51.1%
2025
39.3%
2024
Exports of goods and services, % of GDP
42%
2025
44.4%
2024

Economic freedom indices

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

Morocco Panama
Economic freedom 61.8 64.9
Economic freedom ranking 91/197 70/197
Property rights 55.2 56.7
Government integrity 35.6 37.4
Judicial effectiveness 32.5 49.6
Tax burden 65.5 86.1
Government spending 67.5 85.5
Fiscal health 57.5 51.8
Business freedom 72.1 72.6
Labor freedom 46.2 60.9
Monetary freedom 79.6 78.2
Trade freedom 69.8 80.2
Investment freedom 80 60
Financial freedom 80 60

Economic freedom comparison by year

Morocco
Panama
1x
Year Economic freedom index
Morocco Panama
2026 61.8 64.9
2025 60.3 65.5
2024 56.8 64.1
2023 58.4 63.8
2022 59.2 65.4
2021 63.3 66.2
2020 63.3 67.2
2019 62.9 67.2
2018 61.9 67
2017 61.5 66.3
2016 61.3 64.8
2015 60.1 64.1
2014 58.3 63.4
2013 59.6 62.5
2012 60.2 65.2
2011 59.6 64.9
2010 59.2 64.8
2009 57.7 64.7
2008 55.6 64.7
2007 56.4 64.6
2006 51.5 65.6
2005 52.2 64.3
2004 56.7 65.3
2003 57.8 68.4
2002 59 68.5
2001 63.9 70.6
2000 63.2 71.6
1999 63.8 72.6
1998 61.1 72.6
1997 64.7 72.4
1996 64.3 71.8
1995 62.8 71.6

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

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

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

Other economic metrics

Morocco Panama
Services, % of GDP
52.3%
2025
70%
2025
Industry, % of GDP
25.2%
2025
24.9%
2025
Agriculture, forestry, and fishing, % of GDP
10.5%
2025
2.62%
2025
GNI, Atlas method
$170B
2025
$87.5B
2025
GNI per capita, PPP
$10,960
2025
$41,770
2025
Total reserves including gold
$48.5B
2025
$6.24B
2025
Total reserves ranking
50/177
2025
93/177
2025
Net foreign direct investment
-$2.51B
2025
-$1.81B
2025
Net inflows of foreign direct investment
$1.75B
2024
$2.09B
2024
Net outflows of foreign direct investment
$679M
2024
$84.3M
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
n/a
Poverty at national poverty lines
3.9%
2022
21.7%
2023
Gross capital formation, % of GDP
31.9%
2025
33.5%
2024

GDP per capita map

1x

Data sources: World Bank | Economy & Growth (1985–2025, retrieved 2026-07-08); U.S. Census Bureau (1985–2025, retrieved 2026-07-08).

GeoRank.org/economy/morocco/panama | 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–2025, retrieved 2026-07-08)
  2. International Monetary Fund (IMF) | Fiscal Monitor (1990–2025, retrieved 2026-07-08)
  3. International Monetary Fund (IMF) | Public Finances in Modern History (1946–1993, retrieved 2026-07-08)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-07-08)
  5. U.S. Census Bureau (1985–2025, retrieved 2026-07-08)
  6. TradeMap (2020–2025, retrieved 2026-07-08)
  7. United Nations | World Population Prospects (2026, retrieved 2026-07-08)
  8. LivingCost (2026, retrieved 2026-07-08)

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.