Iraq vs Morocco

Iraq vs Morocco: Median age

Median age in 2023: 20.4 years in Iraq and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Morocco, by 8.8 years, or 1.43 times that in Iraq.

years · UN

Iraq vs Morocco: Median ageMedian age in 2023: 20.4 years in Iraq and 29.2 years in Morocco, by UN estimates. In 2023 the value was higher in Morocco, by 8.8 years, or 1.43 times that in Iraq.
IraqMoroccoUN projection (medium variant)95% prediction intervalWorld

What the numbers say

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

Every year

years · UN

YearIraqMoroccoWorld
202320.429.230.4
202220.128.930.1
202119.828.629.8
202019.628.229.6
201919.427.929.3
201819.127.529
201718.927.128.8
201618.726.828.5
201518.526.428.3
201418.426.128.1
201318.225.727.8
201218.125.427.6
2011182527.4
201017.924.727.2
200917.824.427
200817.72426.7
200717.623.726.5
200617.523.326.3
200517.42326.1
200417.322.625.9
200317.222.325.7
200217.12225.5
20011721.725.3
200016.921.425.1
199916.821.124.9
199816.720.824.7
199716.620.524.4
199616.520.224.2
199516.419.924
199416.419.623.8
199316.319.323.5
199216.21923.3
199116.118.723.1
19901618.422.9
198915.918.122.8
198815.817.922.6
198715.817.622.4
198615.717.422.2
198515.617.222
198415.51721.9
198315.516.921.8
198215.416.721.7
198115.416.621.6
198015.416.421.5
197915.316.321.3
197815.216.221.1
197715.31621
197615.615.920.8
197515.915.820.7
197416.415.720.5
197316.615.720.4
197216.815.620.4
197116.915.520.3
19701715.520.3
196917.115.520.3
196817.415.520.4
196717.615.520.5
196617.915.620.6
196518.215.620.8
196418.515.821
196318.81621.2
196219.116.321.4
196119.316.621.4
196019.416.921.5
195919.517.221.5
195819.417.521.5
195719.417.721.6
195619.417.921.7
195519.51821.8
195419.618.221.9
195319.918.222
195220.118.322.1
195120.318.322.1
195020.518.322.2
UN projection (medium variant) · 2024–2100
YearIraqMoroccoWorld
202420.620.6–20.629.529.5–29.630.6
202520.920.8–20.929.829.7–3030.9
202621.121.1–21.130.129.8–30.431.1
202721.421.3–21.430.530–30.931.3
202821.621.5–21.730.830.2–31.331.6
202921.921.7–22.131.130.4–31.731.8
203022.121.9–22.431.430.5–32.232
203122.422–22.831.730.7–32.632.2
203222.722.2–23.23230.9–3332.4
203322.922.4–23.732.331–33.532.6
203423.222.6–24.132.631.2–33.932.8
203523.522.8–24.532.831.3–34.333
203623.923–2533.131.5–34.733.2
203724.223.2–25.433.431.6–35.233.4
203824.523.4–25.933.731.8–35.633.6
203924.923.6–26.53432–3633.8
204025.223.8–2734.232.2–36.434
204125.523.9–27.534.532.4–36.834.2
204225.824–2834.832.6–37.234.4
204326.124.1–28.535.132.8–37.634.6
204426.424.2–2935.433.1–3834.8
204526.624.3–29.535.833.3–38.335
204626.824.4–29.936.133.5–38.735.2
204727.124.5–30.436.433.8–39.135.4
204827.324.6–30.836.834–39.535.6
204927.624.7–31.237.134.2–39.935.9
205027.824.8–31.637.434.4–40.336.1
20512825–3237.734.6–40.836.3
205228.325.2–32.438.134.8–41.236.5
205328.525.3–32.838.435–41.636.7
205428.825.5–33.138.735.2–4236.9
20552925.6–33.53935.4–42.437.1
205629.225.7–33.939.335.6–42.837.3
205729.525.9–34.339.635.8–43.237.5
205829.726.1–34.639.936–43.637.6
20593026.2–3540.236.1–4437.8
206030.226.4–35.340.536.3–44.437.9
206130.526.5–35.640.736.4–44.738
206230.726.6–35.94136.6–45.138.1
20633126.8–36.241.336.8–45.538.3
206431.226.9–36.541.536.9–45.938.4
206531.427.1–36.941.837.1–46.338.5
206631.727.2–37.14237.3–46.638.6
206731.927.3–37.442.337.4–4738.7
206832.227.5–37.842.537.6–47.438.8
206932.527.6–3842.737.8–47.838.9
207032.727.7–38.342.938–48.239
20713327.8–38.643.138.1–48.539.1
207233.227.9–38.843.338.3–48.939.2
207333.528–39.143.538.5–49.239.3
207433.728.1–39.443.738.6–49.639.4
20753428.2–39.743.938.8–49.839.5
207634.228.4–404438.9–50.139.6
207734.528.5–40.344.239.1–50.339.7
207834.728.6–40.544.439.3–50.539.8
207934.928.7–40.844.639.4–50.740
208035.228.8–41.144.739.6–50.940.1
208135.429–41.344.939.8–51.140.2
208235.629.1–41.545.139.9–51.340.3
208335.829.2–41.845.340.1–51.440.4
20843629.3–4245.540.2–51.640.5
208536.329.4–42.245.640.4–51.740.6
208636.529.5–42.345.840.5–51.940.7
208736.729.7–42.44640.7–5240.9
208836.929.8–42.646.240.8–52.141
208937.129.9–42.846.440.9–52.241.1
209037.330.1–42.946.541.1–52.341.2
209137.530.2–43.146.741.2–52.441.3
209237.630.3–43.246.941.3–52.641.4
209337.830.4–43.347.141.4–52.741.5
20943830.6–43.547.241.5–52.841.6
209538.230.7–43.647.441.7–52.941.7
209638.430.8–43.747.641.8–5341.8
209738.630.9–43.847.741.9–53.141.9
209838.731.1–43.847.942.1–53.242
209938.931.2–43.94842.2–53.342
210039.131.4–4448.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

Iraq vs Morocco

Health

People

Economy

Education

Politics

Conflict

Military

Climate

Technology and environment