✻Farmer Education
Food Safety & Quality Training

Labeling and Lot Coding Training

6 min read · Updated November 2026

When something goes wrong with a product, the first question is always the same: where did this come from? A clear label and a sensible lot code answer that question in minutes instead of days. They also make everyday work easier, from rotating stock to settling a dispute with a buyer. Yet on many farms, labeling is done in a hurry by whoever is nearest the box, with a marker that smudges and a code nobody can decode later.

This guide covers how to design a lot code system that suits your farm and how to train workers to apply it consistently. Labeling requirements depend on your product, your buyer and your regulator, and packaged food has additional rules. Confirm those with the FDA, USDA, your state department of agriculture and your buyer. This article focuses on the training and the practical system.

Why labels and lot codes matter

Labels versus lot codes

These are related but different.

ItemPurposeExamples
LabelTells the customer what the product is and who produced itProduct name, farm name and location, net quantity
Lot codeIdentifies the specific batch for tracingDate, field or block, harvest crew, pack line
Date markingHelps customers and buyers with freshnessHarvest date, pack date, best by date where used

Labeling rules for fresh produce differ from rules for packaged or processed food. If you pack or process food, check requirements with the FDA, and see food safety training for value-added products and cottage food and on-farm processing training. Allergen labeling is its own topic, covered in allergen awareness training for farms.

Designing a lot code

A good code is simple enough to apply and decode, yet specific enough to trace. Decide what information you need to recover, then build the code from short pieces.

  1. Date. Harvest date, written in a consistent format.
  2. Location. Field, block or greenhouse identifier.
  3. Product. A short product or variety code.
  4. Crew or pack line. If you need to trace by team.
  5. Batch number. For multiple batches per day.

An example format could join these in order, such as a date, a field letter and a crew number. The exact scheme is yours to choose. Write the key in your food safety plan so anyone can decode it, and keep a master list of field identifiers.

Keep it simple

Over-engineered codes cause errors. Test your design by asking: could a new seasonal worker apply it correctly after five minutes of instruction? If not, simplify. Avoid characters that look alike, such as the letter O and the number zero. Use the same format everywhere: field bins, packed boxes, invoices and logs.

Match the code to your records

A lot code is only useful if the records behind it exist. Make sure that:

If lots are mixed, the traceability picture becomes less precise, so decide how mixing will be handled and written down. Review food safety recordkeeping training for record design.

Applying labels in practice

Training should include hands-on practice, because small habits cause most mistakes.

Label content checklist

Your required content depends on product and buyer, but common items include:

Ask your buyer for their specifications in writing, and keep a sample of each label with your records. The USDA AMS local and regional food page may help direct farmers to market-specific resources.

Checking and correcting

Make verification routine.

  1. At the start of each shift, supervisors confirm that date and code on the label stamp or printer are current.
  2. At random intervals, check a few packed boxes and compare labels to the pack log.
  3. At the end of the day, reconcile quantities labeled with quantities packed.
  4. Record corrections when mislabeled product is found, and hold affected product until resolved.

Errors found by your own checks are a sign the system works. See corrective action and documentation training for a simple format.

Farmers markets, CSA and direct sales

Even direct sales benefit from coding. Use bin tags, crate labels or a simple harvest log by date and field so that you can answer a customer's question about a purchase. For market vendors, food safety training for farmers market vendors discusses signage, handling and what to say if customers have concerns. Check local rules for labeling cut, bagged or processed items.

Teaching the crew

Additional resources include the Produce Safety Alliance and your state Extension, such as Cornell Small Farms.

Bottom line

Choose a lot code that is simple, documented and tied to your records, apply it at the point of harvest or packing with durable labels, verify it daily and check it with practice drills. Confirm legal labeling requirements for your products with the FDA, USDA, your state and your buyers, and keep sample labels and code keys in your food safety binder.

Frequently asked questions

What is a lot code?

A short identifier on a product or container that links it to a specific harvest, field, date or batch so it can be traced.

What should a lot code include?

Typically harvest date, field or block, product and sometimes crew or pack line. Choose elements that match what you need to trace.

Are labeling rules the same for fresh produce and packaged food?

No. Packaged and processed foods have additional requirements. Confirm with the FDA, USDA or your state department of agriculture.

How can I test whether my coding system works?

Run a mock recall: pick a labeled box and see how quickly you can find its harvest records and customers.

Sources and further reading

This guide is general education, not legal, safety-compliance or financial advice. Rules, fees and program details change, so confirm requirements with the agency named and with your county Extension office before you rely on them.

FARM.fm - farm and ranch humor, news, music and rural life

Need a break between training modules? Visit FARM.fm for farm humor, ranch stories and rural life.