Life Tables by District & Sex

Data as of 2026

Abridged life tables by administrative district, sex and age group. The preview table shows data for the latest year only, but you may download the data in full.

0 views·0 downloads

How is this data produced?

Life tables are compiled by DOSM from deaths registered with the National Registration Department (JPN) and mid-year population estimates, using the Coale-Demeny (West) model life tables. To smooth out random fluctuations, the final life table for a year uses the average number of deaths in that year and the years immediately before and after it; preliminary figures use an estimate of deaths for the following year, while estimates for the latest year use deaths in that year only. Life expectancy is the average number of years a person is expected to live from a given age, if the age-specific mortality rates of that year were to remain the same throughout their lifetime. Life expectancy at birth is not affected by the age structure of the population.

What caveats I should bear in mind when using this data?

The number of administrative districts increased from 160 to 166 from 2024, due to the creation of new districts in Sabah (Membakut) and Sarawak (Gedong, Sebuyau, Siburan, Pantu and Lingga). Perlis and the 3 Federal Territories, which have no districts, are each shown as a single district.

Each annual release revises the two preceding years: figures for the latest year are estimates and those for the year before are preliminary, and both will be revised in the next release. Every year in this dataset is taken from the most recent release that covers it. Figures from 2020 onwards are based on population estimates from the Population and Housing Census of Malaysia 2020, while figures for 2010-2019 are based on the 2010 Census and will be revised in future.

Publication(s) using this data

OpenDOSM features a dashboard on Life Expectancy where you can explore this data in a more interactive manner!

Metadata

Dataset description

Abridged life tables by administrative district, sex and age group. The preview table shows data for the latest year only, but you may download the data in full.

Variable definitions
  • Date
  • State
  • Administrative District
  • Sex
  • Age Group
  • Probability of Dying
  • Deaths
  • Central Mortality Rate
  • Survivors
  • Person-Years Lived
  • Survival Ratio
  • Total Person-Years Remaining
  • Life Expectancy
Last updated:

30 Sept 2026, 18:00

Next update:

31 Oct 2027, 12:00

Data source(s)
  • National Registration Department
  • Department of Statistics Malaysia
License

This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.

Download

Data
Full Dataset (CSV)

Full Dataset (CSV)

Recommended for individuals seeking an Excel-friendly format.

0

Full Dataset (Parquet)

Full Dataset (Parquet)

Recommended for data scientists seeking to work with data via code.

0

Code

Connect directly to the data with Python.

# If not already installed, do: pip install pandas fastparquet import pandas as pd URL_DATA = 'https://storage.dosm.gov.my/demography/lifetables_district.parquet' df = pd.read_parquet(URL_DATA) if 'date' in df.columns: df['date'] = pd.to_datetime(df['date']) print(df)

Sample OpenAPI query

The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.

import requests import pprint url = "https://api.data.gov.my/data-catalogue?id=lifetables_district&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)
jata negara

Department of Statistics Malaysia

© 2026 Department of Statistics Malaysia