National Drug Codes (NDC): what every pharmacist needs to know
The NDC is the universal product identifier for human drug products in the United States. Every finished drug product must have an NDC. The FDA maintains the NDC directory as a public database updated daily. Understanding NDC structure is essential for billing, drug verification and inventory management.
The 3 segments explained
The labeler code identifies the company that manufactures, repacks or distributes the product. The FDA assigns labeler codes. The product code identifies the specific drug, strength, dosage form and formulation within a labeler's portfolio. The package code identifies the specific package type and size. A labeler can have many products. Each product can have multiple package configurations.
Why 10-digit NDCs cause billing errors
The FDA uses 3 different 10-digit formats (4-4-2, 5-3-2, 5-4-1). HIPAA requires 11-digit NDCs (5-4-2) for all pharmacy claims. Pharmacies must know which format a specific NDC uses to correctly add the leading zero to the right segment. Adding the zero to the wrong segment creates a different (usually invalid) NDC and results in a claim rejection. Our Days Supply Calculator uses NDC quantities for accurate billing. For sig code interpretation that pairs with NDC billing, see the SIG Code Decoder.
NDC vs UPC vs GTIN
NDC is US-specific and applies to finished drug products. The Universal Product Code (UPC) appears on retail packaging and is used for point-of-sale scanning. GTIN (Global Trade Item Number) is an international standard that encompasses both. Many pharmacy dispensing systems use NDC as the primary identifier. NDC data is freely available from the FDA NDC directory at accessdata.fda.gov.