Skip to content

Morocco Demographics: Median age, Gender, Religion

Updated on by Georank team

With a population of 38.1M people, Morocco has a median age of 30.5 years which makes it the 100/196 oldest country. 25.6% of the demographic are children 0-14 years old, 66.2% are working-age people aged 15-64, and 8.14% are older population aged 65+ years.

Morocco demographic data

Morocco World
Population
38697192
39/197
Median age 30.5 years 100/196
Average age 32.5 years 100/196
Age dependency ratio 51% 134/196
Young-age dependency ratio 38.7% 90/196
Old-age dependency ratio 12.3% 88/196
Male:Female ratio 50.4:49.6 N/A
Population density 85.3 ppl/mi² 103/197
Fertility rate 2.23 87/196
Life expectancy 75.7 years 84/197

Median age history and projection chart in
Morocco vs World

Morocco
Factual

UN forecast
World
Factual

UN forecast
Year Median age
Morocco World
1960 17.9 22.5
1961 17.6 22.5
1962 17.4 22.4
1963 17.2 22.2
1964 17 22
1965 16.9 21.8
1966 16.8 21.7
1967 16.7 21.6
1968 16.6 21.5
1969 16.6 21.5
1970 16.6 21.4
1971 16.7 21.4
1972 16.7 21.5
1973 16.8 21.5
1974 16.9 21.6
1975 16.9 21.7
1976 17.1 21.9
1977 17.2 22
1978 17.3 22.2
1979 17.4 22.3
1980 17.6 22.5
1981 17.7 22.6
1982 17.8 22.7
1983 18 22.9
1984 18.1 23
1985 18.3 23.2
1986 18.5 23.3
1987 18.7 23.4
1988 18.9 23.6
1989 19.2 23.8
1990 19.4 23.9
1991 19.7 24.1
1992 20 24.3
1993 20.3 24.5
1994 20.6 24.7
1995 21 25
1996 21.3 25.2
1997 21.6 25.4
1998 21.9 25.7
1999 22.2 25.9
2000 22.5 26.1
2001 22.8 26.3
2002 23.1 26.5
2003 23.4 26.7
2004 23.7 27
2005 24 27.2
2006 24.3 27.4
2007 24.7 27.6
2008 25 27.8
2009 25.4 28
2010 25.7 28.2
2011 26.1 28.4
2012 26.4 28.6
2013 26.7 28.9
2014 27.1 29.1
2015 27.5 29.3
2016 27.8 29.5
2017 28.2 29.8
2018 28.5 30
2019 28.9 30.3
2020 29.2 30.6
2021 29.5 30.8
2022 29.9 31
2023 30.2 31.3
2024 30.5 31.6
2025 30.8 31.9
2026 31.1 32.1
2027 31.4 32.3
2028 31.8 32.6
2029 32.1 32.8
2030 32.4 33
2031 32.7 33.2
2032 33 33.4
2033 33.3 33.6
2034 33.6 33.8
2035 33.8 34
2036 34.1 34.2
2037 34.4 34.4
2038 34.7 34.6
2039 34.9 34.8
2040 35.2 35
2041 35.5 35.2
2042 35.8 35.4
2043 36.1 35.6
2044 36.4 35.8
2045 36.8 36
2046 37.1 36.2
2047 37.4 36.4
2048 37.7 36.6
2049 38.1 36.8
2050 38.4 37.1

In 1960, the median age in Morocco was 17.9 years compared to the world's average of 22.5 years. As of 2024, the median age had increased to 30.5 years compared to the world's average of 31.6 years. Ranked 150th for median age 64 years ago (old to young), Morocco ranks 100th currently.

According to the United Nations projections, the median age in Morocco is expected to increase to around 38.4 years by 2050. The aging demographics forecast is based on previous years' birth rates and increasing life expectancy.

Morocco demographic pyramid: age and gender distribution

Morocco
Male

Female
Age range Share of population
Morocco
Male Female
0-4 4.22% 4.04%
5-9 4.38% 4.17%
10-14 4.53% 4.29%
15-19 4.29% 4.09%
20-24 3.95% 3.75%
25-29 3.84% 3.67%
30-34 3.91% 3.74%
35-39 3.78% 3.7%
40-44 3.49% 3.46%
45-49 3.08% 3.1%
50-54 2.7% 2.71%
55-59 2.34% 2.42%
60-64 2.07% 2.14%
65-69 1.7% 1.7%
70-74 1.13% 1.19%
75-79 0.6% 0.74%
80+ 0.41% 0.66%

The chart above is a variation of the population pyramid and represents the age and gender structure. Morocco has low demographic potential with 56.9% of people in the 0-34 age group (ranked 97/196).

Age dependency chart

Morocco
Young

Old
World
Young

Old
Year Age dependency ratio
Morocco World
Total Young Old Total Young Old
1960 91.1% 85.7% 5.39% 73.5% 64.9% 8.62%
1961 93.2% 87.7% 5.5% 73.8% 65.1% 8.67%
1962 95.1% 89.5% 5.61% 74.1% 65.4% 8.73%
1963 96.8% 91.1% 5.72% 74.9% 66.1% 8.79%
1964 97.8% 92% 5.83% 75.5% 66.6% 8.85%
1965 98.5% 92.6% 5.94% 75.8% 66.8% 8.93%
1966 99.2% 93.2% 6.04% 75.9% 66.9% 9%
1967 99.7% 93.5% 6.14% 75.9% 66.8% 9.07%
1968 99.9% 93.7% 6.21% 75.8% 66.6% 9.14%
1969 99.8% 93.5% 6.26% 75.7% 66.5% 9.2%
1970 99.5% 93.2% 6.27% 75.5% 66.2% 9.26%
1971 98.9% 92.7% 6.25% 75.2% 65.9% 9.33%
1972 98.3% 92.1% 6.21% 74.9% 65.6% 9.39%
1973 97.5% 91.4% 6.14% 74.6% 65.1% 9.46%
1974 96.6% 90.6% 6.04% 74.4% 64.9% 9.54%
1975 95.5% 89.6% 5.92% 74.2% 64.6% 9.64%
1976 94.3% 88.5% 5.77% 74% 64.3% 9.72%
1977 92.9% 87.3% 5.6% 73.5% 63.7% 9.79%
1978 91.4% 86% 5.43% 72.4% 62.5% 9.84%
1979 90% 84.7% 5.27% 71.3% 61.4% 9.88%
1980 88.7% 83.5% 5.13% 70.4% 60.5% 9.89%
1981 87.5% 82.4% 5.01% 69.5% 59.6% 9.85%
1982 86.3% 81.4% 4.92% 68.7% 58.9% 9.79%
1983 85.2% 80.4% 4.85% 67.9% 58.1% 9.72%
1984 84.1% 79.3% 4.82% 67% 57.3% 9.68%
1985 82.9% 78.1% 4.83% 66.3% 56.6% 9.68%
1986 81.7% 76.8% 4.88% 65.7% 55.9% 9.71%
1987 80.4% 75.4% 4.97% 65.2% 55.4% 9.75%
1988 79% 73.9% 5.08% 64.8% 54.9% 9.81%
1989 77.6% 72.4% 5.22% 64.4% 54.5% 9.89%
1990 76.2% 70.8% 5.38% 64.2% 54.3% 9.97%
1991 74.8% 69.2% 5.56% 64% 53.9% 10.1%
1992 73.4% 67.6% 5.75% 63.7% 53.6% 10.2%
1993 71.9% 66% 5.96% 63.5% 53.2% 10.3%
1994 70.4% 64.2% 6.16% 63.1% 52.7% 10.4%
1995 68.8% 62.5% 6.34% 62.7% 52.2% 10.5%
1996 67.4% 60.9% 6.51% 62.1% 51.5% 10.6%
1997 66% 59.4% 6.66% 61.5% 50.8% 10.7%
1998 64.7% 57.9% 6.8% 60.7% 50% 10.7%
1999 63.4% 56.5% 6.92% 60% 49.2% 10.8%
2000 62.2% 55.2% 7.01% 59.3% 48.4% 10.9%
2001 61% 53.9% 7.1% 58.5% 47.6% 11%
2002 59.9% 52.7% 7.19% 57.8% 46.7% 11.1%
2003 58.7% 51.4% 7.28% 57% 45.9% 11.1%
2004 57.4% 50.1% 7.35% 56.3% 45.1% 11.2%
2005 56.2% 48.8% 7.39% 55.6% 44.3% 11.3%
2006 55.1% 47.6% 7.46% 55% 43.6% 11.4%
2007 54.2% 46.6% 7.57% 54.5% 43.1% 11.4%
2008 53.4% 45.7% 7.67% 54.1% 42.6% 11.5%
2009 52.8% 45% 7.76% 53.8% 42.2% 11.6%
2010 52.4% 44.5% 7.87% 53.5% 41.9% 11.6%
2011 52.1% 44.1% 8% 53.4% 41.6% 11.8%
2012 51.8% 43.6% 8.16% 53.3% 41.4% 11.9%
2013 51.5% 43.2% 8.33% 53.4% 41.2% 12.1%
2014 51.3% 42.8% 8.53% 53.5% 41.1% 12.4%
2015 51.2% 42.4% 8.77% 53.6% 40.9% 12.7%
2016 51.1% 42.1% 9.06% 53.7% 40.7% 13%
2017 51.2% 41.8% 9.39% 53.9% 40.6% 13.3%
2018 51.3% 41.5% 9.77% 54.1% 40.4% 13.7%
2019 51.4% 41.2% 10.2% 54.2% 40.1% 14%
2020 51.4% 40.9% 10.6% 54.2% 39.8% 14.4%
2021 51.4% 40.5% 10.9% 54.2% 39.5% 14.7%
2022 51.3% 40% 11.4% 54% 39% 15%
2023 51.2% 39.4% 11.8% 53.9% 38.5% 15.4%
2024 51% 38.7% 12.3% 53.7% 38% 15.7%

Age dependency is the ratio of people not in the labor force (children under 15 and adults 64+) to people aged 15 to 64. Age dependency in Morocco decreased from 57.4% to 51% between 2004 and 2024 with a decreased share of children and an increased proportion of people aged 65+

Morocco working age demographic chart

Morocco
Factual

UN forecast
World
Factual

UN forecast
Year Working age population share
Morocco World
1960 52.3% 57.6%
1961 51.8% 57.5%
1962 51.3% 57.4%
1963 50.8% 57.2%
1964 50.5% 57%
1965 50.4% 56.9%
1966 50.2% 56.8%
1967 50.1% 56.9%
1968 50% 56.9%
1969 50.1% 56.9%
1970 50.1% 57%
1971 50.3% 57.1%
1972 50.4% 57.2%
1973 50.6% 57.3%
1974 50.9% 57.3%
1975 51.1% 57.4%
1976 51.5% 57.5%
1977 51.8% 57.7%
1978 52.2% 58%
1979 52.6% 58.4%
1980 53% 58.7%
1981 53.3% 59%
1982 53.7% 59.3%
1983 54% 59.6%
1984 54.3% 59.9%
1985 54.7% 60.1%
1986 55% 60.4%
1987 55.4% 60.5%
1988 55.9% 60.7%
1989 56.3% 60.8%
1990 56.8% 60.9%
1991 57.2% 61%
1992 57.7% 61.1%
1993 58.2% 61.2%
1994 58.7% 61.3%
1995 59.2% 61.5%
1996 59.7% 61.7%
1997 60.2% 61.9%
1998 60.7% 62.2%
1999 61.2% 62.5%
2000 61.6% 62.8%
2001 62.1% 63.1%
2002 62.6% 63.4%
2003 63% 63.7%
2004 63.5% 64%
2005 64% 64.3%
2006 64.5% 64.5%
2007 64.9% 64.7%
2008 65.2% 64.9%
2009 65.4% 65%
2010 65.6% 65.1%
2011 65.8% 65.2%
2012 65.9% 65.2%
2013 66% 65.2%
2014 66.1% 65.2%
2015 66.1% 65.1%
2016 66.2% 65.1%
2017 66.2% 65%
2018 66.1% 64.9%
2019 66% 64.9%
2020 66% 64.8%
2021 66.1% 64.9%
2022 66.1% 64.9%
2023 66.1% 65%
2024 66.2% 65.1%
2025 66.4% 65.2%
2026 66.5% 65.3%
2027 66.6% 65.4%
2028 66.7% 65.4%
2029 66.7% 65.4%
2030 66.8% 65.4%
2031 66.8% 65.4%
2032 66.9% 65.4%
2033 66.9% 65.4%
2034 67% 65.3%
2035 67% 65.2%
2036 67% 65%
2037 67% 64.9%
2038 66.9% 64.7%
2039 66.8% 64.6%
2040 66.7% 64.5%
2041 66.6% 64.4%
2042 66.4% 64.3%
2043 66.2% 64.2%
2044 66.1% 64.1%
2045 65.9% 63.9%
2046 65.7% 63.8%
2047 65.4% 63.7%
2048 65.2% 63.6%
2049 65% 63.4%
2050 64.7% 63.3%

The share of working-age demographics aged 15-64 in Morocco changed from 63.5% to 66.2% between 2004 and 2024.

Share of young population (0-14 years)

Morocco
Factual

UN forecast
World
Factual

UN forecast
Year Share of population 0-14 years old
Morocco World
1960 44.9% 37.4%
1961 45.4% 37.5%
1962 45.9% 37.6%
1963 46.3% 37.8%
1964 46.5% 38%
1965 46.6% 38%
1966 46.8% 38%
1967 46.8% 38%
1968 46.9% 37.9%
1969 46.8% 37.8%
1970 46.7% 37.7%
1971 46.6% 37.6%
1972 46.4% 37.5%
1973 46.3% 37.3%
1974 46.1% 37.2%
1975 45.8% 37.1%
1976 45.6% 36.9%
1977 45.3% 36.7%
1978 44.9% 36.3%
1979 44.6% 35.9%
1980 44.3% 35.5%
1981 44% 35.2%
1982 43.7% 34.9%
1983 43.4% 34.6%
1984 43.1% 34.3%
1985 42.7% 34%
1986 42.3% 33.8%
1987 41.8% 33.6%
1988 41.3% 33.4%
1989 40.8% 33.2%
1990 40.2% 33%
1991 39.6% 32.9%
1992 39% 32.7%
1993 38.4% 32.5%
1994 37.7% 32.3%
1995 37% 32.1%
1996 36.4% 31.8%
1997 35.8% 31.5%
1998 35.2% 31.1%
1999 34.6% 30.8%
2000 34% 30.4%
2001 33.5% 30%
2002 32.9% 29.6%
2003 32.4% 29.2%
2004 31.8% 28.8%
2005 31.2% 28.5%
2006 30.7% 28.1%
2007 30.2% 27.9%
2008 29.8% 27.6%
2009 29.5% 27.5%
2010 29.2% 27.3%
2011 29% 27.1%
2012 28.7% 27%
2013 28.5% 26.9%
2014 28.3% 26.8%
2015 28.1% 26.6%
2016 27.8% 26.5%
2017 27.6% 26.4%
2018 27.4% 26.2%
2019 27.2% 26%
2020 27% 25.8%
2021 26.7% 25.6%
2022 26.4% 25.3%
2023 26% 25%
2024 25.6% 24.7%
2025 25.2% 24.4%
2026 24.8% 24.1%
2027 24.3% 23.8%
2028 23.9% 23.4%
2029 23.6% 23.1%
2030 23.2% 22.8%
2031 22.9% 22.6%
2032 22.5% 22.3%
2033 22.2% 22.1%
2034 21.9% 21.9%
2035 21.6% 21.7%
2036 21.3% 21.6%
2037 21.1% 21.5%
2038 20.8% 21.4%
2039 20.6% 21.3%
2040 20.4% 21.2%
2041 20.2% 21.1%
2042 20.1% 21%
2043 19.9% 21%
2044 19.7% 20.9%
2045 19.6% 20.8%
2046 19.4% 20.7%
2047 19.3% 20.7%
2048 19.1% 20.6%
2049 19% 20.5%
2050 18.8% 20.4%

The share of children aged 0-14 in Morocco decreased from 31.8% to 25.6% between 2004 and 2024 due to changes in birth rates.

Share of old population (65+)

Morocco
Factual

UN forecast
World
Factual

UN forecast
Year Share of population 65+ years old
Morocco World
1960 2.82% 4.97%
1961 2.85% 4.99%
1962 2.87% 5.01%
1963 2.91% 5.02%
1964 2.95% 5.04%
1965 2.99% 5.08%
1966 3.03% 5.12%
1967 3.07% 5.16%
1968 3.11% 5.2%
1969 3.13% 5.24%
1970 3.14% 5.28%
1971 3.14% 5.32%
1972 3.13% 5.37%
1973 3.11% 5.42%
1974 3.07% 5.47%
1975 3.03% 5.53%
1976 2.97% 5.59%
1977 2.9% 5.65%
1978 2.84% 5.71%
1979 2.77% 5.77%
1980 2.72% 5.81%
1981 2.67% 5.81%
1982 2.64% 5.8%
1983 2.62% 5.79%
1984 2.62% 5.8%
1985 2.64% 5.82%
1986 2.69% 5.86%
1987 2.76% 5.91%
1988 2.84% 5.95%
1989 2.94% 6.01%
1990 3.05% 6.07%
1991 3.18% 6.14%
1992 3.32% 6.21%
1993 3.47% 6.29%
1994 3.61% 6.37%
1995 3.75% 6.45%
1996 3.89% 6.53%
1997 4.01% 6.61%
1998 4.13% 6.68%
1999 4.23% 6.76%
2000 4.32% 6.84%
2001 4.41% 6.92%
2002 4.5% 7.01%
2003 4.59% 7.1%
2004 4.67% 7.18%
2005 4.73% 7.26%
2006 4.81% 7.34%
2007 4.91% 7.41%
2008 5% 7.47%
2009 5.08% 7.52%
2010 5.16% 7.58%
2011 5.26% 7.66%
2012 5.37% 7.78%
2013 5.5% 7.92%
2014 5.64% 8.08%
2015 5.8% 8.26%
2016 6% 8.45%
2017 6.22% 8.65%
2018 6.46% 8.88%
2019 6.72% 9.1%
2020 6.97% 9.33%
2021 7.22% 9.53%
2022 7.51% 9.74%
2023 7.83% 9.98%
2024 8.14% 10.2%
2025 8.45% 10.4%
2026 8.77% 10.6%
2027 9.09% 10.8%
2028 9.41% 11.1%
2029 9.71% 11.5%
2030 10% 11.7%
2031 10.3% 12%
2032 10.6% 12.3%
2033 10.9% 12.6%
2034 11.1% 12.8%
2035 11.4% 13.1%
2036 11.7% 13.4%
2037 12% 13.7%
2038 12.3% 13.9%
2039 12.6% 14.1%
2040 12.9% 14.3%
2041 13.2% 14.5%
2042 13.5% 14.7%
2043 13.9% 14.9%
2044 14.2% 15%
2045 14.5% 15.2%
2046 14.9% 15.4%
2047 15.3% 15.7%
2048 15.6% 15.9%
2049 16% 16.1%
2050 16.4% 16.3%

The share of older people aged 65 and over in Morocco increased from 4.67% to 8.14% between 2004 and 2024 due to changes in life expectancy.

Religion demographics

Morocco
Religion Share of population
Islam 99.7%
Atheism 0.13%
Christianity 0.09%
Judaism 0.006%
All other 0.1%

Median age map

Median age

Demographics comparisons

Demographics vs Morocco
Afghanistan Compare
Albania Compare
Algeria Compare
Andorra Compare
Angola Compare
Antigua Compare
Argentina Compare
Armenia Compare
Australia Compare
Austria Compare
Azerbaijan Compare
Bahamas Compare
Bahrain Compare
Bangladesh Compare
Barbados Compare
Belarus Compare
Belgium Compare
Belize Compare
Benin Compare
Bhutan Compare
Bolivia Compare
Bosnia Compare
Botswana Compare
Brazil Compare
Brunei Compare
Bulgaria Compare
Burkina Faso Compare
Burundi Compare
Cambodia Compare
Cameroon Compare
Canada Compare
Cape Verde Compare
Cayman Islands Compare
CAR Compare
Chad Compare
Chile Compare
China Compare
Colombia Compare
Comoros Compare
Congo Compare
Costa Rica Compare
Croatia Compare
Cuba Compare
Curacao Compare
Cyprus Compare
Czech Republic Compare
DR Congo Compare
Denmark Compare
Djibouti Compare
Dominica Compare
Dominican Republic Compare
East Timor Compare
Ecuador Compare
Egypt Compare
El Salvador Compare
Equatorial Guinea Compare
Eritrea Compare
Estonia Compare
Eswatini Compare
Ethiopia Compare
Fiji Compare
Finland Compare
France Compare
Gabon Compare
Gambia Compare
Georgia Compare
Germany Compare
Ghana Compare
Greece Compare
Grenada Compare
Guatemala Compare
Guinea Compare
Guinea-Bissau Compare
Guyana Compare
Haiti Compare
Honduras Compare
Hungary Compare
Iceland Compare
India Compare
Indonesia Compare
Iran Compare
Iraq Compare
Ireland Compare
Israel Compare
Italy Compare
Ivory Coast Compare
Jamaica Compare
Japan Compare
Jordan Compare
Kazakhstan Compare
Kenya Compare
Kiribati Compare
Kuwait Compare
Kyrgyzstan Compare
Laos Compare
Latvia Compare
Lebanon Compare
Lesotho Compare
Liberia Compare
Libya Compare
Liechtenstein Compare
Lithuania Compare
Luxembourg Compare
Madagascar Compare
Malawi Compare
Malaysia Compare
Maldives Compare
Mali Compare
Malta Compare
Marshall Islands Compare
Mauritania Compare
Mauritius Compare
Mexico Compare
Moldova Compare
Monaco Compare
Mongolia Compare
Montenegro Compare
Mozambique Compare
Myanmar Compare
Namibia Compare
Nauru Compare
Nepal Compare
Netherlands Compare
New Zealand Compare
Nicaragua Compare
Niger Compare
Nigeria Compare
North Korea Compare
North Macedonia Compare
Norway Compare
Oman Compare
Pakistan Compare
Palau Compare
Palestine Compare
Panama Compare
Papua New Guinea Compare
Paraguay Compare
Peru Compare
Philippines Compare
Poland Compare
Portugal Compare
Qatar Compare
Romania Compare
Russia Compare
Rwanda Compare
Saint Kitts Compare
Saint Lucia Compare
Saint Vincent Compare
Samoa Compare
San Marino Compare
Sao Tome Compare
Saudi Arabia Compare
Senegal Compare
Serbia Compare
Seychelles Compare
Sierra Leone Compare
Singapore Compare
Slovakia Compare
Slovenia Compare
Solomon Islands Compare
Somalia Compare
South Africa Compare
South Korea Compare
South Sudan Compare
Spain Compare
Sri Lanka Compare
Sudan Compare
Suriname Compare
Sweden Compare
Switzerland Compare
Syria Compare
Taiwan Compare
Tajikistan Compare
Tanzania Compare
Thailand Compare
Togo Compare
Tonga Compare
Trinidad Compare
Tunisia Compare
Turkey Compare
Turkmenistan Compare
Tuvalu Compare
Uganda Compare
Ukraine Compare
UAE Compare
United Kingdom Compare
United States Compare
Uruguay Compare
Uzbekistan Compare
Vanuatu Compare
Venezuela Compare
Vietnam Compare
Yemen Compare
Zambia Compare
Zimbabwe Compare