Margaret Hamilton, Apollo software pioneer who saved Moon landing, dies at 90

Margaret Hamilton, the software engineer whose priority-driven code prevented a catastrophic failure during the Apollo 11 Moon landing, has died at age 90. Born in 1936 in Paoli, Indiana, Hamilton led the software team at MIT’s Instrumentation Lab for NASA’s Apollo program. Her work established software engineering as a distinct discipline and saved the Apollo 8 mission by resolving a navigation error she dubbed the 'Lauren bug.'
Key points
- Hamilton died at 90, leaving behind a legacy as the architect of the flight software for NASA’s Apollo missions.
- During Apollo 11, her team’s code prioritized landing procedures over non-essential tasks when the computer overloaded, allowing Neil Armstrong and Buzz Aldrin to land safely.
- She previously saved the Apollo 8 mission by guiding controllers to fix a navigation error triggered by astronaut Jim Lovell, an error Hamilton had identified after her daughter Lauren replicated it in a lab simulator.
- Hamilton coined the term 'software engineering' to elevate the status of programmers, who were often viewed as secondary to hardware developers at the time.
- After leaving MIT, she founded Higher Order Software in 1976 and Hamilton Technologies in 1986, both focused on error-prevention systems.
Background
Our earlier coverage from October 2026 noted that Hamilton received the Presidential Medal of Freedom in 2016 and was widely credited with establishing error-detection protocols that became foundational to modern computing. Her death was first reported on October 8, with subsequent articles highlighting her role in defining software as a professional discipline distinct from hardware engineering.
Why it matters
Hamilton’s work demonstrated that rigorous software design could prevent mission-critical failures in high-stakes environments. Her insistence on error handling and priority-based coding laid the groundwork for modern software engineering practices, ensuring that code reliability is treated with the same rigor as hardware development.
What to watch
The tech industry and academic institutions are expected to honor Hamilton’s legacy, recognizing her contributions to the formalization of software engineering. Her companies’ focus on error prevention continues to influence how critical systems are designed and tested today.
Want the full story? Read the original reporting
Read on Financial Times