Skip Navigation

Overview of the National (Nationwide) Inpatient Sample (NIS)
The HCUP Nationwide Inpatient Sample (NIS) is a set of longitudinal hospital inpatient databases included in the HCUP family. These databases are created by AHRQ through a Federal-State-Industry partnership.

National (Nationwide) Inpatient Sample

The National (Nationwide) Inpatient Sample (NIS) is part of a family of databases and software tools developed for the Healthcare Cost and Utilization Project (HCUP). The NIS is the largest publicly available all-payer inpatient health care database in the United States, yielding national estimates of hospital inpatient stays. Unweighted, it contains data from more than 7 million hospital stays each year. Weighted, it estimates more than 35 million hospitalizations nationally.

Beginning in 2012, the NIS was redesigned. It was formerly a sample of hospitals, and all discharges from those hospitals were retained.

The new NIS starting with 2012 data is a sample of discharges from all hospitals participating in HCUP. For details, see the 2012 NIS Redesign Report.

Developed through a Federal-State-Industry partnership sponsored by the Agency for Healthcare Research and Quality (AHRQ), HCUP data inform decisionmaking at the national, State, and community levels.

This page provides an overview of the NIS. For more details, see NIS Database Documentation and the Introduction to the NIS, 2013 (PDF file, 1.1 MB; HTML).


Beginning with the 2012 data year, HCUP's NIS approximates a 20-percent stratified sample of all discharges from U.S. community hospitals, excluding rehabilitation and long-term acute care hospitals. The NIS covers all patients, including individuals covered by Medicare, Medicaid, or private insurance, as well as those who are uninsured. The NIS is sampled from the State Inpatient Databases (SID), all inpatient data that are currently contributed to HCUP.

Researchers and policymakers use the NIS to make national estimates of health care utilization, access, charges, quality, and outcomes. NIS data are available from 1988 through 2013, which allows analysis of trends over time. The number of States in the NIS has grown from 8 in the first year to 44 at present.

Beginning with 2012 data, the NIS was redesigned to improve national estimates. To highlight the design change, beginning with 2012 data, AHRQ renamed the NIS from the "Nationwide Inpatient Sample" to the "National Inpatient Sample." The redesign incorporates three major types of changes:

  • Revisions to the sample design - the NIS is now a sample of discharge records from all HCUP-participating hospitals, rather than a sample of hospitals from which all discharges were retained.
  • Revisions to how hospitals are defined - the NIS now uses the definitions of hospitals and discharges supplied by the statewide data organizations that contribute to HCUP, rather than the definitions used by the AHA Annual Survey.
  • Revisions to enhance confidentiality - the NIS now eliminates State and hospital identifiers and other data elements that are not uniformly available across States.
The new sampling strategy is expected to result in more precise estimates than the previous NIS design by reducing sampling error. For many estimates, confidence intervals under the new design are about half the length of confidence intervals under the previous design.

Key features of the most recent NIS (2013) include:

  • The NIS is drawn from all States participating in HCUP, representing more than 95 percent of the U.S. population.
  • The NIS approximates a 20-percent stratified sample of discharges from U.S. community hospitals, excluding rehabilitation and long-term acute care hospitals.
  • The self-weighting design of the new NIS reduces the margin of error for estimates and delivers more stable and precise estimates than previous versions of the NIS.
  • The NIS protects patient confidentiality because State and hospital identifiers are no longer provided.
  • The new NIS retains a large sample size, which enables analyses of rare conditions, uncommon treatments, and special patient populations.
The NIS was redesigned to improve national estimates. Changes to the NIS may impact some types of analyses. For example, the elimination of hospital identifiers means that hospital linkages can no longer be done with the NIS and the sampling of discharges means that analyses relying on a census of discharges from sampled hospitals can no longer be performed. Because inpatient data are available for many individual States through the HCUP Central Distributor, state inpatient data can be used for many analyses no longer possible with the NIS.

For a detailed description of the 2012 NIS redesign, please see the NIS Redesign Report.

For more details on the 2013 NIS, see the Introduction to the NIS, 2013 (PDF file, 1.1 MB; HTML).

Information on previous years of the NIS may be found in the Introduction to the NIS, 2011 (PDF file, 1.3 MB; HTML).
Return to Contents

The NIS contains clinical and resource-use information that is included in a typical discharge abstract, with safeguards to protect the privacy of individual patients, physicians, and hospitals (as required by data sources). It contains clinical and nonclinical data elements for each hospital stay, including:
  • Primary and secondary diagnoses and procedures
  • Patient demographic characteristics (e.g., sex, age, race, median household income for ZIP Code)
  • Hospital characteristics (e.g., ownership)
  • Expected payment source
  • Total charges
  • Discharge status
  • Length of stay
  • Severity and comorbidity measures
Return to Contents

As a uniform, multi-State database, the NIS promotes comparative studies of health care services and supports health care policy research on a variety of topics, including:
  • Utilization of health services by special populations
  • Hospital stays for rare conditions
  • Variations in medical practice
  • Health care cost inflation
  • Regional and national analyses
  • Quality of care and patient safety
  • Impact of health policy changes
  • Access to care
The NIS is used in a variety of publications:

Return to Contents

Spanning more than 20 years of data, the NIS is ideal for longitudinal analyses. However, the database has undergone changes over time, including the sampling and weighting strategy used. Users of the NIS should expect a one-time decrease to historical trends for discharge counts of about 4 percent beginning with data year 2012. Users should also expect smaller one-time disruptions to historical trends for rates and means estimated from the NIS, beginning with data year 2012.

In order to facilitate analysis of trends using multiple years of NIS data, AHRQ developed new discharge trend weights for the 1993-2011 NIS. These weights were calculated in the same way as the weights for the redesigned 2012 NIS, and are designed to be used instead of the original NIS discharge weights for trends analysis. For trends analysis using NIS data 2011 and earlier, revised weights should be used to make estimates comparable to the new design beginning with 2012 data. The trend weights are available for download as ASCII files along with SAS, Stata, and SPSS load programs from the HCUP-US Website at

These new 1993-2011 discharge trend weights replace the earlier NIS trend weights that were developed for the 1988-1997 NIS following the 1998 NIS redesign. The report Using the HCUP Nationwide Inpatient Sample to Estimate Trends, available on the HCUP-US Website under Methods Series (, includes recommendations for trends analysis.

Return to Contents

NIS releases for data years 1988 through 2011 are available for purchase through the HCUP Central Distributor.

Prior to purchasing HCUP data, all individuals are required to take the online HCUP Data Use Agreement Training Course, and users of the NIS must read and sign the Data Use Agreement for Nationwide Databases (PDF file, 55 KB; HTML).

The NIS are available for purchase online through the HCUP Central Distributor.

Questions about purchasing databases can be directed to the HCUP Central Distributor:

Telephone: (866) 556-4287 (toll free)
Fax: (866) 792-5313 (toll free)

Return to Contents

The NIS is distributed as fixed-width ASCII formatted data files compressed with SecureZIP® from PKWARE. To load and analyze NIS data on a computer, you will need the following:
  • A DVD drive
  • A hard drive with 15 gigabytes of space available
  • A third-party zip utility such as ZIP Reader, 7-Zip, or WinZip®
  • SAS®, SPSS®, Stata® or similar analysis software
The data set includes weights for producing national and regional estimates. NIS documentation and tools, including programs for loading the ASCII file into SAS, SPSS, or Stata, are also available on the NIS Database Documentation page.

Return to Contents

Internet Citation: HCUP Databases. Healthcare Cost and Utilization Project (HCUP). February 2016. Agency for Healthcare Research and Quality, Rockville, MD.
Are you having problems viewing or printing pages on this Website?
If you have comments, suggestions, and/or questions, please contact
Privacy Notice, Viewers & Players
Last modified 2/19/16