GS1 QR codes for dairy and cheese brands: FSMA 204 lots and Listeria recalls
Soft, fresh and most raw milk cheeses are on FDA's Food Traceability List, and FDA can ask for your lot records with 24 hours to answer. A Listeria finding in one vat can pull every tub you made. This guide shows the rules for cheese lots and recalls, and how a GS1 QR code with the lot keeps a recall to the batch that needs it.
DLCode · Updated · 8 min read
Which cheeses are on the Food Traceability List
FDA's Food Traceability Rule, often called FSMA 204, adds record rules for foods on the Food Traceability List (FTL). It is codified at 21 CFR part 1, subpart S, and applies to firms that manufacture, process, pack or hold a listed food.
The list has three cheese entries:
| FTL entry | Examples FDA gives |
|---|---|
| Cheese made from pasteurized milk, fresh soft or soft unripened | Cottage, chevre, cream cheese, mascarpone, ricotta, queso blanco, queso fresco, queso de crema, queso de puna |
| Cheese made from pasteurized milk, soft ripened or semi-soft | Brie, camembert, feta, mozzarella, taleggio, blue, brick, fontina, monterey jack, muenster |
| Cheese made from unpasteurized milk, other than hard cheese | All cheeses made with unpasteurized milk, other than hard cheeses |
Hard cheeses such as cheddar, romano and parmesan are not on the list. FDA also leaves out cheeses that are frozen or previously frozen, shelf stable at ambient temperature, or aseptically processed and packaged. IMS listed Grade "A" cottage cheese is exempt.
If you make fresh, soft, semi-soft or raw milk cheese, check each product against these entries. A cheese with the same name can fall in a different entry when it is made from raw milk.
Lot codes, key data elements and 24-hour records
The rule calls the points where you keep records critical tracking events. The facts you record at each one are key data elements, or KDEs. A cheesemaker that turns milk into cheese performs a transformation, and also records receiving and shipping.
At transformation, you assign a traceability lot code to the cheese you make (21 CFR 1.1320). When you ship, you send the traceability lot code and other KDEs to the next recipient (21 CFR 1.1340), so the code follows the cheese through distributors to the store.
FDA can ask for your records with 24 hours to answer. To address an outbreak or a recall, FDA can ask for them in an electronic sortable spreadsheet (21 CFR 1.1455). You keep records for 2 years.
FDA proposed moving the compliance date to July 20, 2028, and Congress directed FDA not to enforce the rule before that date. Lot records and label artwork take months to set up, and a Listeria finding will not wait for that date.
FDA's FAQ lists a QR code on the packaging as one way to pass a traceability lot code along, and gives a GS1 Digital Link as an example of a traceability lot code source reference. For the full rule, see Lot-level traceability and recalls under FSMA 204.
Why Listeria makes lot codes urgent for cheese
CDC says soft cheeses, which are high in moisture, are more likely to be contaminated with Listeria than hard cheeses. CDC also says outbreaks of Listeria infection have been linked to many kinds of soft cheeses, including queso fresco and brie.
Queso fresco-type cheeses are fresh, soft cheeses that do not go through a significant aging process. CDC describes them as high-moisture, low-acidity cheeses that can support the growth of Listeria. CDC also says cheese made with raw milk is more likely to contain Listeria and other germs that make people sick.
When a test comes back positive, your recall is only as narrow as your lot codes. If one code covers a week of production, a problem in one vat pulls every tub from that week. If each make has its own lot, you recall that lot and keep the rest on the shelf.
If your cheese has a hazard that requires a preventive control, 21 CFR 117.139 requires a written recall plan. The plan describes how you notify direct consignees and, when needed, the public. It also covers effectiveness checks and disposal of the recalled food. FDA's general recall rules are in 21 CFR Part 7, Subpart C.
Raw milk cheese rules
Under 21 CFR 1240.61, milk and milk products in final package form for direct human consumption must be pasteurized or made from pasteurized milk to move in interstate commerce. The rule makes an exception where a regulation provides an alternative to pasteurization, such as the curing of certain cheese varieties in 21 CFR Part 133.
Each standard of identity in Part 133 sets that step for its cheese. For cheddar, 21 CFR 133.113 says that if the dairy ingredients are not pasteurized, the cheese is cured at not less than 35 F for at least 60 days.
Raw milk cheese other than hard cheese is on the FTL whatever its age. Keep the make date and the end of curing on each lot record, so you can show both for any wheel you ship.
How a GS1 Digital Link QR code fits
A GS1 Digital Link QR code is a web address that contains your GTIN. GS1 Application Identifier 10 is the batch or lot number, and Application Identifier 17 is the expiration date. DLCode puts the lot in the path after /10/ and the expiry in the query after ?17= in YYMMDD form.
https://qr.yourcreamery.com/01/00850012345671/10/V2611B?17=270115The same code holds your GTIN, so a checkout scanner that reads 2D barcodes can ring it up. A shopper who scans with a phone opens the page you choose, such as your product page or the batch details.
Use the same lot text you print next to the sell-by or use-by date, and use your traceability lot code if that is the value on the pack. Your records and the code then refer to one value.
Lot records in DLCode hold your key data elements, such as quantity, source, location and reference document. Export them as a CSV with FSMA 204 column names when FDA or a buyer asks.
Use your own domain, such as qr.yourcreamery.com, in the code. The address printed on the label then belongs to your brand, and you can change where it sends scans at any time without a reprint. See Use your own domain for GS1 QR codes.
Recall one lot from the scan
In DLCode, you can mark a whole product as recalled. You can also mark only listed lots, or every lot that expires on or before a date. Starting a recall needs a paid pack or the trial. Ending a recall works on every plan.
Scans of an affected lot open the hosted page with your recall notice. Scans of other lots keep opening your normal link. Redirects use HTTP 307 with no-store, so phones do not cache the old page, and a change applies from the next scan. Every change is written to the product's recall history.
A shopper or a store worker who scans a tub does not need to compare lot codes against a list by eye. The scan shows the status of the lot in hand.
Pair the scan notice with the notices your recall plan already sends to your distributors and stores. For the full steps, see How to tell customers which batch is recalled.
Printing a code for each lot
Each lot has its own QR code because the lot is part of the address. Lot files need a paid pack or the trial.
- Pre-printed labels and lids: download the lot's QR code as SVG, PDF, EPS or 600 dpi PNG and send it to your printer.
- Label software such as BarTender or NiceLabel: build the address in the template with the pattern https://{your domain}/01/{GTIN-14}/10/{lot}?17={YYMMDD}.
- Automated files: request GET /api/v1/products/{gtin}/qr.svg?lot=V2611B&expiry=2027-01-15 with your API key. PDF and EPS are also available.
Lot codes can be up to 20 characters from the GS1 character set. The QR module is 0.495 mm with a 4-module quiet zone. Label files place the UPC-A, EAN-13 or EAN-8 4 mm to the left of the QR code. See Print specs for a QR code next to your UPC or EAN.
On paid packs and the trial, import a lot CSV of up to 5,000 rows with columns such as gtin, lot, expiry, packed_on and quantity.
Sunrise 2027
GS1 US describes Sunrise 2027 as the retail industry's move from 1D UPC barcodes to 2D barcodes, with retailers making sure their point-of-sale systems can read them. The QR code you add for lot tracking can be the same GS1 Digital Link code those registers read. See Sunrise 2027 for sizes and placement.
What it costs
Each GTIN counts as one product in DLCode. Lots do not count toward the product limit.
| Plan | Price | Products | Lot links and lot recalls |
|---|---|---|---|
| Free | $0 | 10 | No |
| 25 products | $249 one time | 25 | Yes |
| 100 products | $499 one time | 100 | Yes |
| 1,000 products | $1,490 one time | 1,000 | Yes |
Each pack covers hosting and unlimited scans through December 31, 2030, with no subscription. After that, hosting is $29 per year. The 30-day trial includes the paid features for up to 25 products, with no card. See pricing.
What to do this month
- Check each cheese against the three FTL cheese entries, including whether it is made from raw milk.
- Confirm each product and size has its own GTIN from GS1.
- Make sure each printed lot maps to one make or vat in your records, and decide whether it is your traceability lot code.
- Confirm you can produce a sortable spreadsheet of your KDEs for any lot within 24 hours.
- For raw milk cheese, record the make date and the end of curing on each lot.
- Connect a domain you control, such as qr.yourcreamery.com, before you print.
- Add the lot QR code to your next label run, then scan a proof with an iPhone and an Android phone.
- Write your recall notice text now, and test a lot recall before you need one.
For other food categories, see DLCode for food brands and QR codes on food labels: what is allowed.
Pull one vat and keep every other lot selling
Set up one cheese, put the lot in its code, and have a recall ready before a test ever comes back positive.
- Each lot gets its own QR code, printed next to the sell-by date.
- A recall shows your notice only on the lots you mark.
- Lot records hold your FSMA 204 key data elements and export with FSMA 204 column names.
- The same code carries your GTIN for checkout scanners that read 2D barcodes.
- Download lot files as SVG, PDF, EPS or 600 dpi PNG for your labels and lids.
- Use your own domain so every code carries your brand.
Start free for 10 products, with no card. When you need more, pay once from $249 for 25 products. Hosting and unlimited scans are included through December 31, 2030, with no subscription. New accounts get lot links and recalls free for 30 days on up to 25 products.
Make the code for your next label run today. Start free or See pricing.
Sources
- Food Traceability List · U.S. Food and Drug Administration
- FSMA Final Rule on Requirements for Additional Traceability Records for Certain Foods · U.S. Food and Drug Administration
- Frequently Asked Questions on FSMA Food Traceability Rule · U.S. Food and Drug Administration
- 21 CFR Part 1, Subpart S: Additional Traceability Records for Certain Foods · eCFR
- Requirements for Additional Traceability Records for Certain Foods: Compliance Date Extension (proposed rule, August 7, 2025) · Federal Register
- How Listeria Spread: Soft Cheeses and Raw Milk · Centers for Disease Control and Prevention
- 21 CFR 1240.61: Mandatory pasteurization for all milk and milk products in final package form intended for direct human consumption · Legal Information Institute, Cornell Law School
- 21 CFR 133.113: Cheddar cheese · Legal Information Institute, Cornell Law School
- 21 CFR 117.139: Recall plan · eCFR
- 21 CFR Part 7, Subpart C: Recalls (including product corrections) · eCFR
- What is GS1 Sunrise 2027? · GS1 US
- GS1 Digital Link URI syntax · GS1
- GS1 Application Identifier (10): Batch or lot number · GS1
- GS1 Application Identifier (17): Expiration date · GS1
Get your QR code
Get a print-ready file with your barcode and a GS1 Digital Link QR code side by side. 10 products free, and pack features free for 30 days. No card. Then pay once from $249.