Development Basics

What Is Software Validation in the SDLC?

What Is Software Validation in the SDLC?

The legal basis for validating production and quality system software changed on February 2, 2026. FDA’s February 2026 guidance now places the requirement under ISO 13485:2016 (subclauses 4.1.6, 7.5.6 and 7.6), which 21 CFR Part 820 has incorporated since that date. Guides that still cite 21 CFR 820.70(i) describe the rule as it stood before then.

Software validation itself is the collection of objective evidence that a program meets user needs and its intended use in the environment where it runs. Verification covers less ground, since it only checks the program against its specification.

Regulated organizations such as medical device makers and drug manufacturers apply validation to production software and quality system software, and to any system that holds electronic records. Regulators measure the work against written protocols and acceptance criteria.

What Does Software Validation Confirm?

FDA’s General Principles of Software Validation (Version 2.0, January 11, 2002) frames it as evidence that software specifications match user needs, and that the requirements built into the software can be met consistently.

The term gets used two ways. Testing teams mean acceptance checks against business requirements before release. In regulated work it means a planned, documented set of activities with written proof, and that version is required for software that touches medical devices, drug manufacturing or other regulated records.

Both rest on intended use. A product validated for one job isn’t validated for another.

FDA’s February 2026 software assurance guidance gives a spreadsheet example. Logging curing-process readings is low risk, but custom formulas that monitor the same process can call for additional validation.

Validation sits inside the wider quality assurance process for software, alongside inspections and test planning, plus defect tracking.

The output is evidence, not a guarantee. FDA’s guidance warns that a test run that finds no errors can mean the testing was shallow, so a clean result proves little on its own.

How Does Software Validation Differ From Verification?

Verification asks whether the software was built to its specification. Validation goes a step further and asks whether that specification, and the software built from it, serves what the user actually needs.

Barry Boehm’s shorthand still works: verification asks whether the product is built right, validation asks whether it is the right product.

AspectVerificationValidation
QuestionWas it built to the specification?Does it serve the user’s need?
Typical methodsReviews, inspections, static analysis, unit and integration testsSystem and acceptance testing in the intended environment
TimingEvery lifecycle phasePlanned early, concentrated near release
Evidence showsEach phase output meets its requirementsSoftware fits user needs and intended use
Failure looks likeCode departs from the designCode matches the design, design misjudged the need

Take an invoicing module that passes every check against its spec. The spec assumed monthly invoices, the customer bills per shipment, and validation fails in week one.

Sources don’t agree on timing. Testing explainers usually put validation after development, once the finished product exists. FDA’s General Principles (2002) says validation activities happen during the lifecycle as well as at its end.

The gap is scope. Testing pages treat validation as one late test phase, while FDA treats it as a conclusion built on verification evidence from every stage.

In the V-model, unit, integration and system tests mostly verify, and acceptance testing at the top of the right arm is where validation lives.

IEEE 1012 (current edition: 2024) specifies verification and validation process requirements for different integrity levels, and its scope covers systems, software and hardware. Verification is wider than testing. Reviews and inspections count, and so does static analysis, as the guide to software verification explains.

Regulations That Require Software Validation

FDA requires validation of software used in medical device production and in the quality management system. Since February 2, 2026, the legal basis is ISO 13485:2016 (subclauses 4.1.6, 7.5.6 and 7.6), which 21 CFR Part 820 incorporates by reference.

FDA’s guidance documents add recommendations on how to do it. Those recommendations are not law by themselves.

The timeline matters, because guides written at different points describe different rules.

  • January 11, 2002: FDA issues General Principles of Software Validation, Version 2.0
  • On February 2, 2024, FDA publishes the QMSR final rule (89 FR 7496)
  • September 24, 2025 brings the final computer software assurance guidance, which supersedes Section 6 of the 2002 document
  • The QMSR takes effect on February 2, 2026
  • One day later, February 3, 2026, FDA reissues the assurance guidance as “Computer Software Assurance for Production and Quality Management System Software”

How FDA applies the rule in practice

FDA’s analysis of 3,140 device recalls from 1992 to 1998 attributed 242 of them, 7.7%, to software failures (FDA General Principles of Software Validation, 2002).

The data is old. FDA still publishes it in a document whose remaining sections, outside Section 6, it calls current thinking.

Enforcement follows the same logic. FDA’s May 9, 2025 warning letter to Kabe Labortechnik GmbH cited inspection software that was not validated, although the firm’s own procedure required validated software.

Check the citation date on anything you read. Articles that still cite 21 CFR 820.70(i) describe the pre-2026 text. The 2024 final rule removed most of Part 820, including 820.70, and FDA’s February 2026 guidance points to the ISO 13485 subclauses instead.

Systems that create or store electronic records also fall under 21 CFR Part 11, which adds security, data integrity and validation requirements.

Europe and international standards

  • EU GMP Annex 11 covers computerised systems in GMP environments. Its current text is the January 2011 revision, in operation since June 30, 2011.
  • The European Commission published a revised Annex 11 draft on July 7, 2025, and the consultation has closed.
  • PIC/S adopted the earlier Annex 11 text with identical content as PE 009.
  • IEC 62304 (Edition 1.1, 2015) sets lifecycle processes for medical device software.
  • For verification and validation processes by integrity level, there’s IEEE 1012.

Check EudraLex Volume 4 for whether a replacement Annex 11 has been adopted since the 2025 draft.

Which of these apply depends on the product and the market, so map the compliance requirements for the software before writing a single test.

How to Validate Software Step by Step

The work runs from a written intended use at the start to change control after release, and the order below is the one that holds up.

  1. Define the intended use and write user requirements, including the operating environment and acceptance criteria.
  2. Write the validation plan (scope, roles, deliverables).
  3. Assess risk for each feature, function or operation.
  4. If the software is purchased, assess the vendor.
  5. Write and approve test protocols with expected results.
  6. Run the tests, record results and log any deviations.
  7. Trace every requirement to a test result.
  8. Write the summary report, with a conclusion on fitness for intended use.
  9. Release under change control and keep monitoring.

Step one carries the rest, and it’s the step teams rush most often. FDA’s guidance states that the validation process cannot be completed without a documented software requirements specification, and that preparation starts during design and development planning.

For production and quality system software, FDA’s framework uses two bins in step three: high process risk and not high process risk. Teams that want finer grades can score features on a risk assessment matrix, and FDA lets a moderate or intermediate rating follow the “not high” recommendations.

Requirements written after purchase are the usual culprit when this goes wrong. The tests then confirm what the tool does instead of what the process needs.

Another one is the test case with no predefined expected result. FDA treats that expected result as the key element of a test case, because it allows an objective pass or fail.

And then there’s self-review. FDA calls self-validation extremely difficult and recommends independent review where possible.

IQ, OQ, PQ and User Acceptance Testing

Installation qualification (IQ), operational qualification (OQ) and performance qualification (PQ) run in that order. They confirm that the software is installed as specified, that it works across its operating ranges, and that it performs under real working conditions. User acceptance testing (UAT) closes the sequence, and it’s done by the people who will use the software.

FDA’s 2002 guidance calls IQ/OQ/PQ one of many legitimate ways to organize user-site validation tasks, and it does not use the terms elsewhere. It takes the definitions from its 1987 process validation guideline.

IQ is evidence that hardware and software are installed and configured as specified, with component versions recorded.

OQ exercises functions across their ranges. That includes startup, shutdown, error and alarm conditions, and minimum and maximum values.

PQ needs the software observed long enough, and under varied enough conditions, to expose latent faults.

In UAT, users run the software in real or simulated use against the requirements, and the result ends in a formal record of acceptance.

FDA groups UAT, beta testing, site validation and installation testing under one label, user site testing.

Each stage needs written acceptance criteria before the first test runs. Without them, pass or fail becomes a matter of opinion.

A PQ run in a test environment that differs from production proves little. FDA says user site testing should use the actual hardware and software of the installed configuration.

Low-risk software can skip the full sequence. In one FDA example, a help-menu feature in a business intelligence tool needed nothing beyond vendor evaluation and installation checks.

Documentation a Software Validation Produces

A typical validation leaves behind a validation plan, a user requirement specification (URS), a risk assessment, a traceability matrix, executed test protocols and a validation summary report.

How much each one holds depends on risk. The thread that links them matters more than any single document.

Plan, requirements and traceability

The validation plan sets scope, approach, resources, schedule and the type and extent of activities. FDA separates it from procedures, which define how each activity is carried out.

The user requirement specification states intended use in testable terms. FDA’s 2002 guidance expects inputs, outputs, functions, performance, interfaces, error handling, operating environment, and the ranges and limits the software accepts.

Risk assessment records which features are high process risk and why, and it sets the depth of the testing that follows.

The traceability matrix links each requirement to the design or configuration element that meets it and to the tests that prove it. Most teams leave it until last, which is a mistake.

FDA asks for tracing in both directions. A requirement with no test and a test with no requirement are both gaps, and the matrix is where they show up.

Test records and the summary report

FDA’s recommended record for each assessed feature includes:

  • the intended use
  • the result of the risk analysis
  • a description of the testing
  • issues found, such as deviations and failures
  • a conclusion on acceptability, including how issues were resolved
  • who tested and when, plus review and approval where needed

The record needs no more evidence than the risk calls for. FDA prefers system logs, audit trails and other data the software already keeps over paper copies and screenshots.

Defects and deviations found during execution are logged, classified, reviewed and resolved before release, which is the job of a defect tracking log.

A validation test protocol is a software test plan approved before execution, with expected results and acceptance criteria written down.

The validation summary report closes the file. It states what was tested, what deviated, how each issue was settled, and a conclusion that the software is fit for its intended use.

FDA’s October 18, 2024 warning letter to Rolence Ent. Inc. cited an X-ray quality control application, used for final tests of portable X-ray systems, that the firm had not validated against an established protocol. The firm told FDA it would update its software quality control procedure.

Records that describe the testing in general terms but name no tester and no date are where this tends to fall apart.

How Much Validation Does a Software Tool Need?

Cost of fixing a defect rising with each development phase

As much as a failure would cost. FDA’s computer software assurance (CSA) approach scales testing and records to the intended use and process risk of each feature, so one tool can need heavy testing in one function and light checks in another.

Traditional validation compared with computer software assurance

AspectTraditional validation (2002 guidance)Computer software assurance
Effort set byComplexity and safety risk of the softwareIntended use and process risk of each feature, function or operation
Testing styleDocumented test cases, plus user site testingScripted or unscripted, chosen by risk
EvidenceProtocol, test cases and results, validation summaryIntended use, risk result, testing, issues, conclusion, tester and date
Vendor workStarting point for the user’s own documentsReused inside a risk-based vendor assessment
ScopeDevice, production and quality system softwareProduction and quality system software only

Both approaches scale by risk. What changed is the unit: the whole system in 2002, each feature, function or operation now.

Summaries disagree on what CSA replaced. One compliance publisher says the guidance does not replace the 2002 principles, while other summaries say it supersedes part of the document.

FDA’s text settles it. The guidance supplements the 2002 document and supersedes Section 6, which covered how much validation evidence is needed, defined user requirements, and off-the-shelf software.

Sections 1 through 5 stand, including the lifecycle, change and independence-of-review principles.

How FDA separates high process risk from the rest

One question decides it: can a failure foreseeably compromise safety?

Say an ERP feature automates material ordering and delivery to production operations, but a qualified person checks the materials before production use. That’s not high risk, because a mix-up gets caught first.

Now make a similar feature automate the check too, with no person in the loop. The same failure reaches production unchecked, and the rating is high.

The surrounding controls set the rating, not the software category. Full output verification or monitoring data can lower the assurance effort a feature needs.

Risk doesn’t dictate testing style either. FDA notes that unscripted testing can assure a high-risk feature, and that automated scripts can be the cheaper route for a low-risk one.

The unscripted techniques FDA names (scenario testing, also called ad hoc testing, plus error guessing and exploratory testing) sit alongside the other types of software testing a team already runs.

GAMP 5 software categories

ISPE’s GAMP 5 sorts software into categories, and FDA’s guidance lists the Second Edition among resources for testing methods and validation approaches. These are still active:

  • Category 1, infrastructure software such as operating systems and databases
  • Category 3 covers non-configured products used as delivered
  • Category 4 is configured products
  • Category 5, custom applications

The 2022 Second Edition retired Category 2, firmware. ISPE says the framework and its ICH Q9-aligned risk approach are unchanged, with new material on cloud providers, iterative development and software tools.

A category is only a starting point. ISPE warns that categorization is not a checklist for validation, so a heavily configured Category 4 system still needs judgment about what was changed.

Where computer software assurance does not apply

Software that is itself a medical device, or runs inside one, sits outside the guidance. FDA points to the 2002 principles for that case.

Business software falls outside the validation requirement too, unless its intended use ties it to production or the quality system. Email and accounting applications are the obvious examples. Shared infrastructure such as networking, user authentication, backup and restore is treated the same way.

Validating Off-the-Shelf, Cloud and Spreadsheet Software

Purchased software still needs validation by the user. Vendor testing shows the product works in general, and the user has to show it works for their own intended use.

FDA’s General Principles puts the burden on the party with regulatory responsibility: assess what the off-the-shelf developer did, then decide what extra work proves fitness for the intended use.

Off-the-shelf software

FDA’s February 2026 guidance treats the vendor’s work as a starting point. A manufacturer can build on the developer’s practices, validation work and electronic records, and add only what the risk calls for.

FDA names these ways to assess a vendor:

  • an onsite audit, where feasible
  • accreditations and certifications, such as SOC reports and ISO certificates
  • the vendor’s development, quality assurance and cybersecurity practices and documents
  • data integrity controls, meaning record retention, time-stamped audit trails, access controls and electronic signature controls

FDA acknowledges that audits are not always feasible or appropriate, so any combination of information can support a risk-based vendor analysis.

Guides that send readers to Section 6.3 of the 2002 document for off-the-shelf software cite text FDA superseded on September 24, 2025.

Cloud and SaaS

FDA applies the same test to cloud services as to installed software. What is the service used for?

An IaaS storage service that holds quality records is used directly in the quality management system, so assurance focuses on record integrity and Part 11 requirements. The same service holding production data that is not a quality record falls outside the validation requirement.

A cloud-based app can change between audits, because the vendor ships updates on its own schedule. FDA’s SaaS example answers that with a service agreement and a record for every update.

The service agreement sets requirements for security, data integrity, privacy, availability, change management and business continuity.

For each automatic update, the vendor documents the changes, testing and results. The manufacturer then assesses the effect on intended use, runs risk-based testing, and keeps a record of both.

Spreadsheets

A spreadsheet used in production or the quality system is software, and it gets validated for what it does there.

FDA’s guidance includes a worked record for a spreadsheet that collects and graphs nonconformance data for monitoring. Rapid exploratory testing went through these objectives:

  • Create a new analysis (passed)
  • Read data from the source (passed)
  • Update data, which failed on an input error and then passed on re-test
  • Delete data (passed)
  • Calculated fields update with changes (passed, with one deviation noted)

The deviation was text typed into a numeric field, which produced an immediate error. The fix was a validation rule that accepts only numbers, followed by a repeat of the testing.

The record stays short because the risk is low. Separate process controls stop nonconforming product from release, so a spreadsheet failure does not foreseeably compromise safety.

One practical habit helps a lot here. Lock formula cells and keep a single controlled master copy, so users cannot overwrite the logic that was tested.

When Does Software Need Revalidation?

Whenever a change reaches a function the intended use depends on. Upgrades, patches, configuration changes, infrastructure changes, data migration and a new intended use all qualify.

FDA’s 2002 guidance attributes 79% of the software-related recalls in its 1992 to 1998 analysis to defects introduced by changes made after initial release.

What triggers revalidation

  • Vendor upgrades and patches bring new code into functions the process relies on, whatever the release notes emphasize.
  • Configuration changes to roles, thresholds, workflows and formulas alter behavior without any new code.
  • A new operating system, database or hardware platform counts, and so does moving records to a new system.
  • If a function the process did not rely on before now matters, that’s a new intended use.

Periodic review is the one calendar-based trigger. EU GMP Annex 11 expects computerised systems to be evaluated periodically, so a review can fall due even when nothing changed.

How to scope the work

FDA sorts software changes into corrective (fixing faults), perfective (improving performance or maintainability) and adaptive (making the software usable in a changed environment) types. The validation effort depends on the type of change, the products it touches and their impact on how the software operates.

Whatever the type, FDA asks for a validation analysis of the change’s extent and impact, followed by regression testing that shows unchanged but vulnerable parts still work.

Assessment comes before work. FDA lists proposed change assessment as a maintenance task and wants specifications updated before the change is made, the routine that change request management puts in place.

The ISO 13485 subclauses behind the requirement tie revalidation, like validation, to risk.

Where revalidation goes wrong

For software that is itself a device, a release can be a regulatory event. FDA’s September 1, 2026 warning letter to O.N. Diagnostics, reported by Orrick on October 9, 2026, cited three changes to its VirtuOst VFA software, including a new machine learning model and a move from a desktop application to the web, as each needing a new 510(k).

The platform migration also required re-verification and re-validation of the entire codebase, including third-party libraries. Orrick adds that investigators read release notes and version control logs.

Patches applied without a change record are the common failure, along with test evidence nobody archived. FDA warns that failing to archive earlier test documentation can significantly raise the cost of revalidating after a change.

There are ways to cut the effort back down:

  • Archive test cases and results so regression tests can be rerun
  • Design in modules, since FDA says sound architecture reduces future validation effort
  • Automate the checks you repeat after every change, as FDA’s SaaS example does with an automated script for access controls that supports verifying future changes
  • Count monitoring data, which FDA says can reduce assurance effort when it detects performance issues in use

Software Validation FAQ

Is software validation the same as computer system validation?

Closely related, not identical. Computer system validation covers the whole computerized system, including hardware, procedures and people, while software validation concentrates on the software.

FDA’s 2002 guidance says software validation must be considered within the context of the overall system.

What is the difference between a validation plan and a validation master plan?

The validation master plan is the bigger document, organizing validation of all systems at a site or company. A plain validation plan sits underneath it and covers one specific system, with its scope, methodology, activities, roles, deliverables and acceptance criteria.

Can the vendor or a consultant perform the validation?

Yes. Work can be split across staff, vendors and consultants, but the manufacturer keeps ultimate responsibility for showing the software is validated.

FDA says this holds regardless of contractual relations or where the components come from.

How long does software validation take, and what does it cost?

No authoritative source publishes a standard figure. Effort tracks the risk and the number of functions in scope.

FDA notes that an established validation process lowers the cost of validating each later release.

What does validated state mean for software?

Software holds a validated state while it stays under control throughout its life cycle and remains fit for its intended use.

FDA’s guidance says assurance activities establish that state, while change control and monitoring maintain it.

Does software validation apply outside regulated industries?

Not by regulation, but the practice transfers. FDA’s guidance says its principles rest on generally recognized software validation principles and can be applied to any software.

Scale the effort to what a failure would cost.

Choosing Which Software to Validate First

Start with the tools whose failure could compromise safety or product quality, whatever their price or popularity. With fifty tools and a budget for five, process risk picks the five.

Ranking costs far less than testing, and a wrong ranking spends the whole budget on the wrong tools.

  • Rank all fifty by intended use and process risk
  • Test the top five to full depth
  • Record vendor evidence and a risk rationale for the other forty-five

The forty-five receive lighter evidence, so each rationale has to name the control that catches a failure, such as a qualified person reviewing the output.

The ranking stops holding when a tool takes on a new intended use or a change raises its risk. The budget then moves with it.

Position verified November 8, 2026. No source checked confirms adoption of the revised EU GMP Annex 11, so EU-bound teams should recheck its final text before relying on this ranking.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.