54 countries · 127 indicators · 45 sourcesLiveGet API key

Demographics · West Africa

Nigeria Median Age

18.3 yearsas of 2026+1.1% 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
202618.3 years
202518.1 years
202417.9 years
202317.8 years
202217.6 years
202117.4 years
202017.2 years
201917.1 years
201816.9 years
201716.8 years
201616.7 years
201516.7 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=NG&metric_key=median_age_years" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Median Age across Africa

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

Frequently asked questions

What is Nigeria's median age?

Nigeria's median age is 18.3 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 Nigeria Median Age data via API?

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

More Nigeria demographics data