GS1 QR codes for infant formula brands: FDA lot codes, use-by dates and recalls
An infant formula recall must reach all the way to the store shelf, and FDA wants parents told faster. This guide covers the codes and dates FDA requires on every container, how a formula recall works, and how to put the lot in a QR code so a recall reaches only the cans that need it.
DLCode · Updated · 8 min read
What FDA requires on every container
Infant formula has its own rules in 21 CFR Part 106, for current good manufacturing practice and quality control, and 21 CFR Part 107, for labeling, nutrients and recalls.
Under 21 CFR 106.80, each production aggregate of infant formula must be coded with a sequential number. The code identifies the product and the establishment where it was packed. It must permit tracing of all stages of manufacture of that production aggregate, including the year, the day of the year and the period during that day when the product was packed, and the receipt and handling of raw materials used.
Under 21 CFR 107.20(c), the label must carry a "Use by" date with the month and year selected by the manufacturer, packer or distributor. The date must rest on tests or other information showing that, under the stated handling, storage, preparation and use, the formula still contains the nutrient amounts on the label and is otherwise of acceptable quality.
Under 21 CFR 107.280, you must keep the distribution records needed to carry out and monitor a recall for formula moving through each establishment you own or operate. You keep them for at least one year after the formula's shelf life expires.
So every can already carries a lot code and a use-by date. The question is whether a parent can act on them in a recall.
How an infant formula recall works
Infant formula recalls follow 21 CFR Part 107, Subpart E. When FDA finds that a formula is adulterated or misbranded and presents a risk to human health, 21 CFR 107.200 requires the manufacturer to recall it immediately, extending to the retail level.
If you decide to remove a formula from the market yourself, 21 CFR 107.210 requires prompt notice to FDA. The rules then set out what each recall must include.
| Rule | What it requires |
|---|---|
| 21 CFR 107.230(a) | A written evaluation of the health hazard |
| 21 CFR 107.230(b) | A written recall strategy that sets the extent of the recall, any public warning, what happens to the recalled formula and the effectiveness checks |
| 21 CFR 107.230(c) | Prompt notice to each affected direct account, with a way to report whether they have the formula and how to return or dispose of it |
| 21 CFR 107.230(d) | When the formula presents a risk to human health, a request that each retail store post an FDA-approved recall notice at the point of purchase |
| 21 CFR 107.240(a) | A telephone report to FDA within 24 hours of the decision to recall |
| 21 CFR 107.240(b) and (c) | A written report within 14 days, then written status reports at least every 14 days until the recall ends |
The first written report counts how many consignees were notified, how much recalled formula they had on hand and how much has been returned or accounted for. Every one of those numbers depends on knowing which lots were affected and where they went.
FDA lists recalls from company press releases and other public notices on its Recalls, Market Withdrawals and Safety Alerts page. A parent who sees one still has to find the lot on the can.
Operation Stork Speed and faster recall notices
HHS and FDA announced Operation Stork Speed on March 18, 2025. FDA describes it as a program to improve the safety and nutritional quality of infant formula. Its initiatives include increased testing for heavy metals and other contaminants in infant formula, and work with industry on transparency and labeling. FDA also started the nutrient review required by law, its first comprehensive update and review of infant formula nutrients since 1998.
On July 9, 2025, FDA sent a letter to manufacturers, packers, distributors, importers and retailers of infant formula, baby foods and foods for children. The letter asks companies to inform FDA immediately when they decide to recall, and to consider expanded use of public notification for safety issues in these products.
The same letter sets an FDA goal of a central consumer page for recalls of infant formula and children's foods, along with faster recall classification. FDA wants parents to hear about formula recalls sooner. A code on the can that answers "is my lot affected?" in one scan is the fastest way to give them that answer.
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.yourbrand.com/01/00850012345671/10/F2611A?17=280430Put the same lot code you print under 21 CFR 106.80 after /10/, and the use-by date after ?17=. The code then names the exact production aggregate in the parent's hand.
The same code holds your GTIN, so a checkout scanner that reads 2D barcodes can ring it up. A phone that scans it opens the page you choose. There are two ways to set that page:
- One page for the product. Set the product's main link to your formula's page, with preparation steps and contact details. This works on every plan, free included.
- One page per lot. On a paid pack or the trial, add a link limited to each lot, such as that lot's certificate of analysis or quality page. A scan of lot F2611A opens the F2611A page with no lot number to type.
With no link set, the code opens a hosted page that shows the product name, brand, and the lot and use-by date from the code.
Use your own domain, such as qr.yourbrand.com, in the code. The address printed on the can 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. The GS1 linkset for the product also reports the recall status, and every change is written to the product's recall history.
An expiry-date recall needs the date in the code or a saved expiry on the lot record.
Your scan notice works next to the notices Subpart E already requires: the notice to your direct accounts and the point-of-purchase notice in stores. A parent who sees the store notice can scan the can and know at once. 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 sleeves: 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=F2611A&expiry=2028-04-30 with your API key. PDF and EPS are also available.
Lot codes can be up to 20 characters from the GS1 character set. Use the same lot text that you print next to the use-by date.
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. Each lot record stores the expiry, pack date and quantity, so your lot list sits next to your codes when a recall starts.
Sunrise 2027
GS1 US describes Sunrise 2027 as a global retail transition from 1D UPC barcodes to 2D barcodes such as QR codes, with point-of-sale systems that can read them. Cans you fill today can still be on shelves and in pantries in 2027. The QR code you add for lot recalls can be the same GS1 Digital Link code that those registers read. See Sunrise 2027 for sizes and placement.
What it costs
Each GTIN counts as one product in DLCode. Each can size and each formula with its own GTIN is one product.
| 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
- Confirm each formula and can size has its own GTIN from GS1.
- Check that the lot code you print under 21 CFR 106.80 is the lot you will put in the QR code.
- Decide whether scans open one page per product or one page per lot.
- Connect a domain you control, such as qr.yourbrand.com, before you print.
- Import your open lots with their use-by dates.
- Add the 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 alongside your Subpart E recall plan before you need one.
For baby food rules, see GS1 QR codes for baby food brands. For other food categories, see DLCode for food brands and QR codes on food labels: what is allowed.
Have a one-lot recall ready before you need it
Set up one formula, put each lot and use-by date in its code, and know that a recall will reach only the parents who need it.
- Each lot gets its own QR code that names the production aggregate on the can.
- Recall listed lots, or every lot that expires on or before a date.
- Parents holding an affected lot see your recall notice on the next scan, and every other lot opens your normal page.
- 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 sleeves.
- 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. Lots do not count toward the product limit. 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
- 21 CFR 106.80: Traceability · Legal Information Institute, Cornell Law School
- 21 CFR 107.20: Directions for use · Legal Information Institute, Cornell Law School
- 21 CFR Part 107, Subpart E: Infant Formula Recalls · Legal Information Institute, Cornell Law School
- 21 CFR 107.200: Food and Drug Administration-required recall · Legal Information Institute, Cornell Law School
- 21 CFR 107.210: Firm-initiated product removals · Legal Information Institute, Cornell Law School
- 21 CFR 107.230: Elements of an infant formula recall · Legal Information Institute, Cornell Law School
- 21 CFR 107.240: Notification requirements · Legal Information Institute, Cornell Law School
- 21 CFR 107.280: Records retention · Legal Information Institute, Cornell Law School
- HHS, FDA Announce Operation Stork Speed to Expand Options for Safe, Reliable, and Nutritious Infant Formula · U.S. Food and Drug Administration
- FDA launches Operation Stork Speed to expand options for safe, reliable, nutritious infant formula (FDA Update) · U.S. Food and Drug Administration
- FDA Encourages Food Industry Leaders to Streamline, Enhance Product Recall Communications With Public and Agency · U.S. Food and Drug Administration
- Recalls, Market Withdrawals, & Safety Alerts · U.S. Food and Drug Administration
- 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.