Median age of the population, in years. Source: UN World Population Prospects. Retrieved 7 Mar 2026.
| Period | Median Age |
|---|---|
| 2026 | 30.1 years |
| 2025 | 29.8 years |
| 2024 | 29.5 years |
| 2023 | 29.2 years |
| 2022 | 28.9 years |
| 2021 | 28.5 years |
| 2020 | 28.2 years |
| 2019 | 27.9 years |
| 2018 | 27.5 years |
| 2017 | 27.1 years |
| 2016 | 26.8 years |
| 2015 | 26.4 years |
54 countries carry a recent median age figure. Each opens its own page with the history, the source and the API request.
165 of 207 indicators carry a figure for Morocco, grouped by topic.