Margaret Hamilton, the computer scientist who led the development of critical onboard software for NASA’s Apollo missions, died Sept. 30 at 90, MIT announced.
Hamilton joined MIT in 1959, first writing weather-prediction software with meteorologist Edward Lorenz and later programming an air-defense system at Lincoln Laboratory. In 1965, she became the first programmer hired for MIT’s Apollo project and the project’s first female programmer. She went on to lead teams responsible for the command module and lunar module software.
Code built for the unexpected
Hamilton and her colleagues designed Apollo’s software to anticipate errors and protect the most important work. That approach became crucial during Apollo 11’s descent in July 1969, when the lunar module’s computer reported overload alarms.
The priority-driven software dropped nonessential background tasks and kept the landing functions running. Mission control allowed the descent to continue, and the Eagle landed safely. By 1968, Hamilton was an assistant director overseeing the Command and Service Module team, while more than 400 people worked across Apollo’s software effort.
NASA later described Hamilton as the leader of the Software Engineering Division at MIT’s Instrumentation Laboratory and credited her with popularizing software engineering as a concept. At a time when software was often treated as secondary to hardware, she pushed for error prevention, rigorous testing and fault-tolerant systems.
A discipline and a lasting legacy
After leaving MIT in the mid-1970s, Hamilton founded Higher Order Software in 1976 and Hamilton Technologies a decade later. Both companies grew out of her work on reliable systems and methods for preventing errors before software reached users.
Her work received national recognition. NASA gave her an Exceptional Space Act Award in 2003. In 2016, President Barack Obama presented her with the Presidential Medal of Freedom. At the ceremony, Obama praised Hamilton’s leadership and the Apollo software architecture that helped make the moon landing possible.
Hamilton was also named a Computer History Museum fellow in 2017 and inducted into the National Aviation Hall of Fame in 2022. Her influence endures in the expectation that mission-critical software should not merely work under ideal conditions, but also detect problems, preserve essential functions and recover when the unexpected happens.