Median Age by Country in Africa 2026Ranked by median age (years)
Saint Helena has the highest median age in Africa, with 51.0 years in 2026 (projection). The ranking lists 58 countries and areas in Africa. Scroll down for the complete ranking of every country and area in the region, how each one compares with earlier years, the highest and lowest values, and more about median age in Africa.
Rank in Africa; rank 1 is the highest value, and equal values share a rank.
| RANK | COUNTRY | REGION | MEDIAN AGE, YEARS, 2026 (p) |
|---|---|---|---|
| 1 | Africa | 51.0 | |
| 2 | Africa | 38.4 | |
| 3 | Africa | 38.3 | |
| 4 | Africa | 34.6 | |
| 5 | Africa | 33.4 | |
| 6 | Africa | 32.8 | |
| 7 | Africa | 30.1 | |
| 8 | Africa | 29.5 | |
| 9 | Africa | 28.9 | |
| 10 | Africa | 28.8 | |
| 11 | Africa | 28.0 | |
| 12 | Africa | 25.2 | |
| 13 | Africa | 24.7 | |
| 14 | Africa | 23.7 | |
| 15 | Africa | 22.7 | |
| 16 | Africa | 22.1 | |
| 17 | Africa | 21.6 | |
| 18 | Africa | 21.6 | |
| 19 | Africa | 21.5 | |
| 20 | Africa | 20.9 | |
| 21 | Africa | 20.7 | |
| 22 | Africa | 20.3 | |
| 23 | Africa | 20.2 | |
| 24 | Africa | 19.9 | |
| 25 | Africa | 19.8 | |
| 26 | Africa | 19.7 | |
| 27 | Africa | 19.6 | |
| 28 | Africa | 19.5 | |
| 29 | Africa | 19.4 | |
| 30 | Africa | 19.3 | |
| 31 | Africa | 19.0 | |
| 32 | Africa | 19.0 | |
| 33 | Africa | 18.8 | |
| 34 | Africa | 18.8 | |
| 35 | Africa | 18.7 | |
| 36 | Africa | 18.5 | |
| 37 | Africa | 18.5 | |
| 38 | Africa | 18.4 | |
| 39 | Africa | 18.4 | |
| 40 | Africa | 18.3 | |
| 41 | Africa | 18.3 | |
| 42 | Africa | 18.2 | |
| 43 | Africa | 18.2 | |
| 44 | Africa | 18.2 | |
| 45 | Africa | 18.0 | |
| 46 | Africa | 17.6 | |
| 47 | Africa | 17.5 | |
| 48 | Africa | 17.3 | |
| 49 | Africa | 17.1 | |
| 50 | Africa | 16.7 | |
| 51 | Africa | 16.6 | |
| 52 | Africa | 16.6 | |
| 53 | Africa | 15.9 | |
| 54 | Africa | 15.9 | |
| 55 | Africa | 15.7 | |
| 56 | Africa | 15.7 | |
| 57 | Africa | 15.6 | |
| 58 | Africa | 14.6 | |
| No country matches. | |||
Median Age by Country in Africa: 1-Year and 5-Year Comparison (2025–2026 and 2021–2026)
Cabo Verde had the biggest increase over five years (+2.7 years).
| RANK, 2026 | COUNTRY | 2026 (p, years) | 1 YEAR | 5 YEARS | RANK SINCE 2021 |
|---|---|---|---|---|---|
| 1 | Saint Helena | 51.0 | +0.1 years | +1.1 years | = |
| 2 | Réunion | 38.4 | +0.3 years | +1.8 years | = |
| 3 | Mauritius | 38.3 | +0.5 years | +2.1 years | = |
| 4 | Seychelles | 34.6 | +0.3 years | +1.6 years | = |
| 5 | Tunisia | 33.4 | +0.4 years | +2.0 years | = |
| 6 | Western Sahara | 32.8 | +0.2 years | +1.5 years | = |
| 7 | Morocco | 30.1 | +0.3 years | +1.6 years | = |
| 8 | Cabo Verde | 29.5 | +0.5 years | +2.7 years | ▲ 2 |
| 9 | South Africa | 28.9 | +0.2 years | +1.3 years | = |
| 10 | Algeria | 28.8 | +0.2 years | +1.0 year | ▼ 2 |
| 11 | Libya | 28.0 | +0.3 years | +1.3 years | = |
| 12 | Djibouti | 25.2 | +0.3 years | +1.4 years | = |
| 13 | Egypt | 24.7 | +0.2 years | +1.1 years | = |
| 14 | Botswana | 23.7 | +0.3 years | +1.3 years | = |
| 15 | Eswatini | 22.7 | +0.2 years | +1.2 years | = |
| 16 | Lesotho | 22.1 | +0.2 years | +1.0 year | ▲ 1 |
| 17 | Ghana | 21.6 | +0.2 years | +1.0 year | ▲ 3 |
| 18 | Gabon | 21.6 | 0.0 years | +0.1 years | ▼ 2 |
| 19 | Namibia | 21.5 | +0.2 years | +0.7 years | = |
| 20 | Equatorial Guinea | 20.9 | 0.0 years | −0.2 years | ▼ 2 |
| 21 | Comoros | 20.7 | +0.1 years | +0.8 years | = |
| 22 | Kenya | 20.3 | +0.3 years | +1.3 years | ▲ 1 |
| 23 | Rwanda | 20.2 | +0.3 years | +1.2 years | ▼ 1 |
| 24 | Sierra Leone | 19.9 | +0.2 years | +1.1 years | = |
| 25 | Senegal | 19.8 | +0.2 years | +1.2 years | ▲ 1 |
| 26 | São Tomé and Príncipe | 19.7 | +0.2 years | +1.0 year | ▼ 1 |
| 27 | Guinea-Bissau | 19.6 | +0.2 years | +1.1 years | ▲ 1 |
| 28 | Eritrea | 19.5 | +0.3 years | +1.3 years | ▲ 2 |
| 29 | Madagascar | 19.4 | +0.2 years | +0.8 years | ▼ 2 |
| 30 | Ethiopia | 19.3 | +0.2 years | +1.0 year | ▼ 1 |
▲ moved up · ▼ moved down · = same rank since 2021
Of the 30 countries and areas in Africa ranked highest in 2026, 28 had a higher value than in 2025 and 0 a lower one, while 2 did not change. The biggest one-year increase was in Cabo Verde, +0.5 years, to 29.5 years. For comparison, the median of the countries and areas in Africa went from 19.2 years to 19.4 years (+0.2 years).
Over the five years, from 2021 to 2026, 29 of them rose and 1 fell. Cabo Verde grew the most, +2.7 years, from 26.8 years to 29.5 years. Ghana moved up the most places, from 20th to 17th. For comparison, the median of the countries and areas in Africa went from 18.3 years to 19.4 years (+1.1 years).
Median Age in Africa: highest and lowest
The highest values in Africa in 2026 are in Saint Helena (51.0 years),
Réunion (38.4 years) and
Mauritius (38.3 years); the lowest are in the
Central African Republic (14.6 years),
Somalia (15.6 years) and
Niger (15.7 years).
Which country has the highest median age in Africa?
Saint Helena has the highest median age in Africa, with 51.0 years in 2026 (projection).
Réunion is second (38.4 years).
Which country has the lowest median age in Africa?
The Central African Republic has the lowest median age in Africa: 14.6 years in 2026 (projection).
About Median Age in Africa
Saint Helena, first in Africa, is 3rd of the 237 countries and areas in the world ranking of median age. Of the 20 highest median age values in the world, only one is in Africa.
Madagascar is in the middle of the 58 countries and areas in Africa, with 19.4 years.
Median Age in Africa follows the same definition as the world ranking: median age is the age that divides the population in two: half of the people are younger and half are older. The median age values for Africa come from UN World Population Prospects (WPP 2024 rev. 1), and the 2026 values are UN projections.