Iran vs Morocco

Iran vs Morocco: Median age

Median age in 2023: 32.9 years in Iran and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Iran, by 3.7 years, or 1.13 times that in Morocco.

years · UN

Iran vs Morocco: Median ageMedian age in 2023: 32.9 years in Iran and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Iran, by 3.7 years, or 1.13 times that in Morocco.
IranMoroccoUN projection (medium variant)95% prediction intervalWorld

What the numbers say

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

Every year

years · UN

YearIranMoroccoWorld
202332.929.230.4
202232.328.930.1
202131.828.629.8
202031.328.229.6
201930.827.929.3
201830.327.529
201729.727.128.8
201629.226.828.5
201528.726.428.3
201428.226.128.1
201327.725.727.8
201227.225.427.6
201126.62527.4
201026.124.727.2
200925.524.427
2008252426.7
200724.423.726.5
200623.823.326.3
200523.22326.1
200422.622.625.9
20032222.325.7
200221.42225.5
200120.821.725.3
200020.221.425.1
199919.621.124.9
19981920.824.7
199718.420.524.4
199617.920.224.2
199517.519.924
199417.119.623.8
199317.119.323.5
199217.31923.3
199117.218.723.1
199017.218.422.9
198917.118.122.8
198817.117.922.6
198717.217.622.4
198617.217.422.2
198517.217.222
198417.31721.9
198317.416.921.8
198217.516.721.7
198117.416.621.6
198017.216.421.5
197917.216.321.3
197817.216.221.1
197717.21621
197617.115.920.8
19751715.820.7
197416.915.720.5
197316.815.720.4
197216.715.620.4
197116.615.520.3
197016.515.520.3
196916.515.520.3
196816.415.520.4
196716.415.520.5
196616.515.620.6
196516.615.620.8
196416.815.821
1963171621.2
196217.316.321.4
196117.616.621.4
19601816.921.5
195918.417.221.5
195818.817.521.5
195719.217.721.6
195619.517.921.7
195519.71821.8
195419.918.221.9
195320.118.222
195220.318.322.1
195120.518.322.1
195020.718.322.2
UN projection (medium variant) · 2024–2100
YearIranMoroccoWorld
202433.433.3–33.529.529.5–29.630.6
20253433.7–34.229.829.7–3030.9
202634.534.1–3530.129.8–30.431.1
202735.134.5–35.730.530–30.931.3
202835.635–36.430.830.2–31.331.6
202936.235.3–37.131.130.4–31.731.8
203036.735.7–37.831.430.5–32.232
203137.236.1–38.531.730.7–32.632.2
203237.736.4–39.23230.9–3332.4
203338.236.7–39.932.331–33.532.6
203438.637–40.532.631.2–33.932.8
20353937.3–41.132.831.3–34.333
203639.437.5–41.733.131.5–34.733.2
203739.837.7–42.433.431.6–35.233.4
203840.238–4333.731.8–35.633.6
203940.538.2–43.53432–3633.8
204040.838.4–44.134.232.2–36.434
204141.138.6–44.534.532.4–36.834.2
204241.438.7–4534.832.6–37.234.4
204341.739–45.535.132.8–37.634.6
204441.939.2–45.935.433.1–3834.8
204542.239.4–46.335.833.3–38.335
204642.439.6–46.736.133.5–38.735.2
204742.739.9–47.136.433.8–39.135.4
204842.940.1–47.436.834–39.535.6
204943.240.4–47.737.134.2–39.935.9
205043.540.6–48.137.434.4–40.336.1
205143.740.9–48.437.734.6–40.836.3
20524441.2–48.738.134.8–41.236.5
205344.341.5–4938.435–41.636.7
205444.641.9–49.238.735.2–4236.9
205544.942.2–49.53935.4–42.437.1
205645.242.4–49.739.335.6–42.837.3
205745.542.7–5039.635.8–43.237.5
205845.943–50.439.936–43.637.6
205946.243.4–50.640.236.1–4437.8
206046.543.7–50.940.536.3–44.437.9
206146.944–51.240.736.4–44.738
206247.244.4–51.54136.6–45.138.1
206347.644.7–51.841.336.8–45.538.3
206447.945–52.141.536.9–45.938.4
206548.345.2–52.341.837.1–46.338.5
206648.645.3–52.64237.3–46.638.6
20674945.5–5342.337.4–4738.7
206849.345.6–53.442.537.6–47.438.8
206949.545.7–53.742.737.8–47.838.9
207049.745.7–54.142.938–48.239
207149.945.8–54.543.138.1–48.539.1
20725045.8–54.943.338.3–48.939.2
207350.145.8–55.343.538.5–49.239.3
207450.245.8–55.643.738.6–49.639.4
207550.245.8–5643.938.8–49.839.5
207650.345.8–56.34438.9–50.139.6
207750.345.8–56.644.239.1–50.339.7
207850.345.7–56.944.439.3–50.539.8
207950.345.7–57.244.639.4–50.740
208050.345.7–57.444.739.6–50.940.1
208150.345.7–57.744.939.8–51.140.2
208250.245.7–5845.139.9–51.340.3
208350.245.6–58.245.340.1–51.440.4
208450.245.7–58.545.540.2–51.640.5
208550.245.7–58.745.640.4–51.740.6
208650.345.7–58.845.840.5–51.940.7
208750.345.7–594640.7–5240.9
208850.445.7–59.246.240.8–52.141
208950.545.7–59.346.440.9–52.241.1
209050.645.8–59.446.541.1–52.341.2
209150.745.9–59.546.741.2–52.441.3
209250.845.9–59.546.941.3–52.641.4
209350.946–59.547.141.4–52.741.5
209451.146–59.447.241.5–52.841.6
209551.246–59.447.441.7–52.941.7
209651.446.1–59.547.641.8–5341.8
209751.546.1–59.647.741.9–53.141.9
209851.646.1–59.647.942.1–53.242
209951.846.2–59.74842.2–53.342
210051.946.2–59.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

Iran vs Morocco

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment