Login Register

Access the GIFSQ Portal

Select your user type to log in or register a new account.

Student Portal

Access your food safety courses and exams.

Instructor Portal

Manage courses, view student submissions, and grade quizzes.

Company Portal

Manage corporate setup, view employee logs, and access QA services.

How to Write a HACCP Plan for Chocolate Manufacturing | GIFSQ

GIFSQ ID: GUI-0088

How to Write a HACCP Plan for Chocolate Manufacturing

Chocolate feels safe, it’s dry, it’s shelf-stable, people have eaten it for centuries. The food safety reality is less comforting: Salmonella survives in chocolate for months, chocolate has caused international outbreaks, and the product’s low water activity means there’s no processing step at the end that fixes contamination. Add one of the industry’s most complex allergen pictures, milk, soy, nuts, wheat across shared lines, and you’ve got a HACCP plan that needs to be sharper than the product’s reputation suggests.

This guide walks the Codex 12 steps for chocolate manufacturing: cocoa receiving through roasting, grinding, conching, tempering, molding, packing. The plan hinges on the roast as the kill step and on allergen management across everything after it.

Step 1: Build the team, with allergen expertise

QA, production, maintenance, sanitation, procurement, plus someone who truly understands your allergen changeover reality. Chocolate plants run milk, dark, nut, and filled products on shared lines; the person who knows what actually happens during a changeover belongs in the hazard analysis. One member with formal HACCP training. Document it.

Step 2: Describe the product, allergens first

Each product: cocoa source and form (beans, liquor, butter, powder), full ingredient list with every allergen flagged (milk, soy lecithin, nuts, wheat, egg in fillings), roasting parameters, packaging, shelf life (ambient), storage conditions. Group products honestly, milk chocolate and dark chocolate on the same line have different allergen profiles and need the analysis to show it.

Step 3: Who eats it?

General population including children, chocolate is a children’s product, and allergen accuracy is the difference between a treat and an emergency room visit. State it.

Step 4: Diagram: marking the roast and the allergen boundaries

Receiving → storage → cleaning → roasting → winnowing → grinding → conching → tempering → molding/enrobing → cooling → packing → warehousing → dispatch. Add allergen changeover points, rework streams, and filling/depositing for filled products. Walk it. The rework routing, which products’ rework goes into which products, must be on the diagram, because in chocolate, rework carries allergens. Sign, date.

Step 5: Hazard analysis

  • Biological: Salmonella spp. in cocoa beans: the defining hazard, controlled by roasting. Post-roast recontamination from the environment, equipment, or ingredients added after the roast. Low water activity prevents growth but preserves the pathogen.
  • Chemical: allergens: the dominant ongoing hazard. Milk, soy, tree nuts, peanuts, wheat, egg across shared lines; cross-contact and mislabeling. Mycotoxins in cocoa (ochratoxin: supplier-controlled). Cleaning chemical residues. Mineral oil hydrocarbons from packaging (assess per your packaging).
  • Physical: metal, stones, wood, glass, plastic.

The roast handles incoming Salmonella; everything after the roast is allergen management and recontamination prevention. Weight the analysis accordingly.

Step 6: CCPs

  • Roasting: validated time-temperature achieving the target Salmonella reduction in cocoa beans.
  • Metal detection: post-packing (and often in-line for bulk).
  • Allergen label verification, many chocolate plants designate this a CCP; with the product range involved, it earns it.
  • Allergen cleaning validation: usually prerequisite-based with verification: run the tree, document it. Given the shared lines, make sure the reasoning is solid.

Step 7: Critical limits

  • Roasting: validated time-temperature for your bean types, sizes, and roaster loading: achieving the target log reduction. Bean size and moisture vary by origin; validate the range you actually process.
  • Metal detection: validated test-piece sizes.
  • Label verification: correct label per product, verified per run, barcode scanning tied to the schedule.
  • Allergen cleaning: validated procedures with defined acceptance criteria (visual + analytical verification, e.g., ELISA or lateral flow at defined limits).

Step 8: Monitoring

Roasting: continuous temperature recording plus time verification per batch, roaster loading affects the process, so monitor that too. Every unit passes through metal detection, with test-piece challenges run at the defined frequencies. Label verification: start of every run, every product/label changeover, documented sign-off. Allergen changeovers: verification per the validated procedure before restart. Named positions.

Step 9: Corrective actions

Roast deviation: hold the batch; QA disposition, re-roast within validated parameters or destroy. Under-roasted beans don’t get blended forward. Label error: stop the line, quarantine since last correct check, 100% reconciliation or relabeling under QA supervision. Allergen verification failure: hold, re-clean per procedure, re-verify. Name the decision-maker.

Step 10: Verification

Calibration of roaster instruments and thermometers. Roasting validation studies: challenge data in your bean matrix, your roaster. EMP for Salmonella in the dry plant (post-roast areas especially), with dry-appropriate methods. Allergen verification testing program (ELISA/lateral flow) on changeovers and in finished product per risk. Finished-product micro testing. Supplier verification: cocoa mycotoxin and micro COAs, allergen statements for all ingredients. Independent review of CCP records. Trend it all.

Step 11: Records

The plan, the hazard analysis, roasting validation studies, roast monitoring logs per batch, metal detector logs, label verification records (run-specific), allergen changeover verification records, deviation records, calibration logs, EMP and product test results, supplier records, training records.

Step 12: Reassess: origins, recipes, lines

Annual minimum. Triggers: new cocoa origin (bean size and moisture change roasting), new product or allergen, recipe changes, new equipment, rework routing changes, deviation trends. New bean origins mean revalidation of the roast, don’t assume.

Things that actually work

Schedule production as an allergen strategy. Dark (allergen-free) before milk before nut, sequencing from clean to dirty, with validated cleaning at the boundaries. Document the scheduling logic; it’s part of the allergen control, not just production planning.

Control rework like an allergen vector. Because it is one. Define exactly which rework goes into which products, milk chocolate rework never goes into dark, nut rework never goes into plain. Label every rework container with product identity and allergen status. Unlabeled rework is how undeclared allergens happen.

Validate the roast in your beans. Origin, bean size, moisture content, roaster loading: validate the range, monitor the loading. A roast validated on large dry beans doesn’t automatically cover small moist ones.

War stories

The rework bin of mystery. Unlabeled rework, product identity unknown, allergen status unknown, routinely added to the melangeur. When we asked what was in it, the answer was “chocolate.” Milk? Nut? Nobody knew. Every undeclared-allergen recall starts somewhere; unlabeled rework bins are a classic somewhere. Label everything, restrict routing, audit compliance.

The changeover rinse. Milk chocolate to dark chocolate, “cleaned” by running dark chocolate through and discarding the first portion: no validation, no defined discard quantity, no verification testing. The ELISA on the “clean” dark chocolate told a different story. Flushing can work, but only validated: defined quantity, verified by testing, documented.

The new origin. Cocoa sourcing switched to a new origin: smaller beans, higher moisture. Same roast program. Nobody revalidated. The roast that achieved 5-log in the old beans was never confirmed in the new ones. Origin changes are process changes. Revalidate.

The label room. Two similar labels, milk chocolate and dark chocolate, nearly identical design, stored side by side, grabbed by hand. Wrong labels on retail bars found by a consumer, not by the plant. Label verification per run with barcode scanning, segregated label storage, label reconciliation. The label room deserves the same discipline as the production line.

Common mistakes

Running unlabeled rework. The bin of mystery, product identity unknown, allergen status unknown, routinely added to the melangeur. Every undeclared-allergen recall starts somewhere; unlabeled rework bins are a classic somewhere. Label everything, restrict routing, audit compliance.

“Cleaning” by unvalidated flushing. Running dark chocolate through after milk with no defined discard quantity, no validation, no verification testing. Flushing can work, but only validated: defined quantity, verified by testing, documented.

Changing cocoa origin without revalidating. New origin, smaller beans, higher moisture, same roast program: the 5-log achievement never confirmed in the new beans. Origin changes are process changes; revalidate.

Storing similar labels side by side. Milk and dark chocolate labels, nearly identical, grabbed by hand: wrong labels found by a consumer. Segregate label storage, verify per run with barcode scanning, reconcile.

Treating the roast as a given. The roast program that worked for years, never challenged: until the bean changed, the moisture changed, the validation quietly expired. Challenge the roast on schedule and on every change.

Skipping verification testing after changeovers. The changeover declared complete with no ELISA, no swab, no evidence. Verification testing is what turns “cleaned” into “proven clean.”

Checklist, before you call this plan done

  • [ ] Team includes allergen-changeover expertise; training documented
  • [ ] Product description flags every allergen per product; products grouped honestly
  • [ ] Flow diagram shows roast boundaries, allergen changeover points, rework routing; walked, signed, dated
  • [ ] Hazard analysis: roast as Salmonella kill step; post-roast = allergen management + recontamination prevention
  • [ ] CCPs: roasting (validated per bean range), metal detection, label verification
  • [ ] Roast validation in your bean matrix and roaster loading, not borrowed
  • [ ] Monitoring: continuous roast recording, per-batch verification, run-specific label checks, named positions
  • [ ] Corrective actions: hold, re-roast within validation or destroy; label errors stop the line
  • [ ] Verification: calibration, dry-plant Salmonella EMP, allergen testing program, supplier verification, independent record review
  • [ ] Rework labeled with identity and allergen status; routing restricted and audited
  • [ ] Annual reassessment; origin, recipe, allergen, or equipment changes trigger revalidation