54 countries · 127 indicators · 45 sourcesLiveGet API key

Demographics · East Africa

Uganda Median Age

17.1 yearsas of 2026+1.2% vs 2025

Median age of the population, in years. Source: UN World Population Prospects. Updated March 7, 2026.

Trend

20002026 · UN

History

most recent 12 periods
PeriodMedian Age
202617.1 years
202516.9 years
202416.7 years
202316.5 years
202216.3 years
202116.1 years
202015.9 years
201915.7 years
201815.5 years
201715.2 years
201615 years
201514.8 years

Get this via API

GET /v1/data

The series above is served by the /v1/data endpoint. With a free key you get JSON for every country and indicator on this site.

curl "https://api.africa-api.com/v1/data?country_code=UG&metric_key=median_age_years" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Median Age across Africa

Rank all 54 ->
CountryMedian AgePeriod
Nigeria18.3 years2026
Kenya20.3 years2026
South Africa28.9 years2026
Egypt24.7 years2026
Ghana21.6 years2026
Ethiopia19.3 years2026

Frequently asked questions

What is Uganda's median age?

Uganda's median age is 17.1 years as of 2026, according to UN World Population Prospects.

What is the source for this figure?

The figure comes from UN World Population Prospects and is republished by the Africa API with the retrieval date shown on this page.

How do I get Uganda Median Age data via API?

Call GET /v1/data?country_code=UG&metric_key=median_age_years with a free Africa API key to receive the full time series as JSON.

More Uganda demographics data