CaseLearn logo
CASELEARN
Education that works
Try free
Home › Case studies › Therac-25
TechnologyEngineering FailureMedical DevicesAdvanced1985

Therac-25: The Radiation Machine That Killed People Due to a Software Bug

How removing hardware safety interlocks and trusting software alone caused a radiation therapy machine to deliver lethal doses — killing at least 6 patients.

The challenge

The Therac-25 was a radiation therapy machine produced by Atomic Energy of Canada Limited. Unlike its predecessors (Therac-6 and Therac-20), it removed hardware safety interlocks — physical mechanisms that prevented dangerous radiation levels — and replaced them entirely with software safety checks. This was considered an advancement.

The strategy

The software was written by a single developer and reused code from earlier Therac models without understanding the hardware differences. The Therac-25 software had a race condition — a timing bug where the sequence of user inputs could put the machine into a state where it believed safety checks had passed when they hadn't.

Want the full story, outcome and quiz?

Read how Therac-25 executed it, the results, key lessons and test yourself with a quiz. Free on CaseLearn.

Try the full case free →

Key lessons (preview)

More Engineering Failure cases

FacebookThe 6-Hour Outage — How DNS Took Down EverythingKnight Capital$440 Million Lost in 45 Minutes — The Costliest Bug in HistoryCrowdstrike8.5 Million Windows Machines Crashed by One UpdateLog4ShellThe Vulnerability That Broke the Internet