Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
The underlying cause of death (UCD) in CDC WONDER is the single disease or injury that initiated the chain of events leading to a death, as recorded on U.S. death certificates and tabulated by the National Center for Health Statistics (NCHS). The Underlying Cause of Death database lets you count deaths and calculate crude and age-adjusted rates by cause, year, place and demographic group, with small counts suppressed to protect confidentiality. This guide explains what the database contains, how to run and read a query, which cautions apply and how the API fits in.
CDC WONDER (Wide-ranging Online Data for Epidemiologic Research) is a free web query system from the Centers for Disease Control and Prevention. It is a routine data source for public health surveillance and for baseline comparisons such as excess deaths. Whatever the use, understand how the numbers were produced before you interpret them.
What the Underlying Cause of Death database contains
The Underlying Cause of Death database covers 1999-2020 and holds county-level national mortality and population data. It is built from death certificates of U.S. residents, supplied by state registries through the National Vital Statistics System and produced by NCHS. Deaths of nonresidents and fetal deaths are excluded. CDC cites 57 vital statistics jurisdictions contributing through the Vital Statistics Cooperative Program.
Each certificate lists one underlying cause. It is selected from the certifier’s entries using the sequence of conditions on the certificate, the classification’s provisions and selection rules. The definition follows the World Health Organization: the disease or injury that initiated the train of events leading directly to death. A certificate can also list up to twenty multiple (contributing) causes, which is the basis of the separate Multiple Cause of Death database.
Underlying cause versus multiple cause of death
| Question | Underlying cause database | Multiple cause database |
|---|---|---|
| What is counted | One cause per death | Any cause listed on the certificate, so one death can appear under several conditions |
| Do cause counts add up to total deaths? | Yes: causes do not overlap | No: adding counts across causes counts some deaths more than once |
| Best for | Leading causes, trends and rates for a single cause | Questions about conditions that appear together on certificates |
How cause of death is classified
The International Classification of Diseases (ICD) is the World Health Organization’s standard for classifying diseases and causes of death, and it is what makes mortality statistics comparable across countries and periods; WHO states that ICD-11 took effect on 1 January 2022, while this database remains on ICD-10 coding. Deaths for 1979-1998 were coded with ICD-9; from 1999 onward the database uses ICD-10. The valid ICD-10 codes changed in 2003, 2006, 2007, 2009, 2011, 2019 and 2020, and COVID-19 (U07.1) was added for 2020. Starting in 2001, NCHS added non-ICD terrorism categories (*U01-*U03), which are included in the assault and suicide categories. The 21 ICD-10 chapters map to a letter or letters of the alphabet, so infectious diseases begin with A or B.
Rather than working with raw 4-digit codes, you can group results with lists that NCHS maintains:
- 113 Selected Causes of Death for all ages, in which a # marks rankable causes.
- 130 Selected Causes of Infant Death for deaths of infants.
- 15 Leading Causes, built from the rankable causes. This grouping does not allow cross-tabulations, zero-count values or suppressed values, and tied causes in the last position are all shown.
- Drug/Alcohol Induced Causes.
- Injury Intent and Mechanism, based on the External Cause of Injury Mortality Matrix.
How to run a query, step by step
The query form is organised in numbered sections. Menu labels change between releases, so check them against the database’s own help page.
- Open the database and accept the terms. Choose the Underlying Cause of Death database from the Deaths section of the WONDER home page and agree to the data use restrictions. Use of the data implies agreement to NCHS data use policies.
- Group results. Choose how to group the table, for example by year, state, cause list, sex or age group.
- Select measures. Pick the columns you need: deaths, population, crude rate, age-adjusted rate, 95% confidence intervals and standard errors.
- Set filters. Restrict by place, age, sex, race, Hispanic origin, year and cause, using 4-digit ICD-10 codes or the groupings above.
- Choose the standard population if you want age-adjusted rates. The default is the 2000 U.S. standard population.
- Send and export. Run the query and export the results as a tab-delimited file, or use the maps, charts and data extract options.
If a query fails, the help page notes that the data access timeout can be adjusted and that user support can run custom requests.
Reading the output: counts, rates and intervals
| Measure | How WONDER defines it | Watch for |
|---|---|---|
| Deaths | Count of deaths matching the query | Counts of 1-9 are suppressed for 1999 and later |
| Crude rate | Count divided by population, multiplied by 100,000; infant rates are per 1,000 live births by default | Reflects overall burden but depends on the age mix of the population |
| Age-adjusted rate | Direct method, weighted to a standard population (2000 U.S. standard by default) | Not available when grouping by age group, for a single age group, or for infant age groups; standard populations apply only to ten-year age groups |
| 95% confidence interval | For 100 or more deaths, rate plus or minus 1.96 times the standard error; for 99 or fewer, Poisson-based factors from the documentation | Wide intervals signal imprecise rates |
| Standard error | S(R) = R × RSE/100, where RSE = 100 × √(1/D) and D is the number of deaths | Small D gives a large relative standard error |
Other standard populations are selectable: the 1970 and 1940 standard millions, the WHO 2000-2025 standard and the Segi 1960 standard. Age-specific rates are rounded to one decimal place before weighting, and deaths with age “not stated” are excluded from age-adjusted rates. When you report an interval, say which method produced it; see our confidence interval entry for the general concept.
Suppression, unreliable rates and “not applicable”
- Suppressed: for 1999 and later, counts, rates and related figures representing 1-9 persons are suppressed, and population figures under 10 persons are also suppressed. The data use restrictions bar publishing counts that small.
- Unreliable: a rate based on fewer than 20 deaths is flagged Unreliable, corresponding to a relative standard error of 23% or more.
- Not applicable: a rate is not calculated when there is no population denominator, for example when age or Hispanic origin is “not stated”, or for categories such as month, weekday, place of death or autopsy. Ages 85 and over have no population estimates in this database, so rates for those subsets are also not applicable.
To reduce suppression, group more coarsely: fewer categories, wider age bands, multiple years combined or a broader cause list. Never subtract suppressed cells from a total to recover them; that defeats the confidentiality rule the restrictions exist to enforce. For project-level data governance, see our data use agreement template guide.
Population denominators, race and Hispanic origin
Rates use U.S. Census Bureau estimates: bridged-race intercensal estimates for 1999, April 1 modified census counts for 2000 and 2010, revised intercensal estimates (released 10/26/2012) for 2001-2009 and bridged-race postcensal estimates for 2011-2020. Infant rates use live birth counts from NCHS. Four race groups and three Hispanic origin categories (Hispanic, not Hispanic, not stated) are available for 1999-2020.
Race is reported on a death certificate by the funeral director, whereas census race is self-reported, so mismatches bias rates. The documentation estimates the bias as roughly 1% and 5% overstatement for the white and Black populations, and understatement of about 21% for American Indian, 11% for Asian/Pacific Islander and 2% for Hispanic populations. From 2003, multiple-race responses were bridged to single-race categories using NCHS procedures. Deaths with Hispanic origin “not stated” are excluded from Hispanic-specific rates.
Known data issues to check before trend analysis
The documentation lists reporting problems that can distort a series. Check them if your question touches the affected causes, states or years:
- A 2014 revision reclassified 125 deaths from W32-W34 (accidental discharge) to assault, suicide or undetermined intent.
- A 2019 Texas revision recoded 5 records to X95.
- Counts for A04.7 (C. difficile) were inaccurately doubled from October 2013 to April 2020 in certain query configurations.
- Unusually high R99 counts affected Georgia in 2008-2009, New Jersey in 2009 and California in 2000-2001; New Jersey’s inflated R99 deflated R95 (SIDS) and X40-X49 (unintentional poisoning).
- Classification changes between ICD revisions affect reporting trends, so compare across the 2020 COVID-19 code addition with care.
Using the CDC WONDER API
The API provides automated queries in XML over HTTP. You send a POST to https://wonder.cdc.gov/controller/datarequest/[database ID] with one parameter named request_xml holding the XML query document. Each database has its own ID, and IDs can change when a new data release is published. The request must also carry accept_datause_restrictions set to true, either inside the XML or as a second POST parameter.
- National data only: for mortality and births data from the National Vital Statistics System, only national data are available through the API. Location fields such as region, state and county, and urbanization fields, cannot be grouped by or limited via the API.
- Same rules apply: data use restrictions and suppression are enforced on API results.
- Pace requests: CDC advises posting queries in a series, one at a time, and says that firing a query every 2 minutes gives the system good recovery time.
- Response format: XML with the data table plus caveats and footnotes; each row is an
relement and each cell acelement. - Credit: when you republish API data, credit WONDER, cite the official data sources and keep the footnotes and caveats.
For state or county work you therefore need the web form, not the API.
Reporting and citing results
CDC’s suggested citation takes the form: US DHHS, CDC, NCHS, Underlying Cause of Death 1999-2020 on CDC WONDER Online Database, released 2021, accessed at wonder.cdc.gov/ucd-icd10.html. State the cause list or ICD-10 codes, the years, the standard population for any age-adjusted rate and the suppression rule you applied. An observational mortality analysis is reported best against a checklist; see the STROBE checklist guide. For programme-level questions, the CDC program evaluation framework shows where such surveillance data fits.
Frequently asked questions
What is the difference between underlying cause of death and multiple cause of death in CDC WONDER?
The underlying cause is the single condition that initiated the chain of events leading to death, and each certificate has one. A certificate can also carry up to twenty multiple causes, which the Multiple Cause of Death database includes; counts there can exceed total deaths because one death can appear under several conditions.
What years does the Underlying Cause of Death database cover?
The database documented here covers 1999-2020, using ICD-10 coding. Earlier data were coded with ICD-9. Check the WONDER home page for the databases and years currently offered.
What does “Unreliable” mean in CDC WONDER?
A rate is flagged Unreliable when it is based on fewer than 20 deaths, which corresponds to a relative standard error of 23% or more.
Why are some death counts suppressed?
For 1999 and later, counts of 1-9 deaths are suppressed under the NCHS data use restrictions, and users must not publish counts that small. Group more coarsely to bring cells above the threshold.
Which standard population does CDC WONDER use for age adjustment?
The 2000 U.S. standard population is the default, with the 1970 and 1940 standard millions, the WHO 2000-2025 standard and the Segi 1960 standard also available.
Can I use the CDC WONDER API for state or county mortality data?
No. For mortality data from the National Vital Statistics System the API supports national queries only; location and urbanization fields cannot be used to group or limit results.
Do I need to install anything to use CDC WONDER?
No. It is a free web tool at wonder.cdc.gov; you accept the data use restrictions and run the query in the browser.
Sources
- CDC, National Center for Health Statistics. Underlying Cause of Death, 1999-2020, CDC WONDER. https://wonder.cdc.gov/ucd-icd10.html
- CDC WONDER. Underlying Cause of Death help and documentation. https://wonder.cdc.gov/wonder/help/ucd.html
- CDC WONDER. CDC WONDER API for Data Query Web Service. https://wonder.cdc.gov/wonder/help/wonder-api.html
- World Health Organization. International Classification of Diseases (ICD). https://www.who.int/standards/classifications/classification-of-diseases
- CDC WONDER home page. https://wonder.cdc.gov/







