Loading...
quality control

Deviation and Incident Investigation Procedure (GMP) SOP

Use this GMP deviation and incident investigation SOP to capture events, contain risk, assign ownership, and close investigations with documented root cause and CAPA.

Get Started

Trusted by frontline teams 15 years of frontline software AI customization in seconds

Built for: Pharmaceutical Manufacturing · Biotech And Cell Therapy · Medical Devices · Food And Beverage Gmp · Cosmetics And Personal Care

Overview

This SOP template defines how a site detects, records, classifies, investigates, and closes GMP deviations and incidents. It is built for situations where an event may affect product quality, process consistency, data integrity, or safety, and where the team needs a documented trail from first report through root cause and CAPA closure.

Use it when an operator spots an out-of-tolerance condition, a supervisor receives a complaint about a process step, a batch record shows an unexplained discrepancy, or a near miss suggests a control failure. The template helps the team move from immediate containment to fact gathering, analysis, action assignment, verification, and formal closure. It also gives structure to escalation when an event is critical, recurring, or potentially product-impacting.

Do not use this SOP as a substitute for emergency response, product recall, complaint handling, change control, or a separate safety incident procedure when those processes are required. It is also not the right tool for routine planned work or minor issues that are fully resolved on the spot with no documented deviation. The value of the template is in making sure the event is handled consistently, with clear roles, evidence, and closure criteria rather than informal follow-up.

Standards & compliance context

  • This template supports ISO 9001:2015 documented information expectations by creating a controlled record of the deviation, investigation, actions, and closure.
  • It aligns with GMP expectations for traceability, investigation, and CAPA by requiring evidence, classification, and documented review before closure.
  • For hazardous operations, the containment and escalation steps can be paired with permit-to-work, PPE, and competent-person review practices consistent with OSHA-style controls.
  • If your site uses data integrity controls, the record should preserve original entries, audit trails, and approval history without informal overwriting.
  • Where applicable, the template can support HACCP, ServSafe, or similar food safety programs by documenting process deviations, corrective actions, and verification.

General regulatory context for orientation only — verify current requirements with counsel or the relevant agency before relying on this template for compliance.

What's inside this template

Steps

This section matters because it turns a deviation into a controlled workflow with clear ownership from detection through closure.

  • Detect and report the deviation or incident

    The operator records the deviation or incident immediately after detection. The operator includes the date and time, affected product or process, equipment involved, observed condition, and any immediate impact on quality, safety, or compliance.

  • Make the area safe and contain the event

    The operator stops the affected activity if continuing could worsen the deviation. The operator segregates suspect material, labels affected equipment or product status, and prevents unintended use until QA review is complete.

  • Notify the responsible roles

    The operator notifies the line supervisor and Quality Assurance without delay. The operator escalates immediately if the event may affect released product, validated state, data integrity, patient safety, or regulatory compliance.

  • Classify the deviation or incident

    The QA reviewer evaluates the event against site criteria for severity, product impact, recurrence, and compliance risk. The QA reviewer assigns the investigation category and determines whether the event is minor, major, or critical based on defined thresholds.

  • Escalate critical events for immediate review

    The QA manager or designee reviews the event, confirms containment actions, and determines whether batch disposition, product quarantine, or additional notifications are required. The reviewer documents the escalation decision and assigns investigation ownership.

  • Collect facts and evidence

    The investigator gathers objective evidence, including batch documentation, equipment status, calibration or maintenance records, environmental data, operator statements, and photographs where appropriate. The investigator records only factual observations and avoids conclusions at this stage.

  • Perform root cause analysis

    The investigator analyzes the event using an approved method such as 5 Whys, fishbone analysis, or fault tree analysis. The investigator distinguishes the immediate cause, contributing factors, and systemic cause, and documents the evidence supporting the conclusion.

  • Define corrective and preventive actions

    The investigator and QA define corrective actions to address the immediate issue and preventive actions to reduce recurrence. The team assigns owners, due dates, effectiveness checks, and acceptance criteria for each action.

  • Implement and track CAPA actions

    The responsible owners complete assigned actions and upload objective evidence into the CAPA system. The QA reviewer monitors overdue items, escalates missed due dates, and confirms that implementation matches the approved plan.

  • Verify effectiveness and close the investigation

    The QA reviewer confirms that the root cause, actions, and evidence are complete and that the effectiveness check shows the issue has been controlled. The reviewer closes the deviation or incident record only when all required approvals and documented information are in place.

How to use this template

  1. 1. The quality owner configures the classification rules, escalation thresholds, required evidence fields, and closure approvals before the SOP is issued.
  2. 2. The reporting role logs the deviation or incident immediately, records the time, location, process step, and initial impact, and attaches any available evidence.
  3. 3. The responsible supervisor or area owner verifies the scene, applies containment, assigns the investigation lead, and confirms whether the event needs urgent escalation.
  4. 4. The investigation lead collects facts, interviews involved roles, reviews records, and performs root cause analysis before drafting corrective and preventive actions.
  5. 5. The quality reviewer checks CAPA ownership, due dates, effectiveness verification, and closure criteria, then closes the record only when all required actions are complete.

Best practices

  • The reporter records the event as soon as it is discovered so the timeline, conditions, and witnesses remain reliable.
  • The area owner isolates affected material, equipment, or records before the team starts analysis to prevent further impact.
  • The investigation lead separates facts from assumptions and documents each source of evidence used to support the conclusion.
  • The team uses a single primary root cause and distinguishes it from contributing factors so the CAPA plan stays focused.
  • The quality reviewer verifies that each CAPA has an owner, due date, success criterion, and follow-up method before approval.
  • The investigator photographs defects, labels, and equipment states at the time of review when visual evidence is relevant.
  • The site trend reviewer checks for repeat deviations by process step, shift, product, or equipment family to spot systemic issues.

What this template typically catches

Issues teams running this template most often surface in practice:

The event is reported late, which makes the timeline and impact assessment incomplete.
Containment is skipped or delayed, allowing affected material or equipment to keep moving through the process.
The classification is too vague, so critical events do not receive the right escalation or review.
Evidence is missing, overwritten, or collected after conditions have changed.
Root cause analysis stops at the symptom instead of identifying the process failure that allowed it.
CAPA actions are assigned without clear owners, due dates, or verification criteria.
Closure happens before effectiveness is checked, so repeat deviations continue.
Repeat events are not trended, which hides systemic issues across shifts, lines, or sites.

Common use cases

Pharmaceutical QA deviation review
A quality unit uses the SOP to document a batch record discrepancy, assess product impact, and route the event through root cause analysis and CAPA approval. The template helps keep the investigation aligned with GMP documentation and closure expectations.
Biotech manufacturing incident response
A manufacturing supervisor uses the procedure after a process parameter excursion or equipment alarm to contain the run, notify quality, and determine whether the lot can proceed. The structure helps separate immediate control actions from longer-term preventive actions.
Food plant non-conformance investigation
A plant quality manager applies the SOP when a sanitation, labeling, or temperature control issue is discovered on the floor. The record supports traceability, corrective action assignment, and verification before product release decisions.
Medical device complaint-linked deviation
A quality engineer uses the template to connect a production deviation with a complaint signal, collect evidence from production and inspection records, and document the investigation outcome. This helps the team decide whether the issue is isolated or systemic.

Frequently asked questions

What types of events does this SOP cover?

This template covers GMP deviations, incidents, near misses, and non-conformances that affect product quality, process control, data integrity, or safety. It is designed for events that need documented triage, investigation, root cause analysis, and CAPA. If your site uses separate forms for complaints, OOS results, or change control, this SOP can reference those workflows without replacing them.

Who should run the investigation process?

The quality unit usually owns the workflow, while the area owner, supervisor, or process owner provides facts and executes containment. A competent person should lead root cause analysis when the event is technical or cross-functional. Final closure normally requires quality review and approval from the responsible role defined in your site procedure.

How often is this SOP used?

It is used whenever a deviation or incident is detected, so the cadence is event-driven rather than periodic. Many sites also use it during routine trend reviews to identify repeat issues, overdue CAPA, or weak controls. If you want a periodic companion, pair it with a monthly quality review or management review template.

What regulatory or standards expectations does it support?

This SOP supports documented information control under ISO 9001:2015 and GMP expectations for investigation, traceability, and CAPA. It also helps align with data integrity and record retention practices common in regulated manufacturing. If your site handles hazardous operations, it can also reference permit-to-work, PPE, and escalation practices consistent with OSHA-style safety controls.

What is the most common mistake when using this procedure?

The most common mistake is treating the investigation as a form-filling exercise instead of a fact-based review with evidence, timelines, and verified root cause. Another frequent issue is weak containment, where the team documents the event but does not stop recurrence risk immediately. This template helps prevent both by separating containment, investigation, and CAPA into clear steps.

Can this SOP be customized for different departments or sites?

Yes. You can tailor the classification criteria, escalation thresholds, approval roles, evidence requirements, and CAPA ownership rules to match each site or department. Many organizations also add product-specific triggers, batch-impact rules, or electronic workflow fields while keeping the same core investigation structure.

How does this compare with ad-hoc incident handling?

Ad-hoc handling often leaves gaps in classification, evidence capture, and closure criteria, which makes repeat issues harder to prevent. This SOP creates a repeatable sequence for detection, containment, review, root cause analysis, and action tracking. That makes the record easier to audit and the corrective action easier to verify.

What integrations usually make this SOP easier to use?

This SOP works well when linked to deviation logs, CAPA trackers, training records, batch records, maintenance logs, and change control workflows. If your site uses an electronic quality system, the template can be mapped to status fields, approvals, due dates, and escalation alerts. That reduces manual follow-up and helps keep closure criteria consistent.

Go deeper on the topic

Related concepts
  • A standard operating procedure (SOP) is a documented, step-by-step procedure for a repeatable task — the written version of "how we do this here." Good SOPs...
  • Overtime calculation is the process of applying federal, state, local, and contractual rules to hours worked to determine the correct pay — including...
  • Predictive scheduling laws — also called fair workweek laws or secure scheduling — require employers in covered industries to publish employee schedules...
  • Geofencing defines a virtual geographic boundary — a "fence" — around a work location. When an employee's mobile device enters or exits the fence, the...
Related guides

Ready to use this template?

Get started with MangoApps and use Deviation and Incident Investigation Procedure (GMP) SOP with your team — pricing built for small business.

Get Started