Monaco has the oldest population of any country, with a median age of 53.1, and Japan has the oldest of any country with more than a million people: half of its 122.4 million people are older than 50.2. Behind them come San Marino (49.1), Italy (48.6), Portugal (47.2), Greece (47.1), Spain (46.3), South Korea (46.2), Bosnia and Herzegovina (46.1) and Germany (45.7). That is the United Nations' projection for 1 July 2026 from World Population Prospects 2024, ranked among the 193 UN member states. Monaco is a city-state of about 38,000 people; in Japan, 30.2% of the population is 65 or over. For comparison, the world's median age is 31.1.
Median age is the age that splits a population in two, half older and half younger. It is the measure we rank by, because it describes the whole population rather than one end of it. The second common measure, the share of people aged 65 and over, mostly agrees but reorders the list in revealing places, which we come back to below. The UN's file covers 237 countries and territories; the 44 that are not UN members, from Hong Kong to Saint Helena, have their own section rather than a place in the ranking.
| Rank | Country | Median age, 2026 | Aged 65+ | Rank on 65+ | Population |
|---|---|---|---|---|---|
| 1 | Monaco | 53.1 | 35.9% | 1 | 38,087 |
| 2 | Japan | 50.2 | 30.2% | 2 | 122.4 million |
| 3 | San Marino | 49.1 | 23.8% | 9 | 33,605 |
| 4 | Italy | 48.6 | 25.6% | 3 | 58.9 million |
| 5 | Portugal | 47.2 | 25.4% | 4 | 10.4 million |
| 6 | Greece | 47.1 | 24.7% | 5 | 9.9 million |
| 7 | Spain | 46.3 | 22.2% | 17 | 47.9 million |
| 8 | South Korea | 46.2 | 21.4% | 21 | 51.6 million |
| 9 | Bosnia and Herzegovina | 46.1 | 23.5% | 10 | 3.1 million |
| 10 | Germany | 45.7 | 24.2% | 7 | 83.6 million |
| 11 | Croatia | 45.5 | 24.0% | 8 | 3.8 million |
| 12 | Slovenia | 45.0 | 22.7% | 13 | 2.1 million |
| 13 | Bulgaria | 45.0 | 22.5% | 15 | 6.7 million |
| 14 | Liechtenstein | 44.7 | 22.0% | 18 | 40,368 |
| 15 | Serbia | 44.7 | 23.4% | 11 | 6.6 million |
Japan: half the country is past 50
In 1950 Japan's median age was 21.3, a little younger than the world's 22.2. By 2000 it had reached 40.8, and in the UN's projection for 2026 it is 50.2. That figure matches the 50.2 in the CIA World Factbook an estimate made separately from the UN's, and the Factbook too has no country of more than a million people above Japan.
Japan's own count of older people is close to the UN's. The Cabinet Office's Annual Report on the Ageing Society 2025 put 36.24 million people, 29.3% of the population, at 65 or over on 1 October 2024. The UN's estimate for mid-2024 is 29.8%, and its projection for 2026 is 30.2%. People aged 75 and over number 22.2 million in the UN figures, 18.2% of the country, and 3.1 million are 90 or older.

The largest single five-year age group in Japan is not the elderly but people aged 50 to 54: 9.8 million of them. Every younger group is smaller, and the youngest, children under five, number just 3.8 million. Japan has a life expectancy at birth of 85.1 years in 2026, and a 65-year-old can expect another 22.8. Its median age keeps rising until 2070, peaking at 53.6 in the UN's projection.
Monaco and San Marino: two microstates in the top three
Monaco ranks first with a median age of 53.1 and 35.9% of its residents aged 65 or over. San Marino, with about 34,000 people, is third at 49.1. Both numbers deserve some caution, because estimates for places this small can swing on a few hundred people. The Factbook agrees that Monaco is the oldest, but at 57.5 rather than the UN's 53.1. For San Marino it gives 46.3, and it puts Andorra, 17th in the UN ranking at 44.2, far higher at 49.4. Treat the microstates' exact positions as approximate; Monaco's lead is the one microstate result both series share.
Italy, Portugal, Greece and Spain: Europe's oldest corner
Italy is the oldest large country in Europe at 48.6, with 25.6% of its people aged 65 or over. Eurostat's figure, compiled from national statistics offices, is even higher: 49.1 on 1 January 2025, the highest in the European Union, against an EU median of 44.9 (Eurostat, demo_pjanind). In 1950 Italy's median age was 27.5, younger than Germany's 32.9; Italy has aged faster since.
Portugal (47.2) and Greece (47.1) sit almost level, and Eurostat has them at 47.3 and 47.2. Both lost people to emigration after 2010: the UN's estimates show net emigration of 135,000 people from Portugal between 2011 and 2016 and 234,000 from Greece between 2010 and 2016. Spain, at 46.3, has a life expectancy of 84.1 years, among the ten longest of any UN member, and a fertility rate of 1.24 children per woman. Eurostat's figure for Spain is 45.8.
South Korea: the fastest climb since 2000
No country on the list started younger. South Korea's median age was 17.7 in 1950 and 30.7 in 2000; in 2026 it is 46.2, a rise of 15.5 years since 2000, against 9.4 for Japan. Its share aged 65 and over is lower than its median age would suggest, 21.4%, which puts it only 21st on that measure, because its four largest age groups are people aged 45 to 64, who have not yet reached 65. The Ministry of the Interior and Safety announced in December 2024 that registered residents aged 65 and over had reached 20% of the total (Korea Economic Daily); the UN's mid-2024 figure for all residents is 19.3%. By 2050 the UN projects 39.7%.
Bosnia and Herzegovina and Germany complete the ten
Bosnia and Herzegovina, ninth at 46.1, has shrunk more than any other country in the top ten. The UN's estimates show its population falling from 4.4 million in 1990 to 3.1 million in 2026, with net emigration of about 1.2 million between 1990 and 2023. Germany, tenth at 45.7, is still gaining people from abroad: the UN assumes net arrivals of 158,000 people in 2026, against a fertility rate of 1.46. Just below the top ten come Croatia (45.5), Bulgaria and Slovenia (both 45.0).
Of all EU members, Bulgaria is where the UN and Eurostat disagree most. The UN has it 13th at 45.0; Eurostat puts it at 47.3, level with Portugal and second in the EU. The two series do not even start from the same headcount: Eurostat counts 6.44 million people in Bulgaria on 1 January 2025, while the UN's estimate for 2026 is 6.7 million. We give both medians rather than pick one.
What made these populations old
Three things age a population. The first is low fertility. Japan's rate has been below the replacement level of about 2.1 children per woman in every year since 1974 in the UN's series, Italy's since 1976 and South Korea's since 1984. South Korea's rate in 2026 is 0.76, the lowest of any UN member state. Fewer births each year shrink the bottom of the age pyramid, and the median moves up.
The second is longer life. Life expectancy of 85.1 years in Japan and 84.2 in Italy keeps more people alive into old age: Japan has 3.1 million people aged 90 or over. The third is migration. Net emigration shrank Bosnia and Herzegovina, Portugal and Greece, while arrivals in Germany partly offset its low birth rate.

Put Japan beside a young country and the shape tells the story. Niger has 28.8 million people, less than a quarter of Japan's 122.4 million, and a median age of 15.7, the 3rd lowest of any UN member. Yet it has 5.0 million children under five, against Japan's 3.8 million, and 45.8% of its people are under 15. Our guide to the countries with the youngest populations looks at that end of the scale.
Counting over-65s instead
Rank by the share aged 65 and over and the top two stay the same: Monaco (35.9%) and Japan (30.2%). Eight of the ten countries appear on both lists. Spain (17th on the 65-plus measure) and South Korea (21st) drop out; Finland and Croatia come in. Finland is the clearest example of how the measures part ways. Its share of over-65s, 24.5%, is 6th in the world, yet its median age of 43.4 ranks only 22nd, because Finland also has more young people: 31.3% of Finns are under 30, against 26.8% of Italians and 28.3% of Spaniards. France shows the same pattern: 22.9% aged 65 or over (12th), but a median age of 42.5 (29th).
Places older than Japan that are not countries
Two places in the UN's file have a higher median age than Japan without being member states. The Holy See, a UN observer state with 506 residents, has the highest value of all, 56.2; only 11.4% of its residents are under 20. Saint Helena, the British territory in the South Atlantic, has 5,148 people and a median age of 51.0.
Several territories would sit inside the top ten. Martinique, a French overseas department, is at 50.2, fractionally below Japan, with 27.4% aged 65 or over; its population has fallen from 421,000 in 2000 to 338,000, with net emigration of 115,000 between 2000 and 2023. Hong Kong (47.9) and Guadeloupe (47.4) are both older than Germany. Puerto Rico's median age is 46.2, but its 25.8% share of over-65s is higher than Italy's.
After 2026: South Korea, then China
The ranking at the top will not stay put. The number of UN member states with a median age of 40 or more went from 2 in 2000, Japan and Monaco, to 44 in the 2026 projection, and the UN projects 85 by 2050. In its medium variant South Korea passes Japan in 2040 and is the oldest member state by 2050 at 56.7, peaking at 63.0 in 2081. China, at 40.6 in 2026, overtakes Japan in 2053 and is the oldest in 2100 at 60.7. Japan's median age is still 53.0 in 2100.

These are projections built on assumptions about birth rates, deaths and migration, and the further out they reach, the wider the range. A recovery in Korean fertility would slow its climb; a lasting fall in China's would speed its own. What the projections do agree on is direction: the world's median age rises from 31.1 in 2026 to 42.1 in 2100.
You can download the data as a CSV for all 237 countries and territories, with median ages for 1950, 2000, 2026, 2050 and 2100 (from 2026 on, UN projections), the 65-plus share, fertility and life expectancy; to set any two countries' ageing curves side by side, open the file in Parity and chart the columns you choose.
- UN DESA Population Division, World Population Prospects 2024 (Demographic Indicators and Population by 5-year age group, medium variant, CSV): Released 11 July 2024. Estimates to 2023, medium-variant projections from 2024 to 2100, values for 1 July of each year. © United Nations, CC BY 3.0 IGO.
- Eurostat, Population structure indicators at national level (demo_pjanind) and population on 1 January (demo_gind): 1 January 2025. Free reuse with attribution.
- CIA World Factbook, Median age and Age structure fields (archived January 2026): 2025 and 2024 estimates, US government work.
- Cabinet Office of Japan, Annual Report on the Ageing Society 2025
- Natural Earth country boundaries via world-atlas (1:50m): Public domain. Map only.
For the country that leads this ranking among large nations, our profile of the population of Japan follows its decline region by region.
