Skip to content

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

Updated on by Georank team

The latest officially reported population of Morocco was 38,081,173 in 2024 vs 21,916,000 people in Sri Lanka in 2024. In 2026, based on the adjusted UN estimation, the current Morocco's population is 38,871,720 people compared to 22,185,425 in Sri Lanka.

Population statistics:

  • Morocco's population is 1.75 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.74% of the world: 0.47% for Morocco vs 0.27% for Sri Lanka.
  • For the last 10 years, Morocco has had an average growth rate of +1.09% per year vs +0.57% in Sri Lanka.
  • Since 2006, the population of Morocco has increased from 30.8M people to 38.9M (26.3% growth), while Sri Lanka has grown from 20.4M to 22.2M (9.01% 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,181,184 20,270,496
2099 38,411,679 20,383,669
2098 38,639,306 20,498,567
2097 38,863,211 20,611,123
2096 39,084,772 20,723,560
2095 39,302,453 20,834,629
2094 39,515,556 20,943,809
2093 39,726,709 21,052,131
2092 39,934,218 21,158,833
2091 40,138,565 21,263,961
2090 40,337,690 21,371,263
2089 40,532,151 21,475,426
2088 40,718,654 21,577,177
2087 40,902,624 21,677,510
2086 41,085,174 21,777,420
2085 41,264,970 21,876,464
2084 41,438,801 21,970,336
2083 41,604,865 22,062,801
2082 41,768,393 22,151,745
2081 41,927,610 22,240,834
2080 42,082,087 22,326,555
2079 42,233,228 22,411,438
2078 42,377,404 22,489,772
2077 42,515,702 22,565,028
2076 42,648,054 22,637,463
2075 42,775,325 22,707,112
2074 42,898,811 22,778,489
2073 43,017,234 22,844,703
2072 43,128,932 22,905,707
2071 43,232,517 22,964,866
2070 43,332,679 23,022,515
2069 43,423,419 23,076,310
2068 43,507,485 23,129,541
2067 43,586,077 23,184,596
2066 43,654,657 23,234,419
2065 43,723,648 23,285,901
2064 43,781,054 23,331,390
2063 43,828,593 23,372,184
2062 43,871,197 23,409,522
2061 43,902,710 23,441,893
2060 43,927,001 23,474,032
2059 43,942,510 23,502,132
2058 43,944,996 23,528,076
2057 43,939,695 23,550,580
2056 43,927,624 23,570,923
2055 43,902,661 23,582,432
2054 43,866,486 23,591,414
2053 43,819,100 23,601,371
2052 43,759,239 23,605,361
2051 43,688,144 23,606,194
2050 43,605,074 23,603,330
2049 43,517,919 23,597,604
2048 43,417,554 23,587,307
2047 43,308,462 23,570,881
2046 43,192,511 23,547,409
2045 43,065,569 23,515,133
2044 42,925,634 23,483,546
2043 42,780,215 23,446,242
2042 42,623,872 23,404,983
2041 42,456,113 23,357,358
2040 42,280,578 23,306,148
2039 42,098,906 23,248,341
2038 41,902,451 23,187,512
2037 41,700,541 23,120,775
2036 41,488,891 23,053,427
2035 41,266,216 22,981,808
2034 41,037,058 22,906,587
2033 40,795,454 22,826,414
2032 40,544,755 22,742,267
2031 40,280,535 22,655,907
2030 40,005,642 22,564,038
2029 39,720,087 22,470,759
2028 39,422,016 22,370,999
2027 39,109,148 22,266,017
2026 38,783,685 22,155,543
2025 38,442,658 22,039,908
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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,848,263 people (a 11% growth), while Sri Lanka's population increased by 976,425 people (a 4.6% 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 12.2% to 43,605,074 people with a rank change from 41st to 50th. The population of Sri Lanka will increase by 6.39% to 23,603,330 people and rank change from 63rd to 70th.

Morocco is projected to reach its peak in 2058 at 43.9M people compared to the peak of 23.6M 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.95% 0.57%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

GeoRank.org/population/morocco/sri-lanka | CC BY

In 2024, the population of Morocco grew by 0.98%, while Sri Lanka's population declined by 0.55%.

Live population counters

Morocco Sri Lanka
Current population
38871720
22185425
Population rank 41/197 63/197
Percent of world population 0.47% 0.27%
One net population change
1.43 minutes
4.34 minutes
One birth every
50.1 seconds
2.13 minutes
One death every
2.47 minutes
2.91 minutes
Daily growth/decline +1,010 -332
Annual growth/decline +368,668 -121,000
Annual growth/decline rate +0.98% -0.55%
Population growth rate rank 104/197 188/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 - -46,802 - -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-04-06).

GeoRank.org/population/morocco/sri-lanka | 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 Sri Lanka 85.3% is from natural causes (a gain of 1,605,749 people) and 14.7% is from migration (a loss of 276,121 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–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/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-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. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

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.