A food traceability QR code links a pack to the batch it came from. The value is not the code itself but the record behind it: where the food came from, when it was packed and what tests were done. This guide covers the data, the label and the recall plan that make the code worthwhile.
What the Code Should Carry
Encode a short identifier, not a paragraph. A URL with a batch token such as /batch/B20261129 resolves to a page with the full record.
| Data field | Useful to | Note |
|---|---|---|
| Production date | Consumer, retailer | Must match the printed date |
| Farm or facility | Transparency, audit | Keep supplier names accurate |
| Lot number | Recall, traceability | The key field |
| Test results | Regulators, buyers | Publish only what you can verify |
| Expiry guidance | Consumer | Printed date remains authoritative |
A QR code cannot change the printed expiry date. If the printed and online dates disagree, the printed label usually wins legally.
Label Conditions
Food labels are wet, cold and handled. Use a durable label stock and an adhesive rated for chilled or frozen conditions if the product needs it.
Keep the code on a dry, flat panel with a light patch and a four-module quiet zone. Condensation on a glossy film creates glare; matte is safer.
Use level Q or H and a module size the label printer can hold. Test after chilling, warming and condensation, not just at room temperature.
Recall Readiness
A recall is the moment a batch code earns its cost. Decide in advance who can update the batch page, how quickly, and which authority notices are needed.
Keep archived batch pages online. A pack in a fridge may be scanned months after production, and the record for that batch must still exist.
Do not use the QR page to hide a recall notice. Put the notice on the printed label or the public product page too.
Claims and Standards
Only publish claims you can support. Farm-to-table stories and origin statements need records behind them; a QR code does not make a claim credible.
For interoperable product data, GS1 Digital Link can encode GTIN and batch identifiers in the code and resolve them to structured information.
Keep personal data out of batch links. The code is printed on a product sold to anyone.
Test the Full Chain
- Scan a production pack after chilling.
- Confirm the correct batch page opens.
- Check the dates and lot match the printed label.
- Verify the page works on mobile data.
- Run a mock recall and time how long the page takes to update.
The packaging QR guide covers the broader label design rules.
