Morocco vs Pakistan

Morocco vs Pakistan: Median age

Median age in 2023: 29.2 years in Morocco and 20.3 years in Pakistan, by UN estimates. In 2023 the value was higher in Morocco, by 8.9 years, or 1.44 times that in Pakistan.

years · UN

Morocco vs Pakistan: Median ageMedian age in 2023: 29.2 years in Morocco and 20.3 years in Pakistan, by UN estimates. In 2023 the value was higher in Morocco, by 8.9 years, or 1.44 times that in Pakistan.
MoroccoPakistanUN projection (medium variant)95% prediction intervalWorld

What the numbers say

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

Every year

years · UN

YearMoroccoPakistanWorld
202329.220.330.4
202228.920.230.1
202128.62029.8
202028.219.829.6
201927.919.729.3
201827.519.529
201727.119.428.8
201626.819.328.5
201526.419.228.3
201426.119.228.1
201325.719.127.8
201225.41927.6
20112518.927.4
201024.718.827.2
200924.418.627
20082418.426.7
200723.718.226.5
200623.31826.3
20052317.826.1
200422.617.625.9
200322.317.425.7
20022217.325.5
200121.717.225.3
200021.41725.1
199921.116.924.9
199820.816.824.7
199720.516.724.4
199620.216.724.2
199519.916.624
199419.616.623.8
199319.316.723.5
19921916.823.3
199118.716.923.1
199018.416.922.9
198918.116.922.8
198817.91722.6
198717.617.122.4
198617.417.122.2
198517.217.222
19841717.221.9
198316.917.321.8
198216.717.321.7
198116.617.221.6
198016.417.121.5
197916.316.921.3
197816.216.821.1
19771616.821
197615.916.820.8
197515.816.820.7
197415.716.820.5
197315.716.820.4
197215.616.920.4
197115.51720.3
197015.517.120.3
196915.517.220.3
196815.517.420.4
196715.517.620.5
196615.617.720.6
196515.617.820.8
196415.817.921
19631617.921.2
196216.31821.4
196116.61821.4
196016.918.121.5
195917.218.121.5
195817.51821.5
195717.71821.6
195617.91821.7
19551817.921.8
195418.217.821.9
195318.217.722
195218.317.622.1
195118.317.522.1
195018.317.322.2
UN projection (medium variant) · 2024–2100
YearMoroccoPakistanWorld
202429.529.5–29.620.420.4–20.530.6
202529.829.7–3020.620.5–20.730.9
202630.129.8–30.420.820.6–20.931.1
202730.530–30.920.920.7–21.131.3
202830.830.2–31.321.120.8–21.431.6
202931.130.4–31.721.321–21.631.8
203031.430.5–32.221.621.1–21.932
203131.730.7–32.621.821.3–22.332.2
20323230.9–3322.121.5–22.632.4
203332.331–33.522.321.6–22.932.6
203432.631.2–33.922.621.8–23.332.8
203532.831.3–34.322.821.9–23.733
203633.131.5–34.723.122.1–24.133.2
203733.431.6–35.223.322.2–24.533.4
203833.731.8–35.623.622.4–24.933.6
20393432–3623.822.5–25.333.8
204034.232.2–36.42422.5–25.634
204134.532.4–36.824.322.6–2634.2
204234.832.6–37.224.522.7–26.334.4
204335.132.8–37.624.722.8–26.734.6
204435.433.1–3824.922.9–27.134.8
204535.833.3–38.325.123–27.435
204636.133.5–38.725.423.1–27.835.2
204736.433.8–39.125.623.2–28.135.4
204836.834–39.525.823.3–28.535.6
204937.134.2–39.92623.4–28.835.9
205037.434.4–40.326.323.6–29.236.1
205137.734.6–40.826.523.7–29.636.3
205238.134.8–41.226.723.9–29.936.5
205338.435–41.626.924–30.336.7
205438.735.2–4227.224.1–30.636.9
20553935.4–42.427.424.3–3137.1
205639.335.6–42.827.624.4–31.437.3
205739.635.8–43.227.824.6–31.737.5
205839.936–43.628.124.7–32.137.6
205940.236.1–4428.324.9–32.437.8
206040.536.3–44.428.525–32.737.9
206140.736.4–44.728.825.2–3338
20624136.6–45.12925.4–33.338.1
206341.336.8–45.529.225.6–33.638.3
206441.536.9–45.929.525.7–33.938.4
206541.837.1–46.329.725.9–34.238.5
20664237.3–46.629.926–34.538.6
206742.337.4–4730.226.2–34.838.7
206842.537.6–47.430.426.3–3538.8
206942.737.8–47.830.726.5–35.338.9
207042.938–48.230.926.6–35.539
207143.138.1–48.531.226.7–35.839.1
207243.338.3–48.931.426.9–36.139.2
207343.538.5–49.231.627–36.439.3
207443.738.6–49.631.927.2–36.639.4
207543.938.8–49.832.127.3–36.939.5
20764438.9–50.132.327.4–37.139.6
207744.239.1–50.332.627.6–37.439.7
207844.439.3–50.532.827.7–37.739.8
207944.639.4–50.73327.9–3840
208044.739.6–50.933.228–38.340.1
208144.939.8–51.133.528.1–38.640.2
208245.139.9–51.333.728.2–38.940.3
208345.340.1–51.433.928.4–39.140.4
208445.540.2–51.634.128.5–39.440.5
208545.640.4–51.734.328.6–39.640.6
208645.840.5–51.934.528.8–39.840.7
20874640.7–5234.728.9–40.140.9
208846.240.8–52.134.929–40.341
208946.440.9–52.235.129.1–40.541.1
209046.541.1–52.335.329.3–40.741.2
209146.741.2–52.435.529.4–40.941.3
209246.941.3–52.635.729.5–41.141.4
209347.141.4–52.735.929.7–41.341.5
209447.241.5–52.836.129.8–41.441.6
209547.441.7–52.936.330–41.541.7
209647.641.8–5336.530.1–41.741.8
209747.741.9–53.136.730.3–41.841.9
209847.942.1–53.236.930.4–41.942
20994842.2–53.337.130.5–42.142
210048.142.3–53.437.330.6–42.342.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

Morocco vs Pakistan

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment