Skip to content

Morocco vs Switzerland statistics compared

Updated on by Georank team

Morocco has a population of 38.1M (ranked 39/197), compared with 9.01M in Switzerland (ranked 101/197). Morocco's land area is 172,317 sq mi versus 15,255 sq mi for Switzerland (ranked 55th vs. 131st).

By GDP, Morocco ranks 58/197 ($161B) and Switzerland ranks 20/197 ($937B). By GDP per capita, Morocco ranks 127/197 ($4,218), while Switzerland ranks 5/197 ($103,998).

Main facts and rankings

Morocco Switzerland
Population
38871720
9107866
Population rank 41/197 100/197
GDP
$161B
2024
$937B
2024
GDP rank 58/197 20/197
GDP per capita
$4,218
2024
$103,998
2024
GDP per capita rank 127/197 5/197
GDP per capita, PPP
$10,415
2024
$96,498
2024
Government debt
$109B
2024
$351B
2024
Debt-to-GDP ratio
67.7%
2024
37.5%
2024
Government debt per person
$2,857
2024
$39,021
2024
Government debt per person rank 104/185 15/185
Average annual personal income after taxes
$5,678
2026
$85,867
2026
Land area 172,317 sq mi 15,255 sq mi
Population density
225.1 ppl/mi²
2026
596 ppl/mi²
2026
Fertility rate
2.23
2023
1.33
2023
Median age
30.5 years
2024
43.7 years
2024
Life expectancy
75.9 years
2026
84.4 years
2026

Morocco and Switzerland: Comparison Charts

Morocco and Switzerland economies compared

GDP
Morocco

Switzerland
1x
Year GDP
Morocco Switzerland
2024 $160,610,994,055 $936,564,198,049
2023 $146,036,093,667 $894,424,821,645
2022 $131,245,312,804 $828,508,926,958
2021 $142,022,058,447 $815,309,330,987
2020 $121,353,645,057 $741,999,406,006
2019 $128,920,266,409 $721,369,112,727
2018 $127,341,147,582 $725,568,717,468
2017 $118,540,573,368 $695,200,833,086
2016 $111,572,947,005 $687,895,460,903
2015 $110,413,823,842 $694,118,186,380
2014 $119,130,841,412 $726,537,808,338
2013 $115,739,287,305 $706,234,937,371
2012 $106,937,392,311 $686,420,221,558
2011 $110,080,631,332 $715,888,126,682
2010 $100,865,329,473 $598,851,028,907
2009 $101,154,952,241 $554,212,916,092
2008 $101,822,906,949 $567,267,767,519
2007 $86,947,913,287 $490,740,715,595
2006 $75,883,823,301 $441,634,672,197
2005 $68,852,658,069 $418,284,865,885
2004 $66,114,145,451 $403,912,891,033
2003 $58,029,363,354 $362,075,086,508
2002 $47,077,192,188 $309,301,422,430
2001 $43,831,480,208 $286,582,672,434
2000 $43,017,455,402 $279,216,033,870
1999 $46,266,428,648 $297,873,643,323
1998 $46,497,608,725 $303,459,014,347
1997 $39,147,844,526 $294,788,198,856
1996 $43,161,571,528 $340,103,959,547
1995 $39,030,285,468 $352,835,806,342
1994 $35,604,137,423 $301,375,055,202
1993 $31,655,473,664 $272,237,527,071
1992 $33,711,069,431 $279,921,425,828
1991 $32,285,573,574 $268,901,693,863
1990 $30,179,954,775 $265,763,573,999
1989 $26,314,313,191 $208,105,846,934
1988 $25,705,296,184 $215,540,625,299
1987 $21,765,195,948 $199,236,370,038
1986 $19,462,085,540 $159,089,921,063
1985 $14,991,283,216 $110,980,314,192
1984 $14,824,667,954 $109,455,312,168
1983 $16,251,408,128 $114,634,358,535
1982 $17,692,276,734 $115,043,365,512
1981 $17,788,185,479 $112,244,805,519
1980 $21,728,516,153 $122,557,843,886
1979 $15,911,994,817 $114,970,094,425
1978 $13,236,946,234 $102,280,472,036
1977 $11,049,783,872 $73,135,771,167
1976 $9,584,297,284 $68,476,524,644
1975 $8,984,853,005 $65,466,081,819
1974 $7,675,466,449 $57,103,011,446
1973 $6,242,145,880 $49,550,006,320
1972 $5,074,117,545 $36,844,318,854
1971 $4,356,669,034 $30,040,171,751
1970 $3,956,336,244 $24,998,066,773
1969 $3,651,622,669 $22,442,043,274
1968 $3,271,422,333 $20,712,102,794
1967 $3,046,345,314 $19,397,044,714
1966 $2,876,401,297 $18,019,402,374
1965 $2,948,331,090 $16,780,226,225
1964 $2,798,345,299 $15,833,133,858
1963 $2,657,252,578 $14,283,872,299
1962 $2,379,611,125 $12,989,649,694
1961 $2,025,693,540 $11,713,348,834
1960 $2,037,154,742 $10,412,232,621

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

GeoRank.org/facts/morocco/switzerland | CC BY

Morocco and Switzerland economies compared

GDP per capita
Morocco

Switzerland
1x
Year GDP per capita
Morocco Switzerland
2024 $4,218 $103,998
2023 $3,872 $100,624
2022 $3,516 $94,395
2021 $3,843 $93,665
2020 $3,317 $85,898
2019 $3,560 $84,122
2018 $3,553 $85,217
2017 $3,344 $82,254
2016 $3,186 $82,153
2015 $3,190 $83,806
2014 $3,483 $88,725
2013 $3,425 $87,304
2012 $3,206 $85,836
2011 $3,345 $90,477
2010 $3,107 $76,531
2009 $3,158 $71,568
2008 $3,222 $74,175
2007 $2,788 $64,989
2006 $2,466 $59,011
2005 $2,268 $56,243
2004 $2,207 $54,659
2003 $1,962 $49,336
2002 $1,612 $42,459
2001 $1,521 $39,639
2000 $1,513 $38,865
1999 $1,651 $41,696
1998 $1,683 $42,681
1997 $1,439 $41,584
1996 $1,610 $48,093
1995 $1,478 $50,114
1994 $1,369 $43,092
1993 $1,236 $39,237
1992 $1,337 $40,714
1991 $1,302 $39,544
1990 $1,238 $39,575
1989 $1,099 $31,309
1988 $1,094 $32,690
1987 $944 $30,441
1986 $861 $24,460
1985 $678 $17,152
1984 $687 $16,991
1983 $772 $17,859
1982 $862 $18,000
1981 $890 $17,665
1980 $1,117 $19,394
1979 $839 $18,266
1978 $716 $16,282
1977 $613 $11,644
1976 $545 $10,865
1975 $524 $10,328
1974 $459 $9,005
1973 $382 $7,856
1972 $319 $5,885
1971 $280.6 $4,835
1970 $261.5 $4,044
1969 $247.8 $3,657
1968 $228 $3,413
1967 $218.1 $3,237
1966 $211.5 $3,045
1965 $222.7 $2,865
1964 $216.9 $2,735
1963 $211.3 $2,508
1962 $194.2 $2,330
1961 $169.8 $2,155
1960 $175.2 $1,954

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

GeoRank.org/facts/morocco/switzerland | CC BY

Morocco vs. Switzerland life expectancy calculator

Life expectancy
Morocco

Switzerland
1x
Year Life expectancy, years
Morocco Switzerland
2026 75.9 84.4
2025 75.7 84.2
2024 75.5 84.1
2023 75.3 84
2022 75.2 83.2
2021 73.4 83.6
2020 73.1 83.1
2019 74.2 83.8
2018 73.9 83.6
2017 73.6 83.4
2016 73.2 83.4
2015 72.9 82.8
2014 72.5 83.1
2013 72.1 82.7
2012 71.7 82.6
2011 71.3 82.6
2010 70.8 82.3
2009 70.5 82
2008 70.1 82
2007 69.6 81.7
2006 69.2 81.5
2005 68.7 81.2
2004 68.3 81.1
2003 68 80.5
2002 67.6 80.4
2001 67.2 80.3
2000 66.8 79.8
1999 66.4 79.7
1998 66 79.5
1997 65.6 79.2
1996 65.2 79
1995 64.7 78.6
1994 64.3 78.5
1993 63.9 78.2
1992 63.4 77.9
1991 62.9 77.6
1990 62.4 77.4
1989 61.8 77.6
1988 61.2 77.4
1987 60.6 77.3
1986 60 77
1985 59.2 76.9
1984 58.4 76.8
1983 57.7 76.2
1982 56.9 76.2
1981 56 75.8
1980 55.2 75.6
1979 54.4 75.6
1978 53.6 75.3
1977 52.8 75.4
1976 52 74.9
1975 51.4 74.8
1974 50.8 74.4
1973 50.2 74.1
1972 49.7 73.8
1971 49.2 73.2
1970 48.7 73.1
1969 48.2 72.7
1968 47.7 72.7
1967 47.1 72.7
1966 46.5 72.4
1965 45.9 72.3
1964 45.3 72.2
1963 44.8 71.3
1962 44.2 71.3
1961 43.7 71.7
1960 41.7 71.4
1959 42.7 71.5
1958 42.2 71.3
1957 41.7 70.5
1956 41.2 70.2
1955 40.8 70.1
1954 40.4 70
1953 40 69.5
1952 39.6 69.6
1951 39.1 68.7
1950 38.8 68.9

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

GeoRank.org/facts/morocco/switzerland | CC BY

Morocco and Switzerland population clocks and comparison

Population
Morocco

Switzerland
1x
Year Population
Morocco Switzerland
2024 38,081,173 9,005,582
2023 37,712,505 8,888,822
2022 37,329,064 8,777,088
2021 36,954,442 8,704,546
2020 36,584,208 8,638,167
2019 36,210,898 8,575,280
2018 35,839,760 8,514,329
2017 35,446,392 8,451,840
2016 35,023,457 8,373,338
2015 34,607,588 8,282,396
2014 34,204,780 8,188,649
2013 33,787,571 8,089,346
2012 33,355,241 7,996,861
2011 32,912,588 7,912,398
2010 32,467,016 7,824,909
2009 32,030,778 7,743,831
2008 31,606,767 7,647,675
2007 31,186,468 7,551,117
2006 30,771,178 7,483,934
2005 30,358,144 7,437,115
2004 29,953,018 7,389,625
2003 29,571,415 7,339,001
2002 29,198,142 7,284,753
2001 28,814,643 7,229,854
2000 28,423,435 7,184,250
1999 28,027,179 7,143,991
1998 27,621,648 7,110,001
1997 27,213,337 7,088,906
1996 26,808,107 7,071,850
1995 26,399,429 7,040,687
1994 26,000,822 6,993,795
1993 25,614,586 6,938,265
1992 25,212,468 6,875,364
1991 24,799,014 6,799,978
1990 24,375,551 6,715,519
1989 23,939,414 6,646,912
1988 23,500,524 6,593,386
1987 23,054,392 6,545,106
1986 22,600,803 6,504,124
1985 22,113,953 6,470,365
1984 21,593,778 6,441,865
1983 21,060,696 6,418,773
1982 20,520,318 6,391,309
1981 19,985,401 6,354,074
1980 19,459,943 6,319,408
1979 18,955,589 6,294,365
1978 18,477,385 6,281,738
1977 18,014,756 6,281,174
1976 17,574,182 6,302,504
1975 17,150,786 6,338,632
1974 16,733,842 6,341,405
1973 16,326,269 6,307,347
1972 15,924,692 6,260,956
1971 15,527,225 6,213,399
1970 15,129,449 6,180,877
1969 14,734,255 6,136,387
1968 14,347,899 6,067,714
1967 13,968,175 5,991,785
1966 13,597,065 5,918,002
1965 13,239,171 5,856,472
1964 12,898,886 5,789,228
1963 12,577,502 5,694,247
1962 12,253,092 5,573,815
1961 11,931,085 5,434,294
1960 11,624,933 5,327,827

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

GeoRank.org/facts/morocco/switzerland | CC BY

Fertility rates in Morocco and Switzerland

Fertility rate
Morocco

Switzerland
1x
Year Fertility rate
Morocco Switzerland
2023 2.23 1.33
2022 2.26 1.39
2021 2.29 1.52
2020 2.32 1.46
2019 2.34 1.48
2018 2.35 1.52
2017 2.38 1.52
2016 2.4 1.54
2015 2.41 1.54
2014 2.42 1.54
2013 2.48 1.52
2012 2.54 1.52
2011 2.6 1.52
2010 2.63 1.52
2009 2.62 1.5
2008 2.61 1.48
2007 2.62 1.46
2006 2.61 1.44
2005 2.61 1.42
2004 2.61 1.42
2003 2.61 1.39
2002 2.62 1.39
2001 2.69 1.38
2000 2.77 1.5
1999 2.88 1.48
1998 3.04 1.47
1997 3.15 1.48
1996 3.23 1.5
1995 3.3 1.48
1994 3.41 1.49
1993 3.55 1.51
1992 3.76 1.58
1991 3.95 1.58
1990 4.06 1.58
1989 4.22 1.56
1988 4.39 1.57
1987 4.58 1.52
1986 4.77 1.53
1985 4.99 1.52
1984 5.2 1.53
1983 5.41 1.52
1982 5.6 1.56
1981 5.71 1.55
1980 5.78 1.55
1979 5.85 1.52
1978 5.91 1.51
1977 6.04 1.53
1976 6.18 1.55
1975 6.3 1.61
1974 6.4 1.73
1973 6.48 1.81
1972 6.55 1.91
1971 6.62 2.04
1970 6.68 2.1
1969 6.73 2.19
1968 6.79 2.29
1967 6.85 2.39
1966 6.89 2.5
1965 6.93 2.59
1964 6.97 2.66
1963 7.01 2.65
1962 7.05 2.58
1961 6.97 2.52
1960 6.89 2.44

Data sources: World Bank | Health (1960–2023, retrieved 2026-04-06).

GeoRank.org/facts/morocco/switzerland | CC BY

Morocco and Switzerland demographics compared

Median age
Morocco

Switzerland
1x
Year Median age, years
Morocco Switzerland
2024 30.5 43.7
2023 30.2 43.4
2022 29.9 43
2021 29.5 42.8
2020 29.2 42.7
2019 28.9 42.6
2018 28.5 42.5
2017 28.2 42.4
2016 27.8 42.3
2015 27.5 42.2
2014 27.1 42.1
2013 26.7 42
2012 26.4 41.8
2011 26.1 41.6
2010 25.7 41.5
2009 25.4 41.3
2008 25 41.1
2007 24.7 40.9
2006 24.3 40.6
2005 24 40.3
2004 23.7 39.9
2003 23.4 39.6
2002 23.1 39.3
2001 22.8 39
2000 22.5 38.7
1999 22.2 38.4
1998 21.9 38.2
1997 21.6 37.9
1996 21.3 37.6
1995 21 37.3
1994 20.6 37.1
1993 20.3 37
1992 20 36.9
1991 19.7 36.9
1990 19.4 36.9
1989 19.2 36.8
1988 18.9 36.7
1987 18.7 36.5
1986 18.5 36.3
1985 18.3 36.1
1984 18.1 35.9
1983 18 35.6
1982 17.8 35.3
1981 17.7 35
1980 17.6 34.8
1979 17.4 34.5
1978 17.3 34.2
1977 17.2 33.8
1976 17.1 33.5
1975 16.9 33.1
1974 16.9 32.7
1973 16.8 32.5
1972 16.7 32.3
1971 16.7 32.2
1970 16.6 32
1969 16.6 31.7
1968 16.6 31.7
1967 16.7 31.6
1966 16.8 31.6
1965 16.9 31.6
1964 17 31.5
1963 17.2 31.7
1962 17.4 32
1961 17.6 32.4
1960 17.9 32.6

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

GeoRank.org/facts/morocco/switzerland | CC BY

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Morocco and Switzerland.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Morocco Switzerland
GNI, Atlas method
$149B
2024
$857B
2024
Government expenditure, % of GDP
33%
2024
31.9%
2024
Education expenditure, % of GDP
6.02%
2023
4.92%
2022
Military expenditure, % of GDP
3.52%
2024
0.72%
2024
Armed forces personnel
246,000
2020
20,000
2020
Deficit/surplus, % of GDP
-3.92%
2024
+0.58%
2024
Unemployment rate
11.8%
2022
4.34%
2024
Services, % of GDP
52.7%
2024
72%
2024
Industry, % of GDP
25.6%
2024
24.7%
2024
Economic freedom index
61.8
2026
83.7
2026
Income share by richest 10%
31.9%
2013
26.6%
2022
Income share by poorest 10%
2.7%
2013
2.9%
2022
Number of millionaires n/a
1,119,000
2025
Percentage of millionaires n/a
15.5%
2025
Number of billionaires
3
2025
42
2025
Percentage of billionaires
0.00001%
2025
0.0006%
2025
Listed domestic companies
76
2024
206
2024
Market capitalization of domestic companies
$74.5B
2024
$1.97T
2024
Total reserves including gold
$37.1B
2024
$909B
2024
Personal remittances received
$12.5B
2024
$3.64B
2024
International tourist arrivals
2,802,000
2020
11,818,000
2019
International tourism as share of exports
12%
2020
2.08%
2020
Banked people share
44.4%
2024
98.4%
2024

Energy

Morocco Switzerland
Energy use, kg of oil equivalent per capita
601 kg
2023
2,511 kg
2023
GDP PPP per kg equivalent of energy use
$16.7
2023
$37.9
2023
Carbon dioxide (CO2) emissions
70 megatons
2024
33.7 megatons
2024
CO2 emissions per capita
1.84 tons
2024
3.75 tons
2024
Fossil fuel energy use share
90.1%
2022
44.5%
2023
Renewable energy use share
10.9%
2021
27.7%
2021
Alternative and nuclear energy use share
4.92%
2023
45.1%
2023
Net energy imports use share
93.6%
2023
51.7%
2023
Electric power consumption per capita
997 kWh
2023
7,096 kWh
2023
Renewable electricity output share
19.3%
2021
68.1%
2021
Hydroelectric share
1.18%
2023
55.8%
2023
Nuclear share
0%
2021
33%
2023
Electricity access
100%
2023
100%
2023

Society

Morocco Switzerland
% of world population
0.47%
2024
0.11%
2024
Annual migration change
-56,254
2025
+37,253
2025
Urban population
62.8%
2024
85.5%
2024
Male:Female ratio
50.4:49.6
2024
49.7:50.3
2024
Average male height
5.79 ft
2025
5.86 ft
2025
Average female height
5.29 ft
2025
5.39 ft
2025
Quality of life index
51.1
2026
100
2026
Corruption Perceptions Index
39
2025
80
2025
Higher education index
54
2026
99
2026
Homicides per 100K people
1.69
2024
0.6
2023
Road traffic mortality per 100K people
17
2019
2.2
2019
Visa free countries
83
2025
172
2025
Adult literacy rate
77.3%
2022
99%
2003
English speaking
18.4%
2023
61.3%
2023
People using the Internet
91%
2023
97.3%
2023

Health

Morocco Switzerland
Government health expenditure per capita
$232.2
2023
$11,784
2023
Out-of-pocket health expenditure per capita
$86.5
2023
$2,596
2023
Life expectancy
75.9 years
2026
84.4 years
2026
Foreign aid share of health expenditure
0.62%
2023
0%
2023
Physicians per 1,000 people
0.74
2021
4.48
2022
Age at first childbirth n/a
31.3 years
2023
Maternal mortality per 100K births
70
2023
5
2023
Mortality rate before reaching 5 years of age
16.6
2023
3.9
2023
Obesity rate
22.5%
2022
12.5%
2022
Diabetes prevalence
11.9%
2024
5.3%
2024
Air quality index
75
2026
83
2026
Tobacco use prevalence
13%
2022
25.5%
2022
Pure alcohol consumption per capita
0.5 liters
2020
10.1 liters
2020

Territory

Morocco Switzerland
% of world land
0.3%
2026
0.03%
2026
Land area per capita
4,525 sq mi
2024
1,694 sq mi
2024
Agricultural land area
115,013 sq mi
2026
5,765 sq mi
2026
Forest area
22,293 sq mi
2026
4,940 sq mi
2026
Roads length
35,626 mi
2022
52,266 mi
2021

In-depth comparisons

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 | Health (1960–2025, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  11. EduRank (2026, retrieved 2025-10-13)
  12. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)

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.