GMP Insiders - Your trusted source for GMP compliance!

deviation management process featured image

Deviations are unplanned departures from approved instructions, procedures, specifications, or GMP requirements. They can occur at any stage of pharmaceutical manufacturing, testing, packaging, or distribution and must be recorded, assessed, and investigated to determine their impact on product quality and compliance.

Deviation management involves structured documentation, risk classification, root cause analysis, and implementing corrective and preventive actions (CAPAs). Proper handling ensures traceability, supports decision-making (e.g., batch disposition), and helps identify opportunities for process improvement.

Definition and Nature of Deviations

A deviation in GMP refers to any unplanned departure from an approved instruction, standard operating procedure (SOP), protocol, specification, or manufacturing process. Deviations can arise during any production, testing, packaging, or distribution phase, and must be recorded and investigated.

Key features of a deviation:

  • It is unintentional and unplanned
  • It involves a departure from approved procedures
  • It has potential implications for product quality, safety, or compliance

Types of Deviations 

Effective deviation management starts with a clear understanding of what qualifies as a deviation, categorizing its criticality, and distinguishing it from other quality events. This section outlines the foundational definitions and classifications of deviations used in pharmaceutical GMP environments.

Classifying deviations is more than just a procedural formality—it directly influences the level of investigation required, the urgency of CAPA implementation, and regulatory reporting obligations. A risk-based classification system allows companies to respond proportionally to issues and prioritize resources effectively.

Types of deviations in GMP

Incident (Event Without Deviation)

An incident is an unplanned event that does not directly result in a departure from GMP procedures but could pose a risk if not addressed. Incidents are often operational or environmental in nature.

Examples

  • Temporary HVAC fluctuation that was detected and corrected before impacting critical areas
  • Minor equipment alert that occurred outside of a GMP activity
  • Poor analyst reproducibility when conducting tests

Incidents should be documented and assessed for potential escalation. If they result in a procedural or regulatory breach, they must be treated as deviations.

Minor Deviations (Low Impact)

Minor deviations are those without foreseeable impact on product quality, patient safety, or regulatory compliance. They often involve minor lapses in GMP documentation or non-critical procedural steps.

Examples of Minor Deviations

  • The operator used a blue pen instead of black, as stated in the SOP
  • A document was reviewed and signed one day after the required timeline, with no effect on batch release
  • Typographical error in the logbook that did not misrepresent actual process parameters

How to Handle

  • Document and justify the deviation
  • Assess impact (often limited or none)
  • May not require a full root cause analysis or CAPA
  • Closure can often be approved at the department level with QA oversight

Major Deviations (Medium Impact)

Major deviations are more serious and could potentially affect product quality, process consistency, or violate GMP requirements. These deviations usually warrant an in-depth investigation and a formal CAPA plan.

Examples of Major Deviations

  • An in-process check was missed, though final results remained within specification
  • Cleaning validation intervals exceeded for equipment used in manufacturing
  • Materials were stored outside of specified temperature conditions for a short period

How to Handle

  • Formal deviation report with documented investigation
  • Root cause analysis is required
  • The CAPA plan must be defined, implemented, and its effectiveness verified
  • QA review and approval are mandatory

Critical Deviations (High Impact)

Critical deviations are the most severe. They present a clear risk to product quality, patient safety, or data integrity, and often require batch rejection, recall consideration, and potential regulatory notification.

Examples of Critical Deviations

  • Manufacturing step skipped (e.g., blending not performed before compression)
  • The product was released before quality control testing was completed
  • Data falsification or forgery in analytical results or production records
  • Unqualified personnel performing GMP-critical activities

How to Handle

  • Immediate escalation to QA and senior management
  • Information and involvement of regulatory agencies
  • Full-scale deviation investigation and documentation
  • Involvement of regulatory affairs and pharmacovigilance teams if applicable
  • Risk to the patient and product must be assessed
  • Decision on batch disposition must be justified and documented
  • CAPA effectiveness must be monitored over time

Deviation Management – Process Steps

An effective deviation management ensures that every deviation is captured, assessed, investigated, and resolved with appropriate corrective and preventive actions. This structured approach protects product quality and patient safety and supports continuous organizational improvement.

process steps in deviation management

The standard process typically includes the following key steps:

Detection and Initial Notification

The process begins when a deviation is observed, whether by personnel performing operations, quality assurance staff, or during audits, monitoring, or supervisory checks.

All GMP-trained personnel must be aware of their responsibility to report deviations immediately upon identification. Early notification helps contain potential risks and prevents further impact on processes, products, or data integrity.

Tip: Reinforce deviation awareness during GMP training and maintain a clear escalation pathway for high-risk deviations.

Documentation and Logging

Each deviation must be formally documented in a controlled system—typically a Deviation Register or an Electronic Quality Management System (eQMS). A unique reference number should be assigned to allow traceability throughout the lifecycle.

Minimum details in the initial deviation record should include:

  • Date and time of detection
  • Process, product, or system involved
  • Description of the deviation
  • Batch number (if applicable)
  • Name and department of the person reporting
  • Any immediate actions taken

Tip: Immediate actions (e.g., stopping a process or segregating affected material) must be logged as part of the initial containment step.

Impact Assessment

After documentation, a structured impact assessment must be conducted to determine:

  • Whether product quality or patient safety was affected
  • Whether regulatory compliance was compromised
  • The extent to which data integrity or validated state was breached
  • Whether the deviation has occurred before (trend or recurrence)

Typical assessment questions include:

  • Was a critical GMP step skipped, altered, or bypassed?
  • Was the product processed or released during the deviation?
  • Are other batches, lots, or equipment impacted?
  • Does this point to a broader or systemic issue?

Based on this evaluation, the deviation is classified as incident, minor, major, or critical. This classification guides the depth of the investigation and the required level of QA involvement.

SEE ALSO: Good Documentation Practices in GMP

Investigation and Root Cause Analysis (RCA)

Major and critical deviations require a formal investigation using structured root cause analysis tools. The goal is to determine not just what happened, but why it happened, and to define effective controls to prevent recurrence.

Common RCA tools include:

  • 5 Whys – A simple, iterative technique to drill down into the cause
  • Fishbone Diagram (Ishikawa) – Categorizes potential causes across dimensions (people, method, equipment, environment)
  • Fault Tree Analysis (FTA) – Maps the logical progression from cause to effect

Best Practices:

  • Investigations should be led by qualified personnel and involve relevant cross-functional experts
  • Avoid blaming individuals—focus on process weaknesses and system gaps
  • All findings must be evidence-based and traceable

 

Related Article: How to Perform Root Cause Analysis

Corrective and Preventive Actions (CAPA)

After identifying the root cause, it’s essential to take both corrective and preventive actions to address the deviation and avoid its recurrence.

Corrective actions are designed to eliminate the root cause of the deviation. For instance, if the root cause was inadequate operator training, a corrective action might involve revising the training program and conducting targeted assessments. 

If the issue stems from a procedural gap, corrective action may include updating the SOP, implementing an additional verification step, or modifying equipment settings.

Preventive actions are taken when there’s a potential for the same issue to occur elsewhere. These may involve reviewing similar processes, updating related documentation, or broadening training beyond the immediate team involved.

Each CAPA must be:

  • Clearly documented and traceable to the root cause
  • Assigned to a responsible person
  • Implemented within a defined timeline
  • Verified for effectiveness through monitoring, internal audits, or follow-up checks

 

Corrective and preventive actions that are too generic or disconnected from the root cause typically fail to prevent recurrence. It’s important to ensure that every action taken can be justified and, more importantly, shown to work.

QA Review and Deviation Closure

The deviation cannot be closed until:

  • The investigation is complete and documented
  • Impact and risk have been fully assessed
  • All CAPAs are implemented and verified
  • QA has reviewed and approved all documentation

 

QA typically reviews:

  • Investigation reports and root cause statements
  • Impact justifications (especially for product release decisions)
  • Evidence of CAPA implementation and closure
  • Effectiveness check records, where required

 

Once approved, the deviation is formally closed. Records must be stored according to ALCOA++ principles (Attributable, Legible, Contemporaneous, Original, Accurate + Complete, Consistent, Enduring, Available, Traceable).

Trending and Periodic Review

Deviation data must be periodically analyzed to identify trends, recurring issues, or systemic gaps. This trend analysis is part of the pharmaceutical quality system and is critical for inspection readiness and continuous improvement.

Key metrics to trend include:

  • Number of deviations by department or process
  • Time to closure and investigation durations
  • Frequency of recurring root causes
  • CAPA effectiveness rates
  • Critical deviation rate and product impact data

 

These metrics are reported during Management Review meetings to prioritize improvements, training needs, and preventive system updates.

Regulatory Requirements for Deviation Management

Below is an overview of key regulatory and guidance documents outlining the expectations for deviation handling in pharmaceutical manufacturing.

EU Guidelines for Good Manufacturing Practice (EudraLex Volume 4)

The EU Guidelines for GMP, particularly Part I and Chapter 8, provide clear direction on how pharmaceutical manufacturers should manage deviations.

  • Part I, Chapter 1 (Section 1.8 VII) states that “significant deviations from instructions or procedures shall be fully recorded and investigated to determine root cause.” Where applicable, corrective and preventive actions must be defined and implemented.
  • Chapter 8 emphasizes the importance of investigating deviations as part of the company’s approach to product quality defect handling. It reinforces the role of deviation records in risk-based decisions, recalls, and continuous improvement.

FDA 21 CFR Part 211

In the United States, 21 CFR Part 211 outlines the current Good Manufacturing Practice (cGMP) regulations for finished pharmaceuticals. Deviation requirements are covered under multiple sections:

  • §211.100(a) requires that written procedures for production and process control be followed.
  • §211.100(b) mandates that “any deviation from the written procedures shall be recorded and justified.”
  • §211.192 further requires that all drug product production and control records be reviewed for accuracy and completeness, including investigation of any unexplained discrepancy, whether or not the batch has been released.

ICH Q7 – Good Manufacturing Practice for Active Pharmaceutical Ingredients

For the manufacture of active pharmaceutical ingredients (APIs), ICH Q7 provides globally recognized guidance:

  • Section 2.16 states that any deviation from approved instructions should be documented and explained, and an investigation should be conducted when appropriate.
  • Section 2.17 emphasizes that investigations and conclusions should be documented and retained to support traceability and compliance.

Regulation (EU) No 1252/2014 – GMP for Active Substances

This regulation sets the legal framework for GMP compliance in manufacturing active substances used in medicinal products for human use.

  • Article 7 requires that “any deviation from written procedures shall be documented and explained.”
  • Furthermore, if the deviation impacts the quality of the active substance or its conformity to specifications, a full investigation must be conducted, and the findings must be documented.

ISO 9001:2015 – Quality Management Systems

Although not a GMP-specific standard, ISO 9001:2015 is frequently implemented as a baseline quality framework, particularly by manufacturers of excipients, medical devices, and support services.

  • Clause 10.2 requires organizations to respond to nonconformities by taking action to control and correct the issue, investigating its cause, and implementing measures to prevent recurrence.
  • Organizations are also required to retain documented information on the nature of the nonconformity, actions taken, and the effectiveness of those actions.

Common Challenges in Deviation Handling

Even with well-established procedures, many pharmaceutical organizations face persistent challenges in managing deviations effectively. These challenges can compromise product quality, delay investigations, and lead to audit findings or regulatory observations. Recognizing these pitfalls is the first step toward building a more robust deviation management system.

Incomplete or Delayed Documentation and Closure

Issue: Failure to document deviations in real time, provide sufficient detail, or close investigations within defined timelines.

Why it matters:

  •  Delayed reporting can compromise traceability and investigation accuracy.
  •  Incomplete records raise red flags during inspections and suggest poor GMP culture.
  • Open or overdue investigations can disrupt batch release schedules, result in incomplete product impact assessments, and lead to non-compliance with regulatory expectations (e.g., EMA recommends closure within 30 days unless justified).

 

Examples:

  •  “Operator error” is written without specifying the nature or conditions of the error.
  • Missing batch number or equipment ID in deviation forms.
  • Investigation remains open beyond the internal deadline without justification.

 

Tips:

  • Train staff to treat deviation documentation with the same rigor as batch records—objective, timely, and specific.
  • Use KPI dashboards to monitor investigation timelines and assign escalation triggers for overdue tasks.

Inadequate Root Cause Analysis

Issue: Investigations that stop at superficial symptoms instead of addressing underlying systemic issues.

Common mistakes:

  • Blaming human error without exploring procedural or training gaps
  • Using vague conclusions like “due to oversight” or “accidental slip”

 

Why it matters:

  • Poor RCA leads to ineffective CAPAs and repeat deviations.
  • May result in regulatory scrutiny if the same issue recurs.

 

Tip: Adopt structured RCA tools and always verify that the root cause is actionable and backed by evidence.

Repetitive Deviations and Ineffective CAPAs

Issue: Identical or similar deviations occur repeatedly, and CAPAs often fail to address root causes or lack clear ownership and follow-through.

Why it matters:

  • Regulatory bodies view recurring issues as evidence of a weak QMS.
  • Missed opportunities for effective corrective action can escalate into critical failures.
  • Generic or poorly defined CAPAs undermine continuous improvement and risk mitigation.

 

Examples:

  • Environmental monitoring excursions are logged monthly with no engineering review.
  • Process steps omitted despite SOP revision and training.
  • CAPA states “Retrain personnel” without addressing flawed procedures or verifying post-training outcomes.
  • No mechanism exists to confirm CAPA effectiveness.

 

Tips:

  • Trend deviation data to trigger escalation after a predefined threshold (e.g., 3 similar deviations in 6 months).
  • Assign clear CAPA owners and deadlines.
  • Define effectiveness checks and link CAPA outcomes to change control or SOP revisions.

 

Cultural Barriers to Deviation Reporting

Issue: Employees fear blame or retribution and avoid reporting deviations.

Consequences:

  • Hidden non-compliances
  • Lost opportunities for continuous improvement
  • Weak documentation culture

 

Tip:

Foster a “no-blame” quality culture where deviations are seen as learning opportunities. This can be supported by:

  • Anonymous reporting tools
  • Management-led reinforcement of open communication
  • Celebrating quality-minded behavior

Frequently Asked Questions (FAQs)

How Long Should Deviation Investigations Take to Complete?

Regulatory guidance generally recommends completing investigations within 30 calendar days of discovery. However, internal company SOPs may specify shorter timelines (e.g., 10 or 15 working days). If an extension is needed, it must be justified, documented, and approved by QA.

Can a Deviation Be Reopened After Closure?

Yes, a deviation can be reopened if:

  • New information comes to light (e.g., post-closure audit findings)

  • The effectiveness check of a CAPA fails

  • A linked issue emerges that suggests the original root cause was incomplete

Reopening should follow a formal process to ensure traceability and impact assessment.

Who Is Responsible for Investigating a Deviation?

Typically, the responsible functional department leads the investigation, but QA oversees the process and ensures compliance. Depending on the complexity of the cross-functional deviation, a designated investigator or investigation team is assigned.

What Is the Difference Between Deviation and Non-conformance?

While often used interchangeably, in GMP:

  • Deviation: Unplanned event that departs from an approved GMP process (e.g., missed step in manufacturing).

  • Non-conformance: Broader term referring to any failure to meet a requirement (including quality, specifications, or contractual terms).

When Should a Deviation Be Reported to Regulatory Authorities?

Regulatory reporting is mandatory if the deviation:

  • Affects a product already released to market

  • Results in product recall or reprocessing

  • Impacts the validated state of a system or process

  • Is classified as critical and has implications for patient safety

Depending on the scope, this typically requires communication through Quality Systems, Regulatory Affairs, and Pharmacovigilance.

Conclusion

Deviation management is a fundamental component of pharmaceutical quality systems. Whether minor documentation errors or critical process failures, every deviation represents a departure from established expectations and must be addressed with structured evaluation, thorough investigation, and effective corrective and preventive measures.

Failure to manage deviations systematically can compromise product quality, delay batch release, and lead to regulatory non-compliance. On the other hand, a well-designed deviation process ensures traceability and compliance, drives continuous improvement, strengthens operational control, and enhances overall product reliability.

Subscribe to our Newsletter

Sign up to recieve latest news, GMP trends and insights from our industry experts

Latest GMP Posts

BECOME A GMP INSIDER

Stay in touch and be the first to get the latest GMP News