A vial fills under its weight limit, or a cold room warms past its alarm. When something like this happens on a drug or device production line, the plant has to find out why, judge the effect on the product, and fix the cause so it stays fixed. The event is recorded as a deviation, and the fix is a corrective and preventive action, or CAPA.
This guide is for anyone who investigates, approves or pays for that work: production supervisors, process engineers, microbiologists, quality leads, heads of quality, device quality managers and the executives weighing automation. It covers manufacturing and quality system events, and you can start with no background in quality work.
Imagine you are the quality assurance (QA) lead at a sterile drug plant, the person who signs off on why things went wrong. On October 6, 2026, at the 9:50 am weight check, 4 of 5 vials from filling nozzle 4 on Line 1 weigh 1.95 to 1.98 grams. The limit is 2.00 to 2.10 grams. The other seven nozzles are fine.
It would be easy to raise the dose on nozzle 4 by 0.06 milliliters and restart. It would also be easy to write "operator did not notice" and retrain the shift. The maintenance records say something else, and they sit in another system.
What the plan counts · months
Plan
PM-L1-FIL-07
Nozzle inspection
Every 6 months
Due
Sep 29, deferred to Oct 14
Reads the hour meter
No
What the seal has done · hours
Work order
WO-2026-3318
Hours on this set
1,840
Filler manual, 9.2.3
Replace seals at 1,500
Past the limit by
340 hours
Worn tip sealA repeatThe same seal failed on Line 3 in 2025, at 1,710 hours, and that fix changed Line 3 alone.
Line 1 and two more lines still run the same nozzle set on a plan that counts months. Retraining would have left all of that in place, and so would the dose change. You would see this failure again on a line you had already been warned about.
Good deviation and CAPA management catches the cause behind the symptom, checks the same weakness everywhere it exists, and sets a test that could show the fix failed.
GMP deviations and CAPA: the rules, root cause work, effectiveness checks and inspection findings
What a deviation is, which rules create the duty, how a cause gets found, why fixes fail to hold, what inspectors cite and where regulators stand on AI. This part names no product. Two terms run through it: GMP is good manufacturing practice, the rules for how medicines are made, and 21 CFR is Title 21 of the US Code of Federal Regulations, where FDA's rules sit.
01 · In plain words
A deviation is the plant's own record that the work left its approved path
A drug or device plant runs on written instructions. They say which recipe to load, how often to weigh a vial, when to change a part and what result counts as a pass. Regulators expect those instructions to be followed, and they expect the plant to write it down when they were not. That written record of something going off its approved path is a deviation. Device plants usually call it a nonconformance.
Writing it down is the easy part. The hard part is the investigation: working out what happened and why, whether any product was harmed, and which other batches or lines could share the same weakness. The evidence is scattered. The batch record lives in one system, the maintenance plan in another, the room temperatures in a third and last year's similar case in a fourth. While someone collects it all, the batch may sit on hold.
Then comes the CAPA, short for corrective and preventive action. A corrective action removes the cause of a problem that happened. A preventive action removes the cause of one that has not happened yet. Later, somebody checks whether the action worked. That last step is called an effectiveness check, and it is easy to fill in without measuring anything.
The whole cycle can look healthy while failing. Investigations close on time, the cause says "operator error", the action says "retrain", and the same failure comes back on another line a year later. Regulators read files for exactly this pattern. So does anyone who has had to explain the second investigation to an inspector while holding the first.
Five steps that take a light vial to a checked fix
The work leaves the procedureAt the 9:50 am weight check, 4 of 5 vials from one filling nozzle weigh under the limit.
Someone contains and reports itThe line stops at 9:54 am, light vials are set aside, and a supervisor opens the deviation.
The plant investigates and names the causeRecords are pulled, possible causes are tested for and against, and the quality unit approves a root cause and the effect on product.
CAPA aims at the cause, everywhere it existsEach action gets an owner and a date. The scope follows the shared part or plan beyond the line that failed.
A later check shows whether it heldA person who did not do the work reads a measure that could fail, and rates the action effective or not.
Steps 3 and 4 are the subject of this guide. This example's plant, batch and figures are fictional.
Surprises in CAPA work: a 30-day clock no rule sets and a device section that moved
The 30-day clock is usually the plant's own
21 CFR 211.192 sets no deadline for closing an investigation. FDA's inspection program says "timely". One old FDA inspection guide says 20 business days and states that it does not bind FDA.1,2,3
The device CAPA section has moved
Since February 2, 2026, FDA's device rule incorporates ISO 13485:2016. A letter on an inspection that began two days later cites clause 8.5.2 where older letters would cite 820.100.4,5,6
Most citations are about thinking, few about filing
Of 236 drug citations of 211.192 in FDA's fiscal 2025 file, 164 are the failure to thoroughly review a discrepancy or batch failure. Missing or incomplete written records make up 54. The counts by row are FDA's and the sums are ours.7
A closed CAPA can still be a miss
A check scoped as narrowly as the fix it tests can only look where the fix looked. Our sample's earlier seal fix was rated effective on the one line it covered, while other lines kept running on the old plan.
Four terms every deviation file uses: root cause, CAPA, effectiveness check, quality unit
Root cause
The condition the plant can change that let the failure happen. EU GMP accepts the most likely cause when the true one cannot be determined.8
CAPA
Corrective and preventive action. FDA describes three ideas under the term: a correction, root cause analysis with corrective action, and preventive action.9
Effectiveness check
A later measurement of whether an action produced the change it promised. It differs from confirming the action was carried out.
Quality unit
The group with the authority to approve or reject product and to see that errors "have been fully investigated", in the words of 21 CFR 211.22(a).10
What is a deviation in pharma, and how it differs from an OOS result or a change
In shortUS GMP has two separate duties. A departure from a written procedure "shall be recorded and justified". An unexplained discrepancy or a failed specification, meaning a limit the batch had to meet, "shall be thoroughly investigated", and that investigation reaches other batches. Most plants use one form for both, which hides how much heavier the second duty is. An out-of-specification result and a planned change are different records with different rules.
The first sentence is 21 CFR 211.100(b): "Any deviation from the written procedures shall be recorded and justified."11 That is all US GMP says about a deviation as such. It names no severity word, no method and no deadline.
The second is the sentence quality people quote from memory. It covers a broader trigger than the word deviation suggests:
21 CFR 211.192. "Any unexplained discrepancy (including a percentage of theoretical yield exceeding the maximum or minimum percentages established in master production and control records) or the failure of a batch or any of its components to meet any of its specifications shall be thoroughly investigated, whether or not the batch has already been distributed. The investigation shall extend to other batches of the same drug product and other drug products that may have been associated with the specific failure or discrepancy. A written record of the investigation shall be made and shall include the conclusions and followup."1
Read those two together and a plain test appears. Could you explain this event, and did every specification hold? If yes, record and justify. If no, a thorough investigation is owed, and "may have been associated" sets a low bar for which other batches and products it has to reach.
Four questions route an event to the right record, and two of them lead to a thorough investigation
Our reading of the US text; your procedure may add steps
1Was it planned in advance?
A permanent new way of working belongs in change control, approved before the first batch runs.
Quality unitBefore the work
2Did a test result fall outside its limit?
Start the laboratory phase of an out-of-specification investigation before blaming production.
Quality control laboratoryPromptly
3Can the plant explain it?
An unexplained discrepancy triggers 211.192, even if every test passed.
InvestigatorSame day
4Could other batches share it?
The investigation reaches other batches and products that may be associated.
Investigator and QADuring investigation
5Explained, in limits, contained?
A recorded and justified deviation closes the matter under 211.100(b).
A permanent new way of working belongs in change control, approved before the first batch runs.
Quality unit
Before the work
Did a test result fall outside its limit?
Start the laboratory phase of an out-of-specification investigation before blaming production.
Quality control laboratory
Promptly
Can the plant explain it?
An unexplained discrepancy triggers 211.192, even if every test passed.
Investigator
Same day
Could other batches share it?
The investigation reaches other batches and products that may be associated.
Investigator and QA
During investigation
Explained, in limits, contained?
A recorded and justified deviation closes the matter under 211.100(b).
QA
At batch review
Deviation, OOS result, planned deviation and change control, side by side
The table cites ICH guidelines. ICH is the International Council for Harmonisation, which publishes guidelines shared by drug regulators and industry.13
Record
What it means
Where the duty comes from
What a reviewer looks for
Deviation or nonconformance
The work departed from an approved procedure, already in the past
21 CFR 211.100(b); ICH Q7 2.16; ISO 13485 in device plants11,14
A justification that holds, and a class the quality unit agrees with
Out-of-specification (OOS) result
A test result fell outside an acceptance limit
21 CFR 211.192; FDA's OOS guidance, Revision 1, May 20221,12
A first look at the laboratory's own data before any test preparations are thrown away, and a full-scale phase when no clear laboratory error is found
Planned deviation
A temporary departure approved before the work starts. Plants use the phrase, and EU Annex 16 speaks only of "unexpected" deviations15
The plant's own procedure
That it is not a change renewed quarter after quarter
Change control
A decision to work differently from now on, assessed before the first batch
The effect on the product and the filing, and any validation behind it
What this guide leaves out. This guide covers events found in manufacturing and in the quality system. Clinical trial deviations have their own rules and their own guide. Complaints that involve harm to a patient follow separate processes and are outside this guide.
FDA's laboratory guidance sets the standard for how an investigation should feel when read later: "thorough, timely, unbiased, well-documented, and scientifically sound."12 The words were written for test failures. They travel well to any investigation, and they work as a checklist when you read your own closed files.
03 · Rules and dates
Which rules govern deviations and CAPA in November 2026: 21 CFR 211.192, EU GMP Chapter 1 and ICH Q10
In shortThe core texts are old and stable. 21 CFR 211.192 is the US investigation duty. EU GMP Chapter 1, in operation since January 31, 2013, adds root cause, human error and effectiveness in one clause. ICH Q10 from 2008 frames the CAPA system. What moved recently: ICH Q9(R1) in 2023, EU Annex 1 in 2023 and 2024, the US device rule in 2026, and a draft revision of Chapter 1 that has a target date and no adoption date.
The investigation duty is decades old, and the changes since 2023 are about risk, sterile scope and devices
Nov 2000ICH Q7
Active ingredients: investigate critical deviations and reach other batches.
Jun 2008ICH Q10
Names a CAPA system and a structured root cause approach.
Jan 2013EU GMP Chapter 1, revision 3
Root cause, human error and CAPA effectiveness in clause 1.4(xiv).
Jan 2023ICH Q9(R1)
Formality as a range. Subjectivity managed and minimized.
Aug 2023EU GMP Annex 1
Section 3.2: the reason to include or exclude a product or batch is recorded. Fully applicable August 25, 2024.
Sep 2025Draft EU Chapter 1 goes out for comment
Open September 3 to December 3, 2025, jointly with PIC/S, the Pharmaceutical Inspection Co-operation Scheme of GMP regulators.
Feb 2026US device rule (QMSR) effective
ISO 13485:2016 by reference. Clause 8.5.2 replaces 820.100 as the citation.
Q4 2026EU Chapter 1 target
Inspectors aim to give the Commission final text amended for ICH Q9(R1). A target, with no adoption date.
EU GMP Chapter 1, clause 1.4(xiv), covers root cause, human error and CAPA effectiveness in a few sentences. It says an appropriate level of root cause analysis should be applied, set using quality risk management. When the true root cause cannot be determined, the plant should consider the most likely cause and address that.
On human error it says: "Where human error is suspected or identified as the cause, this should be justified having taken care to ensure that process, procedural or system-based errors or problems have not been overlooked, if present." CAPAs should then be taken, and "the effectiveness of such actions should be monitored and assessed, in line with Quality Risk Management principles."8 Clause 1.10(iv) brings the same material back each year, in the product quality review.
ICH Q10, section 3.2.2, asks for a structured approach "with the objective of determining the root cause", with effort, formality and documentation "commensurate with the level of risk".16 ICH Q9(R1) adds that formality "is not a binary concept" and that subjectivity should be "managed and minimized", naming poorly designed risk scoring scales among its sources.13 For active ingredients, ICH Q7 repeats the reach of the US rule: "The investigation should extend to other batches that may have been associated with the specific failure or deviation."14
FDA turns this into inspection practice through Compliance Program 7356.002. Investigators look for investigations "Documented; investigated in a timely manner using scientific evidence to identify the root cause; corrective actions and preventive actions (CAPAs) are included and effectiveness of the CAPAs is evaluated."2 Part 211 itself has no section titled CAPA. The expectation reaches a firm through that program and through warning letters, FDA's public statements of significant violations, under 211.192.
Of these six texts, only EU GMP Chapter 1 asks that human error be justified, and none we read sets a closing deadline
Darker means the text is more explicit on that duty
SilentImpliedStatedStated in detail
InvestigateReach other batchesRoot causeHuman errorCAPA effectivenessClosing deadline21 CFR 211.192Stated in detailStated in detailImpliedSilentSilentSilentEU GMP Chapter 1StatedSilentStated in detailStated in detailStated in detailSilentEU GMP Annex 1, 3.2StatedStated in detailImpliedSilentSilentSilentICH Q7StatedStatedImpliedSilentSilentSilentICH Q10StatedSilentStatedSilentImpliedSilentISO 13485 via QMSRStatedSilentStatedSilentStatedSilent
Our reading of the sources1,8,16,14,19,4,6,22 · Our classification. We did not read ISO 13485, which is paid text, so that row rests on FDA's preamble, its inspection program and a warning letter's wording.
Show the numbers
Investigate
Reach other batches
Root cause
Human error
CAPA effectiveness
Closing deadline
21 CFR 211.192
Stated in detail
Stated in detail
Implied
Silent
Silent
Silent
EU GMP Chapter 1
Stated
Silent
Stated in detail
Stated in detail
Stated in detail
Silent
EU GMP Annex 1, 3.2
Stated
Stated in detail
Implied
Silent
Silent
Silent
ICH Q7
Stated
Stated
Implied
Silent
Silent
Silent
ICH Q10
Stated
Silent
Stated
Silent
Implied
Silent
ISO 13485 via QMSR
Stated
Silent
Stated
Silent
Stated
Silent
The dated status of each deviation and CAPA text
Text
Status, November 2026
What to do with it
21 CFR 211.100, 211.192, 211.22, 211.180(e)
In force. The 2025 CFR edition is the newest on govinfo1,11,10,23
Quote exactly. 211.180(e) also brings investigations into the annual review
EU GMP Chapter 1
Revision 3, in operation January 31, 2013. EudraLex, the EU's published rule collection, still lists it that way. A revised draft was open for comment from September 3 to December 3, 2025. The European Medicines Agency (EMA) inspectors' work plan targets Q4 2026 for final text, with no adoption date8,17,18,21
Work to the 2013 text. The draft keeps clause 1.4(xiv) almost word for word
Classes inspectors' deficiencies. A plant can borrow the idea for its own scale
Japan's GMP Ministerial Ordinance
Latest amendment April 28, 2021. Article 15 requires a record, an impact assessment and a report to the quality assurance section. A significant deviation adds prompt notice to marketing license holders, a cause investigation and corrective and preventive actions. It gives no day count. PMDA, Japan's regulator, cites the article in its January 2025 Orange Letter. We read a tentative English translation, not the Japanese text24,25
Check the Japanese text if you ship to Japan
04 · Device plants
CAPA under the device QMSR: 820.100 is gone and ISO 13485 clause 8.5.2 is the citation
In shortFDA's Quality Management System Regulation took effect February 2, 2026, under a final rule published February 2, 2024. It incorporates ISO 13485:2016 by reference. FDA says clause 8.5.2 covers corrective action and clause 8.5.3 preventive action. FDA's inspection program maps the same two clauses. Procedures written to old 820.100 need remapping, and fiscal 2025 is the last full year of 820.100 counts.
820.100 was the most cited Part 820 section in fiscal 2025, the last full year before the QMSR
Citations by section in FDA's device inspection observations file, fiscal 2025
820.100 Corrective and preventive action279 on procedures, 63 on documentation342
820.30 Design controls315
820.198 Complaint files286
820.50 Purchasing controls190
820.70 Production and process controls155
Source7 · Section totals are our sum of FDA's Frequency column. The file covers only Form 483s, the lists of observations FDA investigators hand a site, from FDA's system. Fiscal 2025 ended September 30, 2025, so none of these rows reflects the QMSR.
Show the numbers
Item
Value
820.100 Corrective and preventive action
342
820.30 Design controls
315
820.198 Complaint files
286
820.50 Purchasing controls
190
820.70 Production and process controls
155
The final rule (89 FR 7496 in the Federal Register) amended Part 820 so that the international standard carries most of the requirements. FDA's page says the rule "is effective February 2, 2026, and is now titled Quality Management System Regulation", and that FDA began using the inspection process in its updated Compliance Program 7382.850 from that date.4,5
In the rule's preamble, a commenter noted that the standard separates the two kinds of action and urged FDA not to combine them. FDA answered that ISO 13485 "has one Clause outlining expectations regarding corrective action (Clause 8.5.2) and has another Clause outlining the expectations regarding preventive action (Clause 8.5.3)", that it has incorporated both, and that it disagrees it has combined them.4 The program, implemented February 2, 2026, lists Corrective Action under Clause 8.5.2 and Preventive Action under Clause 8.5.3 in its table of requirements.22
A warning letter shows the new citation at work. FDA inspected a device accessory maker from February 4 to March 6, 2026, and on May 27 wrote: "Failure to document corrective action procedures to define the requirements for determining the causes of nonconformities and reviewing the effectiveness of corrective action taken, as required by ISO 13485: 2016: Clause 8.5.2."
A customer's corrective action request about six foot pedals that failed a calibration check was never investigated, and the firm's response to that customer shows "Root Cause [BLANK] and Corrective Action 'NA'".6
ISO 13485 itself is a paid document. We did not read it, so its clauses appear here only as FDA's rule, program and letter describe them. A certifier reports that ISO reconfirmed the 2016 edition in its latest review, with no revision until April 2030. We read that in TÜV Nord's note of January 13, 2026, and not in ISO's own catalog.26
What a device quality manager remaps after 820.100
If your procedure says
Now point it at
Watch for
21 CFR 820.100(a)
ISO 13485:2016 clauses 8.5.2 and 8.5.3, through Part 8204
Two clauses where your form may have one. FDA's preamble says it has not merged them
Effectiveness verified or validated
The clause's review of the effectiveness of the action, as worded in the letter above6
A procedure that exists but is not followed still draws a citation
Trend data feeding CAPA
Your data analysis and management review inputs under the standard
A trend threshold with no required action behind it
Training material that still walks through the earlier approach
FDA says it cannot provide any assurance that meeting the QMSR or ISO 13485 demonstrates compliance with another regulator's requirements. A device maker selling in Europe still reads the EU rules for itself.4
05 · Clocks and classes
Is 30 days to close a deviation a rule, and who sets critical, major and minor?
In shortNone of the GMP texts we read gives a closing deadline for a deviation, or a severity scale for a plant to use. Both are the plant's own rules, written on top of "timely" and "thorough". That means your plant can change them, and has to be able to defend them. A few narrower regulatory clocks do exist, and they answer other questions.
Thirty calendar days is a common target. A BioPharm International column calls it "an arbitrary number pharmaceutical companies impose on themselves", and two former senior FDA officials wrote in 2012 that a thorough investigation is "typically" finished "within 30 days". Both are opinions, and neither is a rule.27,28 Neither Part 211 nor EU Chapter 1 contains the number.1,8
The closest thing to a US number sits in an older FDA inspection guide for quality control laboratories: "All failure investigations should be performed within 20 business days of the problem's occurrence and recorded and written into a failure or investigation report." That guide opens by saying it is reference material that does not bind FDA, and it speaks about laboratory failures.3 The current drug inspection program says "timely manner" and gives no count.2
The numbers regulators set answer narrower questions than how fast to close an investigation
Days, in the unit each text uses; the units differ, so compare them with care
New drug application (NDA) field alert, on certain distributed product problemsworking days, 21 CFR 314.81(b)(1)3 days
Failure investigations, older FDA inspection guidebusiness days; states it does not bind FDA20 days
A common plant target for closing a deviationcalendar days; the plant's own rule30 days
Biological product deviation reportcalendar days at most, 21 CFR 600.1445 days
New drug application (NDA) field alert, on certain distributed product problems
3 days
Failure investigations, older FDA inspection guide
20 days
A common plant target for closing a deviation
30 days
Biological product deviation report
45 days
The field alert and biological product deviation report are reports to FDA with their own triggers, both tied to distributed product.29,30 They can start while an investigation is still open, so a procedure should check them on day one. An out-of-specification or contamination finding on a shipped batch can start a three-working-day clock long before the plant knows why.
So a plant can close at 40 days with a sound file and a recorded reason, and it can close at 25 with "operator error" and still draw a citation.
What it owes at day 40 is an explanation of the time taken. A useful extension request says why the remaining work cannot finish inside the target, what that work is, and the new date. Raise it before the target passes, and record the reason in a category you can count later. A year of those categories tells you where your investigations stall.
What we read before saying no text sets the number. As of November 3, 2026: 21 CFR Part 211 in full; EU GMP Chapter 1, its 2025 draft revision, Annex 1 and Annex 16; ICH Q7, Q9(R1) and Q10; PIC/S PI 040-1; FDA's Compliance Program 7356.002, out-of-specification guidance and quality systems guidance; and a tentative English translation of Japan's GMP ordinance. None sets a number of days to close a deviation.1,8,16,13,14,19,15,20,2,12,9,25,21 This is a negative finding from a stated list. We did not read ISO 13485, which is paid text, or every national GMP code, so check any market you ship to.
Where critical, major and minor deviation classes come from
The published definitions we found belong to the inspectors, who class what they write about a site. PIC/S PI 040-1 has three grades: Critical, Major and Other. A Critical deficiency "has produced, or leads to a significant risk of producing" a harmful product, and fraud or falsification also counts. A Major one includes a product that may not meet its authorization or specification, or GMP controls that are not effective.
Several related smaller deficiencies can add up to a higher grade. And a deficiency "may be judged as 'Other' because there is insufficient information to classify it".20 A plant can borrow the idea for its own scale, and our sample plant uses "Minor" as the third word.
Three design points follow from that text. Your scale should let many small events add up. A first class is a provisional judgment made on the least information you will ever have, so reclassifying should be normal and recorded. And because 21 CFR 211.22 gives the quality unit authority over whether errors "have been fully investigated", the final word on the class belongs with the quality unit, whoever typed it first.10
Write the rule with a reason
"Any failed integrity test of a sterilizing filter is Major, batch on hold" can be tested. "Significant impact" cannot.
Count reclassification
If first calls change often in one direction, the scale or the training is off. ICH Q9(R1) names poorly designed scoring scales as a source of subjectivity.13
Keep the clock and the class apart
A longer clock for a harder class is a choice you can defend. A class set to get a longer clock is a finding waiting to be written.
06 · Root cause, worked through
Root cause analysis in pharmaceutical manufacturing, worked through on one filling nozzle
In shortA fishbone diagram sorts possible causes into six groups so you look in each, and a chain of whys makes you keep going until the answer names something the plant controls. Neither is required by any regulation. FDA's inspection program lists their effective use as an indicator of a stronger quality system. Both are only as good as the record behind each answer, and a little arithmetic can settle what opinion cannot.
FDA's program names "Effective use of standardized tools (e.g., FMEA, DOE, 5 Whys, fishbone diagram) to determine a potential root cause" under its advanced quality system indicators.2 EU Chapter 1 asks for "an appropriate level" of analysis and names no tool.8
Each of four common tools has its own job. A fishbone gives breadth at the start. A five-why chain gives depth once a candidate has emerged. Failure mode and effects analysis, FMEA, suits equipment that keeps producing different symptoms. A designed experiment, DOE, is for when the records cannot settle it and you need new evidence.
The six fishbone bones and the record that closes each one
Bone
Record that answers it
In our fictional case
Result
Method
Batch record, recipe audit trail
Recipe verified at 6:12 am, 2.02 mL on all 8 pumps, no edits
Clear: a recipe error would move all nozzles
Machine
Work orders, maintenance plan, supplier manual, service records
1,840 hours on the seal set, limit 1,500, inspection deferred
The cause sits here
Material
Lot records, vial specifications
No defect on record
Clear
People
Training, line logs, who did what
Recipe second-person verified, check done on time
Clear
Measurement
Calibration and daily check
Check-weigher read 1.000 g and 2.001 g against 1.000 g and 2.000 g references
Clear
Environment
Room and product temperature logs
Bulk solution 20.6 to 20.9 °C, limit 18 to 24 °C
Clear
Checking the nozzle arithmetic line by line
Run the numbers from the fictional records before the review meeting.
Hours on the seals. Hour meter on October 6 was 13,100, and at installation on March 3 it was 11,260. That gives 1,840 hours, 340 past the manual's 1,500.
Why the calendar missed it. 1,840 hours over 217 days is about 8.5 hours a day. At that pace 1,500 hours arrives after about 177 days, in late August, a month before a six-month inspection due September 29. A plan that counts months would miss it even if nobody deferred anything.
Size of the drift. Nozzle 4's mean fell from 2.05 g to 1.99 g, a drop of 0.06 g or 2.9%. The other seven stayed at 2.05 g.
What the check-weigher saw. 1,212 vials rejected low out of 61,400 in the period. All came from nozzle 4. An even eighth share would be 7,675 vials per nozzle, so nozzle 4 lost about 16% of its share before anyone opened a deviation.
The pattern. One nozzle, gradual, no step at a changeover. A wrong recipe would move all eight. A failing scale would move every reading.
One nozzle drifted for two weeks while seven held flat, the shape of wear, and the limit was crossed at the end
Mean fill weight in grams, from the fictional check-weigher record; the lower limit is 2.00 g
Nozzle 4Nozzles 1 to 3 and 5 to 8Lower limit
1.95 g2 g2.05 g2.1 g1.99 g2.05 g2 g
Sep 22Sep 29Oct 6
Fictional example from this guide
Show the numbers
Nozzle 4
Nozzles 1 to 3 and 5 to 8
Lower limit
Sep 22
2.05 g
2.05 g
2 g
Sep 29
2.02 g
2.05 g
2 g
Oct 6
1.99 g
2.05 g
2 g
Five whys run from light vials to a plan that counts the wrong unit and a fix that stopped at one line
1Why were the vials light?
Nozzle 4 delivered about 0.06 g less than the other seven.
Check-weigher recordDirect cause
2Why only nozzle 4?
Product drains back through a worn tip seal after each dose.
Filler manualMechanism
3Why was it worn?
The set had run 1,840 hours. The supplier's limit is 1,500.
Work orderContributing
4Why was it not changed?
The plan counts months and the September inspection was deferred.
Maintenance planRoot cause
5Why was this missed in 2025?
The earlier action changed one line's plan only.
Earlier CAPASystem cause
Fictional example from this guide
Show the numbers
Step
What happens
Who
Time
Why were the vials light?
Nozzle 4 delivered about 0.06 g less than the other seven.
Check-weigher record
Direct cause
Why only nozzle 4?
Product drains back through a worn tip seal after each dose.
Filler manual
Mechanism
Why was it worn?
The set had run 1,840 hours. The supplier's limit is 1,500.
Work order
Contributing
Why was it not changed?
The plan counts months and the September inspection was deferred.
Maintenance plan
Root cause
Why was this missed in 2025?
The earlier action changed one line's plan only.
Earlier CAPA
System cause
Nothing requires five. The count ends when the last answer names something the plant can change, such as a plan that counts the wrong unit or a deferral nobody had to approve.
A useful caution comes from outside manufacturing. Peerally and colleagues, writing about hospital incident reviews, argue that "the first problem with RCA is its name", because it implies a single cause, and that timelines and five whys "tend to favour a temporal narrative rather than a wider systems view."31 The six bones and the for-and-against list push back on that tendency.
Direct cause, contributing cause and root cause are three sentences
Keep these three apart in the file. The direct cause produced the effect: the seal let product drain back. A contributing cause made it likelier or harder to catch: the deferred inspection and a check-weigher that rejected vials without alerting anyone. The root cause is what the plant changes so it cannot recur the same way: a plan that counts months for a part that wears by hours.
EU Chapter 1 allows "the most likely root cause(s)" when the true one cannot be determined, and an honest file says which it is.8
Good practice also keeps evidence against the favored cause in plain view. Here, piston wear on pump 4 could give a similar signal. A check on September 15 at 2.021 mL against 2.02 mL argues against it and does not rule it out. The seal is unproven too until someone looks at it. A file that shows only evidence for its conclusion invites the question of what else was tested.
07 · Human error
Is human error a root cause? What EU GMP and FDA warning letters actually ask for
In shortPeople do slip, and no rule forbids saying so. EU GMP requires that the conclusion be justified with care taken that process and system errors were not overlooked. FDA's letters ask for the specific error, the evidence that it was the reason, and analysis of the conditions behind it. Retraining alone leaves those conditions in place. Nobody has published an audited share of deviations blamed on people.
The European sentence is quoted in section 03. Its key words are "justified" and "overlooked": the failure it warns about is a process or system explanation that nobody examined. US regulations have no such sentence, and FDA reaches the same place through enforcement. Each of these letters cites 21 CFR 211.192.
After failures of media fills, simulated runs that test sterile filling, the firm pointed to deficient aseptic technique, and its investigations "did not consider how the poor aseptic practices went undetected"
Ask why the oversight missed it
Published human error shares run from about 25% to 58%, and none comes with a method you could audit
Share of deviations or root causes attributed to human error, as stated
Typical run rate, a consultant's impression, 2014no source or method given25%
One active ingredient (API) maker, 2015, its own presentation"almost 30%" of all deviations30%
One unnamed company, as told to a consultant, 2014no period or sample given58%
Source35,36 · These three are what we could read. Other percentages circulate on the web, and we could not trace them to a study. Count your own for the last 12 months, and read 20 at random.
Show the numbers
Item
Value
Typical run rate, a consultant's impression, 2014
25%
One active ingredient (API) maker, 2015, its own presentation
30%
One unnamed company, as told to a consultant, 2014
58%
Questions that earn a human error conclusion
What exactly was the act?
Precise enough that someone could repeat it.
What did the procedure say?
In the version in force at that moment, with the step in front of the person.
Has it happened elsewhere?
Another shift, line or person doing the same thing points at the system.
What would stop it without care?
A hard stop or a design change holds when the person standing there changes.
Why did nothing catch it?
A second check or a monitor that missed it is a finding too.
What will show it has gone?
A number, a window and a data source, written now.
Why retraining sits low on the ladder of fixes
NIOSH, the US occupational safety institute, ranks controls for workplace hazards: elimination, substitution, engineering controls, administrative controls, then personal protective equipment. It says the first three "are more effective" because they work "without significant human interaction."37 NIOSH wrote that for hazards and not for GMP, and we think the analogy holds.
Training is an administrative control, relying on the same human attention that just failed. Peerally's review notes investigators' "endemic tendency" to settle for "administrative and perhaps 'weaker' solutions (such as reminders)".31 Training has its place, since people must be taught a new step. It works poorly as the only action.
Retraining sits in the cheap, weak corner, and fixes that change the plan or the design hold better
Where common CAPA actions tend to sit; move them for your plant
How well it holds without relying on attention (0–1)
Retrain
0.16
0.14
Revised procedure
0.42
0.30
Hour-based plan
0.18
0.66
Drift alert
0.46
0.56
Redesign
0.70
0.78
08 · Scope and repeats
Why repeat deviations return, and how to scope a CAPA beyond the line that failed
In shortA CAPA tends to inherit the boundary of the file it was written in: one deviation number, one batch, one line. The rules run the other way. 21 CFR 211.192 reaches products that "may have been associated", and EU Annex 1 wants the reason for each exclusion recorded. To scope well, name what caused the failure and list everything else in the plant that has it.
FDA's letters treat scope as a finding by itself. In May 2025 FDA wrote to a sterile manufacturer, "you did not extend your investigations to other batches to determine the full scope and impact", and noted the firm "failed to consider the presence of mold in the ISO7 (Grade B) manufacturing areas over a 3-year period".38 In September 2026 it listed "expansion to all potentially affected products" among what another firm's investigations lacked.34
In July 2025 it noted a firm with two events in ten days that found no "formal" trend and no action needed.32 A trend you have defined so narrowly that it never fires is a scope problem in another form.
EU Annex 1 section 3.2 asks investigators to determine "whether any other processes or batches are potentially impacted", and adds: "The reason for including or excluding a product or batch from the scope of the investigation should be clearly justified and recorded."19 It covers sterile products, and nothing stops you using the same one-page discipline elsewhere.
The McKinsey article on AI in operations reports, from conversations with pharma companies, that 15 to 20% of deviations recur because of ineffective remediation. That is the only recurrence figure we found, and it is no measured benchmark. We read a summary of the article, not its full text.39
A repeat has a definition with three moving parts
Same failure mode
Match on the mechanism. A worn seal on two lines is a repeat. Two filter failures with different causes are two events.
Inside a window
Keep the window you search and the window you count in as separate settings. The last paragraph of this section shows how to size the first.
Earlier action did not reach it
If someone decided to exclude that line, with a reason, you learn something different than if nobody asked.
Listing what shares the cause shows three lines still exposed after the 2025 fix
Fictional plant: all four filling lines use nozzle set NZ-8-316
NoYes
Same nozzle setPlan counts monthsDeferral with no QA reviewCovered by the 2025 CAPALine 1YesYesYesNoLine 2YesYesYesNoLine 3YesNoYesYesLine 4YesYesYesNo
Fictional example from this guide · The grid is the scope decision written down. Each row left out of an action needs a sentence.
Show the numbers
Same nozzle set
Plan counts months
Deferral with no QA review
Covered by the 2025 CAPA
Line 1
Yes
Yes
Yes
No
Line 2
Yes
Yes
Yes
No
Line 3
Yes
No
Yes
Yes
Line 4
Yes
Yes
Yes
No
Eleven months separate the closed Line 3 case from the same failure on Line 1
Nov 4, 2025DV-2025-0466 closes
Worn seal on Line 3, nozzle 6, at 1,710 hours.
Jan 20, 2026CAPA-2025-0402 closes, rated effective
Hour-based change on Line 3 only. Lines 1, 2 and 4 use the same set and are not in scope.
Mar 3, 2026New set on Line 1
Plan still counts months.
Sep 26, 2026Inspection deferred
Engineering moves September 29 to October 14 to keep the campaign running.
Oct 6, 2026Nozzle 4 under limit
Same mechanism, at 1,840 hours.
Fictional example from this guide
Show the numbers
When
What
Nov 4, 2025
DV-2025-0466 closes
Jan 20, 2026
CAPA-2025-0402 closes, rated effective
Mar 3, 2026
New set on Line 1
Sep 26, 2026
Inspection deferred
Oct 6, 2026
Nozzle 4 under limit
Set the window by the life of what failed. A part that lasts a year makes a 12-month search useless. A utility loop may go four years between events, and a two-year search will report, truthfully and uselessly, that nothing similar happened. One setting for the whole plant is simpler to train and should be set from your longest-lived equipment. The cost of too wide a search is a few minutes of reading. The cost of too narrow a search is another investigation.
09 · Effectiveness
CAPA effectiveness checks: writing a criterion that could actually fail
In shortVerifying implementation asks whether the action was done. An effectiveness check asks whether doing it worked. A real criterion has a number, a window, a data source the person being judged does not control, and a named rater who did not do the work. The window has to give the failure a fair chance to come back.
The expectation is plain. FDA's program looks for whether "effectiveness of the CAPAs is evaluated".2 EU Chapter 1 says it should be "monitored and assessed".8 FDA's quality maturity white paper lists "the rationale governing how a corrective or preventive action is determined to be effective" among what it may review.40
FDA's May 2026 letter faulted proposed CAPAs that "lack sufficient detail and a description of how effectiveness of these actions will be evaluated", and September's faulted missing "corrective action effectiveness checks".33,34 None of these texts gives a template. A good criterion is built from the specific failure.
Weak criterion
Why it cannot fail
Stronger version
"All operators retrained"
Measures completion
"Zero batch records showing the old sequence across 40 batches, read from the electronic record"
"No recurrence"
No window, no population, no matching rule
"No single-nozzle drift above 1% on Lines 1 to 4, from check-weigher data, across a full seal life"
"SOP followed"
No data source, and the author of the SOP is often the rater
"Audit of 20 deferrals by QA: every one has a recorded quality review"
"Effective per owner review"
Self-assessment
Rated by someone who would have to handle the failure if it returned
How long a CAPA effectiveness window has to run
A 90-day window, the one our sample plan uses, suits a failure that shows up weekly.
A wear failure needs more thought. In our fictional plant, seals run about 8.5 hours a day, so 90 days is about 765 hours, half of a 1,500-hour seal life. On a line where every seal was just replaced, a 90-day check cannot see wear come back. It can tell you about lines where seals were already part worn, and whether the alert fires when tested. The stronger plan adds a second reading at the first hour-based change.
A 90-day check sees about half a seal's life, so wear on freshly changed seals cannot show up yet
Operating hours, at the fictional plant's pace of about 8.5 hours a day
New seal after a 90-day checkour arithmetic: 90 × 8.5765 hours
Supplier's change limit1,500 hours
Failure on Line 3, 20251,710 hours
Failure on Line 1, 20261,840 hours
Fictional example from this guide
Show the numbers
Item
Value
New seal after a 90-day check
765 hours
Supplier's change limit
1,500 hours
Failure on Line 3, 2025
1,710 hours
Failure on Line 1, 2026
1,840 hours
Count how many of your CAPAs survive each step before you trust an effectiveness rate
An example of a year's actions; replace with your own counts
CAPAs opened200
Carried out on time160
Have a criterion with a number90
Data source outside the owner's control60
Window gave the failure a real chance35
Illustrative · replace with your own numbers · These counts are assumptions. Nobody publishes this. The exercise takes an afternoon on 30 closed CAPAs, and the last bar is the only one that says anything about whether your fixes hold.
Show the numbers
Stage
Count
CAPAs opened
200
Carried out on time
160
Have a criterion with a number
90
Data source outside the owner's control
60
Window gave the failure a real chance
35
Two dates and two signatures. Verification is a document check soon after the work is done, and the owner can make it. Effectiveness comes after time has passed, and the owner cannot rate it. A plan that records only completion has a healthy-looking dashboard and no evidence that anything improved. A not-effective rating also has to have consequences: the cause goes back to someone's desk, and the rater needs the authority to send it there.
10 · What inspectors cite
21 CFR 211.192 citations and the root cause clause: what FDA and MHRA data show
In shortIn FDA's fiscal 2025 drug file, 211.192 is the second most cited Part 211 section, after quality unit responsibilities, by our sum. Per 100 drug Form 483s it has held steady at about 31 to 40 for seven years. Seven citations in ten are about thoroughness. In the newest data from MHRA, the UK regulator, the root cause clause is the single most cited reference, and it is graded Major more often than the average finding.
A Form 483 is the list of observations an FDA investigator hands a site at the end of an inspection. Each fiscal year FDA publishes a spreadsheet of what was cited. It covers only 483s from FDA's system, and one form can carry several rows, so any total is a count of citations. These sums and ranks are ours.7
Investigations rank second among Part 211 sections in FDA's fiscal 2025 drug citations
Citations by section, drugs, fiscal 2025, 713 Form 483s
211.22 Quality unit responsibilities309
211.192 Production record review and investigations236
The small last slice may understate scope problems, since a thin investigation can be written up under the broader first row, as the letters above suggest. The count alone cannot tell you.
Citations per 100 forms hold in a narrow band, so a rising count mostly reflects more forms
Citations of 21 CFR 211.192 per 100 drug 483s, and of 21 CFR 820.100 per 100 device 483s
211.192, drugs820.100, devices
020406033.143.2
FY19FY20FY21FY22FY23FY24FY25
Source7 · Our arithmetic. Drugs: 264 of 779, 128 of 349, 86 of 215, 170 of 466, 175 of 510, 173 of 561, 236 of 713. Devices: 379 of 822, 197 of 422, 102 of 191, 240 of 538, 336 of 720, 313 of 672, 342 of 791. A form can carry more than one row, so read this as a rate of citations. It gives no share of forms.
Show the numbers
211.192, drugs
820.100, devices
FY19
33.9
46.1
FY20
36.7
46.7
FY21
40
53.4
FY22
36.5
44.6
FY23
34.3
46.7
FY24
30.8
46.6
FY25
33.1
43.2
Data from MHRA point the same way. It published row-level deficiency data for 2019: 5,292 deficiencies across 258 inspections at sites in the UK and abroad, the newest GMP set on its page. Clause 1.4(xiv) of Chapter 1, the root cause clause, is first at 210 findings across 176 inspections. Clause 1.8(vii), which covers significant deviations, is second at 111.41 The two most cited references in that year are both about this work.
Inspectors graded the root cause clause Major more often than findings in general
Share of deficiencies by grade, MHRA GMP inspections, 2019
OtherMajorCritical
Clause 1.4(xiv), 210 findings49.5%47.6%
All findings, 5,29259.6%37.8%
Source41 · Our arithmetic from the spreadsheet, as Critical, Major and Other: 6, 100 and 104 for the clause; 137, 1,999 and 3,156 for all. One year of MHRA inspections, in the UK and abroad, published in 2020.
Show the numbers
Other
Major
Critical
Clause 1.4(xiv), 210 findings
49.5%
47.6%
2.9%
All findings, 5,292
59.6%
37.8%
2.6%
What the remediation requests in FDA warning letters ask a firm to fund
Each warning letter speaks only of its own site. Recent letters ask for more than a local fix. In May 2025 FDA asked one firm for "A comprehensive, independent assessment of your overall system for investigating deviations, discrepancies, complaints, OOS results, and failures", with a plan covering "investigation competencies, scope determination, root cause evaluation, CAPA effectiveness, quality assurance unit oversight, and written procedures", and a separate "independent assessment and remediation plan for your CAPA program".38
The September 2026 letter asks for much the same, and adds that the firm "inappropriately concluded there was no product impact based on overreliance on passing finished drug product test results".34 A passing final test does not close the question of why something went wrong.
Japan's regulator publishes similar lessons. PMDA's Orange Letter of January 2025 describes a multi-purpose site whose procedure required a deviation report within a week, with reports often two or three months late and no recorded reason, and many deviations lacking CAPA.24
11 · Risks and the market
What thin investigations put at risk: batches, supply and approvals, and what market data cannot tell you
In shortA deviation can hold a batch, a repeat can cost a second investigation, and a pattern can end in a warning letter or a withheld approval. FDA lists inadequate investigations among top citations that led to facility withholds. Nobody publishes a cost per deviation. Treat any public market size for this software with care, and measure your own volume.
62%
of 163 drugs that went into shortage from 2013 to 2017 did so after supply disruptions associated with manufacturing or product quality problems. A shortage measure, and no count of deviations.42
FDA Drug Shortages Task Force
105
drug quality warning letters to human drug manufacturing sites in fiscal 2024: 41 domestic and 64 foreign, up from 94. FDA's fiscal 2025 report prints no count.43,44
FDA CDER, fiscal 2024
1,248
drug quality assurance inspections in fiscal 2025: 702 in the US and 546 abroad, up from 972 the year before.44
FDA CDER, fiscal 2025
Four ways a weak deviation process reaches the business
The batch waits
21 CFR 211.192 ties review to release. In Europe, a Qualified Person may consider certifying after an unexpected deviation only if registered specifications are met, the deviation is investigated and "the root cause corrected", and the impact is judged negligible.1,15
The filing waits
FDA's fiscal 2025 report lists "Failure to thoroughly review discrepancies or batch failures ... (i.e., inadequate investigations)" among three top citations that resulted in facility withholds.44
The failure comes back
It costs a second investigation, a second CAPA and the batches in between. A closure-time metric never shows it, because both cases closed on time.
Patient safety, the risk behind the rules
An uninvestigated contamination source or a wrong dose is why these rules exist. A quality unit weighs that risk first, ahead of the schedule.
Drug quality inspections rose 28% in a year, and US sites moved to the larger share
FDA drug quality assurance inspections, split by region
432FY2024 US
540FY2024 abroad
702FY2025 US
546FY2025 abroad
Source44 · FY2025 is the first report to include medical gas sites and excludes outsourcing facilities, so part of the rise may reflect scope. The 28% is our arithmetic on 972 and 1,248.
Show the numbers
Group
Inspections
FY2024 US
432
FY2024 abroad
540
FY2025 US
702
FY2025 abroad
546
Academic support for watching deviations as an indicator is limited. One study of two active ingredient makers in China from 2010 to 2019 found right-first-time rates most affected by total deviations, and foreign inspection deficiency rates most affected by equipment deviations and those attributed to human error. It is a correlation on two sites, and we read only the abstract.45
Gaps in the public data. We found no independent public figure for the cost of a deviation, deviations per batch, median days to close across the industry, or the repeat rate on a defined method. Vendor pages state some of these with no origin, and market-size reports for quality software rarely separate this category. Treat all of them as opinions, and use the worksheet in section 19.
12 · AI and its limits
AI in deviation investigations: what draft EU GMP Annex 22 and FDA's draft guidance allow
In shortAI can read records, find similar past cases, rank candidate causes and draft a report. Draft EU GMP Annex 22 says large language models "should not be used in critical GMP applications" and asks for a qualified human in the loop elsewhere. It is still a draft, and EMA reports that the drafting group has discussed widening that scope. FDA's January 2025 draft sets a separate boundary. The safe design leaves the decision with a named person in the quality unit, as 21 CFR 211.22 already does.
The EU and FDA texts on AI in this work are both still drafts as of November 2026
Jan 2025FDA draft guidance
AI that supports regulatory decision-making for drugs and biological products.
Jul 2025Draft EU GMP Annex 22 goes out for comment
Open July 7 to October 7, 2025, jointly with PIC/S.
Jan 2026EMA and FDA principles
Ten shared principles for good AI practice.
Jun 2026EMA workshop on the draft
The drafting group has discussed a wider scope. No revised text is published.
The draft annex was open for consultation from July 7 to October 7, 2025, jointly with PIC/S. Its section 1 applies to static models with deterministic output in critical GMP applications. It then says it does not apply to generative AI and large language models, "and such models should not be used in critical GMP applications." In non-critical uses, "personnel with adequate qualification and training should always be responsible for ensuring that the outputs from such models are suitable for the intended use".46
On November 3, 2026, EudraLex Volume 4 lists no Annex 22, and Annex 11 is still the January 2011 text.17 EMA's inspectors target Q4 2026 for giving the Commission final text, which is a target with no adoption date.18
The picture may move. EMA's report on a workshop of June 30, 2026 says consultation comments supported allowing these models in GMP uses, and that the drafting group "has therefore discussed" a wider scope under a documented, risk-based control strategy, with concerns remaining about what that strategy needs.47 No revised text is published.
Other clauses of the draft are useful today whatever the scope becomes. Section 4.3 says acceptance criteria should be "at least as high as the performance of the process it replaces", which means you must know your current performance. Section 9 asks that confidence scores be logged and that a low-confidence result may be flagged as undecided.46
FDA's January 2025 draft concerns AI that produces information "to support regulatory decision-making regarding safety, effectiveness, or quality for drugs". It does not address AI for "operational efficiencies (e.g., internal workflows, resource allocation, drafting/writing a regulatory submission) that do not impact patient safety, drug quality, or the reliability of results".48 A tool that reads records for an investigator could fall on either side, depending on what rests on its output. Ask your regulatory team. In January 2026, EMA and FDA also set out ten shared principles for good AI practice.49
Reading and drafting carry less risk than deciding, and the signature stays where the regulation puts it
Tasks in a deviation investigation, against what a quality lead should ask of each
LowSomeHigh
Direct effect on product decisionNeeds a person's reviewSuits a language model todayFind records for the event windowLowSomeHighQuote a fact with its source passageLowSomeHighFind similar past casesLowSomeHighRank candidate causes for and againstSomeHighSomeDraft the reportSomeHighSomePropose a class or a CAPASomeHighSomeApprove root cause and product impactHighHighLowRelease a batchHighHighLow
Our reading of the sources10,46,48 · Our reading, offered for a quality or validation lead to disagree with. Whether a use is critical is your documented decision, and the draft annex is not in force.
Show the numbers
Direct effect on product decision
Needs a person's review
Suits a language model today
Find records for the event window
Low
Some
High
Quote a fact with its source passage
Low
Some
High
Find similar past cases
Low
Some
High
Rank candidate causes for and against
Some
High
Some
Draft the report
Some
High
Some
Propose a class or a CAPA
Some
High
Some
Approve root cause and product impact
High
High
Low
Release a batch
High
High
Low
What published evidence says about AI root cause work
The evidence is thin. A 2024 preprint by authors at one manufacturer tested GPT-3.5, GPT-4 and Claude-2 on a small set of real deviations. It reports high accuracy for GPT-4 and Claude-2 in extracting items such as a stated root cause, and high accuracy for semantic search, which matches on meaning, finding similar records. It also warns of hallucination cases, where a model states something false, that pose a risk.50
A 2025 article based on six expert interviews found the experts did not see language models as fit for standalone root cause or CAPA decisions, and saw more use for them as a devil's advocate that provokes better thinking.51
McKinsey reports case studies with a 40% cut in deviation closure time, unnamed and with no method in what we read, which was a summary of the article.39 An ISPE blog by a vendor director says over 60% of participants in a webinar named root cause analysis as the most resource-intensive step.52 We found no independent controlled study of AI on root cause quality.
Controls that travel from data integrity rules to an AI tool
Signature with meaning
Under 21 CFR 11.50, a signed record shows the printed name, date and time, and the meaning, such as review or approval.53
Audit trail
21 CFR 11.10(e) asks for secure, computer-generated, time-stamped audit trails for record changes.53
ALCOA
MHRA's GXP data integrity guidance uses attributable, legible, contemporaneous, original and accurate, and says the "+" in ALCOA+ adds complete, consistent, enduring and available with no difference in expectations.54
Your validation work
ISPE's GAMP AI guide of July 2025 covers AI-enabled computerized systems in GxP areas. FDA's Computer Software Assurance guidance of February 2026 is written for device production and quality systems only.55,56
EU AI Act: Regulation (EU) 2026/1744 entered into force July 27, 2026, moving Annex III high-risk rules to December 2, 2027, and Annex I product rules to August 2, 2028.57 A plant's internal investigation tool does not appear to fall in an Annex III area on our reading. Ask your counsel.
Limits to keep in mind: a confidence percentage is a ranking aid unless someone has shown it behaves like a probability, a model trained on past files can repeat past habits such as blaming operators, and once a draft enters the GMP file it is a GMP record.
13 · How teams do it today
Who investigates a GMP deviation today, and how much time goes to fetching records
In shortAn operator notices, a supervisor or engineer investigates alongside the day job, and the quality unit decides. Nobody publishes where the days go. One software design estimate gives records and past cases more days than analysis, so measure your own. Teams run it on paper, in a quality management system, or with a contract partner, and in each case the signature stays with the plant's quality unit.
The seven roles that touch a GMP deviation, from operator to Qualified Person
Operator or analystNotices the event, stops or contains it, and records the facts at the time.
InvestigatorA production supervisor, process engineer or microbiologist, usually also running a line or a lab.
EngineeringHolds work orders and maintenance plans. Inspects the equipment and owns many CAPAs.
Quality control (QC) laboratoryRuns the laboratory phase when a test result is involved.
QA leadThe quality unit's voice. Reviews the class, approves root cause, product impact and CAPA.10
Head of qualityHandles critical cases, extensions and the management review of trends.
Qualified Person, in the EUDecides whether a batch can be certified after an unexpected deviation.15
Six steps stand between a stopped line and an approved CAPA plan, and three of them are waits for records or people
1Report and contain
Line stopped, material segregated, form opened.
Operator, supervisorDay 0
2Class and clock
QA reviews the first class and the clock starts.
QADay 0 to 1
3Pull the records
Batch, equipment, maintenance, room and past cases, each in its own system.
InvestigatorDays 1 to 7
4Inspect and analyze
Fishbone and whys, with an engineering inspection when one can be booked.
Investigator, engineeringDays 7 to 14
5Write it up
Report, product impact, other batches, CAPA plan.
InvestigatorDays 14 to 17
6Review and sign
QA returns questions, then approves.
QADays 17 to 19
Illustrative · replace with your own numbers
Show the numbers
Step
What happens
Who
Time
Report and contain
Line stopped, material segregated, form opened.
Operator, supervisor
Day 0
Class and clock
QA reviews the first class and the clock starts.
QA
Day 0 to 1
Pull the records
Batch, equipment, maintenance, room and past cases, each in its own system.
Investigator
Days 1 to 7
Inspect and analyze
Fishbone and whys, with an engineering inspection when one can be booked.
Investigator, engineering
Days 7 to 14
Write it up
Report, product impact, other batches, CAPA plan.
Investigator
Days 14 to 17
Review and sign
QA returns questions, then approves.
QA
Days 17 to 19
Pulling records and past cases takes more days than the analysis itself, on one estimate
An estimated 19 calendar days to a root cause; nobody publishes this split, so measure your own
Pull batch, equipment, maintenance and room records6 days
Analyze the cause5 days
Write the report and CAPA plan3 days
Search past cases2 days
QA review and signature2 days
Report, class and start the clock1 day
Illustrative · replace with your own numbers · A software maker's design estimate of elapsed days, with no measurement behind it, carried here as an assumption. A week's time sample on five open investigations will give you a better one. A hidden seventh job, waiting for inspections, suppliers and approvers, sits inside these bars.
Show the numbers
Item
Value
Pull batch, equipment, maintenance and room records
6 days
Analyze the cause
5 days
Write the report and CAPA plan
3 days
Search past cases
2 days
QA review and signature
2 days
Report, class and start the clock
1 day
Three ways plants run deviations: paper, a quality system, or outsourced support
Paper and shared drives
Low cost to start and easy to change. Trending is manual, and a search of past cases depends on who remembers them.
A quality management system
Workflow, signatures, due dates and reports. It tracks the investigation well, and the evidence still has to be fetched from other systems and pasted in.
Contract support
Consultants clear a backlog or run a remediation. Useful under pressure, and the plant's quality unit keeps the responsibility.
Part B · See it working
Botminds Deviation and CAPA Management on one light nozzle at a sterile filling plant
Part A kept to the work itself. Here the same fictional case runs inside Botminds. Every plant, person, batch, record, percentage and manual section in the screens is sample data. The controls here support your compliance. Whether your system meets a rule stays your quality unit's judgment.
14 · One nozzle, start to finish
Nozzle 4 fills light: from a one-sentence report to a signed CAPA plan
In shortThe light nozzle from the opening example runs through the product. AI agents, small programs with one task each, read the plant's records for the event and fill a fishbone diagram with what they find. Dana Okafor, the QA lead, sees a proposed root cause with the evidence for and against it, and every CAPA tied to that cause. She decides and signs. Agents have read-only access to GMP records.
1
Sam Patel reports it in one sentence
Plant 3, in Leiden, fills Dravenzo 20 mg vials on aseptic filling Line 1. On October 6, 2026, the 9:50 am weight check finds 4 of 5 vials from nozzle 4 at 1.95 to 1.98 grams, against a limit of 2.00 to 2.10. The line stops at 9:54 am.
Sam, the production supervisor on Lines 1 and 2, types what happened, the area and the time against batch CRV-24-0546. The clock keeper, the agent that tracks deadlines, proposes Minor under the plant's rules, because a check-weigher rejects every light vial, and starts a 30-day clock due November 5.
The report. One sentence, an area and a time are enough to start.
2
Every bone is checked against a record
The agents read the records for the event, bone by bone. Method: recipe verified at 6:12 am, 2.02 mL on all 8 pumps. Measurement: the check-weigher's daily check passed. Environment: bulk solution at 20.6 to 20.9 °C. Material and People come back clear.
Then Machine fills from the maintenance records. A struck-through label means a cause was checked and ruled out, which keeps the bones nobody suspects on the record too.
The bones fill. A status line names the record being read, here the deferred inspection in the maintenance plan.
3
A worn seal is proposed, with what argues against it
The root-cause analyst, another agent, proposes a worn tip seal on nozzle 4, at 76% on the screen's confidence scale. Four points support it: 1,840 hours against a supplier limit of 1,500, a deferred inspection, a gradual drift on one nozzle since September 24, and the same cause on Line 3 in 2025.
Two points argue against it: no drip-back seen yet, with engineering due to inspect at 2:00 pm, and pump 4 could give the same signal. The why chain below ends at the earlier CAPA that changed Line 3 only.
The root-cause board. The fishbone, the why chain and the cause panel on one screen. QA decides.
4
Each CAPA aims at the cause, on every line that shares it
Replace all 8 tip seals on Line 1, because every seal has the same 1,840 hours. Change seals by operating hours on Lines 1, 2 and 4, as Line 3 already does. Deferring a nozzle inspection needs QA review. The check-weigher alerts when one nozzle drifts 1% from the others.
One proposal appears struck out with its reason: raising the nozzle 4 dose by 0.06 mL would move the number back and leave the worn seal in place, while the other seven seals have the same hours.
CAPA tied to the cause. The symptom fix stays visible, struck out, so a reviewer sees it was considered.
5
Dana signs, with the meaning of her signature
Dana reviews the deviation, root cause, CAPA plan and product impact on one screen. She chooses what her signature means, "I approve the root cause and the CAPA plan", and enters her user ID and password. Or she returns the case to Sam with a comment.
Once signed, the stage moves to CAPA and four actions open as CAPA-2026-0094 to 0097. The correction, stopping nozzle 4 and replacing its seal, is already marked done.
The electronic signature. Name, meaning and credentials, in the pattern 21 CFR 11.50 describes.53
Three things a careful reviewer would still ask of this sample file. The screens are sample data, and these are worth raising in your own process.
First, the proposal says engineering inspects at 2:00 pm, and the sample shows no inspection result before the signature on day 0: in a real plant, close that check first or return the case.
Second, the plant's settings include "Repeat of a deviation within 24 months: one class higher", and this repeat still shows Minor, so ask why.
Third, the effectiveness check runs 90 days, about half a seal's life at this plant's pace (section 09), so it should carry a further reading at the first hour-based change.
15 · The evidence behind the cause
The evidence behind the worn seal: tagged records, a matched Line 3 case and four weighed causes
In shortThe investigation workspace holds 12 sources for this case, each fact with its passage. Findings are tagged as key, contributing, pattern, ruled out or arguing against. A similarity search shows an earlier case and what its CAPA left out. Four causes are ranked with evidence on both sides, and any record opens at the line that was cited.
The evidence board. The work order shows 1,840 hours. The fictional filler manual sets 1,500. The pump's service record is tagged as arguing against the pump, and the recipe trail and daily check as ruled out.
The repeat, found. DV-2025-0466 shares the failure mode. Its CAPA-2025-0402 changed Line 3 only, which the banner states. The second match was read and set aside, with its reason shown.
Four causes, weighed. Worn seal 76%, pump piston 17%, recipe 5%, check-weigher 2%. These percentages are the screen's sample confidence, a ranking aid for QA. A recipe error "would move all nozzles, not one".
Fishbone and 5-Why. The chain runs from light vials to the plan that counts months, and then to the earlier fix that stopped at one line.
Every citation opens. A number beside a fact opens the record at the passage. Here it is the deviation report, with the immediate actions below it.
16 · Report and CAPA plan
The cited investigation report and the five-action CAPA plan on screen
In shortThe report writer drafts in the plant's template: summary, event and immediate actions, data reviewed, root cause, product impact, CAPA plan and effectiveness check. It is marked as a draft until QA signs, with a citation on each claim. The plan gives each action a type, an owner and a date, and any change it needs goes to change control.
Draft v1. Written by the report writer, every claim cited. A person can rewrite a section or download it as a Word file.
Product impact. "No light vial reached the batch": the check-weigher weighs every vial and rejected all 1,212 below 2.00 g. The sample says filling can restart after the seal change and a passed weight check.
The plan, proposed. Omar Haddad owns the seal changes, Lena Ortiz the QA review of deferrals, and Jonas Harbeck the drift alert. The check: no single-nozzle drift above 1% on Lines 1 to 4 in the next 90 days, with every seal change logged by operating hours, review January 15, 2027.
Signed. The status changes to Approved and each action has a number. Only a named person moves a deviation to CAPA or Closed.
17 · Clocks, CAPAs and settings
Investigation clocks, the CAPA register, effectiveness ratings and the plant's own rules
In shortAround one case sit the screens a head of quality uses every day: every open deviation on its clock, the CAPA register, proposed effectiveness ratings a person accepts or rejects, trends by cause and area, and settings where the plant chooses its own clock, approvers and rules. The figures on these screens are sample data for a fictional plant.
Open deviations. Each with its class, stage and day count, filtered by waiting for QA, at risk of the 30-day target, repeats, or owner.
Day 28 of 30. The clock keeper warns at day 20 and drafts an extension request at day 25, with the reason, the work left and a new date. Only the head of quality can approve it.
The CAPA register. Every action traces to its deviation. The tiles, including 92% effective at first check, are sample figures on a fictional plant.
Effectiveness, proposed. The run finds CAPAs with a check due, searches new deviations for the same failure mode and checks scope. It proposes a rating. A named person decides, Lena Ortiz on this sample, under the route the quality unit sets.
The dashboard, on sample data. The before-and-after series is written into the sample and measures nothing real. The solution's design targets are about 5 days to a root cause and 94% closed within 30 days. Measure yours.
Causes, repeats, areas. Repeats count the same failure mode within 24 months. A note says "People" is accepted only with the process reason behind it.
Your clock, your approvers. The target can be 30, 45 or 60 days. Separate approvers can hold root cause and CAPA, critical deviations, extensions and effectiveness.
Rules as rows. "Any growth in a Grade A sample" is Major. Grade A is the critical zone for high-risk sterile operations in EU Annex 1.19 A look-back setting covers similar cases, a threshold covers "most likely", and a switch checks each CAPA's scope across lines.
On the sample plant, method and machine causes outnumber people, with a rule behind that
486 approved root causes, October 2025 to September 2026, fictional
486causes
Method or procedure34%
Machine or equipment22%
People18%
Material11%
Measurement9%
Environment6%
Fictional example from this guide
Show the numbers
Part
Value
Method or procedure
34%
Machine or equipment
22%
People
18%
Material
11%
Measurement
9%
Environment
6%
18 · Agents and sign-offs
The quality unit approves root cause and closure, and five agents do the reading and drafting
In shortAn evidence gatherer, a similarity finder, a root-cause analyst, a report writer and a clock keeper each have one job and stated limits. They propose and draft. The quality unit decides root cause and closure, as 21 CFR 211.22 expects. Each step goes on an audit trail, and the solution reads the records you already run.
What each agent does, from evidence gatherer to clock keeper, and what it may never do
Evidence gatherer
Reads the deviation report and pulls batch record steps, equipment, maintenance, utility and room data for the event window, quoting each fact with its passage.
Never changes a GMP record, or reads outside the plant, batch and equipment named.
Similarity finder
Searches past deviations and CAPAs for the same failure mode, equipment class and product, and checks whether earlier CAPAs covered this line.
Never merges or closes records, and it shows the reason for each match.
Root-cause analyst
Fills the six bones, ranks candidate causes with evidence for and against, builds the why chain and ties each CAPA to the cause.
Never approves, or settles on human error without the process reason behind it.
Report writer
Drafts the investigation report in the plant's template, with a citation on each claim.
Never marks a draft final.
Clock keeper
Proposes the class from the plant's rules, starts the clock, warns at day 20 and drafts an extension at day 25.
Never extends a clock, or sets a class without naming the rule.
Signatures on a deviation: QA lead, head of quality and the effectiveness rater
DO
Dana Okafor · QA lead
Approves the root cause and the CAPA plan with an electronic signature, or returns the case to the investigator.
"Show me what the records say for and against. Then I'll sign."
MC
Dr. Maya Chen · Head of Quality
Gives the second approval on Critical deviations and decides every clock extension.
LO
Lena Ortiz · Microbiology and aseptic
Rates each CAPA effective or not effective. On the sample plan she also owns the deferral action, so a real plant would name someone else to rate that one.
SP
Sam Patel · Production supervisor
Opens deviations and owns the investigation. He reviews the agents' work and can edit it.
OH
Omar Haddad · Engineering
Owns maintenance plans and equipment CAPAs, each with a due date.
The solution's design estimate cuts record retrieval most, and analysis keeps the most days
Calendar days for a typical Minor or Major deviation, by hand and with the solution
By handWith the solution
Report, class, start clock1 day0.1 days
Pull batch, equipment, maintenance and room logs6 days0.5 days
Search past deviations and CAPAs2 days0.4 days
Fishbone and 5-Why5 days2 days
Write report and CAPA plan3 days1 day
QA review and signature2 days1 day
Fictional example from this guide · An estimate from the solution's own design, summing to 19 and about 5 days. It is a design target, with no measured results behind it. Your pilot should replace it.
Show the numbers
By hand
With the solution
Report, class, start clock
1 day
0.1 days
Pull batch, equipment, maintenance and room logs
6 days
0.5 days
Search past deviations and CAPAs
2 days
0.4 days
Fishbone and 5-Why
5 days
2 days
Write report and CAPA plan
3 days
1 day
QA review and signature
2 days
1 day
From batch records and maintenance logs to a cited report and a CAPA plan
The solution reads what an investigation already runs on, and leaves behind a signed decision with its evidence.
From your plant systems
Electronic batch records and in-process checks
Equipment run logs, check-weigher data, recipe audit trails
Maintenance work orders, plans and supplier manuals
Environmental and utility logs
From your quality system
Deviation reports
Past deviations and CAPAs
Your classification rules, clock and approvers
Your report template
Agents read, weigh and draftEach fact cited to its passage, each cause weighed for and against
QA decides and signs
Read-only on GMP records
Outputs
A fishbone with each cause and its records
Ranked causes, for and against
A cited investigation report
A CAPA plan tied to the cause
Effectiveness ratings proposed for a person to decide
Governance
Roles and separation of duties set per plant
Signatures with their meaning recorded
Audit trail of each agent step and human decision
SOC 2 Type II audited; information security managed to ISO 27001
It connects by category: batch record, maintenance, laboratory, environmental monitoring and quality management systems, with data staying in the plant's own workspace. The same setup extends across lines and plants, each with its own approvers and clocks.
Part C · Are you ready to automate?
Buying deviation and CAPA management software: the cost of thin investigations, the return and a test on your closed cases
If you run a plant's quality system, investigate its deviations, or answer for them to inspectors, this part helps you decide: the cost of weak investigations, the likely return on automating the reading, the gaps to close first, and the questions that test any vendor, including us.
19 · What errors and delays cost
What thin investigations and repeat deviations cost your plant
In shortWe found no published cost per deviation, so your own closed files are the evidence. A few public figures frame the risk: how often investigations get cited, how inspectors grade the root cause clause, and one estimate of how many deviations return. Three costs matter, and each has a different size: the batch on hold, the repeat, and the citation.
33
citations of 21 CFR 211.192 per 100 drug Form 483s in fiscal 2025, our arithmetic on 236 and 713. The rate has stayed between 31 and 40 for seven years.7
FDA observations data, FY2025
210
MHRA inspection findings under EU GMP's root cause clause in 2019, across 176 of 258 inspections in the UK and abroad, more than any other reference. Newest GMP data on MHRA's page.41
MHRA, 2019 data
15–20%
of deviations recur because of ineffective remediation, from McKinsey's conversations with pharma companies. An impression and no measured benchmark. We read a summary, not the full article.39
McKinsey
At 400 deviations a year, each five points of repeat rate adds 900 investigation hours
Hours a year on repeat investigations, by repeat rate, at 400 deviations and 45 hours each
900 hours5%
1,800 hours10%
2,700 hours15%
3,600 hours20%
Illustrative · replace with your own numbers · 400 deviations and 45 hours are assumptions, the calculator's defaults below, so replace them. A repeat can take longer than a first event, because it has to explain the first one too.
Show the numbers
Repeat rate
Hours
5%
900 hours
10%
1,800 hours
15%
2,700 hours
20%
3,600 hours
What the public data leave to you. We found no independent figure for cost per deviation, hours per investigation, the value of a held batch, or the share of repeats avoided by software. When a vendor quotes a saving, ask which cases it measured, and when its clock began and ended.
Seven deviation costs you can size from last year's closed files
Cost
Where it stays hidden
Your number in about a week
Days to close
An average that hides a long tail
Export your system. Plot the distribution by class, with the top 10% named
People's hours
Investigators who also run a line
A two-week time sample on five open cases
Batch on hold
Warehouse and supply plans
Days each batch waited on an investigation, times finance's value of a day
Repeats
Titles that never match
Read 30 closed cases and search for the mechanism and equipment class, by hand
Human error share
A people category with no reason behind it
Count them, then read 20 at random against the six questions in section 07
Effectiveness that means nothing
Checks passed on completion alone
Read 30 closed checks: number, window, data source, independent rater
Extensions
Free text and email
Sort a year's reasons into engineering, supplier, laboratory and approver
What a weak CAPA program costs outside the quality budget
An independent system assessmentFDA has asked firms for independent assessments of the whole investigation system and the CAPA program.38,34
A withheld approvalFDA lists inadequate investigations among top citations behind facility withholds.44
Supply lostA batch held at the wrong time, on a product with a thin supply chain.42
The investigator's other jobThe line or lab that loses its supervisor for a week.
Evidence that decaysA part replaced, or a memory faded, before anyone looks at it.
20 · Your return
The return on automated evidence gathering: investigator hours first, hold days and repeats second
In shortValue comes from three places: hours spent finding and writing, batch days held, and repeat investigations avoided. The first is measurable in a pilot. The other two take longer to show, so keep them separate. The calculator shows each input. Replace the assumptions with your own numbers.
Investigator hours, batch hold days, avoided repeats and inspection readiness, priced one by one
Reading and writing
The file arrives assembled and cited
An investigator starts from the evidence, and a person's judgment time stays.
deviations × hours saved × hourly cost
Batch on hold
Earlier cause, earlier disposition
Counts only batches that actually wait on the investigation.
held batches × days saved × value of a day
Repeats
Scope reaches every line that shares the cause
The slowest to prove, since you need a year to see it.
Real value, with no honest number. Kept out of the total.
not in the calculator
Your hours back on a year of GMP deviations
Only the repeat rate traces to a published figure, the low end of McKinsey's stated range, itself an impression.39 Inputs marked illustrative are assumptions.
Your volumeHours per investigation, all peopleBatches on holdRepeatsYour cost
Illustrative yearly value
Investigator and QA hours saved0
Value of those hours$0
Value of earlier batch disposition$0
Value of repeats avoided$0
After your yearly cost$0
Hours alone, after your cost$0
Formulas, per year: Hours saved = deviations × (hours today − hours with automation) Hold value = batches × days earlier × value of a day Repeat value = deviations × repeat share × share avoided × hours per repeat × hourly cost After your cost = the three values − yearly cost
Saved hours are money only if your people do other work with them. Hold value is real only for batches that actually wait, and only if the batch has somewhere to go. Check the last row first: if the case works only with the two softer values, say so to whoever signs.
Hours saved per case decide whether volume alone pays for a tool
Deviations a year to cover $250,000 of yearly cost, on hours alone at $90 an hour
4 hours saved694 deviations
8 hours saved347 deviations
12 hours saved231 deviations
20 hours saved139 deviations
Illustrative · replace with your own numbers · Our arithmetic: 250,000 ÷ (hours saved × 90). Assumptions throughout.
Show the numbers
Hours saved per case
Deviations
4 hours saved
694 deviations
8 hours saved
347 deviations
12 hours saved
231 deviations
20 hours saved
139 deviations
21 · Readiness check
Score your quality unit's readiness: rules, records, signatures and CAPA scope
In shortEight questions, each scored 0 to 2, and a ninth to think about. A low score points at what to fix first, and most of those fixes are worth doing even if you buy nothing. Your answers stay on this page.
1
Deviation volume
What is the yearly count of deviations at your plant or network?
Why it mattersMore cases mean more hours to save and more repeats to find.
A strong answer"About 480 a year, 142 on the filling lines."
2
Your baseline
Do you know your distribution of days to close, your repeat rate on a defined rule, and your human error share?
Why it mattersWe found no public benchmark. Draft Annex 22 also asks that the performance of the process being replaced be known.46
A strong answer"Median 22 days, 11% over 45. Repeats 14% on mechanism and equipment class within 36 months."
3
Classification rules
Are your critical, major and minor rules written as testable rows?
Why it mattersA tool can follow only rules that are written down. ICH Q9(R1) warns about poorly designed scales.13
A strong answer"Twenty rows, each an event and a class, reviewed yearly, with how often QA changes the first call."
4
Records you can reach
Can a read-only connection reach batch, equipment, maintenance and environmental records for a time window?
Why it mattersA tool that cannot reach the maintenance system would have missed the cause in our example.
A strong answer"Electronic batch records and maintenance have APIs. Environmental data exports nightly."
5
Who signs root cause and closure
Is it written who approves root cause, CAPA, critical cases, extensions and effectiveness, with back-ups?
Why it matters21 CFR 211.22 puts this with the quality unit. Routes must exist before software can follow them.10
A strong answer"Named by role, a back-up for each, and nobody rates their own action."
6
CAPA scope and effectiveness
Do your CAPAs record what else shares the cause, and do effectiveness criteria carry a number and a window?
Why it mattersFDA's letters name scope and effectiveness as findings. Without a rule, software just speeds up the old habit.38,34
A strong answer"A scope list on each CAPA, and a criterion with a number, window, data source and independent rater."
7
Computerized system controls
Do you have a path to assess an AI-assisted GMP tool: risk class, intended use, testing, audit trail and change control?
Why it mattersEU Annex 11 and Part 11 apply today, and draft Annex 22 shows inspectors' direction.17,46,53
A strong answer"Validation and QA have agreed which outputs are critical, and a person's signature sits between each draft and the record."
8
Owner and budget
Does one person own the result, with time from QA, production and engineering?
Why it mattersThis crosses three departments. FDA's letters ask firms to assess whether the CAPA program is fully supported by executive management.38,34
A strong answer"The head of quality owns it, with a named engineer and investigator, for a ten-week pilot."
9
For reflection
If a part on one line failed this morning, how would your plant know by tonight which other lines share that part and whether an earlier fix ever reached them?
Why it mattersWhatever you cannot answer today is a gap that software or a process change could close.
A strong answerFor example: "one equipment list, a search on mechanism, a scope field on each CAPA, and a named person who reads it."
Which deviation work comes first at each readiness score
0–6
Explore
Read 30 closed deviations, measure the three baselines, write classification as rows, and name who signs what. You will want these steps whether or not you buy anything.
7–11
Ready to pilot
Replay closed cases with the approved causes hidden, then run one line alongside your current process while your own people sign every decision. Count causes matched, missed scope and days.
12–16
Ready to implement
Plan the system connections, the assessment of the tool for your intended use, who holds which role, and the rollout line by line and site by site.
22 · Vendor questions and a pilot
Nine questions for a deviation management software vendor, and a ten-week pilot on closed cases
In shortAsk us too. A demonstration on a clean case proves little. Replay cases you closed, with the conclusions hidden, and see whether the tool reaches your records, proposes causes your quality unit recognizes, and scopes actions across what shares the cause. Then run one line alongside your current process, with your own people signing each decision.
1
Testing root cause proposals on your closed deviations
1
Will you test on our closed cases, with approved causes hidden, and report misses separately?
Why it mattersClosed records carry back-references, such as a work order raised by the CAPA. A search that finds them has read the answer.
Strong answer · warning sign
Records cut off at day one, checked by your team.
"96% accuracy" with no denominator.
2
What does your confidence percentage mean, and how was it calibrated?
Why it mattersA 76% that is not calibrated is a rank. Draft Annex 22 section 9 speaks to logging and thresholds.46
Strong answer · warning sign
A stated method, tested on your closed cases.
A number nobody can explain.
3
What happens on a case where the cause was never established?
Why it mattersEU Chapter 1 allows the most likely cause, stated as that. A tool that always names a winner invites false confidence.8
Strong answer · warning sign
Open questions shown, and a low-confidence result marked undecided.
Every case has one clean answer.
2
Human error, repeats and CAPA scope
4
How does the tool treat a human error conclusion?
Why it mattersA model trained on past files can learn to blame operators.8,33
Strong answer · warning sign
Requires the specific act and the process reason.
"People" as one more category.
5
How do you find a repeat when no two titles match, and how do you check an earlier CAPA's scope?
Why it mattersA keyword search misses mechanism. Scope is cited on its own.38
Strong answer · warning sign
Search on mechanism and equipment class, then a check of each line.
A list of similar titles.
6
Can a person rate their own CAPA?
Why it mattersAn owner rating their own action leaves the effectiveness check with no independent reader.
Strong answer · warning sign
The system blocks it, by role.
A convention in the SOP.
3
GMP records, signatures and the AI inside
7
Which of your outputs do you consider critical, and which models produce them?
Why it mattersDraft Annex 22 turns on this. It is a draft and may change, so ask how the design would adapt.46,47
Strong answer · warning sign
A map, task by task, with the person who decides.
"Annex 22 ready." It is not yet final, so no one is.
8
Does anything you publish claim your product is validated or certified for GMP?
Why it mattersA customer's validation is for its intended use. A vendor can supply evidence for it and cannot do it for you.
Strong answer · warning sign
Audit reports, test evidence and a clear split of duties.
A "GxP certified" badge.
9
Can we read back, years later, what the tool saw, proposed and what a person changed?
Why it mattersAn inspector asks about a decision long after the model has moved on. 21 CFR 11.10(e) covers audit trails of record changes.53
Strong answer · warning sign
Sources, model version, draft and final, time-stamped.
Only the final report kept.
The pilot calendar: a blind replay on closed cases, then one production line in parallel
A blind replay on closed deviations comes first, so a live line never carries an untested tool
An example ten-week plan
Your teamVendor
Pick 30 closed cases, measure baseline
Read-only connections, rules as settings
Blind replay, causes hidden
Score the replay
One line in parallel, people sign
Compare and decide
Week 0246810
Illustrative · replace with your own numbers
Show the numbers
Activity
From
To
Pick 30 closed cases, measure baseline
0
2
Read-only connections, rules as settings
1
3
Blind replay, causes hidden
2
5
Score the replay
4
6
One line in parallel, people sign
5
9
Compare and decide
9
10
Spread the 30 cases by class and include at least two known repeats and two where the cause was never firmly established. How a tool behaves on an ambiguous case tells you more than a clean one. Thirty is a working number, chosen so that people can read the set in two weeks. It carries no statistical weight.
Measuring a deviation pilot: causes, scope, days and reviewer effort
Measure
How
Pass line, set before you start
Cause matched
Tool's first cause against the approved cause, read blind by two QA reviewers
At least as good as your own first-pass rate, the draft annex's "no decrease" idea46
Evidence against
Did it surface what argued against the approved cause?
Your reviewers would keep it in the file
Scope reached
Lines and products named, against a list your engineers wrote
No shared-equipment line missed in the set
Citations hold
Open 50 cited facts at random
All say what is claimed
Time to a proposed cause
Same clock on your closed cases and the parallel line, with conditions noted
Weighted last, since it is the easiest to flatter
Review effort
QA's minutes per case, in a time sample
Does not rise, and reviewers find what they need
A working session on your deviation process: ten deeper questions
Bring QA, production, engineering, the laboratory and validation into one room for two hours.
Which of our rules are law, and which are our own?
What does a repeat mean here, in one written sentence?
Who may defer preventive maintenance, and does QA see it?
Which parts wear by hours or cycles and sit on calendar plans?
How often does QA change a first class, and in which direction?
What share of "people" causes name the specific act?
Which effectiveness checks of the last 30 could have failed?
When did a passing final test last close the question of why?
Which day-one reports to FDA does our procedure check for, and who checks?
Who would notice if a tool's draft changed the way we write causes?
23 · Questions people ask
21 CFR 211.192, root cause, 30-day closure and CAPA software: common questions answered
In shortWhat new investigators and buyers look up, with each answer readable by itself.
What is a deviation in pharmaceutical manufacturing?
A deviation is a recorded departure from an approved procedure, specification or limit, such as a failed filter test or a fill weight below range. 21 CFR 211.100(b) requires that any deviation from written procedures be recorded and justified. An unexplained discrepancy or failed specification must also be thoroughly investigated under 21 CFR 211.192.
What is CAPA in pharma?
CAPA stands for corrective and preventive action. FDA's quality systems guidance describes three ideas under the term: a correction, root cause analysis with corrective action, and preventive action. In practice a CAPA gives each action an owner and a date, and someone later checks whether it worked.
What does 21 CFR 211.192 require?
It requires the quality control unit to review and approve production and control records before a batch is released. Any unexplained discrepancy or specification failure must be thoroughly investigated, whether or not the batch has shipped. The investigation extends to other batches and products that may be associated, and a written record includes the conclusions and followup.
What is the difference between a corrective and a preventive action?
A corrective action removes the cause of a problem that has happened, so it does not recur. A preventive action removes the cause of a potential problem elsewhere or later. Replacing worn seals on the failing line is corrective, and changing the plan on other lines that share the part is preventive. An immediate fix to the batch or machine is a correction.
Is 30 days to close a deviation an FDA requirement?
No. Part 211 sets no deadline for closing a deviation, and FDA's drug inspection program says "timely manner". An older FDA laboratory inspection guide mentions 20 business days and states it does not bind FDA. Thirty days is a common target that plants set for themselves, so a plant should be able to explain any time beyond its own rule.
Is human error an acceptable root cause?
Only with evidence. EU GMP Chapter 1 says human error should be justified, with care taken that process, procedural or system errors have not been overlooked. FDA warning letters have faulted investigations that named human performance with no specific error, and asked for analysis of the conditions behind it. Retraining alone rarely answers that.
How do you write a CAPA effectiveness check?
Start from what you would see if the failure returned. Name a measure with a number, a window long enough for the failure to recur, a data source the owner does not control, and an independent rater. "Operators retrained" confirms completion. "No single-nozzle drift above 1% across a full seal life" can fail, which is the point.
What is a repeat deviation?
A repeat deviation is a second event with the same failure mechanism, inside a window the plant sets for itself. A worn seal on two lines is a repeat, while two filter failures with different causes are two events. Matching on mechanism finds repeats that matching on titles misses, and recording whether the earlier action reached the new line shows why it returned.
Where is CAPA in the device QMSR?
FDA's Quality Management System Regulation took effect February 2, 2026, and incorporates ISO 13485:2016 by reference. FDA says clause 8.5.2 covers corrective action and clause 8.5.3 preventive action. Section 820.100 is no longer the citation for inspections under the new rule, and a May 2026 warning letter cites clause 8.5.2.
What does EU GMP Chapter 1 say about root cause analysis?
Clause 1.4(xiv) says an appropriate level of root cause analysis should be applied, set using quality risk management. Where the true cause cannot be determined, the most likely cause should be considered and addressed. CAPA effectiveness should be monitored and assessed. Chapter 1 has been in operation since January 31, 2013. A draft revision for ICH Q9(R1) was open for comment from September 3 to December 3, 2025, and it has a Q4 2026 target for final text and no adoption date.
Is a fishbone diagram required by FDA?
No regulation requires a fishbone, a five-why chain or any named technique. FDA's Compliance Program 7356.002 lists the effective use of such tools among indicators of a stronger quality system. What matters is the record behind each answer. A diagram with five empty bones and an asserted sixth shows little.
What are critical, major and minor deviations?
They are a plant's own severity classes. None of the US or EU GMP texts we read defines them for a plant. PIC/S PI 040-1 defines Critical, Major and Other for inspectors' deficiencies, and a plant can borrow the idea. The quality unit should have the final word, and reclassification should be normal and recorded.
Can AI be used for root cause analysis in GMP?
AI can gather records, find similar cases and draft for a person to decide. Draft EU GMP Annex 22 says large language models should not be used in critical GMP applications and asks for a qualified human in the loop elsewhere. That text is a draft, and EMA reports its scope is under discussion. The quality unit keeps the decision under 21 CFR 211.22.
How long does it take to go live with deviation management software?
It depends on your connections and your computerized system assessment, so ask for a plan on your systems. A sensible start is a ten-week pilot: replay 30 closed cases with the causes hidden, then run one line in parallel with your people signing. Keep the same rules and clock while you compare.
24 · The guide on one page
Ten steps for a sound deviation file, the November 2026 rules and 14 terms on one page
Print this page
In shortTen method steps, the November 2026 rules, the readiness scale and 14 terms, ready to print.
The method
Contain first, then check day-one reporting duties.
Write the class as a first call, and let QA change it with a reason.
Check every bone against a record, including the ones you trust.
Do the arithmetic before the meeting.
Show what argues against your favored cause.
Accept human error only with the specific act and the process reason.
List everything that shares the cause, and record why anything is out.
Aim actions above the training rung where you can.
Write a criterion that could fail, rated by someone who did not do the work.
Count extensions, repeats and human error each quarter.
Readiness, from eight questions scored 0 to 2: explore at 0–6, pilot at 7–11, implement at 12–16.
As of November 2026: 21 CFR 211.192 in force, no closing deadline · US device QMSR effective February 2, 2026, ISO 13485:2016 clauses 8.5.2 and 8.5.3 · EU GMP Chapter 1 from January 31, 2013, draft revision consulted in 2025, final text targeted Q4 2026 · EU Annex 1 fully applicable August 25, 2024 · ICH Q9(R1) January 2023 · draft Annex 22 not adopted · FDA's AI guidance still a draft.
14 terms
Deviation
A recorded departure from an approved procedure.
Nonconformance
The device plant's usual word for the same idea.
OOS result
A test result outside its acceptance limit.
Root cause
The condition the plant can change that let the failure happen.
CAPA
Corrective and preventive action.
Correction
The immediate fix to the problem in front of you.
Effectiveness check
A later measure of whether an action worked.
Quality unit
The group that approves or rejects, and sees errors investigated.
Fishbone
A diagram of causes on six bones: method, machine, material, people, measurement, environment.
5-Why
A chain of questions that ends at something the plant controls.
Form 483
FDA's list of inspection observations given to a site.
QMSR
FDA's device quality rule since February 2, 2026.
Qualified Person
The person who certifies a batch for release in the EU.
ALCOA
Attributable, legible, contemporaneous, original, accurate: the data integrity test.
25 · Sources
Sources
Accessed November 2026. Regulatory status statements are as of November 2026.
21 CFR 211.192, Production record review. Code of Federal Regulations, 2025 edition (revised as of April 1, 2025), the newest on govinfo on November 3, 2026. govinfo.gov
FDA, Compliance Program 7356.002 Drug Manufacturing Inspections, implementation date October 17, 2022. fda.gov
FDA, Guide to Inspections of Pharmaceutical Quality Control Laboratories, page content current November 13, 2014. The guide states that it does not bind FDA. fda.gov
FDA, Medical Devices; Quality System Regulation Amendments, final rule, 89 FR 7496, February 2, 2024. govinfo.gov
FDA, Quality Management System Regulation (QMSR) page, content current February 2, 2026. fda.gov
FDA, Warning Letter to Linemaster Switch Corporation, MARCS-CMS 730215, May 27, 2026. fda.gov
FDA, Inspection Observations data files, fiscal years 2019 to 2025, Devices and Drugs worksheets. The Frequency column summed by section and divided by the Summary sheet is our arithmetic. The files cover only Form 483s issued from FDA's system. fda.gov
European Commission, EudraLex Volume 4, EU GMP Part I, Chapter 1 Pharmaceutical Quality System, revision 3, in operation January 31, 2013. health.ec.europa.eu
FDA, Quality Systems Approach to Pharmaceutical CGMP Regulations, guidance for industry, September 2006. fda.gov
21 CFR 211.22, Responsibilities of quality control unit. 2025 edition. govinfo.gov
21 CFR 211.100, Written procedures; deviations. 2025 edition. govinfo.gov
FDA, Investigating Out-of-Specification (OOS) Test Results for Pharmaceutical Production, Revision 1, May 2022. fda.gov
ICH, Q7 Good Manufacturing Practice Guide for Active Pharmaceutical Ingredients, Step 4, November 10, 2000, sections 2.16 and 6.53. database.ich.org
European Commission, EU GMP Annex 16 Certification by a Qualified Person and Batch Release, section 3, in operation April 15, 2016. health.ec.europa.eu
European Commission, EudraLex Volume 4 page, read November 3, 2026. health.ec.europa.eu
European Medicines Agency, GMP/GDP Inspectors Working Group 3-year work plan, 2026 to 2028. ema.europa.eu
European Commission, EU GMP Annex 1 Manufacture of Sterile Medicinal Products, section 3.2, in operation August 25, 2023. health.ec.europa.eu
PIC/S, PI 040-1 Guidance on the Classification of GMP Deficiencies, January 1, 2019, section 4. picscheme.org
European Commission, Stakeholders' consultation on EudraLex Volume 4, GMP guidelines, Chapter 1, September 3 to December 3, 2025, with the draft text. Closed. A draft. health.ec.europa.eu
FDA, Compliance Program 7382.850, Inspection of Medical Device Manufacturers, implementation date February 2, 2026, Attachment A. fda.gov
21 CFR 211.180(e), General requirements (records and reports). 2025 edition. govinfo.gov
PMDA, Orange Letter, Deficiencies in multi-purpose manufacturing site, January 2025, read in GMP Platform's copy. Cites GMP Ministerial Ordinance Article 15(1)(i) and (ii). gmp-platform.com
Japan, Ministerial Order on the Standard of Manufacturing Control and Quality Control for Pharmaceuticals and Quasi-Pharmaceuticals, Order No. 179 of December 24, 2004, latest amendment Order No. 90 of April 28, 2021, Article 15. A tentative English translation, not a literal rendering. pmda.go.jp
TÜV Nord, ISO 13485:2016 reconfirmed: standard will remain unchanged until April 2030, January 13, 2026. A certifier's note; ISO's catalog was not read. tuev-nord.de
Schniepp SJ, Investigation Timeliness vs. Thoroughness: Finding the Right Balance, BioPharm International, December 1, 2018. A columnist's opinion. biopharminternational.com
Smith P, Elder D, Regulation and Compliance: Deviation Investigations, Pharmaceutical Technology, April 2, 2012. Two former senior FDA officials, writing as consultants. pharmtech.com
21 CFR 314.81(b)(1), NDA field alert report. 2025 edition. govinfo.gov
21 CFR 600.14, Reporting of biological product deviations by licensed manufacturers. 2025 edition. govinfo.gov
Peerally MF, Carr S, Waring J, Dixon-Woods M, The problem with root cause analysis, BMJ Quality & Safety 26(5):417-422, 2017. A paper on hospital incident investigation, used for its method points. pmc.ncbi.nlm.nih.gov
FDA, Warning Letter to Exela Pharma Sciences, LLC, MARCS-CMS 709859, July 2, 2025. fda.gov
FDA, Warning Letter to Pharmathen International S.A., MARCS-CMS 723680, May 27, 2026. fda.gov
FDA, Warning Letter to Fresenius Kabi USA LLC, MARCS-CMS 733107, September 22, 2026. fda.gov
Wangnick C, Investigation and Reduction of "Human Errors" in API Manufacturing, CARBOGEN AMCIS, October 2017. One company's presentation. carbogen-amcis.com
Gallant J, Human Error Is The Leading Cause Of GMP Deviations, Or Is It? Pharmaceutical Online, May 1, 2014. A consultant's column with no stated method. pharmaceuticalonline.com
NIOSH, Hierarchy of Controls, reviewed October 28, 2026. Written for workplace hazards; applied to CAPA by analogy. cdc.gov
FDA, Warning Letter to Excelvision Fareva, MARCS-CMS 703245, May 7, 2025. fda.gov
McKinsey & Company, Gen AI: A game changer for biopharma operations. We read a summary of this article, not its full text, on November 3, 2026. mckinsey.com
FDA CDER, Quality Management Maturity (QMM) Program white paper, 2023. fda.gov
MHRA, Good manufacturing practice inspection deficiencies, 2019 Deficiency Data spreadsheet, added October 15, 2020, the newest GMP data on the page. Counts by reference and grade are our arithmetic. gov.uk
FDA Drug Shortages Task Force, Drug Shortages: Root Causes and Potential Solutions. fda.gov
FDA CDER, Report on the State of Pharmaceutical Quality, Fiscal Year 2024, September 2, 2025 version. fda.gov
FDA CDER, Report on the State of Pharmaceutical Quality, Fiscal Year 2025, June 2026. fda.gov
Wang et al., Quantitative Analysis of the QMS for Pharmaceutical Manufacturing, Journal of Pharmaceutical Innovation, September 12, 2021. We read the abstract only. link.springer.com
European Commission and PIC/S, draft EU GMP Annex 22 Artificial Intelligence, consultation July 7 to October 7, 2025. A draft. health.ec.europa.eu
European Medicines Agency, Report of the multistakeholder workshop on expert contributions to AI guidance development (Annex 22), workshop of June 30, 2026, EMA/156789/2026. ema.europa.eu
FDA, Considerations for the Use of Artificial Intelligence to Support Regulatory Decision-Making for Drug and Biological Products, draft guidance, January 2025. fda.gov
European Medicines Agency, EMA and FDA set common principles for AI in medicine development, January 14, 2026. ema.europa.eu
Salami H, Smith-Goettler B, Yadav V, Can Foundational Large Language Models Assist with Conducting Pharmaceuticals Manufacturing Investigations? arXiv 2404.15578, April 24, 2024. All three authors work at Merck & Co. A preprint. arxiv.org
Mayer-Negm R, It's not the AI, it's the way you use it: Making LLMs work in the real world, Public Management and Governance Review, 2025, based on six interviews. openjournals.wu.ac.at
Arora A, How Generative AI is Transforming Deviation Management, ISPE iSpeak, November 20, 2025. The author is a director at an AI vendor. ispe.org
21 CFR 11.10 and 11.50, controls for closed systems and signature manifestations. 2025 edition. govinfo.gov
MHRA, GXP Data Integrity Guidance and Definitions, section 3.10. gov.uk
ISPE, GAMP Guide: Artificial Intelligence, July 2025. ispe.org
FDA, Computer Software Assurance for Production and Quality Management System Software, final guidance, February 2026. Scope: medical device production and quality systems. fda.gov
European Commission, Regulatory framework on AI, on Regulation (EU) 2026/1744: in force July 27, 2026; Annex III rules December 2, 2027; Annex I rules August 2, 2028. digital-strategy.ec.europa.eu
Next step
See it on your own closed deviations.
Explore the solution, or bring thirty investigations your plant has already closed, with the approved causes hidden, and we will run them with you so you can score the result yourself.
We use essential cookies to make this site work, and cookieless, anonymised analytics to understand how it's used. "Accept all" also turns on Google Analytics, which sets cookies. Privacy policy