2026-08-05 · 6 min read

Quality, standards & science: the discipline behind every batch

How SOPs, change control, OOS and OOT investigations, CAPA, vendor audits, complaint handling and annual reviews build quality into every batch.

Quality & testing · Regulatory · Sourcing

Technician in green coveralls and hairnet operating a stainless-steel packaging machine in a cleanroom

In pharmaceutical manufacturing, quality is not a final checkpoint. It is built into each stage of the process: raw-material selection, vendor approval, production, testing, release and post-market monitoring.

Equipment and technical skill are not enough on their own. Consistent batches depend on a quality system with defined procedures, controlled documentation, trained teams and scientific investigation when something goes wrong. This article walks through the parts of that system.

For the analytical side of the same discipline as it applies to cosmetic actives, see quality testing of cosmetic active ingredients, and what a supplier should be able to produce when a vendor is being qualified.

Standardised procedures come first

Quality is consistent only when processes are clearly defined and followed across departments.

Standard Operating Procedures (SOPs) set out how specific activities must be performed. They cover production, sampling, testing, documentation, equipment handling, cleaning, investigations and other quality-related operations.

Standard Testing Procedures (STPs) define the approved methods for testing raw materials, in-process samples, packaging materials and finished products, so that testing is performed the same way each time and results are accurate and reproducible.

Together, SOPs and STPs give Quality Control and production a controlled way of working. They reduce variation, make responsibility clear and tie each activity to approved requirements.

Procedures do not guarantee that every process will run exactly as planned. A quality system also needs a way to detect, assess and respond when something changes or falls outside expectations.

How deviations are investigated

A deviation occurs when an approved procedure, specification or process is not followed as intended.

Causes include equipment issues, process interruptions, documentation errors, environmental changes, human error and unexpected observations during manufacturing or testing. Whatever the cause, each significant deviation is documented and evaluated.

The investigation asks:

  • What happened?
  • Why did it happen?
  • What was the potential impact on the batch?
  • Could the same issue affect other products or processes?
  • What action is required to prevent recurrence?

A structured investigation lets the quality team decide, on evidence, whether the product still meets its standards. It also turns individual incidents into process improvements.

Change control assesses a change before it takes effect

Manufacturing sites change over time. Equipment is upgraded, suppliers change, test methods are improved and processes are optimised. Uncontrolled change introduces risk.

A formal change control system reviews each proposed modification before implementation. Changes in scope include:

  • Raw materials or packaging materials
  • Vendors and suppliers
  • Manufacturing processes
  • Equipment or utilities
  • Analytical methods
  • Specifications
  • Facility layouts
  • Software or documentation
  • Storage and transportation conditions

Each change is evaluated for its possible impact on product quality, process consistency, regulatory requirements and existing documentation. Testing, validation, training and approvals are completed before the change becomes effective, so improvement does not come at the cost of control.

OOS and OOT results need a full investigation

An Out-of-Specification (OOS) result falls outside an approved specification. An Out-of-Trend (OOT) result may still be within specification but shows an unusual shift against historical data or expected performance. Both are investigated.

The aim is not to find a convenient explanation or to repeat the test until it passes. The investigation examines the whole process: sampling, instruments, reagents, calculations, test methods, analyst practice, production records and environmental conditions.

The laboratory investigation first establishes whether the result could have an analytical cause. Where it does not, the investigation extends to manufacturing and process factors. Decisions then rest on an identified root cause rather than on assumption.

CAPA fixes the cause and prevents a repeat

Once the root cause is identified, Corrective and Preventive Actions (CAPA) are set. Corrective actions address the immediate issue; preventive actions reduce the chance of it happening again.

Depending on the investigation, CAPA may involve:

  • Revising an SOP or testing procedure
  • Retraining employees
  • Repairing or replacing equipment
  • Improving process controls
  • Strengthening documentation practices
  • Requalifying a vendor
  • Introducing additional monitoring
  • Modifying preventive-maintenance schedules

Closing a CAPA on paper is not the end point. The actions are implemented, monitored and checked for effectiveness, and a CAPA counts as effective only if the problem does not return.

Vendor audits extend control to suppliers

Product quality also depends on the materials, components and services bought in from outside. Vendor audits check whether suppliers have the facilities, systems, controls and documentation to meet the required standards. An audit may review manufacturing practice, testing capability, traceability, change management, storage conditions and complaint history.

Vendor qualification and periodic re-evaluation reduce supply-chain risk before it reaches production, starting with the first material that enters the process.

Market complaints are investigated like deviations

Quality management continues after a product is released. A market complaint shows how the product behaved in storage, transport, distribution and use. Complaints may concern packaging, appearance, labelling, performance or other quality attributes.

A structured complaint-handling system documents each complaint, then assesses and investigates it according to its seriousness and potential impact. The investigation may review batch records, retained samples, test results, packaging operations, distribution records and similar complaints, and may open a CAPA where it finds a gap.

Beyond the individual case, complaint data are reviewed for patterns that could point to a wider quality issue.

Recall readiness depends on traceability

A quality system has to be able to withdraw a product from the market quickly. Recall procedures set out the responsibilities, communication channels and actions needed to identify and retrieve affected product. Traceability records show where each batch was distributed and how to locate it.

Periodic mock recalls test whether the procedure works in practice.

Annual product quality reviews show the trends

An annual product quality review brings together a year of data to assess the overall performance of a product and its manufacturing process. It may cover:

  • Batches manufactured and released
  • Deviations and investigations
  • OOS and OOT results
  • Process and specification changes
  • Market complaints
  • Product recalls
  • Stability data
  • Reprocessing or rejection trends
  • CAPA performance
  • Vendor-related observations

Reviewed together, these records reveal recurring issues and gradual process drift that do not show up when each event is considered on its own.

Quality is shared across functions

Quality is not only a laboratory test or a release signature. It shows in how deviations are investigated, how changes are controlled, how suppliers are evaluated, how complaints are handled and how lessons carry into later batches.

No single department owns it. Quality Control, Quality Assurance, production, engineering, procurement, warehousing and every other function that touches the product each contribute to a consistent batch.

Frequently asked

What is the difference between an SOP and an STP?

A Standard Operating Procedure defines how an activity must be performed: production, sampling, cleaning, documentation, investigation. A Standard Testing Procedure defines the approved analytical method used to test a material. One governs the activity, the other the measurement.

What is the difference between OOS and OOT results?

An Out-of-Specification result falls outside an approved specification. An Out-of-Trend result still meets specification but departs from historical or expected performance. OOT often signals a process drift before it becomes a failure, which is why both are investigated.

Why does change control matter?

Because uncontrolled change introduces risk. A new supplier, an upgraded instrument or a revised method can each shift product quality in ways that are hard to trace afterwards. Formal review before implementation is what allows improvement without losing control.

Disclaimer: This article is general technical information, compiled in good faith from published sources at the time of writing. It is not a warranty, a quality specification, or a regulatory or safety assessment. Confirm suitability for your own formulation and market against the current datasheet, certificate of analysis and your safety assessor's opinion.

Formulating something? Ask a specialist