Countries by median age, July 1 estimate
Vatican City had the highest median age, July 1 estimate of 236 countries in 2021, at 60.21 years. The Central African Republic had the lowest, at 14.38 years. The median was 31.37 years. Source: United Nations, Department of Economic and Social Affairs, Population Division.
Top 40 countries, 2021
Full ranking
| Rank | Countries | 2021 | Change on 2020 |
|---|---|---|---|
| 1 | Vatican City Estimated | 60.21 | -0.13 |
| 2 | Monaco Estimated | 55.29 | +0.53 |
| 3 | Saint Helena Estimated | 49.87 | +0.56 |
| 4 | Japan Estimated | 48.12 | +0.45 |
| 5 | Martinique Estimated | 47.78 | +0.32 |
| 6 | Italy Estimated | 46.77 | +0.37 |
| 7 | San Marino Estimated | 46.31 | +0.48 |
| 8 | Saint Pierre and Miquelon Estimated | 45.62 | +0.33 |
| 9 | Portugal Estimated | 45.42 | +0.4 |
| 10 | Isle of Man Estimated | 45.32 | +0.2 |
| 11 | Hong Kong Estimated | 45.03 | +0.6 |
| 12 | Guadeloupe Estimated | 44.95 | +0.59 |
| 13 | Germany Estimated | 44.92 | +0.05 |
| 14 | Greece Estimated | 44.86 | +0.54 |
| 15 | Puerto Rico Estimated | 44.86 | +0.54 |
| 16 | U.S. Virgin Islands Estimated | 44.54 | -0.04 |
| 17 | Croatia Estimated | 44.44 | +0.22 |
| 18 | Bermuda Estimated | 44.33 | +0.3 |
| 19 | Bosnia and Herzegovina Estimated | 44.2 | +0.42 |
| 20 | Bulgaria Estimated | 44.04 | +0.15 |
| 21 | Spain Estimated | 43.92 | +0.42 |
| 22 | Guernsey Estimated | 43.83 | +0.08 |
| 23 | Liechtenstein Estimated | 43.79 | +0.22 |
| 24 | Serbia Estimated | 43.54 | +0.16 |
| 25 | South Korea Estimated | 43.37 | +0.61 |
| 26 | Slovenia Estimated | 43.14 | +0.12 |
| 27 | Lithuania Estimated | 43.05 | -0.1 |
| 28 | Latvia Estimated | 42.91 | +0.08 |
| 29 | Hungary Estimated | 42.73 | +0.27 |
| 30 | Austria Estimated | 42.68 | +0.11 |
| 31 | Jersey Estimated | 42.65 | +0.26 |
| 32 | Czechia Estimated | 42.64 | +0.32 |
| 33 | Andorra Estimated | 42.51 | +0.39 |
| 34 | Finland Estimated | 42.34 | +0.16 |
| 35 | Taiwan Estimated | 42.32 | +0.59 |
| 36 | Romania Estimated | 42.22 | +0.26 |
| 37 | Switzerland Estimated | 41.74 | +0.07 |
| 38 | Netherlands Estimated | 41.55 | +0.02 |
| 39 | Estonia Estimated | 41.48 | +0.1 |
| 40 | Cuba Estimated | 41.43 | +0.08 |
| 41 | France Estimated | 41.39 | +0.14 |
| 42 | Denmark Estimated | 41.24 | +0.09 |
| 43 | Ukraine Estimated | 41.07 | +0.28 |
| 44 | Sint Maarten Estimated | 41.05 | +0.73 |
| 45 | Montserrat Estimated | 40.97 | +0.42 |
| 46 | Belgium Estimated | 40.94 | +0.12 |
| 47 | Aruba Estimated | 40.59 | +0.19 |
| 48 | Slovakia Estimated | 40.54 | +0.35 |
| 49 | Poland Estimated | 40.46 | +0.36 |
| 50 | Falkland Islands Estimated | 40.37 | +0.49 |
| 51 | Canada Estimated | 40.11 | +0.2 |
| 52 | Belarus Estimated | 39.88 | +0.29 |
| 53 | Caribbean Netherlands Estimated | 39.73 | +0.08 |
| 54 | North Macedonia Estimated | 39.65 | +0.32 |
| 55 | Sweden Estimated | 39.64 | +0.08 |
| 56 | United Kingdom Estimated | 39.32 | +0.1 |
| 57 | Norway Estimated | 39.29 | +0.24 |
| 58 | Malta Estimated | 39.23 | +0.36 |
| 59 | Gibraltar Estimated | 39.02 | -0.08 |
| 60 | Montenegro Estimated | 38.9 | +0.23 |
| 61 | Russia Estimated | 38.86 | +0.16 |
| 62 | Thailand Estimated | 38.71 | +0.5 |
| 63 | Luxembourg Estimated | 38.65 | +0.1 |
| 64 | Saint Barthélemy Estimated | 38.47 | +0.18 |
| 65 | Barbados Estimated | 38.4 | +0.25 |
| 66 | Saint Martin Estimated | 38.1 | -1.43 |
| 67 | China Estimated | 38.01 | +0.51 |
| 68 | Faroe Islands Estimated | 37.8 | -0.06 |
| 69 | Curaçao Estimated | 37.69 | +0.22 |
| 70 | Ireland Estimated | 37.64 | +0.35 |
| 71 | United States Estimated | 37.47 | +0.24 |
| 72 | Turks and Caicos Islands Estimated | 37.45 | +0.42 |
| 73 | Macao Estimated | 37.38 | +0.39 |
| 74 | Australia Estimated | 37.26 | +0.36 |
| 75 | Moldova Estimated | 37.17 | +0.34 |
| 76 | Cayman Islands Estimated | 37.13 | +0.37 |
| 77 | Palau Estimated | 37.13 | +0.33 |
| 78 | Anguilla Estimated | 36.95 | +0.88 |
| 79 | Cyprus Estimated | 36.94 | +0.41 |
| 80 | New Zealand Estimated | 36.77 | +0.31 |
| 81 | British Virgin Islands Estimated | 36.66 | +0.4 |
| 82 | Réunion Estimated | 36.65 | +0.39 |
| 83 | Georgia Estimated | 36.56 | +0.1 |
| 84 | Niue Estimated | 36.51 | +0.52 |
| 85 | Mauritius Estimated | 36.19 | +0.27 |
| 86 | Wallis and Futuna Estimated | 36.08 | +0.5 |
| 87 | Trinidad and Tobago Estimated | 35.77 | +0.46 |
| 88 | Iceland Estimated | 35.72 | +0.12 |
| 89 | North Korea Estimated | 35.57 | +0.22 |
| 90 | Albania Estimated | 35.55 | +0.42 |
| 91 | Armenia Estimated | 35.53 | +0.47 |
| 92 | Uruguay Estimated | 35.26 | +0.24 |
| 93 | Chile Estimated | 35.11 | +0.42 |
| 94 | Dominica Estimated | 34.91 | +0.47 |
| 95 | Singapore Estimated | 34.81 | +0.33 |
| 96 | Kuwait Estimated | 34.79 | -2.05 |
| 97 | Antigua and Barbuda Estimated | 34.67 | +0.41 |
| 98 | Saint Kitts and Nevis Estimated | 34.61 | +0.44 |
| 99 | Northern Mariana Islands Estimated | 34.3 | +0.69 |
| 100 | Bahamas Estimated | 33.91 | +0.32 |
| 101 | Greenland Estimated | 33.75 | +0.16 |
| 102 | French Polynesia Estimated | 33.56 | +0.53 |
| 103 | Saint Vincent and the Grenadines Estimated | 33.38 | +0.25 |
| 104 | Cook Islands Estimated | 33.26 | +0.53 |
| 105 | New Caledonia Estimated | 33.25 | +0.37 |
| 106 | Brazil Estimated | 33.09 | +0.41 |
| 107 | Seychelles Estimated | 33.05 | +0.42 |
| 108 | Costa Rica Estimated | 33.02 | +0.51 |
| 109 | Saint Lucia Estimated | 32.94 | +0.37 |
| 110 | Grenada Estimated | 32.4 | +0.47 |
| 111 | Sri Lanka Estimated | 32.32 | +0.24 |
| 112 | Qatar Estimated | 31.97 | +0.34 |
| 113 | Iran Estimated | 31.84 | +0.51 |
| 114 | Türkiye Estimated | 31.65 | +0.41 |
| 115 | Azerbaijan Estimated | 31.57 | +0.44 |
| 116 | Vietnam Estimated | 31.48 | +0.45 |
| 117 | Tunisia Estimated | 31.41 | +0.31 |
| 118 | Argentina Estimated | 31.4 | +0.32 |
| 119 | Western Sahara Estimated | 31.33 | +0.39 |
| 120 | United Arab Emirates Estimated | 30.89 | +0.03 |
| 121 | Guam Estimated | 30.88 | +0.05 |
| 122 | Colombia Estimated | 30.8 | +0.35 |
| 123 | Brunei Estimated | 30.79 | +0.45 |
| 124 | Jamaica Estimated | 30.68 | +0.45 |
| 125 | Bahrain Estimated | 30.63 | -0.33 |
| 126 | Maldives Estimated | 29.66 | +0.59 |
| 127 | Indonesia Estimated | 29.33 | +0.2 |
| 128 | Kazakhstan Estimated | 29.29 | +0.07 |
| 129 | Malaysia Estimated | 29.1 | +0.48 |
| 130 | Israel Estimated | 29.05 | +0.05 |
| 131 | Myanmar Estimated | 28.98 | +0.26 |
| 132 | Panama Estimated | 28.96 | +0.3 |
| 133 | Peru Estimated | 28.8 | +0.27 |
| 134 | Oman Estimated | 28.7 | -0.06 |
| 135 | Venezuela Estimated | 28.56 | +0.31 |
| 136 | Morocco Estimated | 28.55 | +0.32 |
| 137 | Saudi Arabia Estimated | 28.51 | +0.02 |
| 138 | Bhutan Estimated | 28.23 | +0.58 |
| 139 | Mexico Estimated | 28.22 | +0.28 |
| 140 | Lebanon Estimated | 27.95 | +0.14 |
| 141 | Algeria Estimated | 27.78 | +0.18 |
| 142 | Suriname Estimated | 27.68 | +0.18 |
| 143 | South Africa Estimated | 27.61 | +0.35 |
| 144 | Ecuador Estimated | 27.58 | +0.35 |
| 145 | India Estimated | 27.35 | +0.32 |
| 146 | Fiji Estimated | 27.28 | +0.22 |
| 147 | American Samoa Estimated | 27.23 | +0.57 |
| 148 | Dominican Republic Estimated | 27 | +0.3 |
| 149 | Cape Verde Estimated | 26.78 | +0.42 |
| 150 | Uzbekistan Estimated | 26.72 | +0.15 |
| 151 | Libya Estimated | 26.67 | +0.22 |
| 152 | Mongolia Estimated | 26.51 | +0.1 |
| 153 | Tokelau Estimated | 26.41 | +0.36 |
| 154 | El Salvador Estimated | 26.09 | +0.4 |
| 155 | Paraguay Estimated | 25.79 | +0.26 |
| 156 | Turkmenistan Estimated | 25.64 | +0.27 |
| 157 | Cambodia Estimated | 25.35 | +0.23 |
| 158 | French Guiana Estimated | 25.23 | +0.05 |
| 159 | Belize Estimated | 25.08 | +0.41 |
| 160 | Guyana Estimated | 25.05 | +0.23 |
| 161 | Kyrgyzstan Estimated | 24.81 | +0.16 |
| 162 | Bangladesh Estimated | 24.73 | +0.18 |
| 163 | Nicaragua Estimated | 24.59 | +0.29 |
| 164 | Philippines Estimated | 24.47 | +0.39 |
| 165 | Tuvalu Estimated | 24.25 | -0.02 |
| 166 | Bolivia Estimated | 24.18 | +0.16 |
| 167 | Nepal Estimated | 24.02 | +0.57 |
| 168 | Djibouti Estimated | 23.8 | +0.29 |
| 169 | Laos Estimated | 23.67 | +0.29 |
| 170 | Egypt Estimated | 23.64 | +0.15 |
| 171 | Jordan Estimated | 23.61 | +0.34 |
| 172 | Haiti Estimated | 23 | +0.24 |
| 173 | Honduras Estimated | 22.88 | +0.31 |
| 174 | Botswana Estimated | 22.41 | +0.14 |
| 175 | Micronesia Estimated | 22.37 | +0.25 |
| 176 | Kiribati Estimated | 22.36 | +0.18 |
| 177 | Papua New Guinea Estimated | 21.93 | +0.19 |
| 178 | Guatemala Estimated | 21.89 | +0.34 |
| 179 | Tajikistan Estimated | 21.57 | +0.15 |
| 180 | Eswatini Estimated | 21.53 | +0.25 |
| 181 | Gabon Estimated | 21.47 | 0 |
| 182 | Marshall Islands Estimated | 21.26 | -0.15 |
| 183 | Lesotho Estimated | 21.13 | +0.14 |
| 184 | Equatorial Guinea Estimated | 21.06 | -0.07 |
| 185 | Syria Estimated | 20.98 | +0.54 |
| 186 | Tonga Estimated | 20.8 | -0.09 |
| 187 | Namibia Estimated | 20.79 | +0.01 |
| 188 | Nauru Estimated | 20.74 | -0.12 |
| 189 | Ghana Estimated | 20.56 | +0.16 |
| 190 | Timor-Leste Estimated | 20.34 | +0.27 |
| 191 | Samoa Estimated | 20.25 | -0.11 |
| 192 | Vanuatu Estimated | 20.13 | -0.03 |
| 193 | Pakistan Estimated | 19.99 | +0.17 |
| 194 | Comoros Estimated | 19.88 | +0.2 |
| 195 | Iraq Estimated | 19.84 | +0.24 |
| 196 | Solomon Islands Estimated | 19.83 | +0.19 |
| 197 | Palestine Estimated | 19.43 | +0.15 |
| 198 | Rwanda Estimated | 19.03 | +0.16 |
| 199 | Kenya Estimated | 19.02 | +0.24 |
| 200 | Sierra Leone Estimated | 18.82 | +0.21 |
| 201 | São Tomé and Príncipe Estimated | 18.68 | +0.19 |
| 202 | Senegal Estimated | 18.63 | +0.24 |
| 203 | Togo Estimated | 18.59 | +0.1 |
| 204 | Madagascar Estimated | 18.56 | +0.16 |
| 205 | Guinea-Bissau Estimated | 18.54 | +0.18 |
| 206 | Ethiopia Estimated | 18.33 | +0.2 |
| 207 | Eritrea Estimated | 18.18 | +0.22 |
| 208 | Republic of the Congo Estimated | 18.12 | +0.05 |
| 209 | Yemen Estimated | 18.08 | +0.02 |
| 210 | Liberia Estimated | 18.02 | +0.14 |
| 211 | Sudan Estimated | 17.96 | +0.15 |
| 212 | Côte d’Ivoire Estimated | 17.91 | +0.05 |
| 213 | Gambia Estimated | 17.81 | +0.17 |
| 214 | Guinea Estimated | 17.7 | +0.13 |
| 215 | Zimbabwe Estimated | 17.54 | +0.18 |
| 216 | Benin Estimated | 17.53 | +0.1 |
| 217 | Cameroon Estimated | 17.52 | +0.08 |
| 218 | Nigeria Estimated | 17.39 | +0.17 |
| 219 | South Sudan Estimated | 17.31 | +0.28 |
| 220 | Malawi Estimated | 17.11 | +0.21 |
| 221 | Zambia Estimated | 17.11 | +0.17 |
| 222 | Tanzania Estimated | 17.02 | +0.1 |
| 223 | Mauritania Estimated | 16.89 | +0.07 |
| 224 | Burkina Faso Estimated | 16.84 | +0.21 |
| 225 | Mayotte Estimated | 16.7 | -0 |
| 226 | Afghanistan Estimated | 16.58 | +0.16 |
| 227 | Angola Estimated | 16.35 | +0.02 |
| 228 | Mozambique Estimated | 16.19 | +0.06 |
| 229 | Uganda Estimated | 16.14 | +0.22 |
| 230 | Democratic Republic of the Congo Estimated | 15.79 | -0.03 |
| 231 | Burundi Estimated | 15.48 | +0.15 |
| 232 | Somalia Estimated | 15.31 | +0.04 |
| 233 | Mali Estimated | 15.23 | +0.11 |
| 234 | Chad Estimated | 14.98 | +0.12 |
| 235 | Niger Estimated | 14.96 | +0.14 |
| 236 | Central African Republic Estimated | 14.38 | -0.03 |
Other periods
About this ranking
Age that divides the estimated population on July 1 into two groups of equal size.
Modelled demographic estimate from UN World Population Prospects 2024. This series includes estimates through 2023 and excludes projections from 2024 onward. The reference date and method differ from January 1 statistics and multi-year survey estimates. Historical estimates can be revised.
Every value in the ranking comes from the same publisher and the same period, so the countries are compared on one definition. Equal values share a rank.
How to cite
United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Countries by median age, July 1 estimate using official data, and cite the source.
rank_places {"indicator":"median_age_midyear","level":"country","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=median_age_midyear&level=country&limit=10
Questions
Which country has the highest median age, July 1 estimate?
Vatican City, with 60.21 years in 2021, according to United Nations, Department of Economic and Social Affairs, Population Division.
Which country has the lowest median age, July 1 estimate?
The Central African Republic, with 14.38 years in 2021.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: United Nations, Department of Economic and Social Affairs, Population Division, World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved 2026-10-10.
Median age, July 1 estimate: other rankings
Countries: more rankings
- Crude birth rate
- Crude death rate
- Total fertility rate
- Real GDP growth
- GDP per capita, US dollars
- Gross domestic product (GDP), US dollars
- Gini index (World Bank, income or consumption)
- Inflation, annual average
- Internet users
- Land area
- Life expectancy at birth
- Military expenditure
- Central bank policy rate
- Population
- Population aged 65 and over
- Population density