Margaret Hamilton, Apollo Software Pioneer, Dies at 90
Margaret Hamilton, who led the team that wrote the onboard software for NASA’s Apollo missions and helped coin the term software engineering, died on 30 September at the age of 90.

Cambridge2 min read
Last updated
Margaret Hamilton, the computer scientist who led the software team for NASA’s Apollo missions, died on 30 September 2026 in Cambridge, Massachusetts. She was 90. The Massachusetts Institute of Technology confirmed the death. Her daughter, Lauren Hamilton, said she died in hospital. No cause was released.
Hamilton joined MIT’s Instrumentation Laboratory in the early 1960s. She became the first female programmer hired for the Apollo project and later directed the Software Engineering Division. Her team of about 100 people wrote the onboard software for the command module and the lunar module. The software ran on the two 70-pound computers that guided the spacecraft.
On 20 July 1969, minutes before the lunar landing, the Apollo 11 computer displayed a 1202 program alarm. The alarm indicated that the computer was overloaded. Hamilton’s team had designed the software to prioritise critical tasks and drop lower-priority ones. Mission Control, relying on that design, told the astronauts to continue. Neil Armstrong and Buzz Aldrin landed safely. President Barack Obama cited the episode when he awarded Hamilton the Presidential Medal of Freedom in 2016.
Hamilton is credited with helping establish software engineering as a distinct discipline. She used the term to describe the systematic approach her team applied to reliability, error detection, and recovery. She later founded her own software companies and authored more than 130 publications. MIT said she was a pioneer before the title software engineer was common.
She was born on 17 August 1936 in Indiana and graduated from Earlham College in 1958 with a degree in mathematics. She moved to Cambridge and began working at MIT while her husband attended law school. She remained at the institute until the mid-1970s. Colleagues described her as someone who treated software errors as problems to be solved systematically rather than as inevitable failures.
Hamilton is survived by her daughter, a son-in-law, two grandsons, four great-grandchildren, and three siblings. NASA Administrator Jared Isaacman said her work made the first human journeys to the moon possible. The Draper Laboratory, the successor to the Instrumentation Laboratory, said she left an indelible mark.
Her contribution was practical and specific. The priority-based scheduling and error-recovery routines she and her team wrote allowed the lunar module computer to continue functioning when it was overloaded by radar data during the final descent. Without that design, the landing would have been aborted. The same approach to reliability later influenced commercial and military software systems.
Hamilton received the NASA Exceptional Space Act Award and was inducted into the National Aviation Hall of Fame. She appeared in LEGO’s Women of NASA set. For most of her career she worked behind the scenes. Public recognition increased after the Medal of Freedom ceremony. The software she directed remains one of the clearest documented cases in which careful design prevented a mission failure under real-time pressure.
The death closes a direct link to the engineering decisions that made the Apollo landings possible. The code itself is preserved and has been studied by later generations of programmers. Hamilton’s insistence on treating software as an engineering discipline rather than an afterthought is the lasting practical legacy.