History logo

Therac-25 Incident: The Deadly Consequences of Software Failure in Medical Devices

How a Radiation Therapy Machine’s Software Flaws Led to Fatal Overdoses and Redefined Safety Standards in Medical Technology

By M.AhMaDPublished about a year ago 3 min read
Therac-25 Incident: The Deadly Consequences of Software Failure in Medical Devices
Photo by Michael on Unsplash

The Therac-25 incident is one of the most critical cases in the history of medical technology failures and is often studied for its lessons in safety, ethics, and software engineering. The Therac-25 was a computer-controlled radiation therapy machine developed in the 1980s by Atomic Energy of Canada Limited (AECL) for treating cancer patients with high doses of radiation. Unlike its predecessors, the Therac-25 relied more heavily on software controls, using minimal hardware fail-safes. Unfortunately, the machine's design flaws led to several incidents in which patients were accidentally administered massive overdoses of radiation, resulting in severe injuries and fatalities.

Background on Therac-25

The Therac-25, designed as an improvement over earlier models, used a linear accelerator to deliver electron and X-ray beams for targeted radiation treatment. However, while integrating new software-based controls, the engineers overlooked certain safety redundancies previously handled by hardware. This reliance on software, combined with inadequate testing, poor documentation, and a lack of thorough quality control, created a perfect storm of vulnerabilities.

Nature of the Accidents

Between 1985 and 1987, multiple accidents occurred due to software bugs in the Therac-25’s control system. The machine's interface allowed operators to input treatment instructions and administer the radiation dose, but certain flaws led to a failure in error reporting. In some cases, a software bug caused the machine to skip checks for beam intensity and mode, resulting in the machine delivering radiation levels hundreds of times higher than prescribed. Patients suffered burns, tissue damage, and in some cases, fatal injuries due to the unregulated, high-intensity beams.

One of the primary software bugs involved an error in the sequence for setting the radiation mode. When an operator quickly selected a mode (such as electron or X-ray), the machine's internal checks could misinterpret this rapid input and allow high-powered beams without appropriate safeguards. The software did not catch these inconsistencies due to poor error handling and inadequate testing.

Technical and Engineering Flaws

Several design flaws in the Therac-25’s development contributed to the tragic accidents:

Software Reliance and Lack of Safeguards: Earlier Therac models used physical locks and checks to prevent accidental overdoses. The Therac-25, however, relied almost entirely on software controls without sufficient hardware fail-safes.

By Jake Walker on Unsplash

Race Conditions and Code Issues: The software was plagued by a “race condition” bug, which allowed concurrent commands to interfere with each other. This bug went undetected due to insufficient testing practices.

Operator Feedback and Error Handling: The machine’s interface did not provide clear error messages, so operators were often unaware of malfunctions. Errors in programming also meant that operators received inaccurate status updates, leading to further complications.

Lessons Learned and Ethical Implications

The Therac-25 incident became a significant case study in the importance of software testing, system reliability, and engineering ethics. The following lessons emerged:

Importance of Fail-Safes: Relying solely on software controls without hardware back-ups, especially in critical applications like medical devices, proved catastrophic.

Thorough Testing and Verification: Complex systems require exhaustive testing to identify potential race conditions, edge cases, and error scenarios. This case highlighted the need for rigorous quality assurance processes.

Transparent Error Reporting: Effective error feedback for operators is essential in preventing user-related accidents. The lack of clear error messages in the Therac-25 misled operators, leading to repeated mishaps.

Responsibility and Accountability in Engineering: The incident underscored the ethical responsibility of engineers and companies to prioritize safety, especially in healthcare technology. Both software developers and medical device manufacturers must adhere to strict standards, fully test products, and remain vigilant about potential risks.

In response to the Therac-25 accidents, regulatory agencies introduced stricter safety standards for medical devices. The U.S. Food and Drug Administration (FDA) also revamped its guidelines for medical device testing and documentation to ensure that similar tragedies would be less likely in the future.

Legacy and Impact

The Therac-25 case is a reminder of the ethical and professional obligations in engineering and software development, particularly in fields where human lives are directly impacted. Its legacy continues to influence medical device regulation, safety standards, and the design of fail-safe systems across industries. The incident also led to the establishment of safety-critical systems engineering as a field, where specialized methods are developed to verify the safety of software used in mission-critical applications like healthcare, aerospace, and nuclear power.

Today, the Therac-25 incident remains an essential case study in engineering curricula worldwide, illustrating how preventable tragedies can occur from lapses in design, testing, and accountability

AnalysisEventsLessonsResearchWorld HistoryModern

About the Creator

M.AhMaD

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2026 Creatd, Inc. All Rights Reserved.