How to Read the NDC Number to Confirm the Correct Medication

How to Read the NDC Number to Confirm the Correct Medication

Getting the right medication isn’t just about matching a name on a prescription. It’s about making sure the exact drug, strength, form, and package size are handed to the patient. One small mistake - swapping a 10mg tablet for a 20mg capsule - can lead to serious harm. The NDC number is the key to preventing these errors. It’s not just a barcode or a label. It’s a detailed code that tells you everything you need to know about the medicine in your hand.

What Is the NDC Number?

The National Drug Code, or NDC, is a unique 10-digit number assigned by the U.S. Food and Drug Administration (FDA) to every prescription and over-the-counter medication sold in the United States. It’s required by law under the Drug Listing Act of 1972. Every pill bottle, vial, or blister pack has it printed on the label. This number isn’t random. It’s broken into three clear segments that each answer a specific question:

  • Who made it?
  • What is it exactly?
  • How is it packaged?

Without this code, pharmacies, hospitals, and insurers wouldn’t be able to track, bill, or verify medications accurately. The FDA’s National Drug Code Directory lists over 150,000 active products as of October 2023. That means every time you pick up a prescription, someone is using the NDC to confirm it’s the right one.

The Three Segments of the NDC

Think of the NDC like a phone number with area code, exchange, and line number. Each part has meaning.

Segment 1: Labeler Code (4-6 digits)
This identifies the company that makes, repacks, or distributes the drug. It’s assigned by the FDA. For example, if you see “00002” at the start of an NDC, that’s Eli Lilly. “50458” belongs to Teva. There are around 3,500 active labelers in the system. If the labeler code doesn’t match what you expect - say, you ordered a generic from Teva but the NDC says it’s from a company you’ve never heard of - that’s a red flag.

Segment 2: Product Code (3-4 digits)
This is the most critical part. It tells you the active ingredient, strength, and dosage form. For example, “3105” might mean 10mg capsules of fluoxetine (Prozac). “4465” could mean 20mg capsules of the same drug. The difference between these two codes is a 100% increase in dose. One mistake here can be deadly. The product code doesn’t include inactive ingredients like fillers or dyes. So two pills might look identical and have the same NDC product code but differ in allergens or absorption rates. Always cross-check with the prescribing information.

Segment 3: Package Code (1-2 digits)
This tells you the size and type of packaging. “01” might mean a 30-count bottle. “02” could mean a 100-count bottle. “10” might mean a 100-unit blister pack. If your prescription says 30 tablets but the NDC shows a package code for 100, something’s off. You might have received a bulk container meant for a hospital, not a retail patient.

Reading the NDC Format

The NDC is printed in one of three formats on the packaging:

  • 4-4-2 (e.g., 1234-5678-90)
  • 5-3-2 (e.g., 12345-678-90)
  • 5-4-1 (e.g., 12345-6789-0)

But here’s the catch: when you bill insurance, you need an 11-digit version in the 5-4-2 format. That means you have to convert it.

For example:

  • Original: 5-3-2 → 12345-678-90
    Converted: 12345-0678-90 (add a zero to make the product code 4 digits)
  • Original: 4-4-2 → 1234-5678-90
    Converted: 01234-5678-90 (add a zero to make the labeler code 5 digits)
  • Original: 5-4-1 → 12345-6789-0
    Converted: 12345-6789-00 (add a zero to make the package code 2 digits)

Most pharmacy systems auto-convert this, but if you’re doing manual checks - like in a clinic or during inventory - you need to know how. Misreading the format leads to billing errors, delayed refills, or worse, wrong meds being dispensed.

Two pharmacy techs comparing similar-looking bottles with different NDC product codes, a warning sign between them.

How to Verify the NDC Step by Step

Here’s how to use the NDC to confirm the right medication every time:

  1. Locate the NDC on the packaging. It’s usually printed near the barcode, often in a red circle or bold text. Don’t assume - always check the actual container, not just the prescription label.
  2. Identify the format. Count the digits between the hyphens. Is it 4-4-2? 5-3-2? 5-4-1? This tells you how to split it correctly.
  3. Break it into the three segments. Write them down: Labeler, Product, Package.
  4. Compare each segment to the prescription.
    • Does the labeler match the brand or generic you ordered?
    • Does the product code match the drug name, strength, and form? (e.g., tablet vs. liquid, 5mg vs. 10mg)
    • Does the package code match the quantity? (e.g., 30 vs. 90 tablets)
  5. Convert to 11-digit billing format if needed. If you’re submitting a claim, add zeros where necessary to make it 5-4-2. Never use the 10-digit version for billing.
  6. Double-check with the FDA’s NDC Directory. Go to the FDA’s website or use their mobile app. Type in the full 11-digit code. It will show you the official product name, manufacturer, and approved use. If it doesn’t match what’s on the bottle - stop. Call the supplier.

Why This Matters: Real-World Mistakes

One pharmacist in Arizona caught a near-fatal error when a patient’s NDC was misread. The prescription was for Prozac 10mg capsules (NDC: 00002-3105-01). The pharmacy pulled a bottle labeled Prozac 20mg capsules (NDC: 00002-4465-01). The product code changed from 3105 to 4465 - a clear difference. But because the technician didn’t check the middle segment, they almost gave a double dose. The patient had a history of seizures. A 20mg dose could have triggered a seizure. The NDC saved the day.

On the flip side, a hospital tech in Ohio spent 20 minutes every shift fixing NDC format errors. A new shipment of insulin came with a 5-4-1 format. The billing system only accepted 5-4-2. They didn’t know to add a zero at the end. Claims were rejected. Patients missed doses. Training fixed it - but only after two weeks of delays.

A 2023 survey of 1,200 pharmacists found that 63% had at least one NDC-related mix-up per month. The most common? Mistaking the product code for the package code. Confusing 3105 (10mg) with 01 (30-count) is easy if you’re rushing.

A pharmacist scanning a pill bottle with a digital NDC fingerprint, showing drug history on a tablet screen.

Tools and Tips for Accuracy

Here’s what works:

  • Use the FDA’s NDC Directory app. It’s free. Updated daily. Lets you scan barcodes or type in codes to verify instantly.
  • Always verbalize the segments. Say it out loud: “Labeler: zero-zero-zero-zero-two. Product: three-one-oh-five. Package: zero-one.” Hearing it helps catch errors your eyes miss.
  • Use two-person verification for high-risk drugs. Insulin, blood thinners, chemo - these need a second set of eyes. Studies show it adds 37 seconds per check but cuts errors by over 70%.
  • Know your format conversions. Memorize the three rules: Add zero to labeler if it’s 4 digits. Add zero to product if it’s 3 digits. Add zero to package if it’s 1 digit.

Many pharmacies now use software that auto-converts and flags mismatches. But if you’re working in a small clinic, urgent care, or long-term care facility - you’re still doing this manually. Don’t skip the steps.

What’s Changing? The Future of NDC

The FDA is moving toward a 12-digit NDC by 2025. No more formats. No more conversions. Just one standard: 6-4-2. That means:

  • Labeler code: 6 digits (to handle more manufacturers)
  • Product code: 4 digits (fixed)
  • Package code: 2 digits (fixed)

This will eliminate the confusion caused by today’s three formats. It’s already being tested by major manufacturers. But small pharmacies are worried. Upgrading systems costs money. Training staff takes time. Still, the goal is clear: reduce the 8.7% of pharmacy claims that get rejected because of NDC errors.

And it’s not just about billing. The Drug Supply Chain Security Act (DSCSA) now requires every package to be tracked using its NDC. By 2025, every pill bottle will have a digital fingerprint tied to its NDC. That means if a drug is recalled, you’ll know exactly which batch is affected - down to the individual bottle.

Final Checklist: NDC Verification

Before handing any medication to a patient, run through this:

  • ✅ Did I find the NDC on the actual container?
  • ✅ Did I count the digits to identify the format (4-4-2, 5-3-2, or 5-4-1)?
  • ✅ Did I split it into labeler, product, and package?
  • ✅ Does the product code match the prescribed strength and form?
  • ✅ Does the package code match the quantity ordered?
  • ✅ Did I convert to 5-4-2 if billing?
  • ✅ Did I verify against the FDA’s NDC Directory?

If you answer yes to all of these, you’ve done your job. Medication safety isn’t about trust. It’s about verification. The NDC is your tool. Use it right.

What if the NDC on the bottle doesn’t match the prescription?

Stop. Do not dispense. Contact the prescribing pharmacy or provider immediately. There could be a mix-up in manufacturing, labeling, or ordering. Never assume the prescription is wrong. Double-check the NDC in the FDA’s directory. If the product listed there matches the bottle but not the script - the error is likely on the prescriber’s side. Always document the discrepancy.

Can two different drugs have the same NDC?

No. Each NDC is unique to one product. But two different brands of the same generic drug can have different NDCs because they’re made by different companies. For example, generic lisinopril from Teva and generic lisinopril from Mylan will have different labeler codes. The product code may be identical if strength and form are the same, but the full NDC will differ. Always verify the full 11-digit code.

Is the NDC the same as the barcode?

The barcode usually contains the 11-digit NDC, but they’re not the same thing. The NDC is the code itself - the numbers you read. The barcode is the machine-readable version of that code. If the barcode scans but the printed NDC doesn’t match the scanned result, the label is faulty. Always verify both. Never rely on the barcode alone.

Why do some NDCs have leading zeros?

Leading zeros are added during conversion to the 11-digit billing format. For example, a 4-digit labeler code like 1234 becomes 01234 to meet the 5-digit requirement. These zeros aren’t part of the original label - they’re added for systems that require fixed-length fields. The FDA’s official directory lists NDCs in their original 10-digit format. Always convert, don’t guess.

What should I do if the NDC is faded or unreadable?

Do not use the medication. Contact the supplier or manufacturer for a replacement. If it’s an emergency and you must dispense, call the FDA’s NDC hotline (1-855-543-3784) with the lot number and drug name. They can verify the product. Never guess the NDC from memory or assumption. A single digit wrong can be fatal.


Caspian Sterling

Caspian Sterling

Hi, I'm Caspian Sterling, a pharmaceutical expert with a passion for writing about medications and diseases. My goal is to share my extensive knowledge and experience to help others better understand the complex world of pharmaceuticals. By providing accurate and engaging content, I strive to empower people to make informed decisions about their health and well-being. I'm constantly researching and staying up-to-date on the latest advancements in the field, ensuring that my readers receive the most accurate information possible.


Write a comment