# Countries by median age, July 1 estimate, 2023

All 236 values come from United Nations, Department of Economic and Social Affairs, Population Division for 2023, so the places are comparable.

- Indicator id: `median_age_midyear`
- Unit: years
- Definition: Age that divides the estimated population on July 1 into two groups of equal size.
- Source: 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 (https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz)
- Retrieved: 2026-10-10
- Citation: 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.
- Web page: https://invokely.ai/rankings/median-age-midyear/countries
- CSV: https://invokely.ai/download/rankings/median-age-midyear/countries.csv

| Rank | Place | years |
|---:|---|---:|
| 1 | Vatican City | 59.63 |
| 2 | Monaco | 54.36 |
| 3 | Saint Helena | 50.45 |
| 4 | Japan | 48.96 |
| 5 | Martinique | 48.79 |
| 6 | Italy | 47.46 |
| 7 | San Marino | 47.39 |
| 8 | Guadeloupe | 46.57 |
| 9 | Saint Pierre and Miquelon | 46.4 |
| 10 | Portugal | 46.2 |
| 11 | Hong Kong | 46.15 |
| 12 | Greece | 45.75 |
| 13 | Isle of Man | 45.68 |
| 14 | Puerto Rico | 45.31 |
| 15 | Germany | 45.15 |
| 16 | Bermuda | 45.14 |
| 17 | Bosnia and Herzegovina | 44.92 |
| 18 | Spain | 44.9 |
| 19 | Croatia | 44.76 |
| 20 | U.S. Virgin Islands | 44.67 |
| 21 | South Korea | 44.49 |
| 22 | Bulgaria | 44.31 |
| 23 | Liechtenstein | 44.2 |
| 24 | Guernsey | 43.98 |
| 25 | Slovenia | 43.89 |
| 26 | Serbia | 43.87 |
| 27 | Taiwan | 43.54 |
| 28 | Hungary | 43.32 |
| 29 | Andorra | 43.16 |
| 30 | Jersey | 43.1 |
| 31 | Austria | 43.09 |
| 32 | Latvia | 43.08 |
| 33 | Finland | 42.79 |
| 34 | Czechia | 42.72 |
| 35 | Romania | 42.62 |
| 36 | Switzerland | 42.33 |
| 37 | Lithuania | 42.12 |
| 38 | Ukraine | 41.98 |
| 39 | Estonia | 41.89 |
| 40 | France | 41.82 |
| 41 | Cuba | 41.71 |
| 42 | Sint Maarten | 41.59 |
| 43 | Montserrat | 41.55 |
| 44 | Falkland Islands | 41.53 |
| 45 | Belgium | 41.44 |
| 46 | Netherlands | 41.4 |
| 47 | Poland | 41.31 |
| 48 | Slovakia | 41.3 |
| 49 | Denmark | 41.25 |
| 50 | Aruba | 41.02 |
| 51 | Belarus | 40.53 |
| 52 | Canada | 40.34 |
| 53 | Malta | 40.28 |
| 54 | North Macedonia | 40.26 |
| 55 | Sweden | 39.91 |
| 56 | United Kingdom | 39.78 |
| 57 | Caribbean Netherlands | 39.66 |
| 58 | Thailand | 39.66 |
| 59 | Norway | 39.54 |
| 60 | Russia | 39.45 |
| 61 | Saint Martin | 39.36 |
| 62 | Montenegro | 39.29 |
| 63 | China | 39.07 |
| 64 | Barbados | 38.9 |
| 65 | Luxembourg | 38.89 |
| 66 | Gibraltar | 38.88 |
| 67 | Saint Barthélemy | 38.81 |
| 68 | Ireland | 38.42 |
| 69 | Macao | 38.31 |
| 70 | Turks and Caicos Islands | 38.3 |
| 71 | Curaçao | 38.23 |
| 72 | United States | 38.02 |
| 73 | Anguilla | 38.01 |
| 74 | Cayman Islands | 37.88 |
| 75 | Palau | 37.84 |
| 76 | Cyprus | 37.76 |
| 77 | Moldova | 37.75 |
| 78 | Australia | 37.75 |
| 79 | British Virgin Islands | 37.55 |
| 80 | Réunion | 37.43 |
| 81 | New Zealand | 37.28 |
| 82 | Faroe Islands | 37.26 |
| 83 | Wallis and Futuna | 37.17 |
| 84 | Mauritius | 36.93 |
| 85 | Georgia | 36.8 |
| 86 | Trinidad and Tobago | 36.72 |
| 87 | Niue | 36.55 |
| 88 | Albania | 36.28 |
| 89 | Northern Mariana Islands | 36.14 |
| 90 | North Korea | 36.05 |
| 91 | Chile | 35.97 |
| 92 | Armenia | 35.83 |
| 93 | Iceland | 35.81 |
| 94 | Uruguay | 35.78 |
| 95 | Dominica | 35.62 |
| 96 | Antigua and Barbuda | 35.49 |
| 97 | Saint Kitts and Nevis | 35.35 |
| 98 | Singapore | 35.1 |
| 99 | Cook Islands | 35.08 |
| 100 | French Polynesia | 34.79 |
| 101 | Bahamas | 34.6 |
| 102 | Kuwait | 34.5 |
| 103 | Greenland | 34.23 |
| 104 | Costa Rica | 34.07 |
| 105 | Brazil | 33.94 |
| 106 | Saint Vincent and the Grenadines | 33.9 |
| 107 | New Caledonia | 33.89 |
| 108 | Saint Lucia | 33.75 |
| 109 | Seychelles | 33.65 |
| 110 | Grenada | 33.39 |
| 111 | Qatar | 33.19 |
| 112 | Bahrain | 32.88 |
| 113 | Iran | 32.87 |
| 114 | Sri Lanka | 32.81 |
| 115 | Azerbaijan | 32.6 |
| 116 | Türkiye | 32.52 |
| 117 | Vietnam | 32.43 |
| 118 | Tunisia | 32.13 |
| 119 | Argentina | 32.12 |
| 120 | Western Sahara | 32.04 |
| 121 | Brunei | 31.76 |
| 122 | Jamaica | 31.67 |
| 123 | Colombia | 31.61 |
| 124 | United Arab Emirates | 31.23 |
| 125 | Maldives | 31.12 |
| 126 | Guam | 31.12 |
| 127 | Malaysia | 30.06 |
| 128 | Indonesia | 29.83 |
| 129 | Panama | 29.6 |
| 130 | Myanmar | 29.53 |
| 131 | Kazakhstan | 29.46 |
| 132 | Peru | 29.45 |
| 133 | Bhutan | 29.39 |
| 134 | Oman | 29.27 |
| 135 | Saudi Arabia | 29.25 |
| 136 | Morocco | 29.19 |
| 137 | Israel | 29.15 |
| 138 | Venezuela | 29.03 |
| 139 | Mexico | 28.89 |
| 140 | American Samoa | 28.43 |
| 141 | Ecuador | 28.41 |
| 142 | Lebanon | 28.32 |
| 143 | South Africa | 28.21 |
| 144 | Algeria | 28.19 |
| 145 | Suriname | 28.1 |
| 146 | India | 28.06 |
| 147 | Cape Verde | 27.87 |
| 148 | Fiji | 27.67 |
| 149 | Dominican Republic | 27.65 |
| 150 | Libya | 27.2 |
| 151 | El Salvador | 26.96 |
| 152 | Uzbekistan | 26.91 |
| 153 | Mongolia | 26.75 |
| 154 | Tokelau | 26.65 |
| 155 | Paraguay | 26.34 |
| 156 | Turkmenistan | 26.23 |
| 157 | Belize | 25.95 |
| 158 | Cambodia | 25.84 |
| 159 | Guyana | 25.61 |
| 160 | Bangladesh | 25.33 |
| 161 | Philippines | 25.29 |
| 162 | Nicaragua | 25.27 |
| 163 | French Guiana | 25.22 |
| 164 | Kyrgyzstan | 25.13 |
| 165 | Nepal | 24.68 |
| 166 | Bolivia | 24.66 |
| 167 | Djibouti | 24.39 |
| 168 | Tuvalu | 24.29 |
| 169 | Laos | 24.28 |
| 170 | Jordan | 24.28 |
| 171 | Egypt | 24.03 |
| 172 | Honduras | 23.55 |
| 173 | Haiti | 23.51 |
| 174 | Botswana | 22.88 |
| 175 | Micronesia | 22.85 |
| 176 | Kiribati | 22.69 |
| 177 | Guatemala | 22.63 |
| 178 | Papua New Guinea | 22.34 |
| 179 | Syria | 22.25 |
| 180 | Eswatini | 22 |
| 181 | Tajikistan | 21.93 |
| 182 | Gabon | 21.5 |
| 183 | Lesotho | 21.43 |
| 184 | Equatorial Guinea | 20.98 |
| 185 | Timor-Leste | 20.97 |
| 186 | Namibia | 20.96 |
| 187 | Ghana | 20.93 |
| 188 | Marshall Islands | 20.7 |
| 189 | Tonga | 20.7 |
| 190 | Nauru | 20.43 |
| 191 | Iraq | 20.35 |
| 192 | Comoros | 20.33 |
| 193 | Pakistan | 20.29 |
| 194 | Solomon Islands | 20.25 |
| 195 | Vanuatu | 20.14 |
| 196 | Samoa | 19.9 |
| 197 | Palestine | 19.76 |
| 198 | Kenya | 19.53 |
| 199 | Rwanda | 19.44 |
| 200 | Sierra Leone | 19.27 |
| 201 | Senegal | 19.13 |
| 202 | São Tomé and Príncipe | 19.05 |
| 203 | Guinea-Bissau | 18.94 |
| 204 | Madagascar | 18.88 |
| 205 | Togo | 18.82 |
| 206 | Ethiopia | 18.73 |
| 207 | Eritrea | 18.65 |
| 208 | Liberia | 18.36 |
| 209 | Republic of the Congo | 18.31 |
| 210 | Sudan | 18.28 |
| 211 | Yemen | 18.18 |
| 212 | Gambia | 18.17 |
| 213 | Côte d’Ivoire | 18.1 |
| 214 | Guinea | 17.98 |
| 215 | South Sudan | 17.97 |
| 216 | Zimbabwe | 17.81 |
| 217 | Benin | 17.77 |
| 218 | Nigeria | 17.75 |
| 219 | Cameroon | 17.75 |
| 220 | Malawi | 17.58 |
| 221 | Zambia | 17.49 |
| 222 | Burkina Faso | 17.25 |
| 223 | Tanzania | 17.24 |
| 224 | Mauritania | 17.12 |
| 225 | Afghanistan | 16.94 |
| 226 | Mayotte | 16.79 |
| 227 | Uganda | 16.51 |
| 228 | Angola | 16.45 |
| 229 | Mozambique | 16.32 |
| 230 | Burundi | 15.9 |
| 231 | Democratic Republic of the Congo | 15.77 |
| 232 | Mali | 15.47 |
| 233 | Somalia | 15.45 |
| 234 | Chad | 15.4 |
| 235 | Niger | 15.25 |
| 236 | Central African Republic | 14.32 |
