Skip to content

Population in Morocco compared to Somalia: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Morocco was 38,430,770 in 2025 vs 19,654,739 people in Somalia in 2025. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,938,817 people compared to 20,653,532 in Somalia.

Population statistics:

  • Morocco's population is 1.89 times bigger than Somalia's.
  • Morocco is ranked the 41st most populous country in the world, while Somalia is the 66th.
  • The countries together account for 0.72% of the world: 0.47% for Morocco vs 0.25% for Somalia.
  • For the last 10 years, Morocco has had an average growth rate of +1.06% per year vs +3.59% in Somalia.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.5% growth), while Somalia has grown from 11M to 20.7M (88.2% growth).

Morocco vs Somalia: population by year and forecast

Morocco
Factual

Projection
Somalia
Factual

Projection
1x
Year Population
Morocco Somalia
2100 38,169,376 68,341,587
2099 38,399,800 67,997,987
2098 38,627,357 67,660,056
2097 38,851,192 67,320,374
2096 39,072,685 66,931,214
2095 39,290,298 66,544,181
2094 39,503,336 66,138,594
2093 39,714,423 65,719,626
2092 39,921,868 65,283,569
2091 40,126,152 64,812,444
2090 40,325,215 64,322,633
2089 40,519,616 63,882,977
2088 40,706,061 63,424,502
2087 40,889,974 62,947,792
2086 41,072,468 62,408,129
2085 41,252,209 61,835,054
2084 41,425,986 61,280,718
2083 41,591,998 60,723,949
2082 41,755,476 60,150,487
2081 41,914,644 59,639,547
2080 42,069,073 59,064,099
2079 42,220,167 58,441,001
2078 42,364,299 57,816,490
2077 42,502,554 57,176,183
2076 42,634,865 56,567,204
2075 42,762,096 55,970,712
2074 42,885,545 55,295,699
2073 43,003,930 54,617,874
2072 43,115,594 53,944,923
2071 43,219,147 53,250,824
2070 43,319,278 52,540,460
2069 43,409,990 51,845,897
2068 43,494,031 51,165,760
2067 43,572,598 50,461,574
2066 43,641,156 49,748,163
2065 43,710,126 48,994,126
2064 43,767,514 48,235,809
2063 43,815,039 47,492,758
2062 43,857,629 46,756,776
2061 43,889,133 46,008,848
2060 43,913,417 45,192,338
2059 43,928,921 44,370,279
2058 43,931,406 43,631,825
2057 43,926,107 42,870,700
2056 43,914,039 42,095,303
2055 43,889,084 41,292,441
2054 43,852,920 40,487,904
2053 43,805,549 39,720,236
2052 43,745,706 38,967,888
2051 43,674,633 38,205,058
2050 43,591,589 37,448,393
2049 43,504,461 36,717,019
2048 43,404,127 35,962,583
2047 43,295,069 35,196,924
2046 43,179,153 34,440,935
2045 43,052,251 33,696,593
2044 42,912,359 32,957,131
2043 42,766,985 32,227,622
2042 42,610,691 31,517,627
2041 42,442,983 30,775,671
2040 42,267,502 30,013,616
2039 42,085,886 29,294,623
2038 41,889,492 28,565,580
2037 41,687,645 27,821,304
2036 41,476,060 27,097,563
2035 41,253,454 26,368,985
2034 41,024,367 25,671,628
2033 40,782,838 25,002,924
2032 40,532,216 24,323,435
2031 40,268,078 23,642,617
2030 39,993,270 22,951,436
2029 39,707,804 22,285,719
2028 39,409,825 21,638,095
2027 39,097,054 20,978,784
2026 38,771,691 20,310,008
2025 38,430,770 19,654,739
2024 38,081,173 19,009,151
2023 37,712,505 18,358,615
2022 37,329,064 17,801,897
2021 36,954,442 17,271,431
2020 36,584,208 16,651,191
2019 36,210,898 16,030,971
2018 35,839,760 15,452,487
2017 35,446,392 14,916,629
2016 35,023,457 14,348,740
2015 34,607,588 13,806,963
2014 34,204,780 13,339,491
2013 33,787,571 12,869,594
2012 33,355,241 12,461,160
2011 32,912,588 12,348,830
2010 32,467,016 12,261,756
2009 32,030,778 11,961,201
2008 31,606,767 11,663,084
2007 31,186,468 11,322,582
2006 30,771,178 10,975,502
2005 30,358,144 10,644,228
2004 29,953,018 10,280,998
2003 29,571,415 9,909,157
2002 29,198,142 9,550,063
2001 28,814,643 9,198,493
2000 28,423,435 8,838,713
1999 28,027,179 8,492,059
1998 27,621,648 8,155,417
1997 27,213,337 7,824,525
1996 26,808,107 7,554,474
1995 26,399,429 7,285,007
1994 26,000,822 7,026,797
1993 25,614,586 6,681,399
1992 25,212,468 6,495,107
1991 24,799,014 6,813,760
1990 24,375,551 7,082,811
1989 23,939,414 7,114,817
1988 23,500,524 7,235,360
1987 23,054,392 7,228,302
1986 22,600,803 6,974,788
1985 22,113,953 6,693,289
1984 21,593,778 6,428,389
1983 21,060,696 6,198,430
1982 20,520,318 6,003,840
1981 19,985,401 5,982,849
1980 19,459,943 5,936,154
1979 18,955,589 5,449,117
1978 18,477,385 4,814,892
1977 18,014,756 4,484,050
1976 17,574,182 4,365,812
1975 17,150,786 4,257,535
1974 16,733,842 4,151,842
1973 16,326,269 4,045,592
1972 15,924,692 3,939,436
1971 15,527,225 3,837,691
1970 15,129,449 3,738,448
1969 14,734,255 3,641,015
1968 14,347,899 3,546,590
1967 13,968,175 3,454,537
1966 13,597,065 3,365,106
1965 13,239,171 3,277,874
1964 12,898,886 3,192,796
1963 12,577,502 3,110,361
1962 12,253,092 3,030,091
1961 11,931,085 2,952,054
1960 11,624,933 2,876,331

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/somalia | CC BY

From 2006 to 2016, the population of Morocco increased by 4,252,279 people (a 13.8% growth), while Somalia gained 3,373,238 people (a 30.7% growth).

For the next 10 years, from 2016 to 2026, Morocco gained 3,915,360 people (a 11.2% growth), while Somalia's population increased by 6,304,792 people (a 43.9% growth).

Morocco was ranked 37th most populous country in 2006 and is 41st in 2026. Somalia was ranked 75th in 2006 and ranked 66th 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 Somalia will increase by 81.3% to 37,448,393 people and rank change from 66th to 57th.

Morocco is projected to reach its peak in 2058 at 43.9M people compared to the peak of 68.3M people in 2100 for Somalia.

Population growth rate by year

Morocco
Factual

Projection
Somalia
Factual

Projection
1x
Year Growth rate
Morocco Somalia
2100 -0.6% 0.51%
2099 -0.59% 0.5%
2098 -0.58% 0.5%
2097 -0.57% 0.58%
2096 -0.55% 0.58%
2095 -0.54% 0.61%
2094 -0.53% 0.64%
2093 -0.52% 0.67%
2092 -0.51% 0.73%
2091 -0.49% 0.76%
2090 -0.48% 0.69%
2089 -0.46% 0.72%
2088 -0.45% 0.76%
2087 -0.44% 0.86%
2086 -0.44% 0.93%
2085 -0.42% 0.9%
2084 -0.4% 0.92%
2083 -0.39% 0.95%
2082 -0.38% 0.86%
2081 -0.37% 0.97%
2080 -0.36% 1.07%
2079 -0.34% 1.08%
2078 -0.33% 1.12%
2077 -0.31% 1.08%
2076 -0.3% 1.07%
2075 -0.29% 1.22%
2074 -0.28% 1.24%
2073 -0.26% 1.25%
2072 -0.24% 1.3%
2071 -0.23% 1.35%
2070 -0.21% 1.34%
2069 -0.19% 1.33%
2068 -0.18% 1.4%
2067 -0.16% 1.43%
2066 -0.16% 1.54%
2065 -0.13% 1.57%
2064 -0.11% 1.56%
2063 -0.1% 1.57%
2062 -0.07% 1.63%
2061 -0.06% 1.81%
2060 -0.04% 1.85%
2059 -0.006% 1.69%
2058 0.01% 1.78%
2057 0.03% 1.84%
2056 0.06% 1.94%
2055 0.08% 1.99%
2054 0.11% 1.93%
2053 0.14% 1.93%
2052 0.16% 2%
2051 0.19% 2.02%
2050 0.2% 1.99%
2049 0.23% 2.1%
2048 0.25% 2.18%
2047 0.27% 2.2%
2046 0.29% 2.21%
2045 0.33% 2.24%
2044 0.34% 2.26%
2043 0.37% 2.25%
2042 0.4% 2.41%
2041 0.42% 2.54%
2040 0.43% 2.45%
2039 0.47% 2.55%
2038 0.48% 2.68%
2037 0.51% 2.67%
2036 0.54% 2.76%
2035 0.56% 2.72%
2034 0.59% 2.67%
2033 0.62% 2.79%
2032 0.66% 2.88%
2031 0.69% 3.01%
2030 0.72% 2.99%
2029 0.76% 2.99%
2028 0.8% 3.14%
2027 0.84% 3.29%
2026 0.89% 3.33%
2025 0.92% 3.4%
2024 0.98% 3.54%
2023 1.03% 3.13%
2022 1.01% 3.07%
2021 1.01% 3.72%
2020 1.03% 3.87%
2019 1.04% 3.74%
2018 1.11% 3.59%
2017 1.21% 3.96%
2016 1.2% 3.92%
2015 1.18% 3.5%
2014 1.23% 3.65%
2013 1.3% 3.28%
2012 1.34% 0.91%
2011 1.37% 0.71%
2010 1.36% 2.51%
2009 1.34% 2.56%
2008 1.35% 3.01%
2007 1.35% 3.16%
2006 1.36% 3.11%
2005 1.35% 3.53%
2004 1.29% 3.75%
2003 1.28% 3.76%
2002 1.33% 3.82%
2001 1.38% 4.07%
2000 1.41% 4.08%
1999 1.47% 4.13%
1998 1.5% 4.23%
1997 1.51% 3.57%
1996 1.55% 3.7%
1995 1.53% 3.67%
1994 1.51% 5.17%
1993 1.59% 2.87%
1992 1.67% -4.68%
1991 1.74% -3.8%
1990 1.82% -0.45%
1989 1.87% -1.67%
1988 1.94% 0.1%
1987 2.01% 3.63%
1986 2.2% 4.21%
1985 2.41% 4.12%
1984 2.53% 3.71%
1983 2.63% 3.24%
1982 2.68% 0.35%
1981 2.7% 0.79%
1980 2.66% 8.94%
1979 2.59% 13.2%
1978 2.57% 7.38%
1977 2.51% 2.71%
1976 2.47% 2.54%
1975 2.49% 2.55%
1974 2.5% 2.63%
1973 2.52% 2.69%
1972 2.56% 2.65%
1971 2.63% 2.65%
1970 2.68% 2.68%
1969 2.69% 2.66%
1968 2.72% 2.66%
1967 2.73% 2.66%
1966 2.7% 2.66%
1965 2.64% 2.66%
1964 2.56% 2.65%
1963 2.65% 2.65%
1962 2.7% 2.64%
1961 2.63% 2.63%

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/somalia | CC BY

In 2025, the population of Morocco grew by 0.92%, while Somalia's population grew by 3.4%.

Live population counters

Morocco Somalia
Current population
38938817
20653532
Population rank 41/197 66/197
Percent of world population 0.47% 0.25%
One net population change
1.51 minutes
49 seconds
One birth every
50.5 seconds
39.2 seconds
One death every
2.41 minutes
2.84 minutes
Daily growth/decline +958 +1,769
Annual growth/decline +349,597 +645,588
Annual growth/decline rate +0.92% +3.4%
Population growth rate rank 105/197 8/197
One migration net change every
9.37 minutes
43.6 minutes
Annual migration change -56,254 +12,077
Net migration rank 176/196 40/196
Foreign-born residents 111,069 77,972
Foreign-born residents rank 129/195 140/195
Foreign-born share of population 0.3% 0.4%
Foreign-born share rank 182/195 180/195

Natural population change vs migration

Morocco
Natural

Migration
Somalia
Natural

Migration
1x
Year Population change
Morocco Somalia
Natural Migration Natural Migration
2025 - -56,254 - 12,077
2024 406,555 -46,802 619,793 26,859
2023 417,213 -39,650 608,203 46,217
2022 427,903 -38,594 551,450 -92,434
2021 407,829 -47,902 566,399 35,506
2020 415,999 -35,474 561,311 77,259
2019 457,307 -91,217 548,756 53,124
2018 464,375 -88,159 514,244 40,844
2017 471,011 -60,472 478,556 38,067
2016 474,637 -39,302 495,132 124,017
2015 477,654 -81,248 481,573 -17,178
2014 481,295 -72,065 464,481 6,065
2013 492,284 -67,096 448,518 20,723
2012 504,698 -65,251 399,468 -51,833
2011 513,305 -67,447 203,213 -326,192
2010 515,804 -70,510 385,571 -88,448
2009 509,386 -82,203 405,784 -101,795
2008 499,766 -78,912 394,258 -102,035
2007 493,526 -73,759 380,303 8,476
2006 483,200 -72,364 372,597 -67,200
2005 474,285 -59,024 363,117 -5,955
2004 461,756 -66,749 351,959 17,353
2003 452,650 -84,460 341,192 33,174
2002 446,147 -67,802 331,215 12,603
2001 452,621 -63,967 319,059 40,274
2000 461,341 -67,569 306,651 53,580
1999 473,071 -74,343 295,523 37,548
1998 492,604 -80,286 284,779 55,426
1997 500,807 -96,502 271,894 49,692
1996 501,499 -95,331 264,807 -46,291
1995 496,573 -85,386 254,509 65,888
1994 501,426 -115,404 246,950 -50,921
1993 507,707 -121,254 232,960 261,815
1992 525,680 -107,911 57,495 -179,675
1991 539,850 -130,717 53,052 -568,166
1990 535,506 -97,711 225,162 -248,155
1989 538,996 -104,509 225,255 -266,281
1988 545,800 -102,484 215,599 -415,660
1987 553,005 -104,029 231,580 -17,391
1986 558,105 -99,905 218,416 74,424
1985 560,810 -45,336 207,960 62,183
1984 564,159 -39,319 199,017 60,630
1983 566,301 -24,988 190,775 9,505
1982 564,904 -25,471 182,793 6,115
1981 552,936 -22,553 185,211 -332,129
1980 534,448 -13,899 174,790 65,519
1979 515,554 -27,374 151,016 582,746
1978 498,834 -30,600 132,689 402,005
1977 489,173 -32,161 124,818 2,170
1976 482,130 -58,019 113,319 -3,831
1975 474,631 -51,968 108,998 -1,934
1974 464,147 -52,927 104,813 -495
1973 455,699 -51,772 108,038 143
1972 446,449 -47,226 104,493 -351
1971 435,104 -39,385 101,196 -1,850
1970 426,015 -26,168 98,025 1,104
1969 414,931 -24,389 95,045 690
1968 407,437 -25,267 92,208 906
1967 400,594 -23,309 89,497 1,498
1966 391,881 -26,945 86,930 941
1965 383,989 -33,139 84,448 2,142
1964 375,835 -46,106 82,042 1,518
1963 369,250 -56,214 79,859 1,449
1962 363,843 -28,071 77,737 1,496
1961 348,650 -40,413 75,513 1,336
1960 323,499 -19,434 73,850 750

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

GeoRank.org/population/morocco/somalia | 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 Somalia 94.2% is from natural causes (a gain of 5,425,417 people) and 5.77% is from migration (a gain of 332,281 people).

As of 2024, 111,069 residents or 0.3% of the population were not native-born in Morocco, compared to 77,972 people or 0.4% in Somalia.

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
Somalia
City Population
Mogadishu 2.12M
Hargeisa 1.23M
Baidoa 1.2M
Borama 68.1K

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/somalia | 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.