SystemManufacturing & Quality

Learn · the clock, the backlog and the cost

Deviation closure time: where the days go, and what each one costs

Thirty days is a promise a plant made to itself — no CGMP regulation sets a deadline for closing a deviation. So the honest version of the metric is not whether you hit the date but what the days bought, and the public inspection data says plainly which part of an investigation inspectors find thin. This guide takes the clock apart, builds the three costs as arithmetic you can fill in, and shows the metrics Deviation & CAPA Management puts on a board.

Updated · 14 min read

See one case, screen by screen →
Watch with transcript →

Deviation closure time is the number of calendar days between opening a GMP deviation and closing it with an approved root cause, a CAPA plan and a product impact decision. Many plants hold themselves to thirty days, and miss it sometimes. The first thing to know is that the thirty days is theirs: neither US CGMP nor EU GMP sets a closure deadline for a deviation. The second is that the days are not spread the way the metric implies — the bulk of them go on finding and reading records, before anyone thinks about a cause. Botminds' Deviation & CAPA Management is built around that split: five specialist agents assemble the evidence with a citation on every fact, and a clock keeper that counts every open investigation, warns the owner and drafts an extension request — but cannot extend a clock, because only the head of quality can.

The figures that describe the sample plant on this page are sample data from a demonstration, and the two closure figures the solution publishes are design targets rather than measured results; both are marked where they appear. The inspection and shortage data is public, and linked where it is used.

Four numbers that frame the clock

236

FDA drug citations of 21 CFR 211.192 in FY2025 — 8.3% of 2,837, second of 208 cited references

210

MHRA citations of the EU GMP root-cause clause in 2019, at 176 of 258 inspections

62%

of 163 studied drug shortages followed disruptions associated with manufacturing or quality problems

0

CGMP sections that set a deadline for closing a deviation

Counts computed by us from the regulators' own data sets: FDA's FY2025 inspectional observation spreadsheet, Drugs worksheet (236 citations of 21 CFR 211.192 across its five sub-citations, out of 2,837 drug citations across 208 cited references) and MHRA's 2019 GMP deficiency data (5,292 rows, inspections 2019-001 to 2019-258; C1.4(xiv) cited 210 times at 176 of them). The shortage figure is FDA's own.Source: FDA inspectional observation data sets; MHRA GMP inspection deficiencies; FDA Drug Shortages Task Force report

How long does it take to close a deviation?

There is no regulatory benchmark, and that absence is itself the first useful fact: regulators do not publish deviation closure times, so there is no public average to hold a plant against. If you want to know how long it takes at your plant, the only honest source is your own closed investigations.

What can be said is how the time divides, because that is a matter of what the work consists of. An investigation has six jobs: report and classify the event and start the clock; pull the batch record, equipment run logs, maintenance work orders and room data for the event window; search past deviations and earlier CAPAs; do the root-cause analysis; write the report and the CAPA plan; and get QA to review and sign. Only one of those six is analysis. Three of them are retrieval, writing and routing.

That shape is why the common target of thirty days is both achievable and frequently missed. A plant whose records are in six systems and whose investigator is also running a line can spend a fortnight before the fishbone is drawn, and then has sixteen days for everything that actually requires judgement — in which an engineering inspection has to be scheduled, a supplier manual found, and a second approver's diary opened.

Is 30 days to close a deviation a regulation?

No. There is no CGMP section that sets thirty days, or any other number, for closing a deviation. 21 CFR 211.192 requires that a discrepancy or specification failure "shall be thoroughly investigated" and that a written record be made with the conclusions and followup, and it attaches no deadline to any of that (21 CFR 211.192). The thirty days in most quality manuals is a commitment the plant wrote for itself, usually to stop investigations drifting and to give batch disposition a predictable horizon.

What the regulators do set is an expectation of timeliness without a number. FDA's drug manufacturing inspection programme tells investigators to look at whether discrepancy and failure investigations were conducted in a "timely manner" using scientific evidence to identify the root cause (Compliance Program 7356.002, implementation date 17 October 2022). Europe's requirement is retrospective rather than per-case: the annual product quality review has to cover all significant deviations, their investigations, and the effectiveness of the CAPAs that came out of them (EU GMP Part I, Chapter 1 §1.10(iv)). Neither gives you a clock. Both give you an obligation to be able to explain the time you took.

The practical consequence is that a plant can be fully compliant at forty days and in trouble at twenty-five. A deviation closed inside the target with a cause of "operator error" and a CAPA of "retraining" satisfies the plant's own metric and fails the regulation it was written under, because thoroughness is what the regulation asks for and speed is not. What a GMP investigation has to rule out before human error stands is the test that actually applies.

Where a deviation’s days actually go

Take the six jobs and put calendar days against them. The split below is the estimate the solution publishes for a typical Minor or Major deviation, run by hand and then with agents doing the reading. It is an estimate and stays one: nineteen calendar days against five, on the same six steps, with the analysis step shortened least because it is the step a person has to do.

The six jobs inside one investigation, by hand and with Deviation & CAPA Management

By hand19.0 calendar days
Report and classify1 d
Pull batch, equipment, maintenance and room records6 d
Search past deviations and CAPAs2 d
Root-cause analysis5 d
Write the report and CAPA plan3 d
QA review and signature2 d
  • Report and classify1 d
  • Pull batch, equipment, maintenance and room records6 d
  • Search past deviations and CAPAs2 d
  • Root-cause analysis5 d
  • Write the report and CAPA plan3 d
  • QA review and signature2 d
With the records already read and cited5.0 calendar days
Reporting, records and the search, together1.0 d
Root-cause analysis2 d
Write the report and CAPA plan1 d
QA review and signature1 d
  • Reporting, records and the search, together1.0 d
  • Root-cause analysis2 d
  • Write the report and CAPA plan1 d
  • QA review and signature1 d
Estimated split for a typical Minor or Major deviation, in calendar days, published by the solution and reproduced here as an estimate — not a measured result, and not a figure from any customer. The second lane's first bar is three steps drawn together because none of them fills a day: reporting and classifying 0.1, pulling the records 0.5, searching past cases 0.4. Read the shape rather than the ratio: retrieval and searching fall furthest, analysis falls least, and QA review and signature stay human work.

Two things in that shape are worth more than the totals. The first is that the step with the most days to give is the dullest one — finding records — and the step with the fewest is the one everybody argues about. The second is that the last row barely moves. QA review and signature is a person reading a case and putting their name to a decision, and no amount of automation shortens it, nor should it: 21 CFR 211.22 puts that authority with the quality unit, and the solution is built so that agents propose and only named people approve.

There is a hidden seventh job that does not appear on any timeline: waiting. An engineering inspection scheduled for Tuesday, a supplier who answers in four days, a second approver on holiday. Those days are real, they are not anybody's fault, and they are the usual reason a well-run investigation needs an extension.

What is a deviation backlog, and what it does to the next investigation

A deviation backlog is the stock of investigations that are open past the plant's own target. It behaves like any other queue: it is not a measure of how slow the work is, but of the gap between the rate events arrive and the rate they are closed, and it compounds. Every day an investigation stays open, it takes a slice of the same investigator's attention, and the next event arrives to a desk that is already full.

The damage a backlog does is not mainly to the metric. It is to the quality of the investigations that follow, in three specific ways. Memory decays: an operator asked on day thirty-five what the room sounded like on day one gives a worse answer than one asked on day two. Evidence decays: run data ages out of local storage, the filter is discarded, the line is cleaned, the seal is replaced before anyone inspects it. And under pressure, investigations converge on the fastest defensible cause — which is very often the person nearest the event — because a cause that needs an engineering study costs days the desk does not have.

That last effect is why backlog belongs on the same slide as root-cause category. If the share of deviations closed with a people cause rises while the backlog rises, the two numbers are telling one story. At the sample plant the share of approved causes in the people category is 18% of 486 over twelve months, down from 41% two years earlier, and the stated reason is a rule rather than a trend: the analyst accepts human error only with the process reason behind it.

The three costs: the batch on hold, the repeat, and the citation

A deviation costs money in three separate places, and conflating them produces a business case nobody believes. The figure below is a worksheet rather than a claim: there is no public cost per deviation to borrow, so the arithmetic is written out and the reader's own numbers go in it.

What a deviation costs, written as arithmetic rather than a number

The costThe sumWhere your number comes fromWhat to watch

The batch waiting

The sumdays on hold × what a day of that batch is worth

Where your number comes fromOnly you have the second number: the batch value, the line time it blocks, or the order it is promised to.

What to watchCount the days the batch actually waits on the investigation, not the whole investigation. A Minor deviation on a released batch costs nothing here.

The repeat

The sumthe second investigation + the second CAPA + the batches between them

Where your number comes fromTake it from your own closed cases: how many investigations last year had a matching failure mode already on file?

What to watchThe second investigation is usually dearer than the first, because it now has to explain the first one as well.

The citation

The sumthe remediation the letter asks for + the time of the people who do it

Where your number comes fromThe asks are public. FDA has demanded an independent assessment of a firm’s whole investigation system and an action plan to remediate it.

What to watchThis cost is lumpy and rare, and it is the one that is never in a business case until it arrives.

A worksheet, not a claim. Regulators publish neither a cost per deviation nor an average closure time, so this figure gives the three sums and leaves the inputs to the plant that fills them in. The one public input is the third row: the remediation FDA has asked for in writing after an investigation-system citation.Source: FDA warning letter, 7 May 2025

The third row is the one hardest to price, so it is worth reading what a citation actually asks for. After finding that a sterile manufacturer's complaint investigations "were not thorough, did not appropriately expand in scope", FDA required "a comprehensive, independent assessment of your overall system for investigating deviations, discrepancies, complaints, OOS results, and failures", with "a detailed action plan to remediate this system" covering "investigation competencies, scope determination, root cause evaluation, CAPA effectiveness, quality assurance unit oversight, and written procedures" (FDA warning letter, 7 May 2025). That is a consultant, a programme and a year, requested in one paragraph.

The second row — the repeat — is the one a plant can price from its own files tonight, and it can be the largest in aggregate. It is also the one a closure-time metric cannot see at all, because a repeat is two investigations that both closed on time. Why the same failure returns on another line is the mechanism behind that cost.

What the public citation data says about thin investigations

FDA publishes, every fiscal year, a spreadsheet of the areas of regulation cited on its system-generated Form 483s. It is the closest thing the industry has to a public scoreboard on investigations, and it says the same thing five years running: the investigation clause is at or near the top.

FDA drug citations of 21 CFR 211.192, by fiscal year

FY2021
86
FY2022
170
FY2023
175
FY2024
173
FY2025
236
Our count from FDA's inspectional observation data sets, Drugs worksheet of each fiscal year, summing the five sub-citations under 21 CFR 211.192. Read the level, not the slope: FY2021 inspection volumes were depressed, and the spreadsheets cover only 483s generated by FDA's electronic inspection tools, not manually prepared ones.Source: FDA inspectional observation data sets

The shape inside the FY2025 number is more useful than the number. The regulation generates five distinct citations, and they divide into two kinds: one about whether the investigation was thorough and far-reaching enough, and three about whether anything was written down. If the industry's problem were filing, the record-keeping citations would dominate. They do not.

The five citations inside 21 CFR 211.192, FY2025

236 drug citations

69.5%
13.6%
9.3%
3.8%
3.8%
  • Failure to thoroughly review a discrepancy or failure · 164 · 69.5%
  • Written record incomplete · 32 · 13.6%
  • No written record · 22 · 9.3%
  • QC unit review of records · 9 · 3.8%
  • Did not extend to other batches · 9 · 3.8%
Our count from FDA's FY2025 inspectional observation data set, Drugs worksheet. Seven citations in ten are about the thoroughness of the review itself, not about filing. The smallest slice — investigations that did not extend to other batches or products — is the one that produces repeats.Source: FDA inspectional observation data sets

Europe's inspectors reach the same clause from the other side. MHRA's published row-level deficiency data for 2019 — 5,292 findings across 258 inspections, the most recent year it has released — has EU GMP Chapter 1 §1.4(xiv), the root-cause-analysis clause, as the single most-cited reference: 210 findings at 176 of the 258 inspections, of which six were graded Critical and a hundred Major (MHRA GMP inspection deficiencies; counts ours from the spreadsheet). Two regulators, two schemes, one clause. The thing that gets cited is not the deviation; it is what the investigation did about it.

How do you justify a deviation extension?

With the three things that make an extension a decision instead of an apology: why the remaining work cannot be done inside the target, what that work is, and the new date. An extension that says "awaiting information" is a confession. One that says "the engineering inspection of the nozzle set is scheduled for the 14th, the supplier's response on seal wear is due the 16th, and the report can be drafted within three days of both, so the new date is the 22nd" is a plan a head of quality can approve or refuse on the facts.

Three habits make the difference in practice. Raise it before the target passes, not after, so the approval is a decision rather than a correction. Ask once, with the whole remaining path, rather than in weekly increments. And record the reason in a category the plant can count — waiting on engineering, waiting on a supplier, waiting on laboratory work, waiting on an approver — because a year of those categories is the most direct evidence you will ever get about where investigations actually stall.

In the sample plant this is mechanical rather than virtuous. The clock keeper counts every open investigation each morning, warns the owner at day 20, and drafts an extension request at day 25 with the reason, the work left and a proposed new date. It cannot extend a clock; the head of quality approves one. Both the target and the warning day are settings — 30, 45 or 60 days, and a warning at day 15, 20 or 25 — because the clock is the plant's promise, not the software's.

The clock, the closure rate and the repeats on one board

A dashboard for Plant 3 in Leiden covering October 2025 to September 2026. Four tiles read: median time to a root cause 15 days, with 5 in September against 19 before agents; closed within 30 days 72 per cent, with 94 per cent in September against a target of 90 per cent; repeat deviations 28, falling from 11 in Q4 2025 to 3 in Q3 2026; and open CAPAs 35, one overdue and six due within 14 days. A bar chart shows median days to a root cause by month, dropping from the low twenties to single figures from May when agents start. A line chart shows the share closed within 30 days rising from about 60 per cent to 94 per cent against a dashed 90 per cent target line. A horizontal bar chart gives approved root causes by category across 486 investigations: method or procedure 34 per cent, machine or equipment 22 per cent, people 18 per cent, material 11 per cent, measurement 9 per cent, environment 6 per cent, with a note that people is accepted only with the process reason behind it, down from 41 per cent in 2024. A fourth panel charts repeat deviations by quarter.
Deviation & CAPA Management on the fictional sample plant. Every figure on this screen is sample data from a demonstration, not a customer's measured result; the solution's own published figures of five days to a root cause and 94% closure are design targets.

What does a deviation cost? The numbers you can defend

Build the case out of numbers you can show the source for, and leave the rest out. Four hold up under questioning.

The first is your own closure distribution — not the mean, the distribution. Ten investigations at eighteen days and two at ninety is a different plant from twelve at thirty-five, and only one of those two plants has a problem worth spending money on. The second is your own repeat rate, counted on a defined window with a defined matching rule, with the equipment classes named. The third is the public one: a citation under this clause is among the most likely a drug inspection produces, and the remediation it triggers is on the public record in the letters themselves.

The fourth is the supply argument, and it is the strongest one available to a quality director who needs the board's attention. FDA's drug shortages task force found that of 163 drugs that went into shortage between 2013 and 2017, "62 percent went into shortage after supply disruptions occurred that were associated with manufacturing or product quality problems". The same report explains why nobody pays for preventing them: "The lack of information does not enable the market to reward drug manufacturers with price premiums for mature quality management, back-up manufacturing capabilities, or risk-management plans, nor does it penalize manufacturers that fail to invest in modernization… Thus, manufacturers are more likely to keep costs down by minimizing investments in manufacturing quality, which eventually leads to quality problems, triggering supply disruptions and shortages" (Drug Shortages: Root Causes and Potential Solutions).

Read that as a budgeting fact rather than a policy complaint. Quality investment is not rewarded by the market, so inside a company it has to be argued on avoided cost and avoided risk. The three sums above are that argument, with the plant's own numbers in them.

What are good quality metrics for deviations?

Five, and only one of them is a clock. A metric set that is only clocks will be hit, and hitting it is not the objective.

Five deviation metrics worth a board slide

  1. Median days to a proposed root cause

    Not to closure. This is the part that depends on how fast evidence can be assembled, and it moves when the work changes rather than when the paperwork does.

  2. Share closed inside the plant’s own target, with the distribution behind it

    Report the long tail beside the percentage. One investigation at ninety days says more about the quality system than twenty at twenty-eight.

  3. Share of extensions, by stated reason

    The reasons are the finding. A year of "waiting on engineering" is a resourcing decision disguised as a quality metric.

  4. Repeat rate by equipment class

    Counted on a stated window and a stated matching rule. Naming the equipment turns a number into a work list.

  5. Share of CAPAs rated not effective at the first check

    A plant where every CAPA is effective first time is not checking. This is the metric a rising number is good news for, up to a point.

Two pairings make the set honest. Put closure time next to root-cause category, so a speed improvement bought by blaming operators shows up. Put the repeat rate next to the closure rate, so a quality system cannot report a good year while closing the same failure twice. At the sample plant those four tiles sit on one screen: median days to a root cause, closure within the target, repeats by quarter and open CAPAs with the overdue count.

One investigation on its clock, with the evidence already assembled

The root-cause board showing deviation DV-2026-0412, a filter integrity test failure on Line 2, Major and flagged Repeat, on day 4 of 30 and due 1 November. A left column lists eleven open investigations with their day counts, from day 1 to day 14 of 30, each with its owner and status. The centre shows a proposed root cause — the filter was tested while still warm from the hot water flush, Method, 82 per cent, five points for and one against, with QA deciding — over a fishbone whose method bone carries no cool-down step, test 6 minutes after flush and membrane not fully wetted. A why chain runs from why the test failed to why Line 2 was missed, ending with CAPA-2025-0311 changed the Line 1 record only. The right panel lists the supporting evidence with numbered citations and shows the batch record passage, step 14.3, with the recorded flush volume and the diffusion test time highlighted.
Deviation & CAPA Management on the fictional sample plant. The clock in the header is the plant's own 30-day promise, and the day count beside each investigation in the list is what the clock keeper counts every morning.

A last word on the number this page is named after. Closure time is worth measuring, and it is worth hitting; it is simply not evidence of a good investigation, because the regulation it serves asks for thoroughness and says nothing about days. Measure the clock, publish the distribution, and then measure the things the clock cannot see. What a CAPA has to prove before anyone calls it effective is a different measurement with a different window; to see the clock, the warnings and the extension request together, start from Deviation & CAPA Management.

Questions people ask

What is a good deviation closure time?

There is no published benchmark, and no regulator sets one. Thirty days is a common self-imposed target, with forty-five and sixty also in use for complex or Critical cases. A more useful pair of questions is what share of your investigations close inside your own target and how long the longest tail runs, because a plant that meets the target 95% of the time with a few cases at ninety days has a different problem from one that meets it 70% of the time with nothing beyond forty-five.

Can a deviation be closed before the CAPA is complete?

In most quality systems yes, and in many it is the normal path: the investigation closes on an approved root cause, product impact decision and CAPA plan, and the actions then run to their own due dates with their own owners and effectiveness checks. What matters is that the two clocks are reported separately. A plant that closes investigations promptly and lets CAPAs run overdue has moved the backlog, not removed it.

How many deviations does a plant open in a year?

It varies by orders of magnitude with the site's size, products and how low the reporting threshold is set, and there is no public per-site figure. A falling deviation count is also ambiguous, since it can mean better control or weaker reporting. Read it alongside the share of events found by the plant itself rather than by a customer, an inspector or a complaint.

Does an overdue deviation have to be reported to a regulator?

Not for being overdue. The closure target is internal, so missing it is a deviation from your own procedure rather than a reportable event. Separate rules can still compel a report because of what the event was — a biological product deviation report, a field alert or a defect notification — and those run on their own statutory clocks, not on the investigation's.

Does faster closure mean better quality?

Not on its own, and the public inspection data is the reason to be careful. The single most-cited observation under the investigation clause is a failure to review a discrepancy thoroughly, and thoroughness is the thing that a schedule pressure removes first. Faster closure is good news only when the share of causes in the people category, the repeat rate and the share of CAPAs rated not effective are all stable or improving beside it.

What should a deviation extension request contain?

The reason the work cannot finish inside the target, the specific work that remains with who owns each piece, and a new date that follows from it, raised before the target date rather than after. Categorise the reason so a year of extensions can be counted. In the sample plant the request is drafted automatically at day 25 with those three elements filled in, and only the head of quality can approve it.

Deviation & CAPA Management.
See it on your own files.

An agentic solution from Botminds. The fishbone fills itself from the records; every cause shows its evidence for and against, and every CAPA aims at the cause. Book a demo, or explore how it works.