54 country profiles · 207 indicator definitionsAPI dataGet API key

Demographics · North Africa

Libya Median Age

28 yearsas of 2026+1.1% vs 2025

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

Trend

20002026 · UN

History

most recent 12 periods
PeriodMedian Age
202628 years
202527.7 years
202427.5 years
202327.2 years
202226.9 years
202126.7 years
202026.5 years
201926.2 years
201826 years
201725.8 years
201625.6 years
201525.4 years

Get this via API

GET /v1/data

Request the available observations for this indicator as JSON. The response includes source metadata and reporting periods.

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

Median Age across Africa

View country ranking ->
CountryMedian AgePeriod
Nigeria18.3 years2026
Kenya20.3 years2026
South Africa28.9 years2026
Egypt24.7 years2026
Ghana21.6 years2026
Ethiopia19.3 years2026

More Libya demographics data