Updated Nov 4, 2026FDA and CMS public dataIndependent · free · not health advice
GxRadar
Your medicine, explained · Explainer

The NDC number explained, from 10 digits to 12

The National Drug Code's three segments and three 10-digit formats, how it becomes 11 digits for billing, how to look one up, and FDA's 2026 rule moving every NDC to 12 digits in 2033.

Not health advice. GxRadar is for general information only. Nothing here is medical, pharmacy, legal or financial advice. Do not start, stop or change any medicine based on this site. Talk to your pharmacist or prescriber about your own situation.

On March 5, 2026, FDA published a final rule1 that will make every National Drug Code 12 digits long. The change takes effect March 7, 2033, and will touch every drug label, barcode and pharmacy claim in the country. The reason is arithmetic. The five-digit codes that identify drug companies allow 90,000 possibilities, and FDA expects to run out in about 10 to 15 years at the current pace of assignment.

Drug products listed with FDA carry an NDC as their product identifier. It is printed on stock bottles and cartons, encoded in barcodes, and required in electronic pharmacy claims. Price benchmarks, recall notices and drug databases all use it to pin down a specific product and package, including the federal NADAC price files behind GxRadar's price pages.

A code that looks simple already comes in three 10-digit formats, gets reshaped to 11 digits for billing, and is now headed for a third length.

Three segments, three jobs

According to FDA's NDC background page2, each listed drug product gets a unique 10-digit, three-segment number.

SegmentAssigned byIdentifiesLength today
Labeler codeFDAThe firm that manufactures, repackages, relabels or distributes the drug4 or 5 digits
Product codeThe firmA specific strength, dosage form and formulation for that firm3 or 4 digits
Package codeThe firmPackage sizes and types1 or 2 digits

So a 30-count bottle and a 90-count bottle of the same tablet share the first two segments and differ in the third. The same drug and strength from two different manufacturers differ in the first segment, which is one reason a refill can look different, as GxRadar's piece on why your pill changed color explains. A repackager that buys a product in bulk and puts it into new containers lists it under its own labeler code.

Why there are three 10-digit formats

Segment lengths are not fixed. A 10-digit NDC can be split 4-4-2, 5-3-2 or 5-4-1, as FDA explains2. Older firms hold four-digit labeler codes, which leaves six digits for product and package. FDA now assigns only five-digit labeler codes, so the firm chooses between a three-digit product code with a two-digit package code or a four-digit product code with a one-digit package code.

Because the split varies, the hyphens carry information. Without them, there is no reliable way to tell where one segment ends and the next begins.

Eleven digits for billing

When HHS adopted standards for electronic health care transactions under HIPAA, in a final rule published Aug. 17, 20005, it named the NDC as the standard code set for drugs and adopted a uniform 11-digit format. That format is always 5-4-2. To convert, a leading zero is added to whichever segment is short.

10-digit formatExample (10-digit)11-digit billing (5-4-2)12-digit from 2033 (6-4-2)
4-4-21234-5678-9001234-5678-90001234-5678-90
5-3-210010-001-0110010-0001-01010010-0001-01
5-4-112345-6789-112345-6789-01012345-6789-01

FDA uses the middle example in its rulemaking1. The other two are illustrative digit patterns that do not belong to real products.

FDA's own listing system uses the 10-digit form; the 11-digit version is a conversion. Pharmacy claims and many government drug datasets, including the NADAC price files described in how NADAC is calculated, use the 11-digit form, often without hyphens. The 2026 rule1 prints the conversion side by side with the native formats, which is where the trouble described below begins.

How to look up an NDC

FDA publishes listed NDCs in the National Drug Code Directory3, which is updated daily. It covers active, certified finished and unfinished drugs submitted in electronic listing files. Finished drugs include prescription and over-the-counter products, approved and unapproved drugs, and repackaged and relabeled drugs.

  1. Open the NDC Directory search on FDA's website.
  2. Enter the NDC with hyphens if you have them. With only an 11-digit billing code, remove the padding zero from the short segment to recover the 10-digit form; if the format is unknown, try each possible split.
  3. Check the result's labeler, proprietary and nonproprietary names, strength, dosage form, package description and marketing start date.
  4. For bulk use, download the directory files or query the NDC endpoint on open.fda.gov4.

The NDC also leads to a product's full labeling, as our guide to looking up a drug on DailyMed shows.

A few limits apply. It shows only listings whose marketing start date has passed and whose marketing end date has not, so a discontinued product can drop out. Animal drugs, blood products, drugs manufactured under contract, and drugs marketed only as part of a kit are excluded from the main directory and published in a separate excluded-drugs file. FDA's directory page3 also states that inclusion does not mean the agency has verified the information, that the labeler is responsible for each entry, and that an NDC does not denote FDA approval or insurance coverage.

Recall notices identify affected products by NDC and lot number, a process covered in how to read an FDA recall notice. The labels patients take home are a separate document, explained in how to read a prescription label.

Why 11 native digits would have collided

FDA had planned for the labeler pool to run out. In a 2016 registration and listing rule6 (the system explained in our piece on establishment registration), it wrote that it "will begin issuing 6-digit labeler codes, leading to 11-digit NDCs, only when the available 5-digit labeler codes are exhausted," allowing two new formats, 6-3-2 and 6-4-1, for five in total.

Those native 11-digit codes would have clashed with the converted 11-digit billing codes. In FDA's own example in the 2026 rule1, the native code 100100-001-01 and the billing code 10010-0001-01 become the same string, 10010000101, once the hyphens are removed. An FDA presentation in September 20239 laid out the same problem.

FDA held a public hearing on Nov. 5, 20187, published a proposed rule for a uniform 12-digit format8 on July 25, 2022, and issued the final rule on March 5, 2026.

DateStep
Aug. 17, 2000HHS adopts the NDC and an 11-digit format for HIPAA transactions
Aug. 31, 2016FDA registration and listing rule adds future 6-3-2 and 6-4-1 formats
Nov. 5, 2018FDA public hearing on future NDC formats
July 25, 2022Proposed rule for a uniform 12-digit NDC (87 FR 44038)
March 5, 2026Final rule published (91 FR 10749)
March 7, 2033Rule takes effect; FDA begins assigning 12-digit NDCs
About 2036 (3 years after the effective date)End of the three-year transition for 10-digit NDCs on labels

What the 12-digit rule does

Under the final rule1, every NDC will be 12 digits in a single 6-4-2 format, with a six-digit labeler code, a four-digit product code and a two-digit package code. Existing NDCs convert by adding leading zeros to the labeler, product or package segment as needed. FDA calls the conversion "a ministerial, administrative change and not the assignment of a 'new' NDC." The agency plans to publish a database mapping each 10-digit NDC to its 12-digit equivalent, at least through the transition, and when the five-digit pool runs out, new six-digit labeler codes will start at 100000, since codes with leading zeros will not be issued.

Barcodes change too. The UPC-A barcode used on many packages cannot hold a 12-digit NDC, so the rule allows linear or 2D barcodes that meet recognized international standards. A GS1 application identifier lets the NDC be encoded in GS1-128, GS1 DataBar and GS1 DataMatrix symbols, which require camera-based scanners. FDA rejected adding letters to labeler codes because letters raise the risk of misreading. The 2D codes overlap with the serialization requirements described in GxRadar's DSCSA explainer.

For three years after March 7, 2033, FDA does not intend to object to 10-digit NDCs on labels already in commerce, according to the rule1. Little changes for patients before then, and the product behind a converted NDC stays the same. People who work with drug data, in pharmacies, payers, health systems or databases, will need systems that store 12 digits, keep leading zeros and map old codes to new ones. Commenters on the rule flagged one specific hazard. Systems that store the code as a numeric field drop leading zeros, and a 12-digit NDC built by adding leading zeros does not survive that.

Sources and notes

  1. Federal Register via GovInfo (2026). Revising the National Drug Code Format and Drug Label Barcode Requirements, final rule (91 FR 10749)
    www.govinfo.gov/content/pkg/FR-2026-03-05/pdf/2026-04368.pdf
  2. FDA (2026). National Drug Code Database Background Information
    www.fda.gov/drugs/development-approval-process-drugs/national-drug-code-database-backgroun
  3. FDA (2026). National Drug Code Directory
    www.fda.gov/drugs/drug-approvals-and-databases/national-drug-code-directory
  4. openFDA (2026). Drug NDC API
    open.fda.gov/apis/drug/ndc/
  5. Federal Register (2000). Health Insurance Reform: Standards for Electronic Transactions, final rule (65 FR 50312)
    www.govinfo.gov/content/pkg/FR-2000-08-17/pdf/00-20820.pdf
  6. Federal Register (2016). Requirements for Foreign and Domestic Establishment Registration and Listing for Human Drugs, final rule (81 FR 60170)
    www.govinfo.gov/content/pkg/FR-2016-08-31/html/2016-20471.htm
  7. FDA (2018). Public Hearing: Future Format of the National Drug Code, November 5, 2018
    www.fda.gov/drugs/news-events-human-drugs/public-hearing-future-format-national-drug-code-
  8. Federal Register via GovInfo (2022). Revising the National Drug Code Format and Drug Label Barcode Requirements, proposed rule (87 FR 44038)
    www.govinfo.gov/content/pkg/FR-2022-07-25/pdf/2022-15414.pdf
  9. FDA (2023). Format of the National Drug Code, presentation
    www.fda.gov/media/173715/download

Superscript numbers in the text link to these sources. GxRadar data (NADAC histories, recall and shortage counts) come from CMS and FDA files described on the sources page. Researched and drafted with AI assistance and checked against the sources above. Information current as of Nov 3, 2026 and may change. Spot an error? It will be corrected once confirmed.

Not health advice. GxRadar is for general information only. Nothing here is medical, pharmacy, legal or financial advice. Do not start, stop or change any medicine based on this site. Talk to your pharmacist or prescriber about your own situation. Laws, prices and program rules described here can change; confirm current details with the official source.