Skip to content

Population density: El Salvador vs Morocco compared

Updated on by Georank team

El Salvador has a population density of 799 people per square mile compared to 225.1 people in Morocco. El Salvador has 35,733 sq ft of land per person vs 126,220 sq ft in Morocco. El Salvador and Morocco rank 33rd and 102nd by population density, respectively.

Population density is calculated as the ratio of population to land area. El Salvador has 0.08% of the world's population and 0.01% of all countries' land area, compared to 0.47% of the population and 0.3% of the land area for Morocco, making the population density in El Salvador 255% higher than in Morocco.

Population density by year

El Salvador
Morocco

people per square mile

1x
Year Population density
El Salvador Morocco
2026 799 225.1
2025 796 223.1
2024 792 221
2023 789 218.9
2022 785 216.6
2021 782 214.5
2020 779 212.3
2019 778 210.1
2018 777 208
2017 777 205.7
2016 775 203.2
2015 773 200.8
2014 770 198.5
2013 767 196.1
2012 764 193.6
2011 761 191
2010 759 188.4
2009 756 185.9
2008 754 183.4
2007 751 181
2006 750 178.6
2005 751 176.2
2004 751 173.8
2003 750 171.6
2002 748 169.4
2001 746 167.2
2000 743 164.9
1999 739 162.6
1998 735 160.3
1997 731 157.9
1996 726 155.6
1995 720 153.2
1994 714 150.9
1993 707 148.6
1992 698 146.3
1991 687 143.9
1990 675 141.5
1989 662 138.9
1988 649 136.4
1987 637 133.8
1986 624 131.2
1985 612 128.3
1984 600 125.3
1983 588 122.2
1982 578 119.1
1981 571 116
1980 568 112.9
1979 560 110
1978 549 107.2
1977 538 104.5
1976 526 102
1975 512 99.5
1974 501 97.1
1973 489 94.7
1972 478 92.4
1971 467 90.1
1970 456 87.8
1969 444 85.5
1968 432 83.3
1967 421 81.1
1966 409 78.9
1965 397 76.8
1964 387 74.8
1963 376 73
1962 366 71.1
1961 357 69.2

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (2025–2026, retrieved 2026-03-10).

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

From 2006 to 2026, population density in El Salvador increased by 6.51%, compared to a 26% growth in Morocco.

In 2006, El Salvador ranked 29th by population density and is 33rd now. Morocco was 105th in 2006 and ranks 102nd out of 197 currently.

Share of urban population by year

El Salvador
Morocco
1x
Year Urban population
El Salvador Morocco
2024 75.1% 62.8%
2023 74.6% 62.7%
2022 74.1% 62.5%
2021 73.7% 62.3%
2020 73.1% 62.1%
2019 72.4% 61.8%
2018 71.8% 61.6%
2017 71.1% 61.3%
2016 70.4% 61%
2015 69.7% 60.6%
2014 68.9% 60.3%
2013 68.1% 59.9%
2012 67.2% 59.4%
2011 66.3% 58.9%
2010 65.4% 58.3%
2009 64.5% 57.7%
2008 63.6% 57.1%
2007 62.8% 56.5%
2006 61.9% 56%
2005 61% 55.4%
2004 60.1% 55%
2003 59.2% 54.6%
2002 58.3% 54.2%
2001 57.5% 53.9%
2000 56.6% 53.6%
1999 55.7% 53.3%
1998 54.8% 53%
1997 54% 52.6%
1996 53.2% 52.2%
1995 52.4% 51.8%
1994 51.7% 51.2%
1993 50.9% 50.4%
1992 50.3% 49.8%
1991 49.6% 49.2%
1990 49% 48.4%
1989 48.3% 47.7%
1988 47.7% 46.9%
1987 47% 46.2%
1986 46.4% 45.4%
1985 45.7% 44.7%
1984 45.1% 44%
1983 44.5% 43.3%
1982 43.9% 42.6%
1981 43.4% 41.8%
1980 42.8% 41.1%
1979 42.3% 40.4%
1978 41.8% 39.7%
1977 41.4% 39%
1976 41% 38.3%
1975 40.6% 37.6%
1974 40.2% 37%
1973 40% 36.3%
1972 39.7% 35.7%
1971 39.5% 35%
1970 39.4% 34.5%
1969 39.3% 33.9%
1968 39.2% 33.3%
1967 39.1% 32.8%
1966 39% 32.2%
1965 38.9% 31.7%
1964 38.8% 31.2%
1963 38.7% 30.7%
1962 38.6% 30.2%
1961 38.5% 29.7%
1960 38.4% 29.4%

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

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

From 2004 to 2024, the share of urban population changed from 60.1% to 75.1% in El Salvador and from 55% to 62.8% in Morocco.

Densely populated cities

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 density in other countries

1x

Data sources: World Bank | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06); United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10); U.S. Census Bureau (1961–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

GeoRank.org/population-density/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 | Agriculture & Rural Development (1961–2026, retrieved 2026-04-06)
  2. United Nations | World Population Prospects (1961–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1961–2025, retrieved 2026-02-08)
  4. Wikidata (2014–2024, 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.