GuidanceBlog › How to Build a Lot Number System for Your Food Brand

How to Build a Lot Number System for Your Food Brand

A lot number is the identifier that connects a finished product on a retail shelf back to the specific batch of ingredients that went into it. For food brands, lot numbers are not just a regulatory requirement under FSMA 204. They are the operational foundation that makes a recall manageable rather than catastrophic. A well-designed lot number system tells you exactly which products are affected, where they went, and what ingredients were involved. A poorly designed one leaves you guessing.

What a Lot Number Needs to Encode

A lot number should encode enough information to identify the production batch without requiring a database lookup. The most common approach for food brands is to encode the production date, the production facility or line, and a sequential batch number. A format like 20260719-CF-001 encodes the date (July 19, 2026), the facility code (CF for Claros Farm), and the batch number (001 for the first batch of the day). This format is human-readable, sortable by date, and unique across your production history.

Some brands also encode the product code or SKU in the lot number, which can be useful for multi-SKU production facilities. However, this adds length and complexity. For most SMB food brands, a date-facility-sequence format is sufficient and easier to manage.

Lot Numbers for Finished Goods vs. Ingredients

Your lot number system needs to cover both your finished goods and your incoming ingredients. Ingredient lot numbers come from your suppliers and should be recorded when you receive each shipment. Finished goods lot numbers are assigned by you (or your co-packer) at the time of production. The critical link between the two is your production records: for each finished goods lot, you need to record which ingredient lots were used.

This linkage is what makes a recall traceable. If a supplier notifies you that a specific lot of an ingredient was contaminated, you need to be able to identify every finished goods lot that used that ingredient lot and every customer order that contained units from those finished goods lots. Without the ingredient-to-finished-goods lot linkage in your records, this trace is impossible.

Co-Packer Lot Number Coordination

If you use a co-packer, you need to decide whether the co-packer assigns lot numbers or whether you provide them. Many co-packers have their own lot numbering system, which may or may not encode the information you need. If your co-packer's lot numbers do not include a production date or are not unique to your brand, you may need to establish a separate lot numbering system and require the co-packer to use it.

At minimum, your co-packer agreement should specify that they will provide you with the lot numbers assigned to each production run, the quantities produced under each lot number, and the ingredient lot numbers used in each production run. This information should be provided with each production run completion, not weeks later when you need it for a recall or an audit.

Where Lot Numbers Need to Appear

Lot numbers need to appear on the product packaging (typically on the bottom or back of the package), on the case label, and on the pallet label. For products sold through retail, the lot number on the case label is what allows a retailer to identify and pull specific lots from their shelves in the event of a recall. For products sold DTC, the lot number in your order management system is what allows you to notify specific customers.

Under FSMA 204, lot numbers also need to appear in your Critical Tracking Event records. Every time a lot changes hands (from your co-packer to your warehouse, from your warehouse to a distributor, from a distributor to a retailer), that transaction needs to be recorded with the lot number, the quantity, and the date.

Implementing Lot Tracking in Your Operations System

A lot number system is only as good as the records that support it. The records need to be maintained in a system that allows you to query them quickly in the event of a recall. A spreadsheet can work for very small operations, but it does not scale and it is prone to errors and gaps. An operations system that tracks lot numbers through your entire supply chain, from ingredient receipt through finished goods production through customer orders, is the right long-term infrastructure.

The key capabilities you need are: recording ingredient lot numbers at receipt, linking ingredient lots to finished goods lots at production, recording finished goods lot numbers in customer orders, and generating a forward trace (which customers received a specific lot) and a backward trace (which ingredients went into a specific lot) on demand.

Under FSMA 204, you need to be able to produce your traceability records within 24 hours of an FDA request. A lot number system that lives in a spreadsheet will not meet this requirement at any meaningful scale.

Built for CPG Operators

Lot traceability from ingredient receipt to customer order.

Guidance tracks lot numbers through your entire supply chain automatically, so you can run a forward or backward trace in seconds, not hours.

Get Early Access →