Skip to content

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

Updated on by Georank team

The latest officially reported population of Morocco was 38,081,173 in 2024 vs 19,009,151 people in Somalia in 2024. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,871,720 people compared to 20,503,678 in Somalia.

Population statistics:

  • Morocco's population is 1.9 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.09% per year vs +3.61% in Somalia.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.3% growth), while Somalia has grown from 11M to 20.5M (86.8% growth).

Morocco vs Somalia: population by year and forecast

Morocco
Factual

Projection
Somalia
Factual

Projection
1x
Year Population
Morocco Somalia
2100 38,181,184 68,384,185
2099 38,411,679 68,040,371
2098 38,639,306 67,702,230
2097 38,863,211 67,362,336
2096 39,084,772 66,972,933
2095 39,302,453 66,585,659
2094 39,515,556 66,179,819
2093 39,726,709 65,760,590
2092 39,934,218 65,324,261
2091 40,138,565 64,852,843
2090 40,337,690 64,362,727
2089 40,532,151 63,922,797
2088 40,718,654 63,464,036
2087 40,902,624 62,987,028
2086 41,085,174 62,447,029
2085 41,264,970 61,873,597
2084 41,438,801 61,318,916
2083 41,604,865 60,761,800
2082 41,768,393 60,187,980
2081 41,927,610 59,676,722
2080 42,082,087 59,100,915
2079 42,233,228 58,477,428
2078 42,377,404 57,852,528
2077 42,515,702 57,211,821
2076 42,648,054 56,602,463
2075 42,775,325 56,005,600
2074 42,898,811 55,330,165
2073 43,017,234 54,651,918
2072 43,128,932 53,978,548
2071 43,232,517 53,284,016
2070 43,332,679 52,573,210
2069 43,423,419 51,878,214
2068 43,507,485 51,197,653
2067 43,586,077 50,493,028
2066 43,654,657 49,779,172
2065 43,723,648 49,024,665
2064 43,781,054 48,265,876
2063 43,828,593 47,522,361
2062 43,871,197 46,785,920
2061 43,902,710 46,037,526
2060 43,927,001 45,220,507
2059 43,942,510 44,397,936
2058 43,944,996 43,659,021
2057 43,939,695 42,897,422
2056 43,927,624 42,121,542
2055 43,902,661 41,318,179
2054 43,866,486 40,513,141
2053 43,819,100 39,744,995
2052 43,759,239 38,992,177
2051 43,688,144 38,228,872
2050 43,605,074 37,471,735
2049 43,517,919 36,739,905
2048 43,417,554 35,984,999
2047 43,308,462 35,218,863
2046 43,192,511 34,462,403
2045 43,065,569 33,717,596
2044 42,925,634 32,977,674
2043 42,780,215 32,247,710
2042 42,623,872 31,537,272
2041 42,456,113 30,794,853
2040 42,280,578 30,032,324
2039 42,098,906 29,312,883
2038 41,902,451 28,583,386
2037 41,700,541 27,838,646
2036 41,488,891 27,114,453
2035 41,266,216 26,385,421
2034 41,037,058 25,687,629
2033 40,795,454 25,018,509
2032 40,544,755 24,338,597
2031 40,280,535 23,657,353
2030 40,005,642 22,965,742
2029 39,720,087 22,299,610
2028 39,422,016 21,651,582
2027 39,109,148 20,991,860
2026 38,783,685 20,322,668
2025 38,442,658 19,666,990
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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,848,263 people (a 11% growth), while Somalia's population increased by 6,154,938 people (a 42.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 12.2% to 43,605,074 people with a rank change from 41st to 50th. The population of Somalia will increase by 82.8% to 37,471,735 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.4M 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.95% 3.46%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

GeoRank.org/population/morocco/somalia | CC BY

In 2024, the population of Morocco grew by 0.98%, while Somalia's population grew by 3.54%.

Live population counters

Morocco Somalia
Current population
38871720
20503678
Population rank 41/197 66/197
Percent of world population 0.47% 0.25%
One net population change
1.43 minutes
48.5 seconds
One birth every
50.1 seconds
40 seconds
One death every
2.47 minutes
2.91 minutes
Daily growth/decline +1,010 +1,782
Annual growth/decline +368,668 +650,536
Annual growth/decline rate +0.98% +3.54%
Population growth rate rank 104/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 - -46,802 - 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-04-06).

GeoRank.org/population/morocco/somalia | 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 Somalia 94.4% is from natural causes (a gain of 5,270,105 people) and 5.58% is from migration (a gain of 311,487 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–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/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-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.