How to Read the NDC Number to Confirm the Correct Medication

How to Read the NDC Number to Confirm the Correct Medication

Dec, 22 2025 Ethan Blackwood

Every year, thousands of medication errors happen because someone misread a simple 10-digit number. It’s not a typo. It’s not a glitch. It’s an NDC number - the National Drug Code - printed on the side of a pill bottle, and if you don’t know how to read it, you could give the wrong drug, wrong dose, or wrong form to a patient. In pharmacies across the U.S., including in Toronto where Canadian pharmacists often cross-reference U.S. drug labels, this number is the last line of defense before a medication leaves the counter.

What Is an NDC Number and Why Does It Matter?

The NDC is a unique 10-digit code 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 not just a barcode number - it’s a detailed fingerprint of the drug. Each segment tells you something specific: who made it, what it is, and how it’s packaged.

Think of it like a car’s VIN. If you’re buying a car, you don’t just check the make and model - you verify the exact engine, trim, and production year. The NDC does the same for medications. A drug like Prozac (fluoxetine) might come in 10mg, 20mg, or 40mg capsules, in bottles of 30 or 100 pills. Each version has a different NDC. If you mix them up, you’re not just giving the wrong pill - you’re giving the wrong dose. And that can be dangerous.

According to the Institute for Safe Medication Practices, about 12% of all dispensing errors are tied to misreading the NDC. That’s not rare. That’s routine - and preventable.

The Three Segments of the NDC Number

An NDC number has three parts, separated by hyphens. Each part is critical. You need to read them all - and in order.

  • Labeler Code (first segment): 4 to 6 digits. This identifies the manufacturer, repacker, or distributor. For example, 00002 = Eli Lilly, 00781 = Pfizer. The FDA assigns these codes, and there are over 3,500 active ones.
  • Product Code (second segment): 3 to 4 digits. This tells you the exact drug, strength, and dosage form. For instance, 3105 might mean fluoxetine 20mg capsule. 4465 could mean fluoxetine 10mg capsule. Same drug, different strength - different code.
  • Package Code (third segment): 1 to 2 digits. This tells you the package size. 01 = 30 capsules. 02 = 100 capsules. 11 = 1000 tablets. This doesn’t change the drug, but it matters for inventory and billing.

So if you see an NDC like 00002-3105-02, you’re looking at Eli Lilly’s fluoxetine 20mg capsules in a bottle of 100 pills. Get any digit wrong, and you’re looking at a different product.

Three Common NDC Formats - And How to Tell Them Apart

Not all NDCs look the same. The FDA allows three formats:

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

You’ll find these printed on the label. But here’s the catch: insurance systems and Medicare require an 11-digit version in the 5-4-2 format. That means you often have to convert it.

How? Add a zero where needed.

  • If it’s 4-4-2 → add a zero at the start of the labeler code → becomes 5-4-2
  • If it’s 5-3-2 → add a zero after the product code → becomes 5-4-2
  • If it’s 5-4-1 → add a zero at the end of the package code → becomes 5-4-2

Example: NDC 1234-5678-90 (4-4-2) becomes 01234-5678-90 for billing. Miss that zero, and the claim gets rejected. Or worse - someone might think it’s a different drug.

Hand pointing at three NDC formats with floating zeros converting them to 11-digit format for insurance billing.

How to Verify the NDC Step by Step

Here’s how to use the NDC to confirm you’re giving the right medication - every time.

  1. Find the NDC on the packaging. Look on the bottle, box, or blister pack. It’s usually printed near the lot number or expiration date. Sometimes it’s circled or highlighted.
  2. Identify the format. Count the digits between hyphens. Is it 4-4-2? 5-3-2? 5-4-1? Write it down.
  3. Match the labeler code. Does it match the manufacturer listed on the prescription? If the script says “Pfizer,” but the NDC starts with 00002 (Eli Lilly), stop. Something’s wrong.
  4. Verify the product code. This is where most errors happen. Is the strength correct? Is it a tablet or capsule? A 20mg tablet is not the same as a 20mg capsule - different NDC. Use the FDA’s NDC Directory to cross-check the drug name and form.
  5. Check the package code. Is it the size you ordered? If the patient needs 30 pills but the NDC says 100, you might be giving too much - or worse, you’re pulling from the wrong stock.
  6. Convert to 11-digit format if needed. If you’re billing, you must use 5-4-2. Add the zero in the right spot. Don’t guess. Use a reference chart or app.
  7. Double-check with the prescription. Say the NDC out loud: “Labeler 00002, product 3105, package 02.” Then compare it to the written order. If it matches, proceed. If not, pause and investigate.

Real Mistakes - And How They Were Caught

Pharmacist Maria Chen in Arizona caught a near-fatal error when a 20mg Prozac NDC (00002-4465-01) was almost dispensed instead of the prescribed 10mg (00002-3105-01). The product code was the only difference - one digit. She noticed it because she verbalized the code during her double-check.

In another case, a hospital tech in Texas confused a 5-4-1 format (12345-6789-0) with a 5-3-2 format. He added the zero to the wrong segment. The system rejected the claim, but the delay meant the patient’s dose was late. He later said, “I thought I knew the format - until I got burned.”

According to a 2023 survey of 1,200 pharmacists, 63% reported at least one NDC-related confusion per month. The biggest problems? Mixing up product and package codes, and not converting to 11-digit format correctly.

Tools and Resources to Help You Get It Right

You don’t have to memorize every NDC. There are tools.

  • FDA’s NDC Directory: Free, updated daily. Search by drug name, NDC, or manufacturer. It tells you the exact product type, strength, and status (active or discontinued).
  • FDA NDC Mobile App: Available on iOS and Android. Scan the barcode or type the number. Instant verification.
  • AAPC Codify: A paid system used by many pharmacies. Integrates with EHRs and flags mismatches in real time.
  • FDA NDC Hotline: 1-855-543-3784. Call if you’re unsure. No question is too small.

Many pharmacies now use automated systems that compare the NDC on the label to the e-prescription. But if the system says “match,” don’t assume it’s right. Always verify manually - especially for high-risk drugs like insulin, anticoagulants, or opioids.

Split scene: wrong medication nearly causing harm vs. pharmacist verifying NDC aloud with FDA app confirmation.

What You Can’t Rely on the NDC For

The NDC doesn’t tell you everything. It doesn’t show inactive ingredients. Two drugs with the same NDC might have different fillers, dyes, or preservatives. For patients with allergies, that matters.

Dr. Jane Allen from the National Association of Boards of Pharmacy says: “NDCs can’t prevent all errors. If a patient is allergic to a dye in one brand but not another, the NDC won’t tell you that.” Always check the full product monograph if allergies or sensitivities are a concern.

Also, some drugs have multiple NDCs for the same active ingredient - especially if they’re repackaged by a third-party pharmacy. A bottle of amoxicillin from Walmart might have a different NDC than the same drug from a hospital pharmacy. That’s legal. But it’s confusing. Always trace back to the original manufacturer if you’re unsure.

The Future of NDC: 12-Digit Codes Are Coming

The FDA announced in 2022 that by 2025, all NDCs will switch to a standardized 12-digit format. This will eliminate the confusing 4-4-2, 5-3-2, and 5-4-1 variations. Every code will be fixed-length: 6-4-2.

Why? Because mistakes are still happening. Surescripts reported that 8.7% of pharmacy claims are rejected due to NDC formatting errors. The new system aims to cut that to near zero.

But it’s not without pushback. Small pharmacies say the transition will cost money and cause delays. The FDA says it’s necessary - and that the current system is outdated.

Start preparing now. Learn the current formats. Practice conversions. Use the FDA’s tools. The change is coming - and if you’re not ready, you’ll be the one holding up the line.

Final Rule: Never Skip the NDC Check

Medication safety isn’t about being perfect. It’s about having a system that catches mistakes before they happen. The NDC is that system.

It’s not enough to just look at the drug name. It’s not enough to trust the label. You must read the NDC - all three segments - and match it to the prescription.

One pharmacist in Chicago said it best: “I used to think NDC was just for billing. Then I saw a patient nearly die because someone confused 10mg with 20mg. Now I say the NDC out loud before I hand over every pill.”

Do the same. Say it. Check it. Verify it. Because when it comes to medication, the smallest number can mean the biggest difference.

What does each part of the NDC number mean?

The NDC has three segments: the first is the labeler code (who makes the drug), the second is the product code (what the drug is, including strength and form), and the third is the package code (how many pills or how the drug is packaged). Together, they uniquely identify the exact medication product.

Why is the NDC sometimes 10 digits and sometimes 11 digits?

The 10-digit NDC is what’s printed on the drug label. But insurance and Medicare systems require an 11-digit version in the 5-4-2 format. You convert it by adding a zero to the segment that’s too short - either at the start of the labeler code, after the product code, or at the end of the package code - depending on the original format.

Can two different drugs have the same NDC?

No. Each NDC is unique to one specific product - manufacturer, strength, dosage form, and package size. If two drugs have the same NDC, they’re the same product. But different packaging or manufacturers of the same drug will have different NDCs.

How do I verify an NDC number?

Use the FDA’s free NDC Directory online or via their mobile app. Enter the 10-digit code, and it will show you the drug name, strength, form, manufacturer, and status. Always cross-reference this with your prescription before dispensing.

Is the NDC enough to prevent all medication errors?

No. The NDC doesn’t list inactive ingredients, so it won’t catch allergies to dyes or fillers. It also doesn’t confirm the patient’s diagnosis or whether the dose is appropriate for their weight or kidney function. Always use the NDC as part of a broader safety check - never as the only check.