THE WOMAN WHO CODED THE MOON LANDING: APOLLO SOFTWARE PIONEER MARGARET HAMILTON DIES AT 90
October 9, 2026
Margaret Hamilton, the pioneering computer scientist whose software helped make humanity’s first crewed Moon landing possible, has died at the age of 90. Her death marks the passing of a key figure in the history of space exploration and a trailblazer who helped establish software engineering as a distinct discipline.
Hamilton died on September 30, the Massachusetts Institute of Technology (MIT) announced. She became internationally recognised for leading the development of onboard guidance, navigation and control software for NASA’s Apollo programme, which carried astronauts towards the Moon during the 1960s and early 1970s.
Her most celebrated contribution came during the Apollo 11 mission on July 20, 1969, when astronauts Neil Armstrong and Buzz Aldrin were preparing to land the lunar module Eagle on the Moon. Moments before touchdown, the onboard computer triggered alarms numbered 1201 and 1202, indicating that it was struggling with an overloaded workload.
The alarms raised the possibility that the landing might have to be abandoned. However, the software designed by Hamilton and her team enabled the computer to prioritise essential operations and suspend less critical tasks. This allowed the guidance system to continue functioning and helped mission controllers authorise the landing to proceed. Armstrong and Aldrin subsequently made history by reaching the lunar surface.
Born in Indiana in 1936, Hamilton joined MIT in 1959, when computer programming was still an emerging field. She became involved in the Apollo project after MIT was tasked with developing the spacecraft’s guidance and navigation software. At the institution’s Instrumentation Laboratory, she eventually led teams responsible for software used in the command, service and lunar modules.
Hamilton’s work extended beyond writing code. She helped develop approaches to software reliability, error detection and the handling of unexpected computer failures in a mission where even a minor technical malfunction could have catastrophic consequences. She also helped popularise the term “software engineering”, arguing that software development required the same systematic discipline and rigorous standards as other branches of engineering.
During her career, Hamilton continued to break new ground in a field dominated by men. She later established software companies and remained an influential figure in computing long after the Apollo programme ended.
Her achievements received national recognition in 2016, when then US President Barack Obama awarded her the Presidential Medal of Freedom, the country’s highest civilian honour. The award acknowledged her pioneering contribution to the software that helped carry astronauts to the Moon.
Hamilton’s legacy lies not only in her role in one of humanity’s greatest technological achievements but also in the principles of reliable software design that continue to influence modern computing. At a moment when software controls increasingly complex systems, from spacecraft to critical infrastructure, her work remains a powerful example of how careful engineering can help prevent technological failure and make extraordinary achievements possible.