Skip to content

Population in Morocco compared to San Marino: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Morocco was 38,430,770 in 2025 vs 34,109 people in San Marino in 2025. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,938,817 people compared to 34,159 in San Marino.

Population statistics:

  • Morocco's population is 1,140 times bigger than San Marino's.
  • Morocco is ranked the 41st most populous country in the world, while San Marino is the 193rd.
  • The countries together account for 0.47% of the world: 0.47% for Morocco vs 0.0004% for San Marino.
  • For the last 10 years, Morocco has had an average growth rate of +1.06% per year vs +0.4% in San Marino.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.5% growth), while San Marino has grown from 30.2K to 34.2K (13.2% growth).

Morocco vs San Marino: population by year and forecast

Morocco
Factual

Projection
San Marino
Factual

Projection
1x
Year Population
Morocco San Marino
2100 38,169,376 31,687
2099 38,399,800 31,708
2098 38,627,357 31,720
2097 38,851,192 31,762
2096 39,072,685 31,780
2095 39,290,298 31,761
2094 39,503,336 31,755
2093 39,714,423 31,726
2092 39,921,868 31,748
2091 40,126,152 31,736
2090 40,325,215 31,747
2089 40,519,616 31,733
2088 40,706,061 31,725
2087 40,889,974 31,710
2086 41,072,468 31,683
2085 41,252,209 31,636
2084 41,425,986 31,623
2083 41,591,998 31,612
2082 41,755,476 31,596
2081 41,914,644 31,555
2080 42,069,073 31,573
2079 42,220,167 31,569
2078 42,364,299 31,566
2077 42,502,554 31,579
2076 42,634,865 31,612
2075 42,762,096 31,653
2074 42,885,545 31,703
2073 43,003,930 31,762
2072 43,115,594 31,825
2071 43,219,147 31,896
2070 43,319,278 31,965
2069 43,409,990 32,058
2068 43,494,031 32,160
2067 43,572,598 32,290
2066 43,641,156 32,395
2065 43,710,126 32,527
2064 43,767,514 32,664
2063 43,815,039 32,782
2062 43,857,629 32,918
2061 43,889,133 33,047
2060 43,913,417 33,170
2059 43,928,921 33,310
2058 43,931,406 33,447
2057 43,926,107 33,584
2056 43,914,039 33,717
2055 43,889,084 33,829
2054 43,852,920 33,954
2053 43,805,549 34,068
2052 43,745,706 34,161
2051 43,674,633 34,235
2050 43,591,589 34,268
2049 43,504,461 34,324
2048 43,404,127 34,382
2047 43,295,069 34,421
2046 43,179,153 34,463
2045 43,052,251 34,497
2044 42,912,359 34,546
2043 42,766,985 34,552
2042 42,610,691 34,521
2041 42,442,983 34,525
2040 42,267,502 34,534
2039 42,085,886 34,520
2038 41,889,492 34,483
2037 41,687,645 34,430
2036 41,476,060 34,403
2035 41,253,454 34,368
2034 41,024,367 34,347
2033 40,782,838 34,341
2032 40,532,216 34,316
2031 40,268,078 34,308
2030 39,993,270 34,289
2029 39,707,804 34,267
2028 39,409,825 34,215
2027 39,097,054 34,175
2026 38,771,691 34,144
2025 38,430,770 34,109
2024 38,081,173 33,977
2023 37,712,505 33,860
2022 37,329,064 33,755
2021 36,954,442 34,252
2020 36,584,208 34,770
2019 36,210,898 34,663
2018 35,839,760 34,522
2017 35,446,392 33,825
2016 35,023,457 33,101
2015 34,607,588 32,897
2014 34,204,780 32,655
2013 33,787,571 33,041
2012 33,355,241 33,469
2011 32,912,588 32,620
2010 32,467,016 33,270
2009 32,030,778 33,066
2008 31,606,767 31,662
2007 31,186,468 31,211
2006 30,771,178 30,184
2005 30,358,144 29,836
2004 29,953,018 29,457
2003 29,571,415 27,843
2002 29,198,142 27,491
2001 28,814,643 27,143
2000 28,423,435 26,799
1999 28,027,179 26,459
1998 27,621,648 26,125
1997 27,213,337 25,800
1996 26,808,107 25,482
1995 26,399,429 25,158
1994 26,000,822 24,823
1993 25,614,586 24,472
1992 25,212,468 24,125
1991 24,799,014 23,797
1990 24,375,551 23,475
1989 23,939,414 23,154
1988 23,500,524 22,843
1987 23,054,392 22,686
1986 22,600,803 22,636
1985 22,113,953 22,485
1984 21,593,778 22,346
1983 21,060,696 22,229
1982 20,520,318 22,055
1981 19,985,401 21,840
1980 19,459,943 21,585
1979 18,955,589 21,320
1978 18,477,385 21,026
1977 18,014,756 20,017
1976 17,574,182 19,110
1975 17,150,786 19,046
1974 16,733,842 19,030
1973 16,326,269 18,992
1972 15,924,692 18,787
1971 15,527,225 18,419
1970 15,129,449 18,168
1969 14,734,255 18,026
1968 14,347,899 17,861
1967 13,968,175 17,688
1966 13,597,065 17,523
1965 13,239,171 17,305
1964 12,898,886 16,977
1963 12,577,502 16,580
1962 12,253,092 16,183
1961 11,931,085 15,799
1960 11,624,933 15,428

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/morocco/san-marino | CC BY

From 2006 to 2016, the population of Morocco increased by 4,252,279 people (a 13.8% growth), while San Marino gained 2,917 people (a 9.66% growth).

For the next 10 years, from 2016 to 2026, Morocco gained 3,915,360 people (a 11.2% growth), while San Marino's population increased by 1,058 people (a 3.2% growth).

Morocco was ranked 37th most populous country in 2006 and is 41st in 2026. San Marino was ranked 193rd in 2006 and still ranked 193rd now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Morocco's population will grow by 11.9% to 43,591,589 people with a rank change from 41st to 50th. The population of San Marino will increase by 0.32% to 34,268 people and rank change from 193rd to 192nd.

Morocco is projected to reach its peak in 2058 at 43.9M people, while San Marino's population already peaked in 2020 at 34.8K people and is projected to decrease to 31.7K people by 2100.

Population growth rate by year

Morocco
Factual

Projection
San Marino
Factual

Projection
1x
Year Growth rate
Morocco San Marino
2100 -0.6% -0.06%
2099 -0.59% -0.04%
2098 -0.58% -0.13%
2097 -0.57% -0.05%
2096 -0.55% 0.06%
2095 -0.54% 0.02%
2094 -0.53% 0.09%
2093 -0.52% -0.07%
2092 -0.51% 0.04%
2091 -0.49% -0.04%
2090 -0.48% 0.04%
2089 -0.46% 0.03%
2088 -0.45% 0.05%
2087 -0.44% 0.08%
2086 -0.44% 0.15%
2085 -0.42% 0.04%
2084 -0.4% 0.04%
2083 -0.39% 0.05%
2082 -0.38% 0.13%
2081 -0.37% -0.06%
2080 -0.36% 0.01%
2079 -0.34% 0.01%
2078 -0.33% -0.04%
2077 -0.31% -0.1%
2076 -0.3% -0.13%
2075 -0.29% -0.16%
2074 -0.28% -0.19%
2073 -0.26% -0.2%
2072 -0.24% -0.22%
2071 -0.23% -0.22%
2070 -0.21% -0.29%
2069 -0.19% -0.32%
2068 -0.18% -0.4%
2067 -0.16% -0.32%
2066 -0.16% -0.41%
2065 -0.13% -0.42%
2064 -0.11% -0.36%
2063 -0.1% -0.41%
2062 -0.07% -0.39%
2061 -0.06% -0.37%
2060 -0.04% -0.42%
2059 -0.006% -0.41%
2058 0.01% -0.41%
2057 0.03% -0.39%
2056 0.06% -0.33%
2055 0.08% -0.37%
2054 0.11% -0.33%
2053 0.14% -0.27%
2052 0.16% -0.21%
2051 0.19% -0.1%
2050 0.2% -0.16%
2049 0.23% -0.17%
2048 0.25% -0.11%
2047 0.27% -0.12%
2046 0.29% -0.1%
2045 0.33% -0.14%
2044 0.34% -0.02%
2043 0.37% 0.09%
2042 0.4% -0.01%
2041 0.42% -0.03%
2040 0.43% 0.04%
2039 0.47% 0.11%
2038 0.48% 0.15%
2037 0.51% 0.08%
2036 0.54% 0.1%
2035 0.56% 0.06%
2034 0.59% 0.02%
2033 0.62% 0.07%
2032 0.66% 0.02%
2031 0.69% 0.05%
2030 0.72% 0.07%
2029 0.76% 0.15%
2028 0.8% 0.12%
2027 0.84% 0.09%
2026 0.89% 0.1%
2025 0.92% 0.39%
2024 0.98% 0.35%
2023 1.03% 0.31%
2022 1.01% -1.45%
2021 1.01% -1.49%
2020 1.03% 0.31%
2019 1.04% 0.41%
2018 1.11% 2.06%
2017 1.21% 2.19%
2016 1.2% 0.62%
2015 1.18% 0.74%
2014 1.23% -1.17%
2013 1.3% -1.28%
2012 1.34% 2.6%
2011 1.37% -1.95%
2010 1.36% 0.62%
2009 1.34% 4.43%
2008 1.35% 1.45%
2007 1.35% 3.4%
2006 1.36% 1.17%
2005 1.35% 1.29%
2004 1.29% 5.8%
2003 1.28% 1.28%
2002 1.33% 1.28%
2001 1.38% 1.28%
2000 1.41% 1.29%
1999 1.47% 1.28%
1998 1.5% 1.26%
1997 1.51% 1.25%
1996 1.55% 1.29%
1995 1.53% 1.35%
1994 1.51% 1.43%
1993 1.59% 1.44%
1992 1.67% 1.38%
1991 1.74% 1.37%
1990 1.82% 1.39%
1989 1.87% 1.36%
1988 1.94% 0.69%
1987 2.01% 0.22%
1986 2.2% 0.67%
1985 2.41% 0.62%
1984 2.53% 0.53%
1983 2.63% 0.79%
1982 2.68% 0.98%
1981 2.7% 1.18%
1980 2.66% 1.24%
1979 2.59% 1.4%
1978 2.57% 5.04%
1977 2.51% 4.75%
1976 2.47% 0.34%
1975 2.49% 0.08%
1974 2.5% 0.2%
1973 2.52% 1.09%
1972 2.56% 2%
1971 2.63% 1.38%
1970 2.68% 0.79%
1969 2.69% 0.92%
1968 2.72% 0.98%
1967 2.73% 0.94%
1966 2.7% 1.26%
1965 2.64% 1.93%
1964 2.56% 2.39%
1963 2.65% 2.45%
1962 2.7% 2.43%
1961 2.63% 2.4%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

GeoRank.org/population/morocco/san-marino | CC BY

In 2025, the population of Morocco grew by 0.92%, while San Marino's population grew by 0.39%.

Live population counters

Morocco San Marino
Current population
38938817
34159
Population rank 41/197 193/197
Percent of world population 0.47% 0.0004%
One net population change
1.51 minutes
2.77 days
One birth every
50.5 seconds
2.57 days
One death every
2.41 minutes
1.44 days
Daily growth/decline +958 +0
Annual growth/decline +349,597 +132
Annual growth/decline rate +0.92% +0.39%
Population growth rate rank 105/197 140/197
One migration net change every
9.37 minutes
3 days
Annual migration change -56,254 +122
Net migration rank 176/196 72/196
Foreign-born residents 111,069 5,838
Foreign-born residents rank 129/195 183/195
Foreign-born share of population 0.3% 17.4%
Foreign-born share rank 182/195 35/195

Natural population change vs migration

Morocco
Natural

Migration
San Marino
Natural

Migration
1x
Year Population change
Morocco San Marino
Natural Migration Natural Migration
2025 - -56,254 - 122
2024 406,555 -46,802 -112 37
2023 417,213 -39,650 -92 -190
2022 427,903 -38,594 -58 -403
2021 407,829 -47,902 -99 -368
2020 415,999 -35,474 -122 247
2019 457,307 -91,217 -17 187
2018 464,375 -88,159 -11 172
2017 471,011 -60,472 -51 234
2016 474,637 -39,302 10 291
2015 477,654 -81,248 36 273
2014 481,295 -72,065 46 74
2013 492,284 -67,096 73 57
2012 504,698 -65,251 54 143
2011 513,305 -67,447 105 2,325
2010 515,804 -70,510 126 592
2009 509,386 -82,203 145 311
2008 499,766 -78,912 159 268
2007 493,526 -73,759 69 314
2006 483,200 -72,364 75 310
2005 474,285 -59,024 66 314
2004 461,756 -66,749 121 285
2003 452,650 -84,460 79 277
2002 446,147 -67,802 112 241
2001 452,621 -63,967 132 215
2000 461,341 -67,569 107 233
1999 473,071 -74,343 80 256
1998 492,604 -80,286 74 257
1997 500,807 -96,502 71 255
1996 501,499 -95,331 63 257
1995 496,573 -85,386 51 262
1994 501,426 -115,404 43 300
1993 507,707 -121,254 38 325
1992 525,680 -107,911 42 285
1991 539,850 -130,717 45 278
1990 535,506 -97,711 41 289
1989 538,996 -104,509 36 285
1988 545,800 -102,484 34 268
1987 553,005 -104,029 31 -20
1986 558,105 -99,905 40 44
1985 560,810 -45,336 44 166
1984 564,159 -39,319 46 32
1983 566,301 -24,988 54 115
1982 564,904 -25,471 61 117
1981 552,936 -22,553 76 169
1980 534,448 -13,899 90 169
1979 515,554 -27,374 104 164
1978 498,834 -30,600 121 199
1977 489,173 -32,161 117 1,577
1976 482,130 -58,019 126 0
1975 474,631 -51,968 141 -133
1974 464,147 -52,927 153 -131
1973 455,699 -51,772 167 -124
1972 446,449 -47,226 173 191
1971 435,104 -39,385 174 201
1970 426,015 -26,168 173 -39
1969 414,931 -24,389 173 -29
1968 407,437 -25,267 171 8
1967 400,594 -23,309 171 -3
1966 391,881 -26,945 173 -9
1965 383,989 -33,139 169 99
1964 375,835 -46,106 163 233
1963 369,250 -56,214 158 242
1962 363,843 -28,071 155 238
1961 348,650 -40,413 174 206
1960 323,499 -19,434 139 229

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

GeoRank.org/population/morocco/san-marino | CC BY

Over the last 10 years, 88.6% of the population change in Morocco is from natural causes (a gain of 4,420,483 people) and 11.4% is from migration (a loss of 568,820 people). In San Marino 51.8% is from natural causes (a loss of 516 people) and 48.2% is from migration (a gain of 480 people).

As of 2024, 111,069 residents or 0.3% of the population were not native-born in Morocco, compared to 5,838 people or 17.4% in San Marino.

Biggest cities by population

Morocco
City Population
Casablanca 3.22M
Tangier 1.28M
Fez 1.17M
Marrakesh 1M
Sale 945K
Meknes 601K
Rabat 573K
Agadir 538K
Kenitra 508K
Oujda 506K
San Marino
City Population
Dogana 7K
San Marino 4.04K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

GeoRank.org/population/morocco/san-marino | CC BY

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-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
  5. Wikidata (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.