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.

Highest60.21Vatican City
Median31.37236 countries

Top 40 countries, 2021

CSVChart (SVG)

Vatican CityVatican City: 60.21 years60.21MonacoMonaco: 55.29 years55.29Saint HelenaSaint Helena: 49.87 years49.87JapanJapan: 48.12 years48.12MartiniqueMartinique: 47.78 years47.78ItalyItaly: 46.77 years46.77San MarinoSan Marino: 46.31 years46.31Saint Pierre and MiquelonSaint Pierre and Miquelon: 45.62 years45.62PortugalPortugal: 45.42 years45.42Isle of ManIsle of Man: 45.32 years45.32Hong KongHong Kong: 45.03 years45.03GuadeloupeGuadeloupe: 44.95 years44.95GermanyGermany: 44.92 years44.92GreeceGreece: 44.86 years44.86Puerto RicoPuerto Rico: 44.86 years44.86U.S. Virgin IslandsU.S. Virgin Islands: 44.54 years44.54CroatiaCroatia: 44.44 years44.44BermudaBermuda: 44.33 years44.33Bosnia and HerzegovinaBosnia and Herzegovina: 44.2 years44.2BulgariaBulgaria: 44.04 years44.04SpainSpain: 43.92 years43.92GuernseyGuernsey: 43.83 years43.83LiechtensteinLiechtenstein: 43.79 years43.79SerbiaSerbia: 43.54 years43.54South KoreaSouth Korea: 43.37 years43.37SloveniaSlovenia: 43.14 years43.14LithuaniaLithuania: 43.05 years43.05LatviaLatvia: 42.91 years42.91HungaryHungary: 42.73 years42.73AustriaAustria: 42.68 years42.68JerseyJersey: 42.65 years42.65CzechiaCzechia: 42.64 years42.64AndorraAndorra: 42.51 years42.51FinlandFinland: 42.34 years42.34TaiwanTaiwan: 42.32 years42.32RomaniaRomania: 42.22 years42.22SwitzerlandSwitzerland: 41.74 years41.74NetherlandsNetherlands: 41.55 years41.55EstoniaEstonia: 41.48 years41.48CubaCuba: 41.43 years41.43
years. Source: UN WPP. Retrieved 2026-10-10.

Full ranking

RankCountries2021
years
Change on 2020
1Vatican City Estimated60.21-0.13
2Monaco Estimated55.29+0.53
3Saint Helena Estimated49.87+0.56
4Japan Estimated48.12+0.45
5Martinique Estimated47.78+0.32
6Italy Estimated46.77+0.37
7San Marino Estimated46.31+0.48
8Saint Pierre and Miquelon Estimated45.62+0.33
9Portugal Estimated45.42+0.4
10Isle of Man Estimated45.32+0.2
11Hong Kong Estimated45.03+0.6
12Guadeloupe Estimated44.95+0.59
13Germany Estimated44.92+0.05
14Greece Estimated44.86+0.54
15Puerto Rico Estimated44.86+0.54
16U.S. Virgin Islands Estimated44.54-0.04
17Croatia Estimated44.44+0.22
18Bermuda Estimated44.33+0.3
19Bosnia and Herzegovina Estimated44.2+0.42
20Bulgaria Estimated44.04+0.15
21Spain Estimated43.92+0.42
22Guernsey Estimated43.83+0.08
23Liechtenstein Estimated43.79+0.22
24Serbia Estimated43.54+0.16
25South Korea Estimated43.37+0.61
26Slovenia Estimated43.14+0.12
27Lithuania Estimated43.05-0.1
28Latvia Estimated42.91+0.08
29Hungary Estimated42.73+0.27
30Austria Estimated42.68+0.11
31Jersey Estimated42.65+0.26
32Czechia Estimated42.64+0.32
33Andorra Estimated42.51+0.39
34Finland Estimated42.34+0.16
35Taiwan Estimated42.32+0.59
36Romania Estimated42.22+0.26
37Switzerland Estimated41.74+0.07
38Netherlands Estimated41.55+0.02
39Estonia Estimated41.48+0.1
40Cuba Estimated41.43+0.08
41France Estimated41.39+0.14
42Denmark Estimated41.24+0.09
43Ukraine Estimated41.07+0.28
44Sint Maarten Estimated41.05+0.73
45Montserrat Estimated40.97+0.42
46Belgium Estimated40.94+0.12
47Aruba Estimated40.59+0.19
48Slovakia Estimated40.54+0.35
49Poland Estimated40.46+0.36
50Falkland Islands Estimated40.37+0.49
51Canada Estimated40.11+0.2
52Belarus Estimated39.88+0.29
53Caribbean Netherlands Estimated39.73+0.08
54North Macedonia Estimated39.65+0.32
55Sweden Estimated39.64+0.08
56United Kingdom Estimated39.32+0.1
57Norway Estimated39.29+0.24
58Malta Estimated39.23+0.36
59Gibraltar Estimated39.02-0.08
60Montenegro Estimated38.9+0.23
61Russia Estimated38.86+0.16
62Thailand Estimated38.71+0.5
63Luxembourg Estimated38.65+0.1
64Saint Barthélemy Estimated38.47+0.18
65Barbados Estimated38.4+0.25
66Saint Martin Estimated38.1-1.43
67China Estimated38.01+0.51
68Faroe Islands Estimated37.8-0.06
69Curaçao Estimated37.69+0.22
70Ireland Estimated37.64+0.35
71United States Estimated37.47+0.24
72Turks and Caicos Islands Estimated37.45+0.42
73Macao Estimated37.38+0.39
74Australia Estimated37.26+0.36
75Moldova Estimated37.17+0.34
76Cayman Islands Estimated37.13+0.37
77Palau Estimated37.13+0.33
78Anguilla Estimated36.95+0.88
79Cyprus Estimated36.94+0.41
80New Zealand Estimated36.77+0.31
81British Virgin Islands Estimated36.66+0.4
82Réunion Estimated36.65+0.39
83Georgia Estimated36.56+0.1
84Niue Estimated36.51+0.52
85Mauritius Estimated36.19+0.27
86Wallis and Futuna Estimated36.08+0.5
87Trinidad and Tobago Estimated35.77+0.46
88Iceland Estimated35.72+0.12
89North Korea Estimated35.57+0.22
90Albania Estimated35.55+0.42
91Armenia Estimated35.53+0.47
92Uruguay Estimated35.26+0.24
93Chile Estimated35.11+0.42
94Dominica Estimated34.91+0.47
95Singapore Estimated34.81+0.33
96Kuwait Estimated34.79-2.05
97Antigua and Barbuda Estimated34.67+0.41
98Saint Kitts and Nevis Estimated34.61+0.44
99Northern Mariana Islands Estimated34.3+0.69
100Bahamas Estimated33.91+0.32
101Greenland Estimated33.75+0.16
102French Polynesia Estimated33.56+0.53
103Saint Vincent and the Grenadines Estimated33.38+0.25
104Cook Islands Estimated33.26+0.53
105New Caledonia Estimated33.25+0.37
106Brazil Estimated33.09+0.41
107Seychelles Estimated33.05+0.42
108Costa Rica Estimated33.02+0.51
109Saint Lucia Estimated32.94+0.37
110Grenada Estimated32.4+0.47
111Sri Lanka Estimated32.32+0.24
112Qatar Estimated31.97+0.34
113Iran Estimated31.84+0.51
114Türkiye Estimated31.65+0.41
115Azerbaijan Estimated31.57+0.44
116Vietnam Estimated31.48+0.45
117Tunisia Estimated31.41+0.31
118Argentina Estimated31.4+0.32
119Western Sahara Estimated31.33+0.39
120United Arab Emirates Estimated30.89+0.03
121Guam Estimated30.88+0.05
122Colombia Estimated30.8+0.35
123Brunei Estimated30.79+0.45
124Jamaica Estimated30.68+0.45
125Bahrain Estimated30.63-0.33
126Maldives Estimated29.66+0.59
127Indonesia Estimated29.33+0.2
128Kazakhstan Estimated29.29+0.07
129Malaysia Estimated29.1+0.48
130Israel Estimated29.05+0.05
131Myanmar Estimated28.98+0.26
132Panama Estimated28.96+0.3
133Peru Estimated28.8+0.27
134Oman Estimated28.7-0.06
135Venezuela Estimated28.56+0.31
136Morocco Estimated28.55+0.32
137Saudi Arabia Estimated28.51+0.02
138Bhutan Estimated28.23+0.58
139Mexico Estimated28.22+0.28
140Lebanon Estimated27.95+0.14
141Algeria Estimated27.78+0.18
142Suriname Estimated27.68+0.18
143South Africa Estimated27.61+0.35
144Ecuador Estimated27.58+0.35
145India Estimated27.35+0.32
146Fiji Estimated27.28+0.22
147American Samoa Estimated27.23+0.57
148Dominican Republic Estimated27+0.3
149Cape Verde Estimated26.78+0.42
150Uzbekistan Estimated26.72+0.15
151Libya Estimated26.67+0.22
152Mongolia Estimated26.51+0.1
153Tokelau Estimated26.41+0.36
154El Salvador Estimated26.09+0.4
155Paraguay Estimated25.79+0.26
156Turkmenistan Estimated25.64+0.27
157Cambodia Estimated25.35+0.23
158French Guiana Estimated25.23+0.05
159Belize Estimated25.08+0.41
160Guyana Estimated25.05+0.23
161Kyrgyzstan Estimated24.81+0.16
162Bangladesh Estimated24.73+0.18
163Nicaragua Estimated24.59+0.29
164Philippines Estimated24.47+0.39
165Tuvalu Estimated24.25-0.02
166Bolivia Estimated24.18+0.16
167Nepal Estimated24.02+0.57
168Djibouti Estimated23.8+0.29
169Laos Estimated23.67+0.29
170Egypt Estimated23.64+0.15
171Jordan Estimated23.61+0.34
172Haiti Estimated23+0.24
173Honduras Estimated22.88+0.31
174Botswana Estimated22.41+0.14
175Micronesia Estimated22.37+0.25
176Kiribati Estimated22.36+0.18
177Papua New Guinea Estimated21.93+0.19
178Guatemala Estimated21.89+0.34
179Tajikistan Estimated21.57+0.15
180Eswatini Estimated21.53+0.25
181Gabon Estimated21.470
182Marshall Islands Estimated21.26-0.15
183Lesotho Estimated21.13+0.14
184Equatorial Guinea Estimated21.06-0.07
185Syria Estimated20.98+0.54
186Tonga Estimated20.8-0.09
187Namibia Estimated20.79+0.01
188Nauru Estimated20.74-0.12
189Ghana Estimated20.56+0.16
190Timor-Leste Estimated20.34+0.27
191Samoa Estimated20.25-0.11
192Vanuatu Estimated20.13-0.03
193Pakistan Estimated19.99+0.17
194Comoros Estimated19.88+0.2
195Iraq Estimated19.84+0.24
196Solomon Islands Estimated19.83+0.19
197Palestine Estimated19.43+0.15
198Rwanda Estimated19.03+0.16
199Kenya Estimated19.02+0.24
200Sierra Leone Estimated18.82+0.21
201São Tomé and Príncipe Estimated18.68+0.19
202Senegal Estimated18.63+0.24
203Togo Estimated18.59+0.1
204Madagascar Estimated18.56+0.16
205Guinea-Bissau Estimated18.54+0.18
206Ethiopia Estimated18.33+0.2
207Eritrea Estimated18.18+0.22
208Republic of the Congo Estimated18.12+0.05
209Yemen Estimated18.08+0.02
210Liberia Estimated18.02+0.14
211Sudan Estimated17.96+0.15
212Côte d’Ivoire Estimated17.91+0.05
213Gambia Estimated17.81+0.17
214Guinea Estimated17.7+0.13
215Zimbabwe Estimated17.54+0.18
216Benin Estimated17.53+0.1
217Cameroon Estimated17.52+0.08
218Nigeria Estimated17.39+0.17
219South Sudan Estimated17.31+0.28
220Malawi Estimated17.11+0.21
221Zambia Estimated17.11+0.17
222Tanzania Estimated17.02+0.1
223Mauritania Estimated16.89+0.07
224Burkina Faso Estimated16.84+0.21
225Mayotte Estimated16.7-0
226Afghanistan Estimated16.58+0.16
227Angola Estimated16.35+0.02
228Mozambique Estimated16.19+0.06
229Uganda Estimated16.14+0.22
230Democratic Republic of the Congo Estimated15.79-0.03
231Burundi Estimated15.48+0.15
232Somalia Estimated15.31+0.04
233Mali Estimated15.23+0.11
234Chad Estimated14.98+0.12
235Niger Estimated14.96+0.14
236Central African Republic Estimated14.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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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