Morocco vs Western Sahara

Morocco vs Western Sahara: Median age

Median age in 2023: 29.2 years in Morocco and 32 years in Western Sahara, by UN estimates. In 2023 the value was higher in Western Sahara, by 2.8 years, or 1.1 times that in Morocco.

years · UN

Morocco vs Western Sahara: Median ageMedian age in 2023: 29.2 years in Morocco and 32 years in Western Sahara, by UN estimates. In 2023 the value was higher in Western Sahara, by 2.8 years, or 1.1 times that in Morocco.
MoroccoWestern SaharaUN projection (medium variant)95% prediction intervalWorld

What the numbers say

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

Every year

years · UN

YearMoroccoWestern SaharaWorld
202329.23230.4
202228.931.730.1
202128.631.329.8
202028.230.929.6
201927.930.629.3
201827.530.229
201727.129.828.8
201626.829.428.5
201526.42928.3
201426.128.628.1
201325.728.227.8
201225.427.827.6
20112527.427.4
201024.726.927.2
200924.426.527
2008242626.7
200723.725.526.5
200623.32526.3
20052324.526.1
200422.623.925.9
200322.323.425.7
20022222.825.5
200121.722.325.3
200021.421.825.1
199921.121.224.9
199820.820.724.7
199720.520.124.4
199620.219.424.2
199519.918.824
199419.618.423.8
199319.318.523.5
19921918.623.3
199118.718.723.1
199018.418.922.9
198918.119.122.8
198817.919.422.6
198717.619.822.4
198617.420.222.2
198517.220.622
19841720.921.9
198316.921.221.8
198216.721.321.7
198116.621.421.6
198016.421.221.5
197916.320.621.3
197816.219.521.1
19771617.721
197615.916.520.8
197515.816.720.7
197415.716.620.5
197315.716.820.4
197215.617.420.4
197115.518.220.3
197015.520.320.3
196915.522.720.3
196815.522.520.4
196715.522.320.5
196615.622.320.6
196515.622.420.8
196415.822.521
19631622.621.2
196216.322.621.4
196116.622.621.4
196016.922.621.5
195917.222.521.5
195817.522.421.5
195717.722.221.6
195617.921.921.7
19551821.621.8
195418.221.221.9
195318.220.722
195218.320.122.1
195118.319.322.1
195018.318.322.2
UN projection (medium variant) · 2024–2100
YearMoroccoWestern SaharaWorld
202429.529.5–29.632.332.2–32.530.6
202529.829.7–3032.632.2–3330.9
202630.129.8–30.432.932.1–33.631.1
202730.530–30.933.131.9–34.231.3
202830.830.2–31.333.331.7–34.831.6
202931.130.4–31.733.531.5–35.431.8
203031.430.5–32.233.731.2–3632
203131.730.7–32.633.831–36.732.2
20323230.9–333430.7–37.432.4
203332.331–33.534.130.5–38.132.6
203432.631.2–33.934.330.3–38.832.8
203532.831.3–34.334.430.1–39.633
203633.131.5–34.734.529.9–40.433.2
203733.431.6–35.234.729.8–41.333.4
203833.731.8–35.634.829.7–42.133.6
20393432–3634.929.6–4333.8
204034.232.2–36.435.129.5–43.834
204134.532.4–36.835.229.4–44.734.2
204234.832.6–37.235.329.4–45.634.4
204335.132.8–37.635.529.4–46.534.6
204435.433.1–3835.629.2–47.434.8
204535.833.3–38.335.828.9–48.335
204636.133.5–38.735.928.5–49.235.2
204736.433.8–39.136.128.1–50.135.4
204836.834–39.536.227.8–5135.6
204937.134.2–39.936.427.6–51.835.9
205037.434.4–40.336.627.3–52.736.1
205137.734.6–40.836.827.1–53.536.3
205238.134.8–41.236.927–54.336.5
205338.435–41.637.126.9–5536.7
205438.735.2–4237.326.8–55.836.9
20553935.4–42.437.426.7–56.637.1
205639.335.6–42.837.626.7–57.237.3
205739.635.8–43.237.726.7–57.837.5
205839.936–43.637.926.8–58.437.6
205940.236.1–443827–5937.8
206040.536.3–44.438.227–59.537.9
206140.736.4–44.738.327.1–6038
20624136.6–45.138.427.2–60.538.1
206341.336.8–45.538.527.3–60.938.3
206441.536.9–45.938.727.4–61.438.4
206541.837.1–46.338.827.4–61.838.5
20664237.3–46.638.927.5–62.238.6
206742.337.4–473927.5–62.638.7
206842.537.6–47.43927.6–6338.8
206942.737.8–47.839.127.6–63.438.9
207042.938–48.239.227.6–63.839
207143.138.1–48.539.327.6–64.139.1
207243.338.3–48.939.427.6–64.339.2
207343.538.5–49.239.527.5–64.539.3
207443.738.6–49.639.627.5–64.539.4
207543.938.8–49.839.627.6–64.239.5
20764438.9–50.139.727.6–63.739.6
207744.239.1–50.339.827.6–6339.7
207844.439.3–50.539.927.7–62.139.8
207944.639.4–50.74027.8–6140
208044.739.6–50.940.127.9–59.740.1
208144.939.8–51.140.228–58.540.2
208245.139.9–51.340.428.1–57.240.3
208345.340.1–51.440.528.2–5640.4
208445.540.2–51.640.628.4–54.740.5
208545.640.4–51.740.828.4–53.440.6
208645.840.5–51.940.928.4–52.340.7
20874640.7–5241.128.5–51.340.9
208846.240.8–52.141.228.5–50.641
208946.440.9–52.241.428.6–50.241.1
209046.541.1–52.341.528.6–49.941.2
209146.741.2–52.441.728.7–5041.3
209246.941.3–52.641.828.9–50.341.4
209347.141.4–52.74229–50.741.5
209447.241.5–52.842.129.1–5141.6
209547.441.7–52.942.229.1–51.241.7
209647.641.8–5342.429.1–51.241.8
209747.741.9–53.142.529.4–51.241.9
209847.942.1–53.242.629.5–51.442
20994842.2–53.342.829.6–51.542
210048.142.3–53.442.929.8–51.642.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