V5 Ultimate
Manufacturing · The complete guide

Allergen Segregation Rule

TL;DR

In FSMA Part 117, allergen cross-contact is a reasonably foreseeable hazard requiring preventive controls and verification; dietary supplements must also prevent mixups and control sanitation under Part 111. An Allergen Segregation Rule formalizes these controls in MES at ISA‑95 Level 3, coordinating WMS zoning, equipment state, cleaning verification, and labeling checks. V5 Ultimate orchestrates the rule across MES, QMS, LIMS, WMS, and maintenance to ensure evidence-based release and data integrity.

Reviewed · By V5 Ultimate compliance team· 3,500 words · ~16 min read

01What it is

An Allergen Segregation Rule is an MES-governed constraint set that prevents allergen cross-contact by controlling where, when, and how allergen-bearing and allergen-free materials, WIP, and products may coexist or follow each other in the process. Configured at ISA‑95 Level 3, it encodes a compatibility matrix across products, materials, equipment states, rooms, and storage locations, and it gates execution by requiring cleaning verification, label checks, and specific scans before proceeding.

Under FSMA 21 CFR Part 117, allergen controls are preventive controls that must be implemented and verified, including to prevent cross-contact and ensure correct labeling. Dietary supplements under 21 CFR Part 111 must prevent mixups and maintain sanitation. The rule operationalizes these obligations into dispatching, weighing/dispense, line clearance, changeover, and verification steps with electronic records suitable for review and release.

02Regulatory context and drivers

Part 117 requires hazard analysis (including allergens) and implementation of preventive controls (21 CFR 117.135) with monitoring, corrective actions, verification, and records. Allergen controls in this framework include both physical segregation and labeling accuracy. The MES rule provides systematic, documentable execution controls that align with these subparts and their recordkeeping expectations. For dietary supplements, 21 CFR Part 111 demands the prevention of mixups and contamination through suitable design, sanitation, and control of equipment and operations—conditions that allergen segregation rules directly support.

  • 21 CFR Part 117: Preventive controls for allergen cross-contact and labeling; monitoring and verification with records.
  • 21 CFR Part 111: Sanitation, equipment, and operation controls to prevent mixups and contamination.
  • Electronic records and signatures (21 CFR Part 11): Audit trails, system controls, and e-signature for overrides or critical verifications.
  • GS1 master data elements: Standardized allergen attributes on SKUs and trade items to drive rule logic in MES/WMS.

"Allergen controls are a critical subset of preventive controls under FSMA; inadequate controls are a leading cause of Class I recalls."

FDA Preventive Controls guidance and recall data trends

03Designing the rule in MES

An effective Allergen Segregation Rule begins with robust master data: each product, intermediate, and incoming lot carries structured allergen attributes (e.g., contains, may contain, dedicated-allergen class). Equipment and rooms maintain an allergen state (e.g., clean-verified, allergen-X dedicated, allergen-exposed-pending-clean). The rule evaluates compatibility at reservation, start, and release gates. It can block co-activity in the same room, on the same line, or in overlapping time windows unless prerequisite cleaning or validated temporal separation is completed.

Key configuration objects

  • Compatibility matrix: Product/material allergen classes vs. equipment/room states and location zones.
  • Prerequisite steps: Line clearance, sanitation method, swab verification result thresholds, label proofing.
  • Scanning points: Material receipt, picking, dispense, charge, label check, WIP move, and release.
  • Exceptions: Rework rules, partial-dedication, and scientifically justified temporal segregation with controls.
  • Overrides: Controlled by e-signature, reason codes, and automatic creation of deviation/nonconformance records.

04Where the rule lives in ISA‑95

The rule primarily resides at ISA‑95 Level 3 within Production Operations Management, intersecting with Quality, Maintenance, and Inventory operations. Level 4 (ERP) holds commercial SKUs and allergen attributes; Level 3 (MES/WMS/LIMS) enforces execution gating and records; Level 2 may implement interlocks; Level 1/0 provide sensor/PLC signals that the MES may use as permissives.

ISA‑95 LevelAllergen Segregation Responsibility
Level 4 (ERP/Planning)Allergen attributes on SKUs/materials; supply planning and dedicated campaigns
Level 3 (MES/WMS/LIMS/QMS)Rule logic, dispatch gating, scans, swab result checks, label control, holds, deviations
Level 2 (SCADA/DCS)Optional recipe permissives and interlocks to block start until MES releases equipment
Level 1/0 (Sensing/Actuation)Status feedback (e.g., CIP complete), line speed/state; barcode readers/RFID

05Integration: WMS, LIMS, labeling, and maintenance

To be effective, the rule must extend beyond production steps. WMS enforces location zoning, pallet compatibility, and pick-path restrictions so incompatible items never cohabit aisles, racks, or pick faces. LIMS provides allergen swab and rinse test results, serving as release conditions for equipment or room state changes. Labeling systems pull authoritative allergen declarations from master data and enforce line-side proofs. Maintenance/CMMS must capture and schedule validated cleaning methods; completion signals and verification data change equipment state in MES.

  • Inbound: Receipt scans classify lots by allergen attribute; incompatible dock/rack zones are blocked.
  • Dispense: BOH/WIP selection filtered to compatible rooms; two-person verification for label/ingredient identity.
  • Production: Start is blocked until prerequisite cleaning, line clearance, and test results meet thresholds.
  • Packaging: Label content verification is a release criterion to prevent mislabeling.
  • Outbound: Finished goods with allergen attributes are routed to matching storage/shipping zones.

06Cleaning, verification, and changeover logic

The rule must specify what constitutes an effective allergen changeover: validated cleaning method (dry/wet, CIP), parameters (time, temp, chemistry), inspection criteria, and analytical verification (e.g., ELISA swabs). The MES tracks pre-clean state (exposed), method execution, and verification results. Only when verification passes, the equipment/room state transitions to clean-verified or allergen-free. If a method is validated as ineffective for certain matrices (e.g., nut dust in porous belts), the compatibility matrix forces dedication or escalated cleaning.

ScenarioRequired Rule Condition
Switching from allergen A to non-allergenValidated cleaning + verification pass + line clearance e-signed
Switching between distinct allergens (A→B)Validated cleaning specific to A residues + verification method for B negative
Allergen-dedicated lineNo cleaning needed for allergen exposure; still requires label proofing and line clearance
Temporal segregation onlyDocumented risk assessment; enhanced controls (covers, airflow, sanitation frequency) and monitoring

07Data integrity, audit trails, and Part 11

Because allergen controls are preventive controls with release impact, electronic records must be attributable, legible, contemporaneous, original, and accurate. The rule should generate automatic, time-stamped audit trails for holds, scans, cleaning completions, swab results, label checks, and overrides. Critical verifications (e.g., line clearance, override of a block) should require Part 11-compliant e-signatures with dual signers where risk-justified. MHRA data integrity guidance and GAMP 5 good practice support role-based access, segregation of duties, and validated workflows for reliable decision-making and defensible release.

  • Override governance: reason codes, impact assessment prompts, deviation/QN auto-creation.
  • Record linking: Each batch step links to associated scans, cleaning logs, and test certificates.
  • Security: RBAC for configuration changes; change control and versioning of the rule logic.
  • Reports: Exception reports for near-misses (blocked starts, failed swabs) to feed CAPA.

08Risk assessment: HACCP and HARPC alignment

A strong rule is risk-based. Using HACCP/HARPC, identify where allergen cross-contact can occur (receiving, weighing, open transfers, air handling, rework, packaging). For each hazard point, assign preventive controls and decide if they are CCPs/PCs with monitoring frequency, corrective actions, and verification. The MES implements monitoring tasks, alarm thresholds (e.g., failed label scan), and automates corrective action prompts (e.g., re-clean and re-test) before allowing progression.

  1. Map process flow and exposure points for allergens (including rework and dust migration).
  2. Quantify severity and likelihood; consider vulnerable product forms (powders, particulates).
  3. Define control measures and assign to the rule (zoning, equipment state, label checks).
  4. Establish monitoring and verification (swabs, checks, frequency).
  5. Validate cleaning and label control effectiveness; document scientific rationale.
  6. Continuously improve via deviations, CAPA, and trending of blocks/near-misses.

09Compatibility matrix and examples

At the core is a compatibility matrix that relates product allergen class to equipment/room state and location zoning. The matrix implements simple, explainable logic that auditors can follow, while being strict enough to prevent unsafe sequences. It also addresses rework, tooling, and minor ingredients that may introduce unexpected allergens.

Product/Material Allergen ClassEquipment/Room StateLocation ZoneAllowed?Additional Requirements
Non-allergenAllergen-exposed (pending clean)GeneralNoPerform validated clean; verify negative swab; line clearance
Milk allergenClean-verifiedMilk-dedicatedYesLabel proof; maintain dedication logs
Peanut allergenPeanut-dedicatedAllergen high-riskYesNo clean required between peanut lots; protect from other products
Non-allergenClean-verifiedGeneralYesStandard sanitation schedule; routine verification
Non-allergenAnyAllergen quarantineNoZone restricted by WMS; relocation required

10Common pitfalls and audit findings

  • Uncontrolled rework: Reintroducing allergen-bearing rework into non-allergen batches without rule checks.
  • Label miscontrol: Artwork/version mismatch or upstream data errors causing incorrect allergen statements.
  • Temporal-only segregation without validation: Relying on scheduling alone absent scientific justification and monitoring.
  • Equipment state drift: Manual cleans not recorded or verified; state not updated in MES, leading to unauthorized starts.
  • WMS/MES misalignment: Zone codes not synchronized; putaway or pick exceptions bypass controls.
  • Inadequate override governance: Single-operator overrides with no secondary review or Part 11 e-signature.

Auditors and FDA investigators will ask for the scientific basis of your rule (validation of cleaning, risk assessments), evidence of consistent execution (records, audit trails), and effectiveness (trend demonstrating low/declining near-misses and absence of cross-contact incidents).

11How V5 Ultimate handles allergen segregation rules

V5 implements allergen segregation as a first-class constraint across MES, WMS, LIMS, QMS, and Maintenance. Master data carries GS1-aligned allergen attributes; scheduling and dispatch apply compatibility checks; WMS enforces zone controls; maintenance completes validated cleaning tasks; LIMS returns verification results; and QMS manages deviations and CAPA. All steps are recorded with Part 11-compliant audit trails and e-signatures where required, enabling timely, evidence-based release.

Frequently asked questions

Q.How is an Allergen Segregation Rule different from general allergen segregation?+

General allergen segregation is a facility and process practice (zoning, dedication, cleaning). The rule is the MES implementation that encodes these practices into executable logic with holds, scans, and verification gates, producing auditable electronic records.

Q.Do I need analytical verification (e.g., ELISA) for every changeover?+

Not necessarily. A risk-based approach supports periodic verification after validating cleaning methods. The rule should enforce the validated frequency and require verification after events that increase risk (e.g., maintenance intrusions, product changes with sticky matrices).

Q.How are overrides governed to remain compliant with Part 11?+

Overrides should be rare, risk-assessed, and documented. Configure dual e-signature, reason capture, automatic deviation creation, and management review. Ensure role-based access, audit trails, and change control on the rule’s configuration.

Q.What data elements must be mastered to drive the rule?+

At minimum: product and raw material allergen attributes, equipment and room allergen state definitions, location zone codes, validated cleaning methods, verification test methods and limits, and label content versions tied to the SKU.

Q.How does the rule handle rework containing allergens?+

Treat rework as a material with its own allergen attribute. The rule should restrict its use to compatible batches, enforce dedicated or cleaned equipment as required, and link reconciliation and genealogy to ensure traceability.

Primary sources

Further reading

See Allergen Segregation Rule working on a real shop floor

V5 Ultimate ships with the Allergen Segregation Rule controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.