GlobalStatsX

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.

Page updated:

Rank in Africa; rank 1 is the highest value, and equal values share a rank.

Median Age by Country in Africa 2026: 58 countries and areas. MEDIAN AGE, YEARS, 2026 (p).
RANKCOUNTRYREGIONMEDIAN AGE, YEARS, 2026 (p)
1Africa51.0
2
RéunionAfrica
Africa38.4
3
MauritiusAfrica
Africa38.3
4Africa34.6
5
TunisiaAfrica
Africa33.4
6Africa32.8
7
MoroccoAfrica
Africa30.1
8Africa29.5
9Africa28.9
10
AlgeriaAfrica
Africa28.8
11
LibyaAfrica
Africa28.0
12
DjiboutiAfrica
Africa25.2
13
EgyptAfrica
Africa24.7
14
BotswanaAfrica
Africa23.7
15
EswatiniAfrica
Africa22.7
16
LesothoAfrica
Africa22.1
17
GhanaAfrica
Africa21.6
18
GabonAfrica
Africa21.6
19
NamibiaAfrica
Africa21.5
20Africa20.9
21
ComorosAfrica
Africa20.7
22
KenyaAfrica
Africa20.3
23
RwandaAfrica
Africa20.2
24Africa19.9
25
SenegalAfrica
Africa19.8
26Africa19.7
27Africa19.6
28
EritreaAfrica
Africa19.5
29Africa19.4
30
EthiopiaAfrica
Africa19.3
31Africa19.0
32
LiberiaAfrica
Africa19.0
33
GambiaAfrica
Africa18.8
34
SudanAfrica
Africa18.8
35
CongoAfrica
Africa18.7
36Africa18.5
37
GuineaAfrica
Africa18.5
38
TogoAfrica
Africa18.4
39
MalawiAfrica
Africa18.4
40
NigeriaAfrica
Africa18.3
41
ZimbabweAfrica
Africa18.3
42
CameroonAfrica
Africa18.2
43
BeninAfrica
Africa18.2
44
ZambiaAfrica
Africa18.2
45Africa18.0
46
TanzaniaAfrica
Africa17.6
47Africa17.5
48
MayotteAfrica
Africa17.3
49
UgandaAfrica
Africa17.1
50
AngolaAfrica
Africa16.7
51
BurundiAfrica
Africa16.6
52Africa16.6
53
MaliAfrica
Africa15.9
54
DR CongoAfrica
Africa15.9
55
ChadAfrica
Africa15.7
56
NigerAfrica
Africa15.7
57
SomaliaAfrica
Africa15.6
58Africa14.6
Showing all 58 countries and areas(p) = UN projection

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).

BIGGEST INCREASE, 1 YEARCabo Verde+0.5 years · #8 → #8
SMALLEST INCREASE, 1 YEAREquatorial Guinea0.0 years · #20 → #20
BIGGEST INCREASE, 5 YEARSCabo Verde+2.7 years · #10 → #8
BIGGEST RANK CLIMB, 5 YEARSGhana#20 → #17 · +1.0 year
Median Age by Country in Africa: the 30 highest ranked in 2026, with the change over 1 year and 5 years and the rank change since 2021.
RANK, 2026COUNTRY2026 (p, years)1 YEAR5 YEARSRANK SINCE 2021
1Saint Helena51.0+0.1 years+1.1 years=
2Réunion38.4+0.3 years+1.8 years=
3Mauritius38.3+0.5 years+2.1 years=
4Seychelles34.6+0.3 years+1.6 years=
5Tunisia33.4+0.4 years+2.0 years=
6Western Sahara32.8+0.2 years+1.5 years=
7Morocco30.1+0.3 years+1.6 years=
8Cabo Verde29.5+0.5 years+2.7 years▲ 2
9South Africa28.9+0.2 years+1.3 years=
10Algeria28.8+0.2 years+1.0 year▼ 2
11Libya28.0+0.3 years+1.3 years=
12Djibouti25.2+0.3 years+1.4 years=
13Egypt24.7+0.2 years+1.1 years=
14Botswana23.7+0.3 years+1.3 years=
15Eswatini22.7+0.2 years+1.2 years=
16Lesotho22.1+0.2 years+1.0 year▲ 1
17Ghana21.6+0.2 years+1.0 year▲ 3
18Gabon21.60.0 years+0.1 years▼ 2
19Namibia21.5+0.2 years+0.7 years=
20Equatorial Guinea20.90.0 years−0.2 years▼ 2
21Comoros20.7+0.1 years+0.8 years=
22Kenya20.3+0.3 years+1.3 years▲ 1
23Rwanda20.2+0.3 years+1.2 years▼ 1
24Sierra Leone19.9+0.2 years+1.1 years=
25Senegal19.8+0.2 years+1.2 years▲ 1
26São Tomé and Príncipe19.7+0.2 years+1.0 year▼ 1
27Guinea-Bissau19.6+0.2 years+1.1 years▲ 1
28Eritrea19.5+0.3 years+1.3 years▲ 2
29Madagascar19.4+0.2 years+0.8 years▼ 2
30Ethiopia19.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.

Sources