HCUP National Inpatient Sample (NIS)
Agency for Healthcare Research and Quality (AHRQ), Healthcare Cost and Utilization Project
About 7 million US hospital stays a year, with diagnoses, procedures, and charges, for every payer.
The largest all-payer database of US hospital inpatient stays, drawn as a sample of discharges from community hospitals in participating states. Each record has diagnoses, procedures, length of stay, charges, payer, and patient demographics, plus weights for national estimates. It is the standard source for national hospitalization counts and costs regardless of insurance.
Access
- Cost
- PaidEach data year is purchased from the HCUP Central Distributor; prices are not posted on the overview page. Buyers must complete data use agreement training and sign the DUA.
- License
- Provider's own termsAHRQ HCUP Data Use Agreement for Nationwide Databases
- Sign-up
- Purchase required
- How you get it
- Bulk downloadASCII with SAS, SPSS, and Stat
What's in it
- One row is
- One row per hospital discharge
- Covers
- United States (national estimates; no state identifiers)
- Years
- 1988-2024
- Updated
- Annual
- Size
- About 7 million unweighted stays per year, representing over 35 million
Quality
The reference all-payer inpatient source, with consistent design since 2012 and extensive documentation and trend weights.
- Discharges, not patients, so readmissions cannot be linked
- Sample redesigned in 2012; use trend weights across that break
- Charges are not costs; apply cost-to-charge ratios
Connects to
- CMS Healthcare Provider Cost Reporting Information System (HCRIS): Hospital-level cost-to-charge ratios and finances
- National Electronic Injury Surveillance System (NEISS): ED injury visits that lead to some of these stays
- Medical Expenditure Panel Survey (MEPS): Household view of the same hospital spending
Questions it could answer
- How have hospitalizations for opioid-related conditions changed by payer since 2016?
- What does an average stay for sepsis cost compared with a decade ago?