A bottle of Tylenol capsules with the national drug code 50580-488-10

The national drug code (NDC) is a unique product identifier used in the United States for drugs intended for human use. The Drug Listing Act of 1972[1][2] requires registered drug establishments to provide the Food and Drug Administration (FDA) with a current list of all drugs manufactured, prepared, propagated, compounded, or processed by it for commercial distribution. Drug products are identified and reported using the NDC.

There are several alternative drug classification systems in addition to NDC that are also commonly used when analyzing drug data, such as Generic Product Identifier (GPI).


The national drug code is a unique 10 or 11 digit, 3-segment numeric identifier assigned to each medication listed under Section 510 of the US Federal Food, Drug, and Cosmetic Act. The segments identify the labeler or vendor, product (within the scope of the labeler), and trade package (of this product).

While the labeler code is assigned by the FDA, both the product and package segments are assigned by the labeler.[5] While in the past labelers may have had the opportunity to reassign old product codes no longer used to new products, according to the new FDA validation procedures, once an NDC code is assigned to one product (defined by key properties including active ingredients, strength, and dosage form) it may not be later reassigned to a different product.

NDC codes exist in one of the following groupings of digits into segments: 4-4-2, 5-3-2, 5-4-1, 6-3-2, or 6-4-1.[5][3]

The following NDC structure rules apply depending on the length of certain segments. These rules include the 11 digit format. Unless stated otherwise, search for drug codes using the 10 digit format.

The official FDA format for NDCs separates the 3 segments with dashes. This is the format in which the NDC must be submitted by labelers since mandatory electronic listing was established in June 2009.[6]

While the NDC is a 10-digit identifier, confusion exists because of a proliferation of different notations and variants.

The previous NDC directory, populated by a paper-based listing system, sometimes inserted an asterisk in either a product code or a package code in addition to the dashes. This format is easily transformed to the official format in effect today by deleting the asterisk (if any).

Each NDC-coded product package in the US bears a barcode with a Universal Product Code that begins with a 3 (UPC-A) or 03 (EAN-13).[7] The remainder of the numbers can be the 10 NDC digits, plus the check digit, but this is not required. If the NDC is used in the UPC it is the most minimal form of the NDC code with 10 digits only. Because the NDC code has been linked with product barcodes in this way, the NDC code could contain ambiguities in this form. For example, 1234-5678-90, 12345-678-90, and 12345-6789-0 could all be entirely different products with the same barcode 1234567890. To prevent any actual ambiguity from impacting the marketplace, ambiguity checks are part of the new electronic listing process.

The pure 10-digit NDC format cannot be transformed back into the standard format with dashes without the help of the product listing database.

The Centers for Medicare and Medicaid Services (CMS) had created an 11-digit NDC derivative, which pads the labeler, product, or package code segments of the NDC with leading zeroes wherever they are needed to result in a fixed length 5-4-2 configuration (but always written without dashes).[8] This format was adopted by data standards selected pursuant to HIPAA regulation, thus other government agencies' lists and databases (such as the UMLS) may contain the 11-digit derivative of the original NDC.

The 11-digit NDC format cannot be transformed back into the 10-digit standard format without the help of a product listing database.

In some applications, the fully expanded 5+4 digit labeler+product code is used as a 9-digit number to identify a product regardless of packaging. Thus an 11-digit NDC can be transformed into a 9-digit NDC product code by removing the last two digits. This does not work reliably for 10-digit NDCs where the packaging code might be one digit and not two.

In 2022, the FDA proposed revising the NDC regulations to require use of a uniform 12-digit NDC with the same three functional segments but with uniform segment lengths of 6, 4, and 2 digits.[9]


  1. ^ "National Drug Code Database Background Information". FDA. Archived from the original on 2017-01-20. Retrieved 2019-12-16.
  2. ^ "ANNEX B - The Drug Listing Act of 1972 Information Bulletin". FDA. Center for Drug Evaluation and Research. 2018-11-03. Retrieved 2019-05-28.
  3. ^ a b c "Subpart C—National Drug Code". eFCR - Code of Federal Regulations. Retrieved 2019-10-29. Public Domain This article incorporates text from this source, which is in the public domain.
  4. ^ "National Drug Code Directory". Center for Drug Evaluation and Research. 2017-11-09. Retrieved 2019-05-28.
  5. ^ a b "SPL Validation Procedures" (PDF). Food and Drug Administration. Archived from the original (PDF) on 2016-03-10. Retrieved 2019-12-16.
  6. ^ Guidance for Industry - Providing Regulatory Submissions in Electronic Format – Drug Establishment Registration and Drug Listing
  7. ^ "UPC-A Specification". Morovia. 2013-04-24. Retrieved 2019-05-28.
  8. ^ "Medi-Cal: NDC: NDC Reporting Requirements". Archived from the original on 2011-12-21. Retrieved 2012-02-13.
  9. ^ "Revising the National Drug Code Format and Drug Label Barcode Requirements". Federal Register. Retrieved 4 February 2023.