Skip to content

Economy of Morocco vs Slovakia compared: GDP & Debt

Updated on by Georank team

Morocco has a GDP of $161B compared to $141B for Slovakia, ranking 58/197 and 61/197 by economy size, respectively.

Morocco has $109B in government debt (67.7% of GDP), compared to $80.7B (57.2% of GDP) in Slovakia.

Morocco vs Slovakia GDP by year

Morocco
Slovakia
1x
Year GDP, current $
Morocco Slovakia
2024 $160,610,994,055 $140,934,076,532
2023 $146,036,093,667 $133,578,518,424
2022 $131,245,312,804 $115,792,972,358
2021 $142,022,058,447 $120,511,265,913
2020 $121,353,645,057 $107,732,602,896
2019 $128,920,266,409 $105,843,498,304
2018 $127,341,147,582 $106,611,673,365
2017 $118,540,573,368 $95,978,130,735
2016 $111,572,947,005 $90,347,173,229
2015 $110,413,823,842 $89,178,548,717
2014 $119,130,841,412 $101,713,075,599
2013 $115,739,287,305 $99,134,277,850
2012 $106,937,392,311 $94,724,394,278
2011 $110,080,631,332 $99,705,104,723
2010 $100,865,329,473 $91,112,160,801
2009 $101,154,952,241 $89,342,984,698
2008 $101,822,906,949 $100,830,060,553
2007 $86,947,913,287 $86,587,749,518
2006 $75,883,823,301 $70,751,813,443
2005 $68,852,658,069 $62,547,753,148
2004 $66,114,145,451 $57,215,475,076
2003 $58,029,363,354 $46,616,149,117
2002 $47,077,192,188 $35,243,658,399
2001 $43,831,480,208 $30,726,659,551
2000 $43,017,455,402 $29,215,726,005
1999 $46,266,428,648 $30,496,272,225
1998 $46,497,608,725 $29,976,207,629
1997 $39,147,844,526 $27,844,628,979
1996 $43,161,571,528 $28,197,790,875
1995 $39,030,285,468 $26,180,022,222
1994 $35,604,137,423 $20,428,139,756
1993 $31,655,473,664 $16,737,973,764
1992 $33,711,069,431 $15,699,327,209
1991 $32,285,573,574 $14,459,924,589
1990 $30,179,954,775 $12,915,046,978
1989 $26,314,313,191 -
1988 $25,705,296,184 -
1987 $21,765,195,948 -
1986 $19,462,085,540 -
1985 $14,991,283,216 -
1984 $14,824,667,954 -
1983 $16,251,408,128 -
1982 $17,692,276,734 -
1981 $17,788,185,479 -
1980 $21,728,516,153 -
1979 $15,911,994,817 -
1978 $13,236,946,234 -
1977 $11,049,783,872 -
1976 $9,584,297,284 -
1975 $8,984,853,005 -
1974 $7,675,466,449 -
1973 $6,242,145,880 -
1972 $5,074,117,545 -
1971 $4,356,669,034 -
1970 $3,956,336,244 -
1969 $3,651,622,669 -
1968 $3,271,422,333 -
1967 $3,046,345,314 -
1966 $2,876,401,297 -
1965 $2,948,331,090 -
1964 $2,798,345,299 -
1963 $2,657,252,578 -
1962 $2,379,611,125 -
1961 $2,025,693,540 -
1960 $2,037,154,742 -

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

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

GDP per capita in Morocco vs Slovakia by year

Morocco
GDP per capita

GDP per capita, PPP
Slovakia
GDP per capita

GDP per capita, PPP
1x
Year Current $
Morocco Slovakia
GDP per capita GDP per capita, PPP GDP per capita GDP per capita, PPP
2024 $4,218 $10,415 $25,993 $48,132
2023 $3,872 $9,895 $24,615 $45,974
2022 $3,516 $9,310 $21,318 $41,562
2021 $3,843 $8,623 $22,123 $38,346
2020 $3,317 $7,705 $19,735 $35,328
2019 $3,560 $8,046 $19,406 $33,986
2018 $3,553 $7,801 $19,573 $31,510
2017 $3,344 $8,115 $17,646 $30,246
2016 $3,186 $7,853 $16,636 $29,868
2015 $3,190 $7,799 $16,442 $30,148
2014 $3,483 $7,237 $18,771 $29,108
2013 $3,425 $7,542 $18,313 $28,075
2012 $3,206 $7,308 $17,517 $27,023
2011 $3,345 $7,274 $18,469 $26,202
2010 $3,107 $6,849 $16,899 $25,382
2009 $3,158 $6,629 $16,587 $23,077
2008 $3,222 $6,437 $18,744 $23,714
2007 $2,788 $6,058 $16,110 $21,232
2006 $2,466 $5,781 $13,168 $18,906
2005 $2,268 $5,275 $11,642 $16,570
2004 $2,207 $5,025 $10,650 $15,166
2003 $1,962 $4,741 $8,675 $14,088
2002 $1,612 $4,436 $6,555 $13,292
2001 $1,521 $4,269 $5,712 $12,367
2000 $1,513 $3,930 $5,422 $11,370
1999 $1,651 $3,801 $5,652 $10,726
1998 $1,683 $3,740 $5,561 $10,666
1997 $1,439 $3,502 $5,172 $10,137
1996 $1,610 $3,551 $5,248 $9,500
1995 $1,478 $3,152 $4,883 $8,812
1994 $1,369 $3,315 $3,821 $8,178
1993 $1,236 $2,979 $3,143 $7,569
1992 $1,337 $2,979 $2,959 $7,270
1991 $1,302 $3,025 $2,727 $7,623
1990 $1,238 $2,777 $2,437 $8,638
1989 $1,099 - - -
1988 $1,094 - - -
1987 $944 - - -
1986 $861 - - -
1985 $678 - - -
1984 $687 - - -
1983 $772 - - -
1982 $862 - - -
1981 $890 - - -
1980 $1,117 - - -
1979 $839 - - -
1978 $716 - - -
1977 $613 - - -
1976 $545 - - -
1975 $524 - - -
1974 $459 - - -
1973 $382 - - -
1972 $319 - - -
1971 $280.6 - - -
1970 $261.5 - - -
1969 $247.8 - - -
1968 $228 - - -
1967 $218.1 - - -
1966 $211.5 - - -
1965 $222.7 - - -
1964 $216.9 - - -
1963 $211.3 - - -
1962 $194.2 - - -
1961 $169.8 - - -
1960 $175.2 - - -

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

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

Morocco's GDP per capita is $4,218, ranking 127/197, compared to $25,993 in Slovakia, ranking 47/197. Adjusted for purchasing power (GDP per capita PPP), Morocco ranks 132nd at $10,415, while Slovakia ranks 49th at $48,132.

Economic indicators

Morocco Slovakia
Gross domestic product
$161B
2024
$141B
2024
GDP rank
58/197
2024
61/197
2024
GDP growth
3.79%
2023-2024
1.94%
2023-2024
GDP per capita
$4,218
2024
$25,993
2024
GDP per capita rank
127/197
2024
47/197
2024
GDP per capita, PPP
$10,415
2024
$48,132
2024
GDP per capita PPP rank
132/197
2024
49/197
2024
Government debt
$109B
2024
$80.7B
2024
Debt-to-GDP ratio
67.7%
2024
57.2%
2024
Government debt per person
$2,857
2024
$14,876
2024
Government debt per person rank
104/185
2024
40/185
2024
Average annual personal income after taxes
$5,678
2026
$17,983
2026
Market capitalization of domestic companies
$74.5B
2024
$5.38B
2014
Number of billionaires
3
2025
2
2025
Income share by richest 10%
31.9%
2013
18.8%
2023
Income share by poorest 10%
2.7%
2013
3.3%
2023
Government expenditure, % of GDP
33%
2024
47.1%
2024
Consumer prices inflation
0.99%
2023-2024
2.76%
2023-2024
Central bank interest rate
2.25%
2025
n/a
Unemployment rate
11.8%
2022
5.34%
2024
Population
38871720
5359438

Spending and national debt comparison by year

Morocco
Spending

Debt
Slovakia
Spending

Debt
1x
Year % of GDP
Morocco Slovakia
Government spending Government debt Government spending Government debt
2024 33% 67.7% 47.1% 57.2%
2023 32% 68.7% 48% 55.6%
2022 33.7% 71.4% 43% 57.7%
2021 31% 69.4% 44.9% 60.2%
2020 34.1% 72.2% 44.5% 58.4%
2019 27.6% 60.3% 40.6% 48%
2018 27.8% 60.5% 39.7% 49.3%
2017 27.9% 60.3% 39.8% 51.4%
2016 28.6% 60.1% 40.9% 52.1%
2015 28.5% 58.4% 44.1% 51.6%
2014 30.7% 58.6% 42% 53.4%
2013 30.4% 57.1% 41.1% 54.6%
2012 32.5% 52.3% 40% 51.7%
2011 31.2% 48.6% 40.8% 43.3%
2010 28.7% 45.3% 41% 40.7%
2009 28.1% 42.6% 43.2% 36.4%
2008 28.3% 42% 36.5% 28.6%
2007 26.4% 47.1% 35.9% 30.4%
2006 26% 50.6% 38.2% 31.5%
2005 28.6% 54.8% 39.1% 35%
2004 24.5% 54.4% 38.4% 42%
2003 24.1% 56.9% 40% 43.6%
2002 25.8% 59.4% 46% 45.6%
2001 23.7% 60.4% 46.2% 51.4%
2000 22.8% 64.9% 53.2% 50.6%
1999 18.4% 63.4% 48.4% 47.1%
1998 18.7% 64.5% 46.2% 33.9%
1997 18.6% 68% 48.6% 32.8%
1996 17.6% 65.3% 52.8% 30.3%
1995 21.3% 72.2% 47.8% 21.3%
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/morocco/slovakia | CC BY

In 2024, Morocco's government spending was $53.1B, accounting for 33% of its GDP, while Slovakia spent $66.4B, or 47.1% of GDP.

Debt-to-GDP ratio is 67.7% in Morocco and 57.2% in Slovakia, ranking 60/185 and 90/185, respectively.

Government deficit by year

Deficit/surplus
Morocco

Slovakia
1x
Year Deficit/surplus, % of GDP
Morocco Slovakia
2024 -3.92% -5.27%
2023 -4.41% -5.15%
2022 -5.37% -1.16%
2021 -5.92% -5.09%
2020 -7.15% -5.3%
2019 -3.8% -1.21%
2018 -3.52% -1.01%
2017 -3.3% -0.98%
2016 -4.49% -2.59%
2015 -4.59% -2.78%
2014 -4.78% -3.25%
2013 -4.7% -2.86%
2012 -6.63% -4.37%
2011 -6.08% -4.36%
2010 -3.93% -7.44%
2009 -1.63% -8.18%
2008 0.63% -2.54%
2007 -0.12% -2.26%
2006 -1.8% -3.57%
2005 -5.46% -2.86%
2004 -3.31% -2.36%
2003 -3.74% -2.28%
2002 -4.37% -8.35%
2001 -3.79% -7.74%
2000 -1.97% -12.7%
1999 3.21% -7.25%
1998 1.47% -5.37%
1997 1.5% -6.24%
1996 0.87% -9.72%
1995 -2.54% -3.43%
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/morocco/slovakia | 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 Slovakia's deficit of $7.43B, or 5.27% of GDP.

Over the past 30 years, Morocco recorded a fiscal deficit in 25 of those years, while Slovakia ran a deficit in 30 years. On average, Morocco posted an annual deficit equal to 3.12% of GDP, compared to deficit of 4.59% of GDP for Slovakia.

Inflation comparison by year

Inflation
Morocco

Slovakia
1x
Year Consumer prices inflation
Morocco Slovakia
2024 0.99% 2.76%
2023 6.09% 10.5%
2022 6.66% 12.8%
2021 1.4% 3.15%
2020 0.71% 1.94%
2019 0.3% 2.66%
2018 1.8% 2.51%
2017 0.75% 1.31%
2016 1.64% -0.52%
2015 1.56% -0.33%
2014 0.44% -0.08%
2013 1.88% 1.4%
2012 1.29% 3.61%
2011 0.91% 3.92%
2010 0.99% 0.96%
2009 0.97% 1.62%
2008 3.71% 4.6%
2007 2.04% 2.76%
2006 3.28% 4.48%
2005 0.98% 2.71%
2004 1.49% 7.55%
2003 1.17% 8.55%
2002 2.8% 3.13%
2001 0.62% 7.33%
2000 1.89% 12%
1999 0.68% 10.6%
1998 2.75% 6.67%
1997 1.04% 6.14%

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

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

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

Top exports between countries

Morocco
Export category Export value
Machinery & equipment $96M
Textiles & consumer goods $8M
Chemicals & pharma $6.78M
Processed food, beverages & tobacco $1.8M
Metals $379K
Raw agricultural goods $343K
Raw materials & minerals $32K
Wood & paper products $5K
Precious metals & jewellery $2K
Slovakia
Export category Export value
Machinery & equipment $238M
Textiles & consumer goods $57.4M
Wood & paper products $15.7M
Raw materials & minerals $11.5M
Chemicals & pharma $9.21M
Metals $1.68M
Animal & marine products $1.51M
Processed food, beverages & tobacco $1.18M
Transport & tourism services $828K
Business & finance services $828K

Balance of trade

Morocco Slovakia
Current account balance
-$1.87B
2024
-$6.5B
2024
Current account balance ranking
141/190
2024
171/190
2024
Current account balance, % of GDP
-1.16%
2024
-4.61%
2024
Goods imports
$66.5B
2024
$107B
2024
Goods exports
$39.3B
2024
$106B
2024
Service imports
$14.3B
2024
$13.2B
2024
Service exports
$28.2B
2024
$13.9B
2024
Imports of goods and services, % of GDP
50.2%
2024
85.7%
2024
Exports of goods and services, % of GDP
42%
2024
85.5%
2024

Economic freedom indices

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

Morocco Slovakia
Economic freedom 61.8 67.7
Economic freedom ranking 91/197 54/197
Property rights 55.2 82.6
Government integrity 35.6 57.2
Judicial effectiveness 32.5 70.5
Tax burden 65.5 75.4
Government spending 67.5 36.4
Fiscal health 57.5 69.6
Business freedom 72.1 71.1
Labor freedom 46.2 55.1
Monetary freedom 79.6 69.7
Trade freedom 69.8 79.4
Investment freedom 80 75
Financial freedom 80 70

Economic freedom comparison by year

Morocco
Slovakia
1x
Year Economic freedom index
Morocco Slovakia
2026 61.8 67.7
2025 60.3 68.4
2024 56.8 68.1
2023 58.4 69
2022 59.2 69.7
2021 63.3 66.3
2020 63.3 66.8
2019 62.9 65
2018 61.9 65.3
2017 61.5 65.7
2016 61.3 66.6
2015 60.1 67.2
2014 58.3 66.4
2013 59.6 68.7
2012 60.2 67
2011 59.6 69.5
2010 59.2 69.7
2009 57.7 69.4
2008 55.6 70
2007 56.4 69.6
2006 51.5 69.8
2005 52.2 66.8
2004 56.7 64.6
2003 57.8 59
2002 59 59.8
2001 63.9 58.5
2000 63.2 53.8
1999 63.8 54.2
1998 61.1 57.5
1997 64.7 55.5
1996 64.3 57.6
1995 62.8 60.4

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

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

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

Other economic metrics

Morocco Slovakia
Services, % of GDP
52.7%
2024
60%
2024
Industry, % of GDP
25.6%
2024
28.9%
2024
Agriculture, forestry, and fishing, % of GDP
10.6%
2024
1.58%
2024
GNI, Atlas method
$149B
2024
$128B
2024
GNI per capita, PPP
$10,260
2024
$47,040
2024
Total reserves including gold
$37.1B
2024
$14.5B
2024
Total reserves ranking
52/177
2024
68/177
2024
Net foreign direct investment
-$948M
2024
-$2.77B
2024
Net inflows of foreign direct investment
$1.64B
2024
$5.01B
2024
Net outflows of foreign direct investment
$691M
2024
$2.24B
2024
Servicing debt to the IMF, % of GNI
5.63%
2024
n/a
Poverty at national poverty lines
3.9%
2022
13.7%
2021
Gross capital formation, % of GDP
30.1%
2024
20.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/morocco/slovakia | 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.