No, an NDC and a lot number are not the same thing. They serve completely different purposes on a medication’s label. The NDC (National Drug Code) identifies what the drug product is, while the lot number identifies the specific batch it was manufactured in. Both appear on pharmaceutical packaging, which is likely why they get confused, but they track different information and are used in different ways.
What an NDC Tells You
An NDC is a unique 10-digit number split into three segments. The first segment identifies the manufacturer, repackager, or distributor. The second segment identifies the specific product, including its strength and dosage form (tablet, capsule, liquid, etc.). The third segment identifies the package size and type. For example, the NDC 0777-3105-02 refers to a 100-count bottle of Prozac 20 mg. Every bottle of that exact product from that manufacturer shares the same NDC, whether it was made today or six months ago.
Think of the NDC as a product’s fingerprint. It stays the same across every unit of that product. If you walk into two different pharmacies on opposite sides of the country and pick up the same medication in the same package size from the same manufacturer, the NDC on both boxes will be identical.
What a Lot Number Tells You
A lot number (also called a batch number) identifies a specific production run. When a manufacturer produces a drug, each batch made under the same conditions gets assigned its own lot number. If that manufacturer runs three batches of the same medication on the same day across different production lines, each batch gets a different lot number.
Lot numbers vary in format. Some encode the production date and line directly, like “20230815A” indicating August 15, 2023, on production line A. Others use alphanumeric codes like “L456789” that correspond to internal tracking systems. Unlike an NDC, lot numbers change with every new batch. Two identical bottles of the same medication sitting on the same pharmacy shelf could easily have different lot numbers because they came from different production runs.
Why Both Numbers Exist
The NDC exists so that pharmacies, insurers, and regulators can identify exactly which drug product is being dispensed or billed. It’s a classification tool. The lot number exists so that manufacturers can trace a product back to the exact conditions under which it was made, including the raw materials used, the equipment involved, and the quality checks performed. Federal regulations under 21 CFR 211.130 require that every drug product carry a lot or control number that “permits determination of the history of the manufacture and control of the batch.”
This distinction matters most during drug recalls. When a manufacturer discovers a problem with a specific production run, the lot number is what allows them to pull only the affected units from the market. Without lot numbers, a contamination issue in one batch could force a recall of every unit of that product nationwide. With lot numbers, the recall targets only the packages from the problematic batch. The FDA’s recall procedures specifically require companies to “identify clearly the product, size, lot number(s), code(s) or serial number(s)” so affected units can be located quickly and accurately.
Where to Find Each Number on Your Medication
Both numbers appear on the outer packaging of your medication, but they’re typically in different spots. The NDC is often printed near the barcode on a prescription label or on the side of an over-the-counter box, usually prefixed with “NDC” followed by the 10-digit number in a format like XXXX-XXXX-XX. Lot numbers are generally printed near the expiration date on the packaging, often abbreviated as “LOT” or “Lot #.” On prescription bottles, your pharmacy label may include the NDC, while the lot number and expiration date are usually stamped or printed on the manufacturer’s original label or on the bottom of the bottle.
If you’re checking whether your medication is part of a recall, the lot number is the critical piece. Recall notices specify which lot numbers are affected. Your NDC confirms you have the right product, but the lot number tells you whether your specific bottle came from the batch with the problem.
How They Work Together
The FDA has developed a system called the serialized National Drug Code (sNDC) for tracking prescription drugs through the supply chain. This combines the NDC with a unique serial number assigned to each individual package. Notably, the FDA chose not to include lot numbers or expiration dates in this identifier, since those are already required on every label and can be linked through manufacturer databases. The sNDC handles package-level identification, while the lot number continues to handle batch-level traceability.
In practice, these numbers form layers of identification. The NDC tells you what the product is. The lot number tells you which batch it came from. And if a serialized system is in place, the serial number tells you which individual package it is. Each layer answers a different question, and none of them replaces the others.