IEC 62304 divides medical device software into three safety classes: A, B and C. The class depends on the harm that a failure of the software could contribute to, and it decides how much process effort you need for planning, design, verification and documentation.
Last updated: November 2026 · Refers to IEC 62304:2006 + A1:2015 · This article explains the concepts in our own words. The examples are simplified teaching examples. The standard is the normative reference and is available from IEC or your national standards body.
What are the IEC 62304 software safety classes?
IEC 62304 defines the software life cycle processes for medical device software. It does not treat all software equally. The higher the possible harm, the more of the standard applies.
| Class | Possible harm | What it means |
|---|---|---|
| Class A | A software failure cannot lead to harm, or any remaining risk is acceptable because of measures outside the software | Lowest process effort |
| Class B | A software failure could contribute to harm, but not to a serious injury | Medium process effort |
| Class C | A software failure could contribute to death or serious injury | Highest process effort |
Serious injury is defined in ISO 14971. In short, it is an injury or illness that leads to death or permanent impairment, or that needs medical intervention to prevent permanent impairment.
How to determine the software safety class
Step 1: Define the software system and its intended use
Classification applies to the software system, which is the complete software of the medical device or the medical device software product. Start from the intended use. What does the software do, who uses it and in which situations?
Step 2: Identify the hazardous situations the software can contribute to
The input comes from your risk management process according to ISO 14971. Look for hazardous situations that can arise when the software does not behave as specified, for example a wrong value, a missing alarm or a wrong timing. If the software cannot contribute to any hazardous situation, it is Class A. Our article on ISO 14971 explains the risk management process.
Step 3: Consider risk control measures outside the software
Now ask whether the risk is acceptable once you take into account measures that are not part of the software system, for example a hardware limit, a mechanical protection or a procedural measure. If the remaining risk is acceptable, the software is Class A.
Two rules matter here. Measures inside the software do not count, because the classification is about the software itself. And for the classification, the probability of a software failure is assumed to be 100 %. You cannot lower the class by arguing that a software failure is unlikely.
Step 4: Assess the worst possible harm
If the risk is not acceptable after the external measures, the worst possible harm decides:
- The worst case is a non-serious injury: Class B.
- The worst case is death or serious injury: Class C.
Document the classification and your rationale in the risk management file. Auditors and notified bodies will ask for it.
What each class means for your process
The table is our own simplified summary of which activities apply to which class. It does not replace the standard, which marks each individual task with the classes it applies to. Check the clause of the activity you are planning.
| Activity | Class A | Class B | Class C |
|---|---|---|---|
| Software development planning | Yes | Yes | Yes |
| Software requirements analysis | Yes | Yes | Yes |
| Software architectural design | No | Yes | Yes |
| Software detailed design | No | Subdivision into units only | Yes |
| Unit verification | No | Yes | Yes, with additional acceptance criteria |
| Integration and integration testing | No | Yes | Yes |
| Software system testing | Yes | Yes | Yes |
| Software risk management | Only for software changes | Yes | Yes |
| Configuration management and problem resolution | Yes | Yes | Yes |
Two things stand out. Class A software still needs a development plan, requirements, system testing and configuration management. And a detailed design for every software unit is only required for Class C.
Reducing the effort with segregation
The software system has a class, but the software items inside it can have different classes. A software item can be assigned a lower class than the system if you segregate it from the higher-class items and document the rationale. Without such a rationale, every item inherits the class of the system. A clean architecture therefore saves effort, because only the safety-relevant parts need the full Class C process.
Examples of software classification
The following examples are simplified and invented for teaching. In a real project, the class follows from your own risk analysis, and it must be documented and justified.
| Software | What could go wrong | Class | Rationale (example) |
|---|---|---|---|
| Service log viewer that only shows usage statistics for technicians | Wrong statistics | A | The software cannot contribute to a hazardous situation. |
| Firmware of a digital thermometer | Wrong temperature reading, treatment delayed | B | Harm is possible, but not serious injury, and no external measure removes the risk. |
| Dose calculation of an infusion pump without an independent hardware limit | Overdose | C | An overdose can lead to death or serious injury, and nothing outside the software limits it. |
| Software that shows blood glucose values for insulin dosing decisions | Wrong value, wrong insulin dose | C | A wrong value can lead to serious harm, unless external measures reduce the risk to an acceptable level. |
Common mistakes when classifying software
- Confusing the software safety class with the device class. The class A, B, C of IEC 62304 has nothing to do with the device classes of the EU MDR (I, IIa, IIb, III) or the FDA (I, II, III). They are determined separately.
- Classifying by function instead of by hazardous situation. A function that sounds critical can be Class A if it cannot contribute to harm. A harmless-looking one can be Class C.
- Counting measures inside the software as external risk control. Only measures outside the software system lower the class.
- Estimating the probability of a software failure. The standard says to assume it is 100 %.
- Choosing Class C everywhere "to be safe". This raises the effort for the whole project. Use a clean architecture and segregation instead.
- Classifying once and never again. If the intended use or the risk analysis changes, review the classification.
- No documented rationale. The class alone is not enough. The reasoning is what a reviewer checks.
What about the second edition of IEC 62304?
Please note that the standard is being revised. As of mid-2026, the second edition was still at committee draft stage and had not been published. Commentary on the drafts, for example from the Johner Institute and VDE, describes possible changes to the classification, including a discussion about replacing the three classes with process rigour levels. The content of the drafts may still change.
For current projects, the version in force is IEC 62304:2006 + A1:2015, which this article describes. Check the status of the second edition before you start a new project.
Frequently asked questions about IEC 62304 safety classes
How many software safety classes are there in IEC 62304?
Three: Class A, Class B and Class C.
Who decides the software safety class?
The manufacturer decides, based on its risk analysis, and documents the rationale. Auditors and notified bodies check the classification.
Does Class A mean no documentation?
No. Class A software still needs development planning, requirements analysis, system testing, configuration management and problem resolution.
How is the classification related to ISO 14971?
The classification uses the hazardous situations and the severity of harm from the risk management process of ISO 14971.
What is the difference between the IEC 62304 classes and ASIL in ISO 26262?
The ASIL combines severity, exposure and controllability. IEC 62304 looks at the severity of the possible harm and at risk control measures outside the software, and it assumes that a software failure always occurs. The two systems are not interchangeable. See HARA explained for the automotive approach.
Learn More About IEC 62304
Choosing the right software safety class is one of the first decisions in medical device software development.
Our IEC 62304 training explains how the safety classes A, B and C, the software development process, risk management and maintenance fit together within the medical device software lifecycle.
Explore our IEC 62304 online training →
Planning to cover risk management, quality management and software together? See the Medical Devices Bundle.