How to validate medical device software: what to test and which documents FDA expects
Learn how to validate medical device software, what FDA expects in V&V documentation, and how to organize testing, traceability, and cybersecurity evidence.
There's this misconception among teams that running hundreds of tests and documenting the results will give FDA reviewers the evidence they're looking for.
But it doesn't work that way.
In reality, knowing how to validate medical device software starts with understanding what your testing needs to prove.
Look at it this way. Medical device software validation is the process of establishing through objective evidence that software meets user needs and intended uses and consistently performs as intended.
Verification is a different animal. It establishes whether development outputs meet their specified requirements.
Taken together, verification and validation (V&V) are important because they help demonstrate that your device software functions correctly and supports the safety and effectiveness of the finished medical device.
The challenge is commonly this:
Organizing that evidence.
That's because test reports may reside in several systems. Requirements may have changed during development. Cybersecurity testing may have been performed by an outside vendor.
So, what you need to do is bring these pieces together in a way that makes sense to a reviewer.
In this article we'll walk you through what to test, what to document, and how to build a V&V file that supports your premarket submission.
What's the difference between software verification and validation?
Verification and validation are closely related, but they answer different questions.
Software verification asks whether you built the software according to its specified requirements. Software validation asks whether the software meets user needs and supports the device's intended use.
Consider a software-controlled infusion pump.
During verification, your engineering team might test whether the software correctly calculates an infusion rate based on entered parameters. The test compares the calculated output against a predetermined acceptance criterion.
During validation, you might evaluate whether healthcare professionals can use the finished infusion pump in a representative clinical environment to deliver the intended therapy correctly and safely.
The calculation could work perfectly during verification. However, if the user interface makes it easy to enter the wrong dosage, the finished device could still fail to meet user needs.
That's why you need both activities.
Verification provides evidence that individual requirements have been implemented correctly. Validation provides evidence that the resulting product is suitable for its intended use.
Which validation documents are required for FDA submission?
Start with FDA's June 2023 guidance, Content of Premarket Submissions for Device Software Functions.
Section VI.H addresses software testing as part of verification and validation. The guidance distinguishes between two Documentation Levels: Basic and Enhanced.
These levels affect how much software documentation FDA recommends including in your premarket submission. They don't eliminate the need to perform appropriate testing or maintain supporting records.
Basic Documentation Level
For devices falling under the Basic Documentation Level, FDA recommends submitting a summary of testing performed at the unit, integration, and system levels, along with complete system-level testing protocols and reports.
Your documentation should identify the software version evaluated, testing outcomes, corrective changes following unsuccessful tests, and applicable regression testing.
You should still maintain the underlying unit and integration testing records internally, even when the guidance doesn't recommend submitting those complete records.
Enhanced Documentation Level
For devices falling under the Enhanced Documentation Level, FDA recommends the Basic Documentation Level materials plus complete unit-level and integration-level testing protocols and reports.
This gives reviewers greater visibility into how individual software components and their interactions were evaluated.
For either Documentation Level, your supporting V&V records should make it possible to determine:
- What was tested
- Why the test was performed
- Which requirement the test addresses
- What constitutes an acceptable result
- Which software version was tested
- What happened when the software failed a test
- Whether corrective changes were successfully verified
Both Documentation Levels also include recommendations for documenting unresolved software anomalies.
Remember that FDA guidance contains recommendations rather than independently binding legal requirements. Your submission may also need additional evidence based on the device type, applicable regulatory requirements, and specific safety concerns.
How to organize your medical device software V&V file
A well-organized V&V file follows the development process. It connects individual software components to the integrated system and ultimately to the finished medical device.
The following structure is a practical starting point. It's not a prescribed FDA file format.
V&V planning
Before testing begins, establish how your team will evaluate the software.
Your V&V plan can identify testing responsibilities, testing environments, methods, acceptance criteria, documentation practices, and procedures for handling unsuccessful tests.
It should also explain how your team will determine whether testing is complete.
This becomes particularly important when different teams or external vendors perform portions of the testing. Without a coordinated plan, you may end up with overlapping tests in some areas and inadequate coverage in others.
Unit testing
Unit testing evaluates individual software components in isolation where practical.
Depending on your device, this might involve testing calculation functions, data processing routines, alarm logic, input validation, or error-handling mechanisms.
Your software design documentation should help determine what needs to be tested.
For example, if a software component must reject values outside an acceptable operating range, your tests should evaluate valid inputs, invalid inputs, and relevant boundary conditions.
Read more about developing a software design specification under IEC 62304 and FDA expectations.
Integration testing
Individual software components can function correctly and still produce problems when they interact.
Integration testing evaluates those interactions.
You might test communication between a user interface and a processing module, data exchanges between software components, or interactions between software and hardware.
Pay particular attention to what happens when an interaction doesn't proceed as expected. A communication interruption, unexpected data format, or delayed response could have consequences that aren't apparent during unit testing.
Your integration testing should address relevant normal and abnormal operating conditions.
System testing
System testing evaluates the integrated software against its specified requirements.
This is where you examine how the various components work together to deliver the functionality described in your software requirements specification.
For example, a patient monitoring device might undergo system testing to evaluate measurement processing, alarm generation, data storage, display functionality, and responses to interrupted communications.
System testing should also evaluate applicable software-related risk controls.
If your risk management file identifies an alarm as a measure for reducing patient harm, your testing evidence should demonstrate that the alarm operates under the conditions specified for that control.
System testing contributes to validation, but it doesn't necessarily establish that the finished device meets all user needs.
Regression testing
Software rarely remains unchanged throughout development.
Your team might correct a calculation error, modify a communication interface, update a third-party library, or introduce a cybersecurity control.
Each change creates the possibility of unintended consequences elsewhere in the software.
Regression analysis helps you determine which existing functionality could be affected. Regression testing then evaluates that functionality.
Document why particular tests were selected, what software configuration was evaluated, and what the results demonstrated.
Regression testing is also an important part of a medical device secure software development lifecycle, especially when security patches or component updates are introduced.
Release testing and readiness review
Before releasing your software, review the evidence supporting the release decision.
Have applicable acceptance criteria been satisfied? Have unsuccessful tests been investigated? Are outstanding anomalies documented? Does the tested configuration correspond to the software you intend to distribute?
Release readiness may involve additional testing, but it also involves reviewing existing evidence and confirming that applicable release criteria have been met.
If your software documentation is fragmented or incomplete, CyberMed's software DHF services can help you identify documentation gaps and organize the development evidence supporting your submission.
Where IEC 62304 verification ends and device validation begins
IEC 62304 is one of the principal medical software development standards used by medical device manufacturers.
It establishes a framework for software lifecycle activities, including development planning, requirements analysis, design, implementation, verification, maintenance, configuration management, and problem resolution.
However, there's an important limitation.
IEC 62304 doesn't cover final validation and release of the medical device itself, even when the device consists entirely of software.
The standard addresses software lifecycle processes and includes software release activities. That isn't the same as demonstrating that the finished medical device satisfies its intended use.
This distinction matters when you're preparing your regulatory documentation.
Your IEC 62304 records might demonstrate that software requirements have been implemented and verified. But your device-level validation activities need to address whether the finished product meets user needs under representative conditions.
Manufacturers subject to applicable design and development requirements must also consider FDA's Quality Management System Regulation (QMSR), which became effective on February 2, 2026, and incorporates ISO 13485:2016 by reference.
When reviewing FDA guidelines for software development, don't assume that conformance to IEC 62304 automatically addresses every applicable device validation obligation.
For help understanding how software lifecycle documentation connects to premarket submission materials, see our guide to IEC 62304 and FDA eSTAR mapping.
Where cybersecurity testing fits into software validation
Cybersecurity testing belongs within your broader V&V strategy. But it has a specific purpose.
It provides evidence about the effectiveness of security controls, the implementation of security requirements, and the device's ability to withstand relevant cybersecurity threats.
Consider a connected medical device that receives software updates remotely.
Functional verification might establish that the device can successfully install an authorized update. Cybersecurity testing might evaluate whether the device rejects an unauthorized or modified update.
Both activities matter. They address different aspects of the same functionality.
FDA's February 2026 premarket cybersecurity guidance discusses security testing in Section V.C. It addresses areas such as security requirements, threat mitigation, vulnerability assessment, and penetration testing.
Your cybersecurity evidence should connect to the requirements and risks that prompted the testing.
For example:
| Security requirement | Testing activity | Expected result |
|---|---|---|
| Restrict access to administrative functions | Authorization testing | Unauthorized users cannot access restricted functions. |
| Verify software update authenticity | Update security testing | The device rejects updates that fail authenticity verification. |
| Protect sensitive transmitted information | Communication security testing | Information is protected according to specified security requirements. |
| Maintain essential functionality during defined adverse network conditions | Resilience testing | The device maintains or transitions to the specified safe operating condition. |
These are illustrative examples. The appropriate tests and acceptance criteria depend on your device architecture, threat model, and risk assessment.
For a more detailed explanation of testing methods, see our medical device security testing guide.
Cross-reference cybersecurity evidence instead of duplicating it
You don't necessarily need to reproduce an entire cybersecurity testing report in your software V&V documentation.
Instead, establish clear references between your software requirements, cybersecurity requirements, risk controls, and supporting test reports.
A software verification report might reference a separate penetration testing report that evaluates a particular security control. The reference should identify the relevant test, report location, outcome, and applicable software configuration.
This approach reduces duplication while helping reviewers navigate your submission.
An FDA cybersecurity traceability matrix can help establish these connections.
When your team needs specialized security testing, CyberMed's medical device penetration testing services can help generate evidence supporting your cybersecurity assessment.
Keep in mind that penetration testing doesn't replace functional verification or device-level validation. A device can resist unauthorized access and still perform its intended medical function incorrectly.
How to document unresolved software anomalies at release
Finding software defects during development isn't unusual. What's important is how you investigate, evaluate, and document them.
Not every software anomaly necessarily prevents release. Some anomalies may have limited consequences and can be justified through an appropriate risk evaluation.
Section VI.J of FDA's 2023 software documentation guidance addresses unresolved software anomalies.
When preparing your anomaly records, consider documenting:
- A unique identifier and description of the anomaly
- The circumstances under which it occurs
- Its potential effects on device performance, safety, and effectiveness
- The associated risk evaluation
- Available mitigations or workarounds
- The rationale for leaving the anomaly unresolved
Suppose a device occasionally displays a nonclinical status message in the wrong location. Your investigation might establish that the issue doesn't obscure important information, interfere with clinical decisions, or affect essential functionality.
Your documentation should explain how you reached that determination.
Now consider an anomaly that causes a critical alarm to fail intermittently. That presents a different situation. Simply recording the anomaly and promising to correct it in a future release wouldn't establish that the associated risk is acceptable.
Unresolved anomalies also need to be evaluated for potential cybersecurity implications where applicable. An apparently minor software defect could introduce a vulnerability that wasn't considered during the original safety assessment.
Make sure your anomaly list, risk management documentation, cybersecurity assessment, and release decision tell a consistent story.
Common software verification and validation mistakes
Many V&V documentation problems aren't caused by a complete absence of testing. They arise because the available evidence doesn't adequately support the manufacturer's conclusions.
Here are four common failure patterns to look for before submitting your documentation.
Tests don't trace back to requirements
A test report might contain hundreds of successful results. But which software requirements do those results address?
Without traceability, it's difficult to determine whether important functionality has been overlooked.
Build traceability into your development process. Each applicable requirement should connect to appropriate verification evidence. You should also be able to work backward from a test result to understand why the test was performed.
Test results lack defined acceptance criteria
A test report stating that a feature works correctly provides limited information.
What does correctly mean?
If a device must generate an alarm within a specified time, the test should establish that time limit and document the measured result.
Define measurable acceptance criteria before executing your tests. Avoid determining what constitutes a passing result after you've already seen the outcome.
The V&V summary contradicts the risk management file
Your V&V summary might state that all applicable risk controls have been successfully verified. However, your risk management file might identify a control for which testing remains incomplete.
These inconsistencies create questions about the reliability of your documentation.
Review the V&V summary alongside your risk management records, anomaly list, and cybersecurity documentation before finalizing the submission.
The tested software version doesn't match the release version
Your testing team may have completed extensive verification on one software version while your development team subsequently introduced additional changes.
That doesn't automatically invalidate all previous testing. However, you need to evaluate the changes and establish whether the existing evidence remains applicable.
Document the software versions tested, assess the impact of subsequent modifications, and perform additional testing where necessary.
Configuration management helps ensure that your V&V conclusions apply to the product you actually intend to release.
Building a V&V file that supports FDA review
The best time to start assembling your V&V documentation isn't a few weeks before your premarket submission.
Start during development.
Establish your requirements, define your testing strategy, and maintain traceability as your software evolves. Record unsuccessful tests and document how your team investigates and resolves them.
When changes occur, evaluate their impact on existing testing evidence. Keep your cybersecurity documentation connected to your software development and risk management activities.
By the time you're ready to submit, your V&V file should provide a clear account of what you developed, how you evaluated it, what problems you discovered, and why the available evidence supports your release decision.
Ultimately, understanding how to validate medical device software is about more than knowing which tests to perform. It's about producing reliable evidence that your software supports the safety, effectiveness, and intended use of your medical device.
Sources
- U.S. Food and Drug Administration. Content of Premarket Submissions for Device Software Functions. Final guidance, June 14, 2023. Particularly Sections VI.H, VI.I, and VI.J, addressing software testing, revision history, and unresolved software anomalies.
https://www.fda.gov/media/153781/download - International Electrotechnical Commission. IEC 62304:2006+A1:2015. Medical device software: Software life cycle processes.
https://webstore.iec.ch/en/publication/22794 - U.S. Food and Drug Administration. Cybersecurity in Medical Devices: Quality Management System Considerations and Content of Premarket Submissions. Final guidance, February 3, 2026. Particularly Sections V.A.5 and V.C, addressing unresolved software anomalies and cybersecurity testing.
https://www.fda.gov/media/119933/download
Frequently asked questions
›How do you validate medical device software?
Start by identifying user needs and intended uses. Establish appropriate software requirements, conduct verification activities, and evaluate the software within the finished device or an appropriate representative environment. Document the results, evaluate outstanding risks, and establish whether the device meets its applicable validation criteria.
›Which validation documents are required for FDA submission?
FDA's 2023 software documentation guidance recommends testing documentation based on the applicable Basic or Enhanced Documentation Level. This includes testing summaries, applicable test protocols and reports, regression testing evidence, and unresolved anomaly documentation. Additional device-specific evidence may also be necessary.
›Does IEC 62304 require medical device software validation?
IEC 62304 establishes software lifecycle processes that include verification activities. However, final validation and release of the medical device itself are outside the standard's scope. Manufacturers must address applicable device-level validation requirements separately.
›Is penetration testing part of medical device software validation?
Penetration testing can contribute to the overall evidence supporting a medical device's safety and effectiveness by evaluating its cybersecurity posture. However, it doesn't replace functional software verification or validation of the finished device against user needs and intended uses.
›Can medical device software be released with unresolved anomalies?
Potentially, yes. Manufacturers need to evaluate unresolved anomalies, assess their implications for safety and effectiveness, and document the rationale supporting release. An anomaly associated with an unacceptable residual risk can't be justified simply by documenting it.