Margaret Hamilton, Software Engineer Who Led Apollo Guidance Code, Dies at 90
The MIT scientist who directed the team that wrote the onboard flight software for NASA’s Apollo missions died on 30 September in Cambridge, Massachusetts. Her work helped enable the first Moon landings and helped establish software engineering as a discipline.

Cambridge, Massachusetts4 min read
Last updated
Margaret Hamilton, the computer scientist who led the software engineering team for NASA’s Apollo programme, died on 30 September at a hospital in Cambridge, Massachusetts. She was 90. Her daughter, Lauren Hamilton, confirmed the death to the Associated Press. NASA Administrator Jared Isaacman noted that her work helped make the first journeys to the Moon possible.
Hamilton directed a group of roughly 100 engineers at the Massachusetts Institute of Technology’s Instrumentation Laboratory. The team produced the onboard flight software for the Apollo command and lunar modules. The code ran on the Apollo Guidance Computer, a 70-pound machine whose reliability was essential to the missions. During the Apollo 11 landing, the software’s priority-interrupt system allowed the computer to shed non-essential tasks and continue guiding the descent after an unexpected radar overload.
She joined MIT in 1959 and remained until the mid-1970s. She was the first woman hired as a programmer on the Apollo project. Colleagues credit her with popularising the term “software engineering” at a time when the activity was not yet recognised as a formal engineering discipline. Olivier de Weck, interim head of MIT’s Department of Aeronautics and Astronautics, said calling her a pioneer would be an understatement.
Hamilton was born Margaret Elaine Heafield on 17 August 1936 in Paoli, Indiana, and grew up largely in Michigan’s Upper Peninsula. She studied mathematics and began programming while supporting her husband’s law-school studies. When MIT received the NASA contract for Apollo onboard computers, she volunteered. She later became director of the Software Engineering Division.
In 2016 President Barack Obama awarded her the Presidential Medal of Freedom. During the ceremony he recalled that the Apollo 11 astronauts had little time but had Margaret Hamilton. A widely circulated photograph shows her standing beside a stack of printed code taller than she was. The image has become a reference point in discussions of early software development and of women in computing.
After leaving MIT she founded her own software companies and continued to write and consult. She authored more than 130 publications. MIT’s statement emphasised that she developed advanced code herself and led a team that produced one of the most complex systems of its era. Draper Laboratory, the successor organisation to the Instrumentation Lab, said her contributions left an indelible mark.
Lauren Hamilton described her mother as someone who encountered sexism in the field but responded with humour and quiet competence rather than confrontation. She lived in Cambridge from her early twenties until her death. Survivors include her daughter, a son-in-law, two grandsons, four great-grandchildren and three siblings.
The Apollo software had to operate within severe memory and processing constraints. Hamilton’s team introduced rigorous error-detection and recovery methods that later influenced commercial and safety-critical software practices. The priority display and alarm system that functioned during the lunar landing is frequently cited as an example of defensive design.
NASA and MIT both issued statements within days of the announcement. Isaacman’s post on social media highlighted the direct link between her code and the success of the crewed lunar missions. Academic tributes noted that she worked in an environment where the title of software engineer did not yet exist and helped create the professional identity that followed.
Hamilton’s career spanned the transition from bespoke, mission-specific programming to the broader discipline of software engineering. Her insistence on systematic testing and on treating software as an engineered product rather than an afterthought shaped practices still used in aerospace and other high-reliability domains.
The family has said a gathering to celebrate her life and work will be announced later. No cause of death was disclosed in the initial reports. She had remained in the Cambridge area and maintained connections with former colleagues and with institutions that recognised her contributions in later decades.
The Apollo Guidance Computer software is preserved in archives and has been studied by historians of computing. Hamilton’s papers and oral histories form part of that record. Researchers continue to examine how the small team produced code that met the unforgiving requirements of human spaceflight.
Her death closes a direct link to the engineering effort that placed astronauts on the lunar surface. The systems she oversaw operated successfully across multiple missions. The methods developed under her direction remain reference points for engineers who design software that must not fail.
Public recognition increased in the 2010s with the Medal of Freedom and with renewed interest in the often-overlooked contributors to Apollo. The photograph of Hamilton beside the code printouts circulated widely online and in textbooks. She became one of the more visible symbols of early women programmers.
MIT’s aeronautics and astronautics department described her as ahead of her time both in technical approach and in organisational leadership. She managed a large team while the laboratory was simultaneously developing the hardware. The integration of software and hardware schedules was a persistent challenge that her group helped resolve.
Hamilton is survived by the relatives already noted. Her daughter has spoken of the example she set for later generations, including her own great-granddaughters. The combination of technical achievement and later public acknowledgement defined the second half of her life.
The onboard software she led continues to be cited in discussions of reliable real-time systems. Its successful performance under unexpected load during Apollo 11 is taught in software-engineering courses. That single episode illustrates the practical consequence of the design principles she championed.
With her death the community of engineers who worked on the original Apollo computers grows smaller. Archival projects and oral-history programmes have sought to record their accounts. Hamilton’s own interviews and writings form a substantial part of that documentation.
The announcement of her death on 8 October prompted statements from space agencies, universities and professional societies. The consistent theme was the foundational character of the software she directed and the lasting influence of the practices she helped establish.
Continue reading
- News
Brussels Anti-Austerity March Draws Tens of Thousands as Clashes Erupt on Sidelines
Almanaque Digital DeskBrussels
- Sciences
Francis Halzen Wins 2026 Nobel Physics Prize for IceCube Neutrino Observatory
Almanaque Digital DeskStockholm
- Sciences
Kagan and Soai Win 2026 Nobel Chemistry Prize for Work on Mirror-Image Molecules