Geographic History

Flag of TanzaniaMedian age in Tanzania (2023)

The median age in Tanzania is 17.2 years (2023, UN).

Tanzania has the 183rd highest median age of 195 ranked countries (2023, UN).

Median age in Tanzania was 17.1 years in 2022 and 17.2 years in 2023 (UN).

Median age in Tanzania was 16.0 years in 1950, the first year of the UN series.

For comparison, the UN figure for the world is 30.4 years in 2023.

Key figures

Median age
17.2 years2023, UN
World rank
183 of 1952023, UN

Median age, 1950-2023

15161617171819501960197019801990200020102020

UN values, 1950-2023.

Median age by year

Median age in Tanzania by year
YearValue (years)Change
202317.2+0.1
202217.1+0.1
202117.0+0.1
202016.9+0.1
201916.8+0.1
201816.8+0.1
201716.7+0.1
201616.5+0.1
201516.4+0.1
201416.3+0.1
201316.2+0.1
201216.20.0
201116.10.0
201016.10.0
200916.1-0.1
200816.20.0
200716.20.0
200616.30.0
200516.30.0
200416.30.0
200316.40.0
200216.40.0
200116.40.0
200016.4+0.1
199916.30.0
199816.30.0
199716.2-0.1
199616.3-0.1
199516.3+0.2
199416.2+0.3
199315.9+0.2
199215.7+0.1
199115.6+0.1
199015.5+0.1
198915.50.0
198815.4+0.1
198715.3+0.1
198615.2+0.1
198515.20.0
198415.10.0
198315.10.0
198215.2-0.1
198115.3-0.1
198015.4-0.1
197915.5-0.1
197815.6-0.1
197715.70.0
197615.70.0
197515.80.0
197415.80.0
197315.90.0
197215.90.0
197115.90.0
197016.00.0
196916.00.0
196816.1-0.1
196716.1-0.1
196616.2-0.1
196516.30.0
196416.30.0
196316.30.0
196216.30.0
196116.30.0
196016.30.0
195916.30.0
195816.30.0
195716.30.0
195616.30.0
195516.30.0
195416.20.0
195316.20.0
195216.1+0.1
195116.1+0.1
195016.0-

Tanzania through history

Map quizzes that include Tanzania

Tanzania in context

Tanzania in context
CountryValueYearRankRelation
Kenya19.5 years2023158 of 195land neighbour
Rwanda19.4 years2023159 of 195land neighbour
Malawi17.6 years2023180 of 195land neighbour
Zambia17.5 years2023181 of 195land neighbour
Burkina Faso17.3 years2023182 of 195similar size
Tanzania17.2 years2023183 of 195this country
Mauritania17.1 years2023184 of 195similar size
Afghanistan16.9 years2023185 of 195similar size
Mayotte16.8 years2023not rankedsimilar size
Uganda16.5 years2023186 of 195land neighbour
Mozambique16.3 years2023188 of 195land neighbour
Burundi15.9 years2023189 of 195land neighbour
DR Congo15.8 years2023190 of 195land neighbour

Frequently asked questions

What is the median age in Tanzania?

The median age in Tanzania is 17.2 years (2023, UN).

How does Tanzania rank in the world by median age?

Tanzania has the 183rd highest median age of 195 ranked countries (2023, UN).

How has the median age in Tanzania changed over time?

Median age in Tanzania was 17.1 years in 2022 and 17.2 years in 2023 (UN).

What it measures

The median age splits the population in two equal halves: half of the people are younger, half are older.

Sources and method

UN figures are from UN - World Population Prospects 2024, Medium variant, World Population Prospects 2024 (revision 1): Interim update, released 19 January 2026 (Togo replaced; all other locations as released 11 July 2024); downloaded 2026-11-24. They count people on 1 July of each year. Values up to 2023 are estimates; later values are projections.

Ranks count the independent states that have a value for the indicator and are listed in the Geographic History country data; territories and dependencies are shown with their data but are not ranked. Rank 1 is the highest value.

The yearly table lists the UN values for each year where the source has one; years without a value are left out.

Last updated:

More about Tanzania

More statistics for Tanzania

Every year has a map

Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.