Home › Blog › How to write a HACCP plan: the 12 Codex steps and the records behind them
How to

How to write a HACCP plan: the 12 Codex steps and the records behind them

In short: To write a HACCP plan, follow the 12 steps in the Codex General Principles of Food Hygiene (CXC 1-1969, revised 2020): form a team, describe the product and its use, draw and verify the flow diagram, then apply the seven principles: hazard analysis, CCPs, validated critical limits, monitoring, corrective action, verification and records.

This guide is for food business owners, QA managers and new HACCP team leaders who have to produce a HACCP plan that stands up to an inspector, a customer audit or a certification body. By the end you will know the order of work, what each section of the plan must contain, and which records prove the plan is working.

What is a HACCP plan and who needs one?

A HACCP plan is the written document that shows, for one product or product group, which food safety hazards are significant, where they are controlled, the limits that separate safe from unsafe, and how those controls are monitored, corrected, verified and recorded. HACCP stands for Hazard Analysis and Critical Control Point.

The international reference is the Codex Alimentarius code of practice General Principles of Food Hygiene, CXC 1-1969. It was substantially revised in 2020, which moved HACCP into the main text, added a new emphasis on management commitment and food safety culture, and separated validation, monitoring and verification more clearly. A 2022 update added an example CCP decision tree as an annex. You can check the current text on the Codex codes of practice page.

Who needs one in practice:

  • EU and UK food business operators must have procedures based on HACCP principles under Regulation (EC) No 852/2004.
  • US processors in regulated sectors such as seafood, juice and meat and poultry work under mandatory HACCP rules, and most other facilities need a related food safety plan.
  • Suppliers to retailers and brand owners are usually asked for a HACCP plan as a condition of approval, and every GFSI recognised scheme and ISO 22000 builds on it.

What must be in place before you start writing?

A HACCP plan sits on top of prerequisite programmes (PRPs), also called good hygiene practices. If cleaning, pest control or personal hygiene are not under control, the plan will be overloaded with hazards that belong in the PRPs.

Before step 1, check you have documented and working:

  1. Cleaning and sanitation schedules with records
  2. Pest control with a contractor report or in house checks
  3. Personal hygiene, health screening and visitor rules
  4. Supplier approval and incoming inspection
  5. Maintenance and calibration of measuring equipment
  6. Training records for the people who will monitor CCPs
  7. Water, waste and allergen management

The 2020 Codex revision also introduced the idea that some good hygiene practices need greater attention because they have a bigger effect on safety, for example allergen segregation. Decide which of your PRPs fall in that group and monitor them more tightly.

How do you write a HACCP plan, step by step?

The Codex method has 12 steps. Steps 1 to 5 are preliminary tasks, and steps 6 to 12 apply the seven HACCP principles. Write the plan in this order, because each step feeds the next.

StepTaskPrincipleWhat you write down
1Assemble the HACCP team and define the scopePreliminaryTeam list, competence, products and processes covered
2Describe the productPreliminaryComposition, packaging, shelf life, storage, distribution
3Identify intended use and usersPreliminaryReady to eat or cooked, vulnerable consumers, misuse
4Construct the flow diagramPreliminaryEvery step from receipt to dispatch, including rework
5Confirm the flow diagram on sitePreliminarySigned walk through record
6List hazards, conduct the hazard analysis, consider control measures1Hazard analysis sheet for every step
7Determine the CCPs2CCP decision and reasoning
8Establish validated critical limits3Limit per CCP and its scientific source
9Establish monitoring4What, how, how often, who
10Establish corrective actions5Actions for loss of control and product disposal
11Validate the plan and set verification6Validation evidence, verification schedule
12Establish documentation and record keeping7Record list, retention, sign off

Steps 1 to 5: build the foundation

Name the team leader and members, and record why each is competent. Write the scope as a list of products and sites, not a vague statement. The product description should cover anything that affects safety: water activity, pH, preservatives, allergens, packaging atmosphere, storage temperature and shelf life. Intended use matters because a product eaten without cooking, or by infants, carries a different risk.

The flow diagram must show every step, including receipt, storage, rework, by products and waste. Then walk the line during production, compare it with the diagram, correct it and sign it. Auditors often find that the diagram on paper does not match the real line.

Step 6: the hazard analysis

For each step, list the biological, chemical (including allergens) and physical hazards that could reasonably be introduced, increase or survive. For each one, judge likelihood and severity using a scoring method you define and apply consistently, decide whether it is significant, and name the control measure. Write down why a hazard is not significant as well as why it is, because that reasoning is what an auditor tests.

How do you decide what is a critical control point?

A CCP is a step where a control measure is applied to a significant hazard and where failure of that control cannot be caught later in the process. Typical examples are cooking, pasteurisation, chilling, metal detection and acidification, but only your hazard analysis can say which apply to you.

Use the Codex decision tree or another logical method and record the answer for each significant hazard. Avoid two common mistakes:

  • Too many CCPs. Calling every hygiene check a CCP dilutes attention. Hazards controlled by cleaning or pest control belong in PRPs.
  • Too few CCPs. Dropping a CCP because a later step “should catch it” only works if that later step is itself controlled and validated.

What goes into the CCP table?

The CCP table, sometimes called the HACCP plan summary or HACCP study, is the core of the document. One row per CCP, with columns for hazard, critical limit, monitoring, corrective action, verification and records.

ColumnWhat to writeExample for a cooking CCP
HazardThe specific significant hazardSurvival of vegetative pathogens
Critical limitMeasurable value, validatedMinimum core temperature and hold time taken from a validated source
Monitoring: what and howMeasurement methodProbe core temperature of the thickest product
Monitoring: frequencyHow oftenEvery batch
Monitoring: whoNamed roleCook line operator
Corrective actionRestore control and deal with productExtend cooking, retest, hold and assess affected product
VerificationIndependent checkSupervisor reviews records daily, probe calibration checked
RecordsRecord nameCCP monitoring log, corrective action report

Take critical limits from a credible source: legislation, published guidance, scientific literature or your own validation studies. Keep the evidence, because step 11 asks you to show the plan works before you rely on it.

How do you validate and verify a HACCP plan?

Validation answers “will these controls work?” before the plan goes live. Verification answers “are they working?” once it is running. The 2020 Codex text treats them as separate activities, so your plan should too.

Validation evidence can include challenge tests, process studies, published research or regulatory guidance that proves each critical limit controls the hazard. Verification activities usually include:

  1. Review of monitoring and corrective action records by someone other than the person who made them
  2. Calibration of thermometers, pH meters and metal detectors
  3. Product and environmental testing where relevant
  4. Internal audit of the HACCP system
  5. Planned review of the whole plan, and an unplanned review after any change

Which records prove the HACCP plan is working?

An auditor judges a HACCP plan by its records. A well written plan with gaps in the monitoring logs fails; a plain plan with complete, signed records passes. Keep at minimum:

  • HACCP team list and competence records
  • Product description and intended use
  • Verified flow diagram
  • Hazard analysis with the CCP determination
  • CCP table with validated critical limits
  • Monitoring records for each CCP
  • Corrective action records, including what happened to affected product
  • Validation evidence and verification records
  • Calibration records for monitoring equipment
  • Plan review records and change history

Define retention periods with shelf life and any legal requirement in mind.

How a HACCP documentation kit helps you write the plan faster

Writing a HACCP plan from a blank page usually stalls at the structure, not the science. The HACCP documentation toolkit gives you that structure in 70 editable Word and Excel documents, so your team spends its time on the hazard analysis rather than on formatting.

The pieces that map directly to the 12 steps:

Codex stepDocument in the kit
Steps 1 to 5HACCP / Food Safety Management System Manual, Product Description Form
Steps 6 and 712 HACCP Plan procedure, Hazard Analysis Sheet with the CCP decision
Steps 8 to 10HACCP Study, Corrective Action Report, 08 Correction and Corrective Action procedure
Step 11Validation Report, 05 Internal Audit procedure, Internal Audit Checklist, pH Meter Calibration Report
Step 1207 Control of Documents and Records procedure, Master List of Records
PRPs13 Prerequisite Program (PRP) procedure, PRP Monitoring, Cleaning and Sanitation Report, Pest Control Report, Daily Sanitation Audit Report
CompetenceCompetence Matrix, Annual Training Program, Training Attendance Sheet

It also includes the 15 Product Recall and 16 Product Withdrawal procedures, which customers and inspectors expect to see alongside the plan. The kit is a template set your team tailors to its own products and process; it does not replace the team’s own hazard analysis.

If your customers are asking for a certified management system rather than a HACCP plan alone, the ISO 22000 documentation toolkit extends the same approach to the full standard. Our guide to ISO 22000 documentation requirements shows what that step adds, and the ISO 22000 revision update explains why building on the current edition now is still the right call.

This guide is general information, not certification advice. Always confirm requirements with your certification or accreditation body and the published standard.
Put this guide into practice

The kits for this topic

Every document, form and tool is listed on the product page, with a free sample to check the quality first.

Questions

Frequently asked

Who should write the HACCP plan?+
A multidisciplinary HACCP team that knows the product and the process, usually production, quality, engineering and hygiene staff led by someone trained in HACCP. A consultant or template can speed up the writing, but the team must own the hazard analysis because only they know what really happens on the line.
Do I need a separate HACCP plan for every product?+
Not always. Products that share the same process steps, hazards and controls can be grouped under one plan, provided the product description and flow diagram cover every product in the group. A product with a different hazard profile, such as a new allergen or a different heat step, needs its own analysis.
Is the CCP decision tree mandatory?+
No. The 2020 revision of the Codex text treats the decision tree as a tool, and the 2022 update added an example tree as an annex. You can use it or another logical method, as long as you can explain to an auditor why each significant hazard is or is not controlled at a CCP.
How often should a HACCP plan be reviewed?+
Review it on a planned schedule, at least once a year is common practice, and whenever something changes: a new raw material, supplier, recipe, piece of equipment, process step or an emerging hazard. Record each review, even when nothing changes, so the verification trail is complete.
Does a HACCP plan alone get us ISO 22000 certification?+
No. A HACCP plan is one part of ISO 22000, which also needs context, leadership, objectives, prerequisite programmes, internal audit, management review and improvement. A HACCP based system is often the first stage before moving to a full ISO 22000 food safety management system.
Keep reading

Related guides

Ready to build your HACCP system?

Download the complete, editable HACCP Documentation Toolkit, delivered within 24 working hours.

View the kit, $149