Cleaning Validation and Scheduling in Pharma Manufacturing

By James C on October 1, 2026

pharma-cleaning-validation-scheduling

Cleaning takes more production time than almost anything else in a multiproduct pharma plant, and it rarely shows up as a named loss. Equipment waits to be cleaned, is cleaned, then waits to be used, all under validated limits for how long each state can last. Schedule cleaning badly and you lose hours to unnecessary full cleans, waiting and expired hold times. Schedule it aggressively without regard to validation and you put the validated state at risk. This guide explains which cleaning validation rules shape the schedule, how to build a cleaning matrix, how to sequence products, track hold times and set campaign lengths so the plant recovers time while keeping cleaning status defensible. To see cleaning-aware scheduling, book a short walkthrough.

Pharma planning · Cleaning validation and scheduling

Cleaning Validation and Scheduling in Pharma: Recover Lost Hours Without Risking Validated Status

Dirty hold, clean hold, campaign length and product sequence built into the schedule, so cleaning happens when it is needed and every equipment state stays inside its validated limits.

Why it matters
~1/3
Share of pharma equipment time typically lost to planned activities such as cleaning and changeover
PDE
Carryover limits must rest on a toxicological evaluation (EU GMP Annex 15)
Not alone
Visibly clean cannot be the only acceptance criterion under Annex 15
Validation rules that shape the schedule
Rule, what it defines and scheduling impact
Dirty hold time
Longest time equipment may wait before cleaning
Scheduling impact: Sets how soon cleaning must follow a batch
Clean hold time
Longest time clean equipment may wait before use
Scheduling impact: Sets when cleaning can be done ahead
Campaign length
Maximum batches or time between full cleans
Scheduling impact: Sets how long a product can run
Product sequence
Which product may follow which
Scheduling impact: Decides minor or full cleaning
Worst-case products
Hardest to clean, most potent residues
Scheduling impact: Sets limits for families of products
01The problem

Why Cleaning Is the Silent OEE Loss

Cleaning time is often buried inside planned downtime, so it escapes the attention unplanned stops receive. Benchmarks compiled by IntuitionLabs put typical pharma OEE in the mid-30s percent, with roughly one-third of time lost to planned activities such as cleaning, changeover and setup. In multiproduct suites, cleaning is usually the largest part of that.

Much of the loss is not the cleaning itself but the waiting around it: equipment sitting dirty because the cleaning crew is elsewhere, clean equipment expiring its hold time before the next batch is ready, full cleans done where a minor clean was validated, or a campaign cut short for no validated reason. Each of these is a scheduling problem, not a cleaning problem.

~1/3
of time lost to planned activities
Pharma KPI benchmarks
35–37%
typical industry-wide pharma OEE
Same benchmarks
Hold times
must be defined in cleaning validation
EU GMP Annex 15

Treating cleaning as part of the schedule, with its validation limits built in, recovers time without touching the validated process. We can look at your cleaning losses on a call.

02Validation rules

The Cleaning Validation Rules That Shape Every Schedule

The 2015 revision of EU GMP Annex 15 set out cleaning validation expectations that directly constrain scheduling. Knowing them precisely stops planners from being either too cautious or too bold.

Science-based limits
Carryover limits should be based on a toxicological evaluation, with the permitted daily exposure documented in a risk assessment.
Hold times
Dirty and clean hold times should be defined as part of cleaning validation. They become hard limits in the schedule.
Campaigns
Where products run in campaigns, validation should consider the maximum campaign length in both time and number of batches.
Risk-based runs
The number of validation runs should be based on risk assessment rather than a fixed rule.
Visibly clean
Visibly clean alone is not an acceptable acceptance criterion, though visual checks remain part of the process.
Worst case
Worst-case products should be chosen on a scientific rationale and reassessed when new products are introduced.

Every one of these limits can be expressed as a scheduling rule. When the planning system knows them, it can avoid breaches automatically instead of relying on planners to remember. We translate them during set-up.

03Cleaning matrix

Building a Cleaning Matrix for Your Products

A cleaning matrix states, for every pair of products, what cleaning is required when one follows the other on the same equipment. It is the foundation of cleaning-aware scheduling.

From productTo productRequired cleaningReason
Product A, batch nProduct A, batch n+1Minor clean, within campaign limitSame product, validated campaign
Low-potency AHigher-potency BMinor or full per matrixCarryover of A into B assessed against B’s dose
High-potency BLow-potency AFull cleanCarryover of B must meet PDE-based limit in A
Any productProduct with allergen or colour concernsFull clean plus verificationSpecific acceptance criteria
End of campaignAny productFull cleanCampaign length reached

The rows above are illustrative. Your matrix will come from your cleaning validation data, product potencies and equipment trains. Once it exists in digital form, the scheduler can choose sequences that need the fewest full cleans while never skipping one the matrix requires.

Keeping the matrix under change control, and reviewing it when products are added, is essential. We help digitize and maintain the cleaning matrix.

04Sequencing

Sequencing Products to Minimize Cleaning

With the matrix in hand, product sequence becomes a lever for recovering time.

Step 1
Group families

Group products that share equipment and have compatible residues.

Step 2
Order within families

Where the matrix allows minor cleans, order products to use them.

Step 3
Respect potency

Plan transitions from lower to higher risk where the matrix rewards it.

Step 4
Fit campaign limits

Size campaigns up to, not past, validated time and batch limits.

Step 5
Check hold times

Confirm every dirty and clean hold stays inside its limit.

Step 6
Balance demand

Check the sequence still meets delivery dates and stock targets.

Sequencing is a trade-off. The sequence with the fewest full cleans may not meet demand dates; the one that meets every date may need extra cleans. A scheduler that can compare both, with cleaning time and demand impact side by side, lets planners choose knowingly.

Even small sequence changes often remove several full cleans a month in a multiproduct suite. See a sequence comparison in a demo.

05Hold times

Tracking Dirty and Clean Hold Times Live

Hold times are where validated status is most often put at risk, because they depend on real events rather than plans. A batch finishes late, cleaning is delayed, and the dirty hold time quietly expires.

Example: dirty hold tracking on a granulator
Validated dirty hold time72 h
Batch endMonday 06:00
Time nowWednesday 09:00
Elapsed dirty hold51 h
Remaining before limit21 h
ActionClean by Thursday 06:00

Illustrative values. Live tracking shows every piece of equipment’s hold status and warns before any limit is reached.

If a hold time is exceeded, the usual consequences are extra cleaning, additional testing or a deviation, depending on your procedures. Live tracking prevents most of these by warning planners and cleaning crews while there is still time.

Clean hold times matter just as much. Cleaning too early, before the next batch is ready, can mean the equipment expires and needs cleaning again. Timing cleaning to the next use saves both labour and equipment time.

Hold time status should also gate equipment use on the operator panel, so expired equipment cannot be started by mistake. That link is built into our equipment status views.

06Campaign length

Setting Campaign Lengths That Balance Time and Risk

Longer campaigns mean fewer full cleans but more residue build-up and more batches at risk if a problem appears. Validated campaign limits set the ceiling; planning decides how close to run to it.

Short campaigns
  • More full cleans and changeovers
  • Lower build-up risk
  • More flexibility to respond to demand
  • Higher cleaning labour and utilities
  • More time lost to cleaning
  • Easier to fit around other products
Campaigns near the validated limit
  • Fewer full cleans
  • Build-up managed within validated limits
  • Less flexibility mid-campaign
  • Lower cleaning labour per batch
  • More production time
  • Needs stable demand and materials

The right answer differs by product. High-volume, stable products usually benefit from longer campaigns. Low-volume or volatile products may be better in shorter runs. Data on cleaning time, demand stability and past campaign performance makes the choice evidence-based.

Extending validated campaign limits is a validation activity, not a scheduling one, and needs its own evidence. Our specialists can help identify where it may be worth pursuing.

07Checklist

Cleaning Scheduling Checklist

Use this checklist to build cleaning into planning properly.

Data
Cleaning matrix digitized for all products
Dirty and clean hold times per equipment
Validated campaign limits in time and batches
Actual cleaning durations recorded
Planning
Sequences compared by cleaning time and demand
Campaigns sized to validated limits
Cleaning crews scheduled with production
Clean timed to next use where possible
Control
Live hold time tracking with warnings
Equipment status gates on the operator panel
Matrix and limits under change control
Worst-case review when products are added
Improvement
Cleaning and waiting time tracked weekly
Causes of extra cleans recorded
Hold time near-misses reviewed
Findings shared with validation team

The first measure most sites add is waiting time around cleaning, because it is usually the largest and easiest to reduce. Ask our team for a measurement template.

08Business case

Where the Recovered Hours Come From

Cleaning-aware scheduling rarely shortens a validated cleaning procedure. It recovers time from everything around it.

Fewer full cleans
Sequences that use validated minor cleans where the matrix allows.
Less waiting
Cleaning crews scheduled to match batch ends, so equipment does not sit dirty.
No repeat cleans
Cleaning timed to the next use, so clean hold times do not expire.
Fewer hold-time deviations
Warnings before limits are reached, avoiding extra cleaning and investigation.
Better campaigns
Campaigns sized to validated limits rather than habit.

Each source is small on its own. Together, in a busy multiproduct suite, they can add up to many hours a week. Measure your current cleaning and waiting time first, so the gain can be proven.

We usually start with one suite and one month of data to size the opportunity before any change. Book that assessment with our planners.

09iFactory

How iFactory Delivers Cleaning-Aware Scheduling

iFactory builds your cleaning validation limits into the schedule: it knows the matrix, tracks hold times live, sizes campaigns to validated limits and shows the cleaning cost of every sequence before you commit.
01
Digital cleaning matrix

Required cleaning for every product transition.

02
Hold time tracking

Dirty and clean hold status for every piece of equipment.

03
Sequence comparison

Cleaning time and demand impact side by side.

04
Campaign sizing

Runs planned up to validated time and batch limits.

05
Equipment gates

Expired or unclean equipment blocked on the operator panel.

06
Loss tracking

Cleaning and waiting time measured by suite and week.

It works with your ERP, MES and scheduling tools. Bring one suite’s schedule and we will show its cleaning losses in a session.

Cleaning pilot

Find the Hours Hidden Around Your Cleaning

Choose one multiproduct suite. We digitize its cleaning matrix and hold times, track cleaning and waiting live and compare your current sequence with cleaning-aware alternatives.

Illustrative alert
Granulator G-2 · Dirty hold

Equipment used for batch 5521 has been waiting 51 hours. Validated dirty hold is 72 hours.

Dirty hold used51 of 72 h

Window
21 h left
Action
Schedule cleaning on next shift
10In practice

A Hold Time Warning Acted On in Time

This exchange shows how a production planner might use iFactory in a solid dose suite.

Production planner and iFactory AI
Planner
Any cleaning risks this week?
iFactory AI
Granulator G-2 has been dirty for 51 hours after batch 5521. Its validated dirty hold is 72 hours, so it must be cleaned by Thursday 06:00. The cleaning crew is not scheduled on it until Thursday afternoon.
Planner
Can we move the crew?
iFactory AI
Yes. Moving the crew to G-2 on the night shift keeps it inside the limit. The fluid bed they were due to clean is clean-holding until Friday and does not need cleaning before its next batch.
Planner
Make that change.
iFactory AI
Done. G-2 cleaning is on the night shift, and the fluid bed cleaning moves to Friday morning, timed to its next use.
Turnkey hardware and software

iFactory ships as a pre-configured NVIDIA AI server, racked and ready with the cleaning-aware scheduling models loaded. Rack it, plug in power and Ethernet, and the AI is live on your network. Our scope covers sensors and data connections across production suites and planning systems, PLC/SCADA, MES, LIMS and ERP integration, cabling and network setup, operator and quality team training, and 24×7 remote monitoring.

Weeks 1–4
Ship, network, cameras

Server installed, sensors and system links live, historical batch, lab and maintenance records loaded.

Weeks 5–8
Train models, pilot

Models trained on your own batches and equipment, then run in parallel on one area with your quality and engineering teams reviewing every output.

Weeks 9–12
Go live, train teams

Rollout to the agreed areas under your change control and validation procedures, team training and 24×7 remote monitoring in place.

Software, server and integration come as one package. For pricing on your suites, contact our sales team.

FAQQuestions

Frequently Asked Questions

How does cleaning validation affect production scheduling?

Validated dirty and clean hold times, campaign limits and the cleaning matrix set hard rules for when cleaning must happen, how long equipment can wait and which products may follow each other.

What are dirty hold and clean hold times?

Dirty hold time is the longest validated time equipment may wait between use and cleaning. Clean hold time is the longest validated time cleaned equipment may wait before its next use. EU GMP Annex 15 expects both to be defined.

What is a cleaning matrix?

A matrix stating the cleaning required for every product-to-product transition on shared equipment, based on cleaning validation, product potency and residue limits.

How can scheduling reduce cleaning losses?

By sequencing products to use validated minor cleans, sizing campaigns to validated limits, scheduling cleaning crews to batch ends and timing cleaning to the next use.

Does better scheduling change our validated cleaning?

No. Scheduling works inside validated limits. Changing limits, such as extending campaign length, is a separate validation activity requiring its own evidence.

How long does it take to set up?

A first suite can usually be running within a 6–12 week rollout, including matrix digitization, hold time tracking and schedule links. Plan it with our planners.

Next step

Schedule Cleaning Like the Production Resource It Is

iFactory knows your cleaning matrix, hold times and campaign limits and plans around them, so you recover lost hours and every piece of equipment stays inside its validated state.

Illustrative dashboard view
Weekly time on cleaning, suite 2
Full cleans38 h

Minor cleans18 h

Waiting for cleaning13 h

Cleaning verification8 h

Waiting time is the easiest loss to recover through better sequencing.


Share This Story, Choose Your Platform!