Product and design · 5 min
Therac-25: when software kills
See why safety design matters.
What the sources describe
The Therac-25 was a radiation therapy machine made by Atomic Energy of Canada Limited. Between 1985 and 1987, it delivered massive radiation overdoses in at least six known accidents in the United States and Canada, causing deaths and serious injuries.
Earlier models used hardware safety locks, but the Therac-25 relied more on software. A race condition, a timing error, could occur when an operator quickly edited treatment settings, causing the machine to deliver high-energy radiation without the proper safety setup. Error messages such as "Malfunction 54" were unclear, and operators sometimes continued treatment.
In a 1993 analysis in IEEE Computer, Nancy Leveson and Clark Turner identified problems including overconfidence in software, poor testing, reused code and inadequate response to reports. The Therac-25 is widely taught in software engineering as an example of the need for safety design and independent checks.
Investigators also found that the company initially doubted reports of overdoses and insisted the machine could not cause them. Hospitals sometimes had to discover the cause themselves. Physicist Fritz Hager at a hospital in Tyler, Texas, helped reproduce the error after accidents there in 1986.
Connecting the ideas
The Therac-25 accidents showed how software errors, unclear messages and removed safety hardware can cause deadly harm. Safety-critical systems need strong testing and safeguards.
The big idea
Never rely on one safeguard when lives are at stake.
Use it in real life
In any project where mistakes could cause serious harm, add more than one safety check and make error messages clear. Ask what happens if one check fails, and whether a person would understand an error message well enough to stop and get help before continuing.
Try it
Made-up example: Why was removing hardware safety locks dangerous?
A good answer: the machine relied on software alone, so when a software error occurred, there was no physical safeguard to prevent overdoses.
Quick quiz
1. What caused Therac-25 overdoses?
2. Why were error messages a problem?
3. What lesson does Therac-25 teach?
Finished reading?
Make this the next Doom video?
Vote for the lessons you'd most like to see turned into a short animated story.
How was this lesson?
No ratings yet — be the first.
Sign in to rateSources
Limitations
The causes listed come from Leveson and Turner's published investigation; Wikipedia kept as a second source.
Voice: Debby — Soft and soothing (tap to change)
Debby narration · part 1 of 15
