Skip to content

Economy of Morocco vs Pakistan compared: GDP & Debt

Updated on by Georank team

Morocco has a GDP of $161B compared to $372B for Pakistan, ranking 58/197 and 43/197 by economy size, respectively.

Morocco has $109B in government debt (67.7% of GDP), compared to $262B (70.4% of GDP) in Pakistan.

Morocco vs Pakistan GDP by year

Morocco
Pakistan
1x
Year GDP, current $
Morocco Pakistan
2024 $160,610,994,055 $371,570,000,121
2023 $146,036,093,667 $336,686,348,609
2022 $131,245,312,804 $374,890,295,667
2021 $142,022,058,447 $348,516,647,445
2020 $121,353,645,057 $300,425,609,818
2019 $128,920,266,409 $320,909,472,771
2018 $127,341,147,582 $356,128,166,705
2017 $118,540,573,368 $339,205,534,861
2016 $111,572,947,005 $313,630,000,130
2015 $110,413,823,842 $299,963,590,535
2014 $119,130,841,412 $271,390,474,858
2013 $115,739,287,305 $258,657,231,672
2012 $106,937,392,311 $250,106,966,105
2011 $110,080,631,332 $230,586,581,060
2010 $100,865,329,473 $196,709,621,850
2009 $101,154,952,241 $187,337,783,856
2008 $101,822,906,949 $202,203,748,584
2007 $86,947,913,287 $184,140,869,997
2006 $75,883,823,301 $161,871,385,506
2005 $68,852,658,069 $145,208,562,961
2004 $66,114,145,451 $132,216,048,339
2003 $58,029,363,354 $112,371,913,741
2002 $47,077,192,188 $97,923,302,809
2001 $43,831,480,208 $97,145,618,480
2000 $43,017,455,402 $99,484,802,345
1999 $46,266,428,648 $62,973,857,069
1998 $46,497,608,725 $62,191,955,814
1997 $39,147,844,526 $62,433,340,468
1996 $43,161,571,528 $63,320,170,084
1995 $39,030,285,468 $60,636,071,684
1994 $35,604,137,423 $52,293,470,813
1993 $31,655,473,664 $51,809,999,353
1992 $33,711,069,431 $48,884,671,947
1991 $32,285,573,574 $45,625,336,680
1990 $30,179,954,775 $40,010,423,970
1989 $26,314,313,191 $40,171,106,279
1988 $25,705,296,184 $38,472,742,808
1987 $21,765,195,948 $33,351,529,275
1986 $19,462,085,540 $31,899,070,056
1985 $14,991,283,216 $31,144,920,844
1984 $14,824,667,954 $31,151,825,467
1983 $16,251,408,128 $28,691,889,764
1982 $17,692,276,734 $30,725,971,564
1981 $17,788,185,479 $28,100,606,061
1980 $21,728,516,153 $23,654,444,444
1979 $15,911,994,817 $19,688,383,838
1978 $13,236,946,234 $17,811,515,152
1977 $11,049,783,872 $15,126,060,606
1976 $9,584,297,284 $13,168,080,808
1975 $8,984,853,005 $11,230,606,061
1974 $7,675,466,449 $8,899,191,919
1973 $6,242,145,880 $6,383,429,490
1972 $5,074,117,545 $9,415,016,360
1971 $4,356,669,034 $10,665,896,682
1970 $3,956,336,244 $10,027,509,450
1969 $3,651,622,669 $8,683,116,338
1968 $3,271,422,333 $8,041,999,160
1967 $3,046,345,314 $7,464,510,710
1966 $2,876,401,297 $6,561,108,778
1965 $2,948,331,090 $5,929,231,415
1964 $2,798,345,299 $5,204,955,901
1963 $2,657,252,578 $4,630,827,383
1962 $2,379,611,125 $4,310,163,797
1961 $2,025,693,540 $4,118,647,627
1960 $2,037,154,742 $3,749,265,015

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

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

GDP per capita in Morocco vs Pakistan by year

Morocco
GDP per capita

GDP per capita, PPP
Pakistan
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Pakistan
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $4,218 $10,415 $1,479 $6,252
2023 $3,872 $9,895 $1,360 $6,014
2022 $3,516 $9,310 $1,538 $5,920
2021 $3,843 $8,623 $1,455 $5,367
2020 $3,317 $7,705 $1,278 $5,048
2019 $3,560 $8,046 $1,390 $5,038
2018 $3,553 $7,801 $1,569 $4,979
2017 $3,344 $8,115 $1,519 $4,790
2016 $3,186 $7,853 $1,425 $4,631
2015 $3,190 $7,799 $1,380 $4,480
2014 $3,483 $7,237 $1,267 $4,313
2013 $3,425 $7,542 $1,225 $4,174
2012 $3,206 $7,308 $1,204 $4,047
2011 $3,345 $7,274 $1,132 $3,880
2010 $3,107 $6,849 $987 $3,786
2009 $3,158 $6,629 $964 $3,777
2008 $3,222 $6,437 $1,067 $3,721
2007 $2,788 $6,058 $998 $3,672
2006 $2,466 $5,781 $901 $3,515
2005 $2,268 $5,275 $828 $3,293
2004 $2,207 $5,025 $772 $3,048
2003 $1,962 $4,741 $672 $2,822
2002 $1,612 $4,436 $600 $2,688
2001 $1,521 $4,269 $610 $2,644
2000 $1,513 $3,930 $642 $2,565
1999 $1,651 $3,801 $418 $2,475
1998 $1,683 $3,740 $424 $2,419
1997 $1,439 $3,502 $438 $2,398
1996 $1,610 $3,551 $457 $2,401
1995 $1,478 $3,152 $451 $2,315
1994 $1,369 $3,315 $400 $2,224
1993 $1,236 $2,979 $408 $2,160
1992 $1,337 $2,979 $396 $2,132
1991 $1,302 $3,025 $380 $1,992
1990 $1,238 $2,777 $344 $1,895
1989 $1,099 - $358 -
1988 $1,094 - $354 -
1987 $944 - $317 -
1986 $861 - $314 -
1985 $678 - $317 -
1984 $687 - $327 -
1983 $772 - $311 -
1982 $862 - $345 -
1981 $890 - $328 -
1980 $1,117 - $287.4 -
1979 $839 - $249.2 -
1978 $716 - $233.4 -
1977 $613 - $204.7 -
1976 $545 - $183.9 -
1975 $524 - $161.7 -
1974 $459 - $132 -
1973 $382 - $97.5 -
1972 $319 - $148.1 -
1971 $280.6 - $172.5 -
1970 $261.5 - $166.7 -
1969 $247.8 - $148.5 -
1968 $228 - $141.6 -
1967 $218.1 - $135.2 -
1966 $211.5 - $122.2 -
1965 $222.7 - $113.6 -
1964 $216.9 - $102.5 -
1963 $211.3 - $93.7 -
1962 $194.2 - $89.5 -
1961 $169.8 - $87.8 -
1960 $175.2 - $82 -

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

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

Morocco's GDP per capita is $4,218, ranking 127/197, compared to $1,479 in Pakistan, ranking 163/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Pakistan ranks 150th at $6,252.

Economic indicators

Morocco Pakistan
Gross domestic product
$161B
2024
$372B
2024
GDP rank
58/197
2024
43/197
2024
GDP growth
3.79%
2023-2024
3.05%
2023-2024
GDP per capita
$4,218
2024
$1,479
2024
GDP per capita rank
127/197
2024
163/197
2024
GDP per capita, PPP
$10,415
2024
$6,252
2024
GDP per capita PPP rank
132/197
2024
150/197
2024
Government debt
$109B
2024
$262B
2024
Debt-to-GDP ratio
67.7%
2024
70.4%
2024
Government debt per person
$2,857
2024
$1,041
2024
Government debt per person rank
104/185
2024
140/185
2024
Average annual personal income after taxes
$5,678
2026
$1,668
2026
Market capitalization of domestic companies
$74.5B
2024
$52.1B
2024
Number of billionaires
3
2025
n/a
Income share by richest 10%
31.9%
2013
25.5%
2018
Income share by poorest 10%
2.7%
2013
4.2%
2018
Government expenditure, % of GDP
33%
2024
19.5%
2024
Consumer prices inflation
0.99%
2023-2024
12.6%
2023-2024
Central bank interest rate
2.25%
2025
10.5%
2025
Unemployment rate
11.8%
2022
6.96%
2025
Population
38871720
260356147

Spending and national debt comparison by year

Morocco
Spending

Debt
Pakistan
Spending

Debt
1x
Year % of GDP
Morocco Pakistan
Government spending Government debt Government spending Government debt
2024 33% 67.7% 19.5% 70.4%
2023 32% 68.7% 19.3% 78.5%
2022 33.7% 71.4% 20% 77.3%
2021 31% 69.4% 18.5% 74.7%
2020 34.1% 72.2% 20.3% 80.8%
2019 27.6% 60.3% 19.1% 78.7%
2018 27.8% 60.5% 19.1% 66.3%
2017 27.9% 60.3% 19.1% 62.1%
2016 28.6% 60.1% 17.7% 62.1%
2015 28.5% 58.4% 17.8% 59.1%
2014 30.7% 58.6% 18.1% 58.8%
2013 30.4% 57.1% 19.5% 59.2%
2012 32.5% 52.3% 19.4% 58.4%
2011 31.2% 48.6% 17.9% 56.2%
2010 28.7% 45.3% 18.3% 56.7%
2009 28.1% 42.6% 17.3% 54.6%
2008 28.3% 42% 18% 49.5%
2007 26.4% 47.1% 16.1% 44.2%
2006 26% 50.6% 14.5% 46.2%
2005 28.6% 54.8% 13% 47.9%
2004 24.5% 54.4% 12.1% 50.6%
2003 24.1% 56.9% 12.9% 56.3%
2002 25.8% 59.4% 14.4% 60.5%
2001 23.7% 60.4% 12.9% 65.1%
2000 22.8% 64.9% 13.8% 61.7%
1999 18.4% 63.4% 13.2% 60.7%
1998 18.7% 64.5% 14.1% 53.8%
1997 18.6% 68% 13.7% 52.8%
1996 17.6% 65.3% 15% 52.5%
1995 21.3% 72.2% 14% 52.3%
1994 21.7% 69.3% 14.5% 58.5%
1993 23.1% 74.7% 17% 57.9%
1992 22.3% 67% 22.6% 53.3%
1991 20.8% 59.1% 21.4% 55.8%
1990 22.6% 70.5% 23.9% 48.3%
1989 - - 26.1% 46.6%
1988 - - 27.9% 45%
1987 - - 29.5% 44.4%
1986 - - 27.6% 43.1%
1985 - - 28.3% 37%
1984 - - 25.4% 33.4%
1983 - - 24.8% 33.6%
1982 - - 24.5% 33.8%
1981 - - 21.6% 29.7%
1980 - - 22% 33.3%
1979 - - 25.3% 36.8%
1978 - - 25.5% 36.1%
1977 - - 20.4% 36.4%
1976 - - 21% 35.8%
1975 - - 20.4% 32.1%
1974 - - 15.3% 38%
1973 - - 13.9% 43.4%
1972 - - 13.5% 88.7%
1971 - - 22.1% 33.2%
1970 - - 23.6% 31.6%
1969 - - 15.6% 29.1%
1968 - - 13.7% 27.5%
1967 - - 12.9% 25.9%
1966 - - 12.2% 25.1%
1965 - - 11.2% 22.7%
1964 - - 12.1% 21.3%
1963 - - 14.7% 19.2%
1962 - - 11.8% 16.6%
1961 - - 10.6% 19.6%
1960 - - 10% 19.5%

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

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

In 2024, Morocco's government spending was $53.1B, accounting for 33% of its GDP, while Pakistan spent $72.4B, or 19.5% of GDP.

Debt-to-GDP ratio is 67.7% in Morocco and 70.4% in Pakistan, ranking 60/185 and 56/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Pakistan
1x
Year Deficit/surplus, % of GDP
Morocco Pakistan
2024 -3.92% -6.81%
2023 -4.41% -7.76%
2022 -5.37% -7.84%
2021 -5.92% -6.04%
2020 -7.15% -7.03%
2019 -3.8% -7.79%
2018 -3.52% -5.67%
2017 -3.3% -5.17%
2016 -4.49% -3.92%
2015 -4.59% -4.74%
2014 -4.78% -4.37%
2013 -4.7% -7.48%
2012 -6.63% -7.74%
2011 -6.08% -6.23%
2010 -3.93% -5.42%
2009 -1.63% -4.53%
2008 0.63% -5.94%
2007 -0.12% -4.23%
2006 -1.8% -2.79%
2005 -5.46% -2.29%
2004 -3.31% -1.29%
2003 -3.74% -0.12%
2002 -4.37% -2.64%
2001 -3.79% -2.45%
2000 -1.97% -3.21%
1999 3.21% -3.07%
1998 1.47% -4.46%
1997 1.5% -3.87%
1996 0.87% -4.33%
1995 -2.54% -3.9%
1994 -2.51% -3.63%
1993 -2% -5.53%
1992 -1.84% -11.3%
1991 -0.9% -10.8%
1990 -1.32% -11.9%
1989 - -7.01%
1988 - -9.35%
1987 - -11.7%
1986 - -9.79%
1985 - -10.6%
1984 - -8.9%
1983 - -7.55%
1982 - -8.24%
1981 - -5.83%
1980 - -5.32%
1979 - -11.6%
1978 - -12.4%
1977 - -8.74%
1976 - -9.05%
1975 - -8.97%
1974 - -4.45%
1973 - -3.99%
1972 - -3.16%
1971 - -7.45%
1970 - -10.8%
1969 - -7.08%
1968 - -5.56%
1967 - -4.27%
1966 - -4.48%
1965 - -3.28%
1964 - -4.89%
1963 - -6.55%
1962 - -3.39%
1961 - -4.6%
1960 - -3.83%
1959 - -3.71%
1958 - -4.2%
1957 - -2.21%
1956 - -2.36%
1955 - -2%
1954 - -3.18%
1953 - -2.66%
1952 - -0.73%
1951 - 0.63%
1950 - -1.24%

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

GeoRank.org/economy/morocco/pakistan | 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 Pakistan's deficit of $25.3B, or 6.81% of GDP.

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

Inflation comparison by year

Inflation
Morocco

Pakistan
1x
Year Consumer prices inflation
Morocco Pakistan
2024 0.99% 12.6%
2023 6.09% 30.8%
2022 6.66% 19.9%
2021 1.4% 9.5%
2020 0.71% 9.74%
2019 0.3% 10.6%
2018 1.8% 5.08%
2017 0.75% 4.09%
2016 1.64% 3.77%
2015 1.56% 2.53%
2014 0.44% 7.19%
2013 1.88% 7.69%
2012 1.29% 9.68%
2011 0.91% 11.9%
2010 0.99% 12.9%
2009 0.97% 13.6%
2008 3.71% 20.3%
2007 2.04% 7.6%
2006 3.28% 7.92%
2005 0.98% 9.06%
2004 1.49% 7.44%
2003 1.17% 2.91%
2002 2.8% 3.29%
2001 0.62% 3.15%
2000 1.89% 4.37%
1999 0.68% 4.14%
1998 2.75% 6.23%
1997 1.04% 11.4%

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

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

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

Top exports between countries

Morocco
Export category Export value
Raw materials & minerals $492M
Machinery & equipment $993K
Chemicals & pharma $483K
Metals $251K
Raw agricultural goods $136K
Processed food, beverages & tobacco $112K
Textiles & consumer goods $68K
Wood & paper products $27K
Pakistan
Export category Export value
Textiles & consumer goods $19.4M
Chemicals & pharma $2.94M
Machinery & equipment $2.29M
Metals $2.22M
Animal & marine products $1.97M
Raw agricultural goods $1.32M
Raw materials & minerals $277K
Processed food, beverages & tobacco $216K
Miscellaneous $23K
Wood & paper products $11K

Balance of trade

Morocco Pakistan
Current account balance
-$1.87B
2024
$496M
2024
Current account balance ranking
141/190
2024
63/190
2024
Current account balance, % of GDP
-1.16%
2024
+0.13%
2024
Goods imports
$66.5B
2024
$55.6B
2024
Goods exports
$39.3B
2024
$32.1B
2024
Service imports
$14.3B
2024
$11.2B
2024
Service exports
$28.2B
2024
$8.1B
2024
Imports of goods and services, % of GDP
50.2%
2024
17.2%
2024
Exports of goods and services, % of GDP
42%
2024
10.4%
2024

Economic freedom indices

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

Morocco Pakistan
Economic freedom 61.8 48.9
Economic freedom ranking 91/197 168/197
Property rights 55.2 25.7
Government integrity 35.6 26.3
Judicial effectiveness 32.5 27.6
Tax burden 65.5 78.2
Government spending 67.5 88.5
Fiscal health 57.5 10.1
Business freedom 72.1 54.4
Labor freedom 46.2 51.7
Monetary freedom 79.6 54.1
Trade freedom 69.8 70.4
Investment freedom 80 60
Financial freedom 80 40

Economic freedom comparison by year

Morocco
Pakistan
1x
Year Economic freedom index
Morocco Pakistan
2026 61.8 48.9
2025 60.3 49.1
2024 56.8 49.5
2023 58.4 49.4
2022 59.2 48.8
2021 63.3 51.7
2020 63.3 54.8
2019 62.9 55
2018 61.9 54.4
2017 61.5 52.8
2016 61.3 55.9
2015 60.1 55.6
2014 58.3 55.2
2013 59.6 55.1
2012 60.2 54.7
2011 59.6 55.1
2010 59.2 55.2
2009 57.7 57
2008 55.6 55.6
2007 56.4 57.2
2006 51.5 57.9
2005 52.2 53.3
2004 56.7 54.9
2003 57.8 55
2002 59 55.8
2001 63.9 56
2000 63.2 56.4
1999 63.8 53
1998 61.1 53.2
1997 64.7 56
1996 64.3 58.4
1995 62.8 57.6

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

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

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

Other economic metrics

Morocco Pakistan
Services, % of GDP
52.7%
2024
50.7%
2024
Industry, % of GDP
25.6%
2024
20.2%
2024
Agriculture, forestry, and fishing, % of GDP
10.6%
2024
23.7%
2024
GNI, Atlas method
$149B
2024
$358B
2024
GNI per capita, PPP
$10,260
2024
$6,100
2024
Total reserves including gold
$37.1B
2024
$18.4B
2024
Total reserves ranking
52/177
2024
63/177
2024
Net foreign direct investment
-$948M
2024
-$2.58B
2024
Net inflows of foreign direct investment
$1.64B
2024
$2.66B
2024
Net outflows of foreign direct investment
$691M
2024
$84M
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
4.5%
2024
Poverty at national poverty lines
3.9%
2022
21.9%
2018
Gross capital formation, % of GDP
30.1%
2024
13.2%
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/pakistan | 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. International Monetary Fund (IMF) | Public Finances in Modern History (1950–1993, retrieved 2026-02-20)
  4. The Heritage Foundation | Economic Freedom Index (1995–2026, retrieved 2026-03-09)
  5. U.S. Census Bureau (1985–2024, retrieved 2026-02-08)
  6. TradeMap (2022–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.