Skip to content

Population in Morocco compared to Sri Lanka: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Morocco was 38,430,770 in 2025 vs 21,756,000 people in Sri Lanka in 2025. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,938,817 people compared to 21,926,160 in Sri Lanka.

Population statistics:

  • Morocco's population is 1.78 times bigger than Sri Lanka's.
  • Morocco is ranked the 41st most populous country in the world, while Sri Lanka is the 63rd.
  • The countries together account for 0.73% of the world: 0.47% for Morocco vs 0.26% for Sri Lanka.
  • For the last 10 years, Morocco has had an average growth rate of +1.06% per year vs +0.42% in Sri Lanka.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.5% growth), while Sri Lanka has grown from 20.4M to 21.9M (7.73% growth).

Morocco vs Sri Lanka: population by year and forecast

Morocco
Factual

Projection
Sri Lanka
Factual

Projection
1x
Year Population
Morocco Sri Lanka
2100 38,169,376 20,009,380
2099 38,399,800 20,121,095
2098 38,627,357 20,234,513
2097 38,851,192 20,345,619
2096 39,072,685 20,456,607
2095 39,290,298 20,566,246
2094 39,503,336 20,674,019
2093 39,714,423 20,780,946
2092 39,921,868 20,886,274
2091 40,126,152 20,990,047
2090 40,325,215 21,095,968
2089 40,519,616 21,198,788
2088 40,706,061 21,299,229
2087 40,889,974 21,398,269
2086 41,072,468 21,496,892
2085 41,252,209 21,594,661
2084 41,425,986 21,687,323
2083 41,591,998 21,778,597
2082 41,755,476 21,866,395
2081 41,914,644 21,954,337
2080 42,069,073 22,038,953
2079 42,220,167 22,122,744
2078 42,364,299 22,200,069
2077 42,502,554 22,274,355
2076 42,634,865 22,345,857
2075 42,762,096 22,414,609
2074 42,885,545 22,485,066
2073 43,003,930 22,550,427
2072 43,115,594 22,610,645
2071 43,219,147 22,669,042
2070 43,319,278 22,725,948
2069 43,409,990 22,779,050
2068 43,494,031 22,831,596
2067 43,572,598 22,885,941
2066 43,641,156 22,935,123
2065 43,710,126 22,985,942
2064 43,767,514 23,030,844
2063 43,815,039 23,071,114
2062 43,857,629 23,107,970
2061 43,889,133 23,139,924
2060 43,913,417 23,171,649
2059 43,928,921 23,199,387
2058 43,931,406 23,224,997
2057 43,926,107 23,247,211
2056 43,914,039 23,267,292
2055 43,889,084 23,278,653
2054 43,852,920 23,287,520
2053 43,805,549 23,297,347
2052 43,745,706 23,301,287
2051 43,674,633 23,302,108
2050 43,591,589 23,299,282
2049 43,504,461 23,293,630
2048 43,404,127 23,283,465
2047 43,295,069 23,267,251
2046 43,179,153 23,244,081
2045 43,052,251 23,212,221
2044 42,912,359 23,181,041
2043 42,766,985 23,144,217
2042 42,610,691 23,103,489
2041 42,442,983 23,056,478
2040 42,267,502 23,005,928
2039 42,085,886 22,948,866
2038 41,889,492 22,888,821
2037 41,687,645 22,822,943
2036 41,476,060 22,756,462
2035 41,253,454 22,685,766
2034 41,024,367 22,611,514
2033 40,782,838 22,532,374
2032 40,532,216 22,449,310
2031 40,268,078 22,364,063
2030 39,993,270 22,273,377
2029 39,707,804 22,181,300
2028 39,409,825 22,082,826
2027 39,097,054 21,979,196
2026 38,771,691 21,870,145
2025 38,430,770 21,756,000
2024 38,081,173 21,916,000
2023 37,712,505 22,037,000
2022 37,329,064 22,181,000
2021 36,954,442 22,156,000
2020 36,584,208 21,919,000
2019 36,210,898 21,803,000
2018 35,839,760 21,670,000
2017 35,446,392 21,453,000
2016 35,023,457 21,209,000
2015 34,607,588 20,970,000
2014 34,204,780 20,778,000
2013 33,787,571 20,585,000
2012 33,355,241 21,169,458
2011 32,912,588 21,009,048
2010 32,467,016 20,879,089
2009 32,030,778 20,756,435
2008 31,606,767 20,629,378
2007 31,186,468 20,492,545
2006 30,771,178 20,352,411
2005 30,358,144 20,216,524
2004 29,953,018 20,087,605
2003 29,571,415 19,951,521
2002 29,198,142 19,805,752
2001 28,814,643 19,600,362
2000 28,423,435 19,293,054
1999 28,027,179 18,944,731
1998 27,621,648 18,596,003
1997 27,213,337 18,248,200
1996 26,808,107 17,905,018
1995 26,399,429 17,564,068
1994 26,000,822 17,275,773
1993 25,614,586 17,025,918
1992 25,212,468 16,739,284
1991 24,799,014 16,475,354
1990 24,375,551 16,352,458
1989 23,939,414 16,248,557
1988 23,500,524 16,078,621
1987 23,054,392 15,916,576
1986 22,600,803 15,731,256
1985 22,113,953 15,544,154
1984 21,593,778 15,441,860
1983 21,060,696 15,388,794
1982 20,520,318 15,286,567
1981 19,985,401 15,099,414
1980 19,459,943 14,847,974
1979 18,955,589 14,579,614
1978 18,477,385 14,310,128
1977 18,014,756 14,049,371
1976 17,574,182 13,796,770
1975 17,150,786 13,548,984
1974 16,733,842 13,305,693
1973 16,326,269 13,060,916
1972 15,924,692 12,809,205
1971 15,527,225 12,551,910
1970 15,129,449 12,287,110
1969 14,734,255 12,013,858
1968 14,347,899 11,736,088
1967 13,968,175 11,457,328
1966 13,597,065 11,183,928
1965 13,239,171 10,916,965
1964 12,898,886 10,653,397
1963 12,577,502 10,395,040
1962 12,253,092 10,143,754
1961 11,931,085 9,899,372
1960 11,624,933 9,661,389

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/sri-lanka | CC BY

From 2006 to 2016, the population of Morocco increased by 4,252,279 people (a 13.8% growth), while Sri Lanka gained 856,589 people (a 4.21% growth).

For the next 10 years, from 2016 to 2026, Morocco gained 3,915,360 people (a 11.2% growth), while Sri Lanka's population increased by 717,160 people (a 3.38% growth).

Morocco was ranked 37th most populous country in 2006 and is 41st in 2026. Sri Lanka was ranked 55th in 2006 and ranked 63rd 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 Sri Lanka will increase by 6.26% to 23,299,282 people and rank change from 63rd to 71st.

Morocco is projected to reach its peak in 2058 at 43.9M people compared to the peak of 23.3M people in 2051 for Sri Lanka.

Population growth rate by year

Morocco
Factual

Projection
Sri Lanka
Factual

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

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/sri-lanka | CC BY

In 2025, the population of Morocco grew by 0.92%, while Sri Lanka's population declined by 0.73%.

Live population counters

Morocco Sri Lanka
Current population
38938817
21926160
Population rank 41/197 63/197
Percent of world population 0.47% 0.26%
One net population change
1.51 minutes
3.29 minutes
One birth every
50.5 seconds
2.37 minutes
One death every
2.41 minutes
3.07 minutes
Daily growth/decline +958 -438
Annual growth/decline +349,597 -160,000
Annual growth/decline rate +0.92% -0.73%
Population growth rate rank 105/197 190/197
One migration net change every
9.37 minutes
17.2 minutes
Annual migration change -56,254 -30,724
Net migration rank 176/196 165/196
Foreign-born residents 111,069 40,698
Foreign-born residents rank 129/195 156/195
Foreign-born share of population 0.3% 0.2%
Foreign-born share rank 182/195 190/195

Natural population change vs migration

Morocco
Natural

Migration
Sri Lanka
Natural

Migration
1x
Year Population change
Morocco Sri Lanka
Natural Migration Natural Migration
2025 - -56,254 - -30,724
2024 406,555 -46,802 50,407 -27,245
2023 417,213 -39,650 66,111 -28,011
2022 427,903 -38,594 95,378 -27,435
2021 407,829 -47,902 121,858 -29,586
2020 415,999 -35,474 170,968 -29,875
2019 457,307 -91,217 172,243 -28,426
2018 464,375 -88,159 183,610 -28,607
2017 471,011 -60,472 187,993 -22,324
2016 474,637 -39,302 194,232 -18,388
2015 477,654 -81,248 201,815 -29,797
2014 481,295 -72,065 211,541 -33,672
2013 492,284 -67,096 221,021 -37,754
2012 504,698 -65,251 229,138 -41,955
2011 513,305 -67,447 224,461 -90,839
2010 515,804 -70,510 224,325 -98,060
2009 509,386 -82,203 200,175 -81,130
2008 499,766 -78,912 232,225 -97,144
2007 493,526 -73,759 248,287 -109,695
2006 483,200 -72,364 248,706 -107,045
2005 474,285 -59,024 248,683 -118,594
2004 461,756 -66,749 212,527 -84,795
2003 452,650 -84,460 252,008 -107,573
2002 446,147 -67,802 252,840 -105,718
2001 452,621 -63,967 244,377 19,273
2000 461,341 -67,569 227,060 123,894
1999 473,071 -74,343 206,876 138,799
1998 492,604 -80,286 201,059 150,724
1997 500,807 -96,502 208,193 135,636
1996 501,499 -95,331 215,290 127,236
1995 496,573 -85,386 221,957 117,416
1994 501,426 -115,404 228,904 8,323
1993 507,707 -121,254 226,257 36,232
1992 525,680 -107,911 222,230 88,542
1991 539,850 -130,717 218,117 -1,047
1990 535,506 -97,711 224,454 -195,736
1989 538,996 -104,509 212,401 -33,305
1988 545,800 -102,484 219,184 -58,415
1987 553,005 -104,029 226,414 -63,105
1986 558,105 -99,905 233,782 -26,460
1985 560,810 -45,336 247,836 -80,950
1984 564,159 -39,319 263,175 -225,450
1983 566,301 -24,988 277,768 -209,362
1982 564,904 -25,471 300,030 -163,987
1981 552,936 -22,553 328,096 -89,824
1980 534,448 -13,899 328,155 -63,541
1979 515,554 -27,374 329,791 -57,683
1978 498,834 -30,600 317,055 -50,189
1977 489,173 -32,161 300,038 -45,383
1976 482,130 -58,019 291,816 -41,258
1975 474,631 -51,968 282,496 -37,475
1974 464,147 -52,927 275,521 -33,979
1973 455,699 -51,772 278,577 -30,582
1972 446,449 -47,226 282,494 -27,071
1971 435,104 -39,385 281,200 -22,021
1970 426,015 -26,168 286,719 -16,299
1969 414,931 -24,389 286,218 -10,152
1968 407,437 -25,267 286,642 -7,163
1967 400,594 -23,309 284,738 -6,696
1966 391,881 -26,945 275,549 -6,794
1965 383,989 -33,139 272,422 -7,249
1964 375,835 -46,106 269,584 -7,614
1963 369,250 -56,214 262,880 -8,118
1962 363,843 -28,071 256,719 -8,909
1961 348,650 -40,413 251,087 -10,144
1960 323,499 -19,434 247,631 -12,610

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

GeoRank.org/population/morocco/sri-lanka | 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 Sri Lanka 84.3% is from natural causes (a gain of 1,444,615 people) and 15.7% is from migration (a loss of 269,694 people).

As of 2024, 111,069 residents or 0.3% of the population were not native-born in Morocco, compared to 40,698 people or 0.2% in Sri Lanka.

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
Sri Lanka
City Population
Colombo 648K
Gampaha 191K
Beruwala 165K
Negombo 142K
Kandy 120K
Sri Jayawardenepura Kotte 116K
Trincomalee 99.1K
Galle 93.1K
Matara 68.2K
Anuradhapura 63.2K

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/sri-lanka | 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. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, 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.