Morocco population 39,515,890 (live)

The population of Morocco is expected to grow by 375,000 in 2026 and reach 39,840,000 in 2027. Migration (including immigration and emigration) decreases population by 51,419 people yearly. The population density of Morocco has changed from 44.9 in 1980 to 86.7 in 2024.

Current population 39,515,890 people at present (Monday 9th of February 2026)
Median Age 33.5 years
Population density 88.5 per km2
Population of Morocco from 1960 to 2026 (historical)
Year Population Year change Migrants Median age Fertility rate Density (Ppl/km2) Urban population
2026 39,476,000 375,000 (1.0%) -51,419 33.5 89 25,783,000 (65.3%)
2025 39,101,000 386,000 (1.0%) -51,419 33.2 2.22 88 25,367,000 (64.9%)
2024 0 0 (0.0%) -51,419 32.9 87 24,945,000 (64.4%)
2023 0 0 (0.0%) -51,419 32.6 86 24,518,000 (64.0%)
2022 0 0 (0.0%) -51,419 32.4 85 24,086,000 (63.5%)
2021 0 0 (0.0%) -51,419 32.1 84 23,649,000 (63.1%)
2020 37,071,000 436,000 (1.2%) -51,419 31.8 2.35 83 23,207,000 (62.6%)
2019 0 0 (0.0%) -51,419 31.6 2.39 82 22,761,000 (62.1%)
2018 0 0 (0.0%) -51,419 31.3 2.42 81 22,313,000 (61.7%)
2017 0 0 (0.0%) -51,419 31.0 2.46 80 21,863,000 (61.2%)
2016 0 0 (0.0%) -51,419 30.8 2.49 79 21,407,718 (60.7%)
2015 34,803,322 485,240 (1.4%) -51,419 30.6 2.53 78 20,949,860 (60.2%)
2010 32,409,639 419,742 (1.3%) -61,422 29.5 2.58 73 18,695,176 (57.7%)
2005 30,521,070 341,785 (1.1%) -113,028 28.1 2.59 68 16,825,045 (55.1%)
2000 28,849,621 334,823 (1.2%) -130,964 26.6 2.78 65 15,386,945 (53.3%)
1995 27,075,232 408,184 (1.5%) -111,876 25.3 3.30 61 13,995,729 (51.7%)
1990 24,879,136 457,945 (1.8%) -93,325 24.1 4.06 56 12,039,263 (48.4%)
1985 22,537,376 499,766 (2.2%) -83,715 23.2 4.94 50 10,092,012 (44.8%)
1980 20,019,847 476,500 (2.4%) -64,132 22.8 5.68 45 8,250,179 (41.2%)
1975 17,803,698 386,734 (2.2%) -58,666 22.4 6.16 40 6,714,487 (37.7%)
1970 16,000,008 348,084 (2.2%) -99,535 22.1 6.65 36 5,516,323 (34.5%)
1965 14,229,044 371,902 (2.6%) -95,551 22.1 7.03 32 4,533,658 (31.9%)
1960 12,328,532 382,015 (3.0%) -48,184 22.4 7.04 28 3,619,287 (29.4%)

In 2025 the population of Morocco was 39,101,000 and the average age increased from 22.4 in 1960 to 33.2. Urban population has increased from 15,386,945 (53.3%) in 2000 to 25,783,000 (65.3%) in the current year. The population density of Morocco has changed from 44.9 in 1980 to 86.7 in 2024.

Estimated Population 2020-2050
Year Population Year change Migrants Median age Fertility rate Density (Ppl/km2) Urban population
2020 0 0 (0.0%) -51,419 31.8 2.35 83 23,207,000 (62.6%)
2025 0 0 (0.0%) -51,419 33.2 2.22 88 25,367,000 (64.9%)
2030 40,874,000 335,000 (0.8%) -51,419 34.7 2.12 92 27,386,000 (67.0%)
2035 42,407,000 288,000 (0.7%) -51,419 36.2 2.04 95 29,242,000 (69.0%)
2040 43,714,000 244,000 (0.6%) -51,419 37.5 1.97 98 30,910,000 (70.7%)
2045 44,798,000 199,000 (0.4%) -51,419 38.8 1.92 100 32,420,000 (72.4%)
2050 45,660,000 155,000 (0.3%) -51,419 40.0 1.88 102 33,774,000 (74.0%)

The life expectancy at birth should reach 82.5 (81.6 years for male and 83.5 years for females). Population density will go up to 102.3 people per square kilometer.

Morocco demographics 2025

The demographics of Morocco constitutes of 19,886,000 women and 19,590,000 men, which means there are 985 men per 1000 women. As far as age distribution goes, 33.0% of population (13,038,923) is 19 or younger, 57.2% of population (22,596,062) is between age 20 and 64 and 9.8% of population (3,848,910) is over 65.

Other countries
Sudan
Population:50,141,000
Tunisia
Population:12,523,000
Botswana
Population:2,653,000
Lesotho
Population:2,495,000
Namibia
Population:3,025,000
Republic of South Africa
Population:62,781,000
Swaziland
Population:1,578,000
Benin
Population:14,163,000