Skip to content

X-Ray Inspection Log for Food Lines: Test Pieces, Review

An x-ray inspection log for food lines: test-piece checks by lot, what to do when one is missed, review within 7 working days, the unit's registration.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed December 3, 2026 · 7 min read

An x-ray inspection log is the record that the x-ray on a food line was finding what it's there to find. At set times, someone runs test pieces, small pieces of metal, glass, stone or bone, through the unit with the product, and writes down whether each one was rejected, along with the line, the product and the lot. If a test piece gets through, the food made since the last good check is held and evaluated: that's the corrective action the preventive controls rule asks for. A qualified person then reviews the log within 7 working days. FDA's own benchmark for a hazard is a hard or sharp object 7 to 25 mm long. The unit itself is a cabinet x-ray system: FDA sets its emission limit, and your state may register it. Below: what to record, what to do when a check fails, the unit's paperwork, and a log. I read FDA's pages and eCFR on 2026-12-03.

The short version

  • At set times, run each test piece (metal, glass, stone or bone) with the product; record if it's rejected.
  • Record the line, product and lot with each check, and the rejects since the last check.
  • A missed test piece: hold the food since the last good check, fix the cause, evaluate the food.
  • A preventive controls qualified individual reviews the log within 7 working days.
  • FDA's hazard benchmark: hard or sharp objects 7 to 25 mm long.
  • The unit: emission at most 0.5 mR in an hour; use regulated by OSHA or your state, which may register it.
  • TaroStack keeps each lot, and puts a held lot on hold. More below.

What to record at each check

Field Why
Date and time Marks the last good check if a later one fails
Line, product, lot Says which food a failed check affects
Each test piece: rejected or not The check itself: the unit found it, and the reject device removed it
Rejects since the last check A jump can point to a supplier or a process problem
Checked by Who ran it
Reviewed by, and the date The review the preventive controls rule asks for

Which test pieces, what size, how often. No rule sets them: they come from your hazard analysis, your food safety plan and the unit's manual. FDA's compliance policy on hard or sharp foreign objects gives the scale: objects 7 to 25 mm long are its criteria for regulatory action, and below 7 mm they rarely injure anyone outside special risk groups such as infants. Natural hard parts, such as shell in nuts, are treated differently, unless the label says they've been removed. The same check on a metal detector is in metal detector log.

When a test piece gets through

21 CFR 117.150 asks for written corrective action procedures that make sure the problem is identified and corrected, the chance of it happening again is reduced, all affected food is evaluated for safety, and affected food is kept out of commerce if it can't be shown to be unadulterated. On an x-ray line, that means:

  1. Stop the line and set aside everything made since the last good check.
  2. Find and fix the cause: a setting, a reject device, a product change.
  3. Run the test pieces again before restarting.
  4. Re-inspect or otherwise evaluate the held food, and record what was done.

A form for the write-up is in corrective action form.

The review

21 CFR 117.165 makes checking monitoring instruments for accuracy part of verification, and asks a preventive controls qualified individual to review monitoring and corrective action records within 7 working days of their creation, or in a longer time they justify in writing. The review confirms the records are complete, the checks happened as the food safety plan says, and the right decisions were made about corrective actions.

The unit's own paperwork

The x-ray unit is a cabinet x-ray system, and FDA lists food inspection for foreign objects among its uses. FDA regulates its manufacture: the radiation outside the cabinet may not exceed 0.5 milliroentgen in one hour, 5 cm from its surface, with warning lights, labels and interlocks, and the maker certifies that it meets the standard. Its use is regulated by OSHA or your state. Utah, as one example, registers every x-ray tube each year at $55 a tube, asks to be told within 14 days when one is acquired, transferred or disposed of, and inspects industrial cabinet units every 5 years. A separate FDA rule, 21 CFR 179.21, lists the radiation sources allowed for inspecting food, such as x-ray tubes run at 500 kilovolts peak or lower, with a label limiting the dose to the food.

An example: the Central Valley packer

A made-up nut and dried fruit packer in California's Central Valley runs two x-ray lines. Its log for November:

Date Time Line Product Lot Metal Glass Stone or bone Reviewed Check
Nov 2 07:00 Line 1 Roasted almonds A-2611-01 Yes Yes Yes Nov 4 OK
Nov 2 11:00 Line 1 Roasted almonds A-2611-01 Yes No Yes Nov 4 Test piece missed: hold the food since the last good check
Nov 2 11:40 Line 1 Roasted almonds A-2611-01 Yes Yes Yes Nov 4 OK
Nov 3 07:00 Line 2 Trail mix T-2611-02 Yes Yes Yes Review overdue: 7 working days
Nov 16 07:00 Line 2 Trail mix T-2611-09 Yes Yes Yes Dec 1 Reviewed after 7 working days

At 11:00 the glass test piece went through: the almonds packed since 07:00 were held, the reject timing was reset, and the 11:40 check passed before the line restarted; the held cases went back through the x-ray. The Line 2 records waited too long for review while the qualified person was away, so a second person was trained to review.

Get the sheet

Download the x-ray inspection log. Two sheets. Checks: one row for each test-piece check, with the line, product and lot, whether each test piece was rejected, the rejects since the last check, who checked, and who reviewed and when; the sheet flags a missed test piece and a review later than 7 working days. Unit setup: the unit's certification label, state registration, test pieces, frequency and corrective action. Five made-up checks are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The log keeps the checks. It doesn't hold the lots made since the last good check, or tell you which customers got a lot if a stone turns up later: see what is lot tracking and foreign object complaint.

How TaroStack does it

TaroStack doesn't run the x-ray or keep its test-piece checks. It keeps each lot that ran through the line, puts a lot on hold apart from what's sold when a check fails, and knows which customers got each lot.

Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.

The job A clipboard on the line In TaroStack
The lot running at a failed check Read off the label Each batch is a lot
Food made since the last good check Pallets tagged by hand On hold, apart from what's sold
Which customers got a lot Bills of lading Lots on each order
A customer finds a stone An afternoon of searching One report, lot to customer

Stock, lots and delivery notes are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

What should an x-ray inspection log include?

The date and time, the line, product and lot, whether each test piece was rejected, the rejects since the last check, who checked, and who reviewed the record and when.

What happens if an x-ray test piece fails?

Under 21 CFR 117.150, the problem is identified and fixed, and all food made since the last good check is evaluated for safety and kept out of commerce until it's shown to be safe.

How often do x-ray records have to be reviewed?

21 CFR 117.165 asks a preventive controls qualified individual to review monitoring and corrective action records within 7 working days, or in a longer time justified in writing.

What size foreign object is a hazard?

FDA's compliance policy uses hard or sharp objects 7 to 25 mm long as its criteria for regulatory action; smaller ones rarely cause injury except in special risk groups such as infants.

Does a food x-ray machine need to be registered?

Its use is regulated by OSHA or your state, and states may register it. Utah, for example, registers every x-ray tube yearly at $55 a tube.

Sources

  1. 21 CFR 117.150, Corrective actions and corrections (evaluate affected food; keep it out of commerce) · read December 3, 2026
  2. 21 CFR 117.165, Verification of implementation and effectiveness (instrument accuracy checks; record review within 7 working days) · read December 3, 2026
  3. FDA: CPG Sec. 555.425, Foods, adulteration involving hard or sharp foreign objects (7 to 25 mm) · read December 3, 2026
  4. FDA: Cabinet x-ray systems (closed x-ray systems), food inspection for foreign objects; who regulates use · read December 3, 2026
  5. FDA: Frequently asked questions on cabinet x-ray systems (FDA regulates manufacture, states regulate use) · read December 3, 2026
  6. 21 CFR 179.21, Sources of radiation used for inspection of food · read December 3, 2026
  7. Utah Department of Environmental Quality: X-ray program inspections, registrations and fees (an example of state registration) · read December 3, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.