NPI
GeneralNational Provider Identifier
A 10-digit identification number issued by CMS to US healthcare providers, used on claims, referrals, and billing across the entire healthcare system.
Definition
A National Provider Identifier (NPI) is a 10-digit number issued by the Centers for Medicare & Medicaid Services (CMS) to identify individual healthcare providers and healthcare organizations across the United States. Mandated under HIPAA, the NPI is used on virtually every healthcare transaction โ claims, referrals, prescriptions, and billing โ replacing the patchwork of separate provider IDs that different insurers previously required.
There are two types: Type 1 for individual providers (physicians, therapists, nurse practitioners) and Type 2 for organizations (hospitals, clinics, group practices). Both share the identical 10-digit format.
Formula
An NPI's check digit is computed using the Luhn algorithm โ the same checksum used for credit card numbers โ but with a twist: the fixed 5-digit prefix 80840 (the ISO 7812 issuer identifier reserved for US healthcare) is prepended to the 9-digit provider number before running the Luhn calculation. The steps are:
- Prepend
80840to the first 9 digits of the NPI, forming a 14-digit string. - Apply the standard Luhn algorithm: starting from the rightmost digit, double every second digit, subtracting 9 from any result over 9.
- Sum all digits; the 10th digit of the NPI must make the total sum a multiple of 10.
This makes NPIs checksum-verifiable offline, unlike identifiers such as a DUNS Number that rely purely on registry lookup.
Worked Example
A structurally valid example that passes the Luhn checksum: 1234567893.
Key Things to Know
- 10 digits, Luhn-checksummed: the final digit is mathematically derived from the first 9 plus a fixed prefix, so most typos are caught instantly by the NPI Validator.
- Type 1 vs. Type 2: individual providers get Type 1 NPIs; organizations get Type 2 โ both use the same format.
- Permanent and portable: an NPI never changes, even across job or state changes, unlike state medical license numbers.
- Distinct from Medicare ID: an NPI identifies the provider; a Medicare ID identifies the patient โ claims reference both.
- Free and mandatory under HIPAA: registration through NPPES is free, and use of the NPI is legally required on standard healthcare transactions.
- Related to EIN for organizations: Type 2 organizational NPIs are typically linked to the organization's EIN during registration for tax and billing reconciliation.
Frequently Asked Questions