Algeria vs Morocco

Algeria vs Morocco: Median age

Median age in 2023: 28.2 years in Algeria and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Morocco, by 1 years, or 1.04 times that in Algeria.

years · UN

Algeria vs Morocco: Median ageMedian age in 2023: 28.2 years in Algeria and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Morocco, by 1 years, or 1.04 times that in Algeria.
AlgeriaMoroccoUN projection (medium variant)95% prediction intervalWorld

What the numbers say

  • Morocco has been higher since 2017, when it overtook Algeria.
  • In 2023, Algeria ranked 140 and Morocco ranked 132 of 229 countries, counting from the highest.
  • The UN projection (medium variant) puts Algeria at 46.8 years and Morocco at 48.1 years in 2100.
  • The world as a whole: 30.4 years in 2023.

Every year

years · UN

YearAlgeriaMoroccoWorld
202328.229.230.4
20222828.930.1
202127.828.629.8
202027.628.229.6
201927.427.929.3
201827.227.529
20172727.128.8
201626.826.828.5
201526.626.428.3
201426.326.128.1
201326.125.727.8
201225.825.427.6
201125.52527.4
201025.124.727.2
200924.824.427
200824.42426.7
20072423.726.5
200623.623.326.3
200523.22326.1
200422.722.625.9
200322.222.325.7
200221.72225.5
200121.321.725.3
200020.821.425.1
199920.321.124.9
199819.820.824.7
199719.420.524.4
199619.120.224.2
199518.819.924
199418.519.623.8
199318.219.323.5
1992181923.3
199117.818.723.1
199017.518.422.9
198917.218.122.8
19881717.922.6
198716.717.622.4
198616.517.422.2
198516.317.222
198416.11721.9
19831616.921.8
198215.816.721.7
198115.616.621.6
198015.516.421.5
197915.416.321.3
197815.316.221.1
197715.21621
197615.215.920.8
197515.415.820.7
197415.415.720.5
197315.415.720.4
197215.415.620.4
197115.315.520.3
197015.315.520.3
196915.315.520.3
196815.315.520.4
196715.315.520.5
196615.415.620.6
196515.515.620.8
196415.615.821
196315.81621.2
196215.916.321.4
196116.116.621.4
196016.316.921.5
195916.617.221.5
195816.917.521.5
195717.217.721.6
195617.417.921.7
195517.71821.8
195417.918.221.9
19531818.222
195218.118.322.1
195118.218.322.1
195018.418.322.2
UN projection (medium variant) · 2024–2100
YearAlgeriaMoroccoWorld
202428.428.3–28.529.529.5–29.630.6
202528.628.2–2929.829.7–3030.9
202628.828.2–29.530.129.8–30.431.1
20272928.1–3030.530–30.931.3
202829.227.9–30.530.830.2–31.331.6
202929.327.8–3131.130.4–31.731.8
203029.527.7–31.431.430.5–32.232
203129.627.6–31.931.730.7–32.632.2
203229.827.7–32.33230.9–3332.4
203329.927.7–32.732.331–33.532.6
20343027.9–33.132.631.2–33.932.8
203530.228–33.532.831.3–34.333
203630.428.2–33.933.131.5–34.733.2
203730.628.4–34.233.431.6–35.233.4
203830.828.6–34.533.731.8–35.633.6
203931.128.8–34.83432–3633.8
204031.429–35.134.232.2–36.434
204131.629.2–35.434.532.4–36.834.2
204231.929.5–35.734.832.6–37.234.4
204332.229.8–3635.132.8–37.634.6
204432.530.1–36.335.433.1–3834.8
204532.830.4–36.635.833.3–38.335
204633.230.6–36.936.133.5–38.735.2
204733.530.9–37.236.433.8–39.135.4
204833.831.2–37.636.834–39.535.6
204934.231.5–37.937.134.2–39.935.9
205034.531.8–38.237.434.4–40.336.1
205134.932.1–38.637.734.6–40.836.3
205235.332.4–3938.134.8–41.236.5
205335.732.7–39.438.435–41.636.7
205436.133–39.938.735.2–4236.9
205536.433.2–40.33935.4–42.437.1
205636.833.5–40.739.335.6–42.837.3
205737.233.7–41.239.635.8–43.237.5
205837.633.9–41.639.936–43.637.6
205937.934.2–42.140.236.1–4437.8
206038.334.4–42.640.536.3–44.437.9
206138.634.7–43.140.736.4–44.738
206238.934.9–43.54136.6–45.138.1
206339.235–4441.336.8–45.538.3
206439.535.2–44.441.536.9–45.938.4
206539.835.3–44.941.837.1–46.338.5
20664035.4–45.34237.3–46.638.6
206740.335.5–45.842.337.4–4738.7
206840.535.6–46.242.537.6–47.438.8
206940.635.7–46.642.737.8–47.838.9
207040.835.8–46.942.938–48.239
20714135.9–47.343.138.1–48.539.1
207241.135.9–47.743.338.3–48.939.2
207341.236–4843.538.5–49.239.3
207441.336.2–48.343.738.6–49.639.4
207541.436.3–48.643.938.8–49.839.5
207641.536.5–48.94438.9–50.139.6
207741.636.6–49.244.239.1–50.339.7
207841.736.8–49.544.439.3–50.539.8
207941.936.9–49.744.639.4–50.740
20804237.1–49.944.739.6–50.940.1
208142.137.4–50.144.939.8–51.140.2
208242.337.6–50.345.139.9–51.340.3
208342.537.8–50.545.340.1–51.440.4
208442.738–50.645.540.2–51.640.5
208542.938.2–50.845.640.4–51.740.6
208643.238.4–5145.840.5–51.940.7
208743.438.7–51.24640.7–5240.9
208843.738.9–51.446.240.8–52.141
208943.939.1–51.746.440.9–52.241.1
209044.239.3–51.846.541.1–52.341.2
209144.539.5–5246.741.2–52.441.3
209244.839.6–52.246.941.3–52.641.4
20934539.8–52.347.141.4–52.741.5
209445.339.9–52.547.241.5–52.841.6
209545.640.1–52.747.441.7–52.941.7
209645.840.3–52.947.641.8–5341.8
209746.140.4–53.247.741.9–53.141.9
209846.340.5–53.447.942.1–53.242
209946.640.7–53.64842.2–53.342
210046.840.8–53.848.142.3–53.442.1

Each country on its own

Good to know

  • Half the people are older than this age and half are younger.
  • Source: UN DESA, World Population Prospects 2024.
  • The dashed line is the UN projection (medium variant), a scenario rather than a forecast; the band is its 95% prediction interval.
  • Ranks count the 229 countries with a value in 2023, highest first.
  • The faint line is the world as a whole, as the same source counts it.

How the layers work, where their data comes from and what they can’t tell you: Countries through time

Algeria vs Morocco

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment