What Is NDC in Medical Billing and Why It Matters

An NDC, or National Drug Code, is a unique identifier assigned to every drug product sold in the United States. It functions as a universal ID number that tells everyone in the billing chain exactly which drug was used, who made it, what strength it is, and how it’s packaged. If you work in medical billing or are trying to understand a claim, the NDC is how payers verify that the drug billed matches the drug administered.

How the NDC Is Structured

The FDA assigns each drug a 10-digit NDC split into three segments, each carrying different information:

  • Labeler code (first segment): Identifies the manufacturer, repackager, or distributor of the drug.
  • Product code (second segment): Identifies the specific drug, its strength, and its dosage form (tablet, injectable, cream, etc.).
  • Package code (third segment): Identifies the package size and type, such as a bottle of 30 tablets versus a bottle of 90.

This means two versions of the same medication from different manufacturers will have completely different NDCs. A 10 mg tablet and a 20 mg tablet from the same manufacturer will also have different NDCs. Every distinct combination of brand, strength, form, and package size gets its own code.

The 10-Digit vs. 11-Digit Format

Here’s where confusion often starts. The FDA assigns NDCs as 10 digits, but HIPAA requires an 11-digit format on billing transactions. The conversion is straightforward: you add a leading zero to whichever segment is shorter than its maximum length. The three segments can be arranged in different configurations (like 4-4-2, 5-3-2, or 5-4-1), so the zero always goes in front of the segment that needs an extra digit to reach the standard 5-4-2 format.

Submitting the raw 10-digit version on a claim instead of converting it to 11 digits is one of the most common reasons for claim denials. Billing software often handles the conversion automatically, but if you’re entering NDCs manually, getting this right matters.

Why NDCs Matter Beyond Pharmacy Claims

Pharmacy claims have always used NDCs, but the codes are increasingly required on medical claims too, particularly for drugs administered in a doctor’s office or outpatient facility. The reason comes down to specificity. When a physician gives a patient an injectable drug, the claim typically uses a HCPCS code (often called a J-code) to describe the service. The problem is that a single J-code can cover dozens of different products from different manufacturers at different price points.

The NDC fills that gap. It tells the payer exactly which manufacturer’s product was used, the precise dosage and strength, and the package it came from. This level of detail helps payers detect billing errors, apply drug preference programs, and process Medicaid drug rebates. For dual-eligible patients (those covered by both Medicare and Medicaid), CMS requires providers to submit NDCs so that Medicaid can collect manufacturer rebates on physician-administered drugs.

Where the NDC Goes on a Claim

On a CMS-1500 paper claim, the NDC is entered in the shaded portion of Item 24, on the same service line as the corresponding procedure code. The entry starts with the qualifier “N4” followed immediately by the 11-digit NDC with no spaces or hyphens (for example, N499999999999). On electronic claims, the NDC is transmitted in a designated drug identification segment.

Along with the NDC itself, you need to report the quantity administered and a unit of measure qualifier. Four standard qualifiers are used:

  • UN (Unit): Used for unit-of-use preparations, typically drugs that need to be reconstituted before administration.
  • ML (Milliliter): Used for liquid drugs that come in vials.
  • GR (Gram): Used for ointments, creams, inhalers, or bulk products.
  • F2 (International Unit): Used for drugs measured in international units.

Common NDC Billing Errors

Incorrect or missing NDC information will cause a claim to be denied. The most frequent mistakes include submitting a 10-digit NDC without converting to the 11-digit billing format, omitting the quantity or using the wrong unit of measure qualifier, and mismatches between the NDC and the HCPCS units on the same line. For example, if a J-code describes a drug in 1 mg increments and you administered 4 mg, the HCPCS units should be 4, but the NDC quantity should reflect the actual volume or units from the vial you used. Those two numbers serve different purposes, and mixing them up triggers denials.

Billing with an obsolete or invalid NDC is another common issue. Drug manufacturers discontinue products regularly, and using an old code from a package insert rather than verifying it against the current FDA NDC Directory can result in a rejection. Always confirm the NDC from the actual product label at the time of administration.

NDC vs. UPC and HRI Codes

NDCs are sometimes confused with other product identifiers. Universal Product Codes (UPCs) are the barcodes managed by the global standards organization GS1, used broadly across retail products. Health Related Item (HRI) codes were developed by the FDA specifically for medical devices and supplies. In pharmacy claim systems, supplies like insulin syringes, glucose test strips, and gauze sponges are identified by UPC or HRI codes rather than NDCs, even though they’re transmitted in the same data field. Neither the official NDC directory nor standard drug databases carry these supply codes, so it’s important not to treat them interchangeably.

The Upcoming Shift to 12-Digit NDCs

The FDA proposed a rule in July 2022 to expand NDCs from 10 digits to a standardized 12-digit format. The change would eliminate the current confusion around variable segment lengths and the need for zero-padding conversions. Once the final rule takes effect, the FDA will convert all existing NDCs to 12 digits and begin assigning new 6-digit labeler codes in the longer format.

A three-year transition period will follow the effective date. During that window, the FDA will publish both 10-digit and 12-digit versions of each NDC, and drug labels with both formats will be in circulation. At the end of the transition, all firms will be required to use the 12-digit format exclusively in their listing files and on labels. If your organization handles drug billing, this means updating systems to accept 12-digit codes before the transition deadline. The final rule has not yet been published, so no firm effective date is set, but the groundwork is in motion.