Skip to content

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

Updated on by Georank team

The latest officially reported population of Morocco was 38,081,173 in 2024 vs 33,977 people in San Marino in 2024. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,871,720 people compared to 33,967 in San Marino.

Population statistics:

  • Morocco's population is 1,144 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.09% per year vs +0.26% in San Marino.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.3% growth), while San Marino has grown from 30.2K to 34K (12.5% 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,181,184 31,516
2099 38,411,679 31,536
2098 38,639,306 31,548
2097 38,863,211 31,591
2096 39,084,772 31,608
2095 39,302,453 31,590
2094 39,515,556 31,583
2093 39,726,709 31,554
2092 39,934,218 31,576
2091 40,138,565 31,564
2090 40,337,690 31,575
2089 40,532,151 31,561
2088 40,718,654 31,553
2087 40,902,624 31,538
2086 41,085,174 31,512
2085 41,264,970 31,465
2084 41,438,801 31,452
2083 41,604,865 31,441
2082 41,768,393 31,425
2081 41,927,610 31,384
2080 42,082,087 31,402
2079 42,233,228 31,398
2078 42,377,404 31,395
2077 42,515,702 31,409
2076 42,648,054 31,441
2075 42,775,325 31,481
2074 42,898,811 31,532
2073 43,017,234 31,591
2072 43,128,932 31,653
2071 43,232,517 31,723
2070 43,332,679 31,792
2069 43,423,419 31,885
2068 43,507,485 31,986
2067 43,586,077 32,115
2066 43,654,657 32,219
2065 43,723,648 32,351
2064 43,781,054 32,487
2063 43,828,593 32,605
2062 43,871,197 32,740
2061 43,902,710 32,868
2060 43,927,001 32,991
2059 43,942,510 33,129
2058 43,944,996 33,266
2057 43,939,695 33,402
2056 43,927,624 33,535
2055 43,902,661 33,646
2054 43,866,486 33,770
2053 43,819,100 33,883
2052 43,759,239 33,976
2051 43,688,144 34,049
2050 43,605,074 34,083
2049 43,517,919 34,138
2048 43,417,554 34,196
2047 43,308,462 34,234
2046 43,192,511 34,277
2045 43,065,569 34,310
2044 42,925,634 34,359
2043 42,780,215 34,365
2042 42,623,872 34,334
2041 42,456,113 34,338
2040 42,280,578 34,348
2039 42,098,906 34,333
2038 41,902,451 34,296
2037 41,700,541 34,243
2036 41,488,891 34,217
2035 41,266,216 34,182
2034 41,037,058 34,162
2033 40,795,454 34,155
2032 40,544,755 34,130
2031 40,280,535 34,122
2030 40,005,642 34,104
2029 39,720,087 34,082
2028 39,422,016 34,030
2027 39,109,148 33,990
2026 38,783,685 33,959
2025 38,442,658 33,924
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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,848,263 people (a 11% growth), while San Marino's population increased by 866 people (a 2.62% 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 12.2% to 43,605,074 people with a rank change from 41st to 50th. The population of San Marino will increase by 0.34% to 34,083 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.5K 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.95% -0.15%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

In 2024, the population of Morocco grew by 0.98%, while San Marino's population grew by 0.35%.

Live population counters

Morocco San Marino
Current population
38871720
33967
Population rank 41/197 193/197
Percent of world population 0.47% 0.0004%
One net population change
1.43 minutes
3.12 days
One birth every
50.1 seconds
1.93 days
One death every
2.47 minutes
1.3 days
Daily growth/decline +1,010 +0
Annual growth/decline +368,668 +117
Annual growth/decline rate +0.98% +0.35%
Population growth rate rank 104/197 145/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 - -46,802 - 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-04-06).

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

Over the last 10 years, 88.3% of the population change in Morocco is from natural causes (a gain of 4,495,223 people) and 11.7% is from migration (a loss of 594,083 people). In San Marino 40.9% is from natural causes (a loss of 358 people) and 59.1% is from migration (a gain of 517 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–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

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-04-06)
  2. United Nations | World Population Prospects (1960–2100, 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. Wikidata (2026, retrieved 2026-02-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.