Skip to content

Population in El Salvador compared to Morocco: Trends, Charts, Rankings

Updated on by Georank team

The latest officially reported population of El Salvador was 6,338,193 in 2024 vs 38,081,173 people in Morocco in 2024. In 2026, based on the adjusted UN estimation, the current El Salvador's population is 6,399,793 people compared to 38,871,720 in Morocco.

Population statistics:

  • Morocco's population is 6.07 times bigger than El Salvador's.
  • El Salvador is ranked the 111th most populous country in the world, while Morocco is the 41st.
  • The countries together account for 0.55% of the world: 0.08% for El Salvador vs 0.47% for Morocco.
  • For the last 10 years, El Salvador has had an average growth rate of +0.29% per year vs +1.09% in Morocco.
  • Since 2006, the population of El Salvador has increased from 6M people to 6.4M (6.62% growth), while Morocco has grown from 30.8M to 38.9M (26.3% growth).

El Salvador vs Morocco: population by year and forecast

El Salvador
Factual

Projection
Morocco
Factual

Projection
1x
Year Population
El Salvador Morocco
2100 5,106,358 38,181,184
2099 5,150,403 38,411,679
2098 5,195,110 38,639,306
2097 5,240,164 38,863,211
2096 5,286,555 39,084,772
2095 5,333,357 39,302,453
2094 5,380,368 39,515,556
2093 5,427,291 39,726,709
2092 5,474,174 39,934,218
2091 5,521,257 40,138,565
2090 5,568,339 40,337,690
2089 5,615,550 40,532,151
2088 5,662,256 40,718,654
2087 5,709,072 40,902,624
2086 5,755,593 41,085,174
2085 5,801,778 41,264,970
2084 5,847,545 41,438,801
2083 5,891,829 41,604,865
2082 5,935,056 41,768,393
2081 5,977,631 41,927,610
2080 6,019,326 42,082,087
2079 6,059,817 42,233,228
2078 6,098,689 42,377,404
2077 6,136,133 42,515,702
2076 6,172,686 42,648,054
2075 6,206,865 42,775,325
2074 6,239,356 42,898,811
2073 6,272,337 43,017,234
2072 6,301,557 43,128,932
2071 6,330,086 43,232,517
2070 6,358,052 43,332,679
2069 6,384,863 43,423,419
2068 6,410,986 43,507,485
2067 6,435,437 43,586,077
2066 6,458,779 43,654,657
2065 6,481,938 43,723,648
2064 6,503,884 43,781,054
2063 6,524,373 43,828,593
2062 6,543,157 43,871,197
2061 6,560,419 43,902,710
2060 6,577,429 43,927,001
2059 6,592,662 43,942,510
2058 6,606,305 43,944,996
2057 6,620,473 43,939,695
2056 6,633,666 43,927,624
2055 6,645,594 43,902,661
2054 6,656,251 43,866,486
2053 6,664,115 43,819,100
2052 6,670,429 43,759,239
2051 6,676,658 43,688,144
2050 6,679,973 43,605,074
2049 6,683,494 43,517,919
2048 6,684,918 43,417,554
2047 6,684,723 43,308,462
2046 6,684,063 43,192,511
2045 6,681,948 43,065,569
2044 6,679,505 42,925,634
2043 6,674,197 42,780,215
2042 6,668,140 42,623,872
2041 6,660,323 42,456,113
2040 6,651,019 42,280,578
2039 6,641,112 42,098,906
2038 6,628,299 41,902,451
2037 6,615,428 41,700,541
2036 6,600,845 41,488,891
2035 6,585,074 41,266,216
2034 6,568,788 41,037,058
2033 6,549,941 40,795,454
2032 6,530,975 40,544,755
2031 6,511,064 40,280,535
2030 6,490,493 40,005,642
2029 6,467,381 39,720,087
2028 6,443,426 39,422,016
2027 6,418,289 39,109,148
2026 6,392,935 38,783,685
2025 6,366,672 38,442,658
2024 6,338,193 38,081,173
2023 6,309,624 37,712,505
2022 6,280,319 37,329,064
2021 6,255,782 36,954,442
2020 6,234,673 36,584,208
2019 6,222,318 36,210,898
2018 6,219,807 35,839,760
2017 6,213,533 35,446,392
2016 6,200,800 35,023,457
2015 6,183,676 34,607,588
2014 6,162,955 34,204,780
2013 6,138,839 33,787,571
2012 6,113,975 33,355,241
2011 6,090,127 32,912,588
2010 6,068,249 32,467,016
2009 6,048,279 32,030,778
2008 6,029,297 31,606,767
2007 6,009,824 31,186,468
2006 6,002,319 30,771,178
2005 6,005,578 30,358,144
2004 6,004,671 29,953,018
2003 5,998,599 29,571,415
2002 5,986,631 29,198,142
2001 5,968,060 28,814,643
2000 5,943,366 28,423,435
1999 5,913,900 28,027,179
1998 5,880,781 27,621,648
1997 5,844,578 27,213,337
1996 5,805,286 26,808,107
1995 5,762,131 26,399,429
1994 5,714,129 26,000,822
1993 5,659,957 25,614,586
1992 5,585,609 25,212,468
1991 5,495,077 24,799,014
1990 5,399,726 24,375,551
1989 5,298,979 23,939,414
1988 5,195,833 23,500,524
1987 5,092,441 23,054,392
1986 4,992,769 22,600,803
1985 4,894,706 22,113,953
1984 4,798,003 21,593,778
1983 4,707,367 21,060,696
1982 4,622,477 20,520,318
1981 4,570,599 19,985,401
1980 4,540,382 19,459,943
1979 4,480,388 18,955,589
1978 4,394,114 18,477,385
1977 4,301,256 18,014,756
1976 4,210,310 17,574,182
1975 4,120,449 17,150,786
1974 4,029,671 16,733,842
1973 3,938,068 16,326,269
1972 3,846,830 15,924,692
1971 3,757,523 15,527,225
1970 3,668,796 15,129,449
1969 3,576,485 14,734,255
1968 3,480,773 14,347,899
1967 3,385,184 13,968,175
1966 3,290,961 13,597,065
1965 3,199,466 13,239,171
1964 3,111,883 12,898,886
1963 3,028,679 12,577,502
1962 2,949,204 12,253,092
1961 2,870,016 11,931,085
1960 2,791,459 11,624,933

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/el-salvador/morocco | CC BY

From 2006 to 2016, the population of El Salvador increased by 198,481 people (a 3.31% growth), while Morocco gained 4,252,279 people (a 13.8% growth).

For the next 10 years, from 2016 to 2026, El Salvador gained 198,993 people (a 3.21% growth), while Morocco's population increased by 3,848,263 people (a 11% growth).

El Salvador was ranked 103rd most populous country in 2006 and is 111th in 2026. Morocco was ranked 37th in 2006 and ranked 41st now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) El Salvador's population will grow by 4.38% to 6,679,973 people with a rank change from 111th to 116th. The population of Morocco will increase by 12.2% to 43,605,074 people and rank change from 41st to 50th.

El Salvador is projected to reach its peak in 2048 at 6.68M people compared to the peak of 43.9M people in 2058 for Morocco.

Population growth rate by year

El Salvador
Factual

Projection
Morocco
Factual

Projection
1x
Year Growth rate
El Salvador Morocco
2100 -0.86% -0.6%
2099 -0.86% -0.59%
2098 -0.86% -0.58%
2097 -0.88% -0.57%
2096 -0.88% -0.55%
2095 -0.87% -0.54%
2094 -0.86% -0.53%
2093 -0.86% -0.52%
2092 -0.85% -0.51%
2091 -0.85% -0.49%
2090 -0.84% -0.48%
2089 -0.82% -0.46%
2088 -0.82% -0.45%
2087 -0.81% -0.44%
2086 -0.8% -0.44%
2085 -0.78% -0.42%
2084 -0.75% -0.4%
2083 -0.73% -0.39%
2082 -0.71% -0.38%
2081 -0.69% -0.37%
2080 -0.67% -0.36%
2079 -0.64% -0.34%
2078 -0.61% -0.33%
2077 -0.59% -0.31%
2076 -0.55% -0.3%
2075 -0.52% -0.29%
2074 -0.53% -0.28%
2073 -0.46% -0.26%
2072 -0.45% -0.24%
2071 -0.44% -0.23%
2070 -0.42% -0.21%
2069 -0.41% -0.19%
2068 -0.38% -0.18%
2067 -0.36% -0.16%
2066 -0.36% -0.16%
2065 -0.34% -0.13%
2064 -0.31% -0.11%
2063 -0.29% -0.1%
2062 -0.26% -0.07%
2061 -0.26% -0.06%
2060 -0.23% -0.04%
2059 -0.21% -0.006%
2058 -0.21% 0.01%
2057 -0.2% 0.03%
2056 -0.18% 0.06%
2055 -0.16% 0.08%
2054 -0.12% 0.11%
2053 -0.09% 0.14%
2052 -0.09% 0.16%
2051 -0.05% 0.19%
2050 -0.05% 0.2%
2049 -0.02% 0.23%
2048 0.003% 0.25%
2047 0.01% 0.27%
2046 0.03% 0.29%
2045 0.04% 0.33%
2044 0.08% 0.34%
2043 0.09% 0.37%
2042 0.12% 0.4%
2041 0.14% 0.42%
2040 0.15% 0.43%
2039 0.19% 0.47%
2038 0.19% 0.48%
2037 0.22% 0.51%
2036 0.24% 0.54%
2035 0.25% 0.56%
2034 0.29% 0.59%
2033 0.29% 0.62%
2032 0.31% 0.66%
2031 0.32% 0.69%
2030 0.36% 0.72%
2029 0.37% 0.76%
2028 0.39% 0.8%
2027 0.4% 0.84%
2026 0.41% 0.89%
2025 0.45% 0.95%
2024 0.45% 0.98%
2023 0.47% 1.03%
2022 0.39% 1.01%
2021 0.34% 1.01%
2020 0.2% 1.03%
2019 0.04% 1.04%
2018 0.1% 1.11%
2017 0.21% 1.21%
2016 0.28% 1.2%
2015 0.34% 1.18%
2014 0.39% 1.23%
2013 0.41% 1.3%
2012 0.39% 1.34%
2011 0.36% 1.37%
2010 0.33% 1.36%
2009 0.31% 1.34%
2008 0.32% 1.35%
2007 0.13% 1.35%
2006 -0.05% 1.36%
2005 0.02% 1.35%
2004 0.1% 1.29%
2003 0.2% 1.28%
2002 0.31% 1.33%
2001 0.42% 1.38%
2000 0.5% 1.41%
1999 0.56% 1.47%
1998 0.62% 1.5%
1997 0.68% 1.51%
1996 0.75% 1.55%
1995 0.84% 1.53%
1994 0.96% 1.51%
1993 1.33% 1.59%
1992 1.65% 1.67%
1991 1.77% 1.74%
1990 1.9% 1.82%
1989 1.99% 1.87%
1988 2.03% 1.94%
1987 2% 2.01%
1986 2% 2.2%
1985 2.02% 2.41%
1984 1.93% 2.53%
1983 1.84% 2.63%
1982 1.14% 2.68%
1981 0.67% 2.7%
1980 1.34% 2.66%
1979 1.96% 2.59%
1978 2.16% 2.57%
1977 2.16% 2.51%
1976 2.18% 2.47%
1975 2.25% 2.49%
1974 2.33% 2.5%
1973 2.37% 2.52%
1972 2.38% 2.56%
1971 2.42% 2.63%
1970 2.58% 2.68%
1969 2.75% 2.69%
1968 2.82% 2.72%
1967 2.86% 2.73%
1966 2.86% 2.7%
1965 2.81% 2.64%
1964 2.75% 2.56%
1963 2.69% 2.65%
1962 2.76% 2.7%
1961 2.81% 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/el-salvador/morocco | CC BY

In 2024, the population of El Salvador grew by 0.45%, while Morocco's population grew by 0.98%.

Live population counters

El Salvador Morocco
Current population
6399793
38871720
Population rank 111/197 41/197
Percent of world population 0.08% 0.47%
One net population change
18.4 minutes
1.43 minutes
One birth every
5.29 minutes
50.1 seconds
One death every
11.1 minutes
2.47 minutes
Daily growth/decline +78 +1,010
Annual growth/decline +28,569 +368,668
Annual growth/decline rate +0.45% +0.98%
Population growth rate rank 140/197 104/197
One migration net change every
22 minutes
9.37 minutes
Annual migration change -23,934 -56,254
Net migration rank 155/196 176/196
Foreign-born residents 43,342 111,069
Foreign-born residents rank 155/195 129/195
Foreign-born share of population 0.7% 0.3%
Foreign-born share rank 164/195 182/195

Natural population change vs migration

El Salvador
Natural

Migration
Morocco
Natural

Migration
1x
Year Population change
El Salvador Morocco
Natural Migration Natural Migration
2025 - -23,934 - -56,254
2024 - -23,102 - -46,802
2023 51,985 -23,253 417,213 -39,650
2022 53,138 -23,255 427,903 -38,594
2021 46,530 -27,343 407,829 -47,902
2020 48,244 -25,213 415,999 -35,474
2019 56,816 -55,144 457,307 -91,217
2018 57,509 -54,163 464,375 -88,159
2017 59,824 -50,608 471,011 -60,472
2016 63,751 -47,491 474,637 -39,302
2015 69,263 -51,278 477,654 -81,248
2014 72,581 -49,126 481,295 -72,065
2013 73,869 -49,087 492,284 -67,096
2012 75,495 -50,546 504,698 -65,251
2011 76,182 -53,433 513,305 -67,447
2010 75,695 -54,688 515,804 -70,510
2009 74,908 -55,966 509,386 -82,203
2008 75,107 -56,086 499,766 -78,912
2007 76,776 -56,857 493,526 -73,759
2006 80,887 -85,789 483,200 -72,364
2005 84,883 -86,501 474,285 -59,024
2004 90,905 -87,466 461,756 -66,749
2003 97,849 -89,146 452,650 -84,460
2002 106,137 -90,908 446,147 -67,802
2001 114,313 -92,389 452,621 -63,967
2000 122,315 -94,861 461,341 -67,569
1999 128,947 -97,475 473,071 -74,343
1998 134,065 -99,293 492,604 -80,286
1997 134,448 -96,820 500,807 -96,502
1996 136,929 -95,977 501,499 -95,331
1995 138,268 -92,912 496,573 -85,386
1994 137,974 -87,318 501,426 -115,404
1993 138,432 -80,736 507,707 -121,254
1992 139,221 -48,232 525,680 -107,911
1991 140,691 -50,622 539,850 -130,717
1990 140,311 -39,689 535,506 -97,711
1989 139,093 -38,211 538,996 -104,509
1988 136,230 -30,806 545,800 -102,484
1987 133,667 -32,308 553,005 -104,029
1986 130,177 -32,181 558,105 -99,905
1985 127,248 -29,111 560,810 -45,336
1984 125,036 -29,767 564,159 -39,319
1983 121,700 -35,694 566,301 -24,988
1982 120,938 -37,159 564,904 -25,471
1981 117,346 -97,365 552,936 -22,553
1980 111,771 -71,318 534,448 -13,899
1979 123,838 -44,302 515,554 -27,374
1978 124,468 -31,463 498,834 -30,600
1977 121,446 -28,742 489,173 -32,161
1976 120,511 -31,317 482,130 -58,019
1975 116,737 -26,198 474,631 -51,968
1974 113,846 -22,844 464,147 -52,927
1973 111,546 -19,347 455,699 -51,772
1972 107,604 -17,317 446,449 -47,226
1971 104,714 -16,389 435,104 -39,385
1970 100,499 -11,367 426,015 -26,168
1969 99,848 -4,355 414,931 -24,389
1968 98,851 -2,919 407,437 -25,267
1967 98,424 -3,192 400,594 -23,309
1966 97,156 -3,945 391,881 -26,945
1965 95,341 -5,560 383,989 -33,139
1964 93,328 -7,937 375,835 -46,106
1963 90,794 -9,774 369,250 -56,214
1962 88,237 -10,307 363,843 -28,071
1961 84,614 -4,159 348,650 -40,413
1960 81,544 -4,885 323,499 -19,434

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

GeoRank.org/population/el-salvador/morocco | CC BY

Over the last 10 years, 58.8% of the population change in El Salvador is from natural causes (a gain of 579,641 people) and 41.2% is from migration (a loss of 406,874 people). In Morocco 88.3% is from natural causes (a gain of 4,495,223 people) and 11.7% is from migration (a loss of 594,083 people).

As of 2024, 43,342 residents or 0.7% of the population were not native-born in El Salvador, compared to 111,069 people or 0.3% in Morocco.

Biggest cities by population

El Salvador
City Population
San Salvador 331K
Santa Ana 251K
San Miguel 233K
Soyapango 230K
Mejicanos 137K
Apopa 129K
Ahuachapan 127K
Santa Tecla 126K
Sonsonate 72.2K
Usulutan 66.1K
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

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/el-salvador/morocco | 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.