Having died at the age of 90, she led the development of the Apollo programs at MIT, transforming computer reliability into an engineering discipline.

On July 20, 1969, as the lunar module Eagle approached the surface of the Moon, the onboard computer began to signal an overload. Alarms 1202 and 1201 appeared during one of the most delicate maneuvers of the entire Apollo 11 mission. The system, however, managed to maintain the functions essential for the descent, allowing the control center in Houston to authorize the continuation of the landing. A crucial part of that capability had been designed in. Massachusetts Institute of Technology (MIT) under the direction of Margaret Hamilton.
The American mathematician and computer scientist, a key figure in the birth of modern software engineering, has died on September 30, 2026, at the age of 90MIT announced his passing on October 7, tracing a career that spanned more than two decades of university research, the NASA space program, and the subsequent founding of two technology companies. Hamilton authored more than 130 publications and helped establish scientific and professional autonomy in an activity that in the 1960s was often considered subordinate to hardware design.
Her contribution does not end with the code that accompanied Neil Armstrong and Buzz Aldrin on the Moon. Margaret developed and promoted an approach in which error prevention, anomaly management and business continuity They became features to be incorporated into IT architecture from the earliest stages of the project. These principles retain practical significance in aerospace systems, industrial devices, and digital infrastructures where a malfunction can have physical consequences.

From Edward Lorenz's meteorology to the first air defense systems
Born on August 17, 1936 in Paoli, in the State of IndianaMargaret Hamilton began studying mathematics at the University of Michigan in 1955, then transferred to Earlham College. There, she earned a bachelor's degree in mathematics with minors in philosophy in 1958. The following year, she settled in Boston with her husband, who was studying law, and found a temporary job in the MIT meteorology department.
His first IT assignment was next to Edward Norton Lorenz, a mathematician and meteorologist who contributed to the formulation of chaos theory. Hamilton worked on programming models for weather forecasting, an activity in which the behavior of complex systems was translated into computational procedures. His work contributed to the research that the esteemed Lorenz would later develop into the sensitivity of forecasts to initial conditions.
In 1961 he moved to MIT Lincoln Laboratory, participating in the Semi-Automatic Ground Environment project, known as SAGE. This was a US air defense system that combined radar, electronic processing, and command procedures to detect hostile aircraft. Margaret programmed the prototype computer AN/FSQ-7 (XD-1), intended for the processing of surveillance data.
In such a system, it wasn't enough to obtain the correct result under ideal conditions. The information came from different devices and had to be processed within time constraints. Errors, delays, or unforeseen situations could compromise the usefulness of the entire infrastructure. It was during this period that Hamilton began to focus on software reliability, that is, on the reliability of the software, when the topic did not yet have the consolidated methodologies that it would acquire in the following decades.
The transition to the Apollo program occurred in 1965. Margaret was considering continuing her university studies when her husband spotted an ad from MIT's Instrumentation Laboratory, which was looking for programmers to develop the software needed to land men on the Moon. The laboratory had obtained from NASA the flight computer systems contract. Hamilton applied and became the first programmer hired for that project at MIT, as well as the first woman to hold that position.

Over 400 people to set up the Apollo project missions
Margaret Hamilton initially worked on software for unmanned missions. She later took on increasing responsibilities in the development of programs for manned missions. By 1968, she was already assistant director and headed the group responsible for the command and service module software. Overall, over 400 Guests were engaged in the development of the Apollo flight programs, including the lunar module and command module groups coordinated by Hamilton.
The complexity of the undertaking was also determined by the available computing resources.Apollo Guidance Computer (AGC), developed to guide and control spacecraft operations, had extremely limited memory by today's standards. Technical reconstructions preserved by NASA indicate approximately 2.048 words of modifiable memory and 36.864 words of fixed memory, with an architecture based on 15-bit words and a parity bit.
The operating software had to share these resources between navigation, engine control, astronaut interface, and instrument data management. Instructions were programmed in low-level languages and subjected to extensive verification procedures. Permanent memory used technology. core rope memory, in which the content was physically encoded through the path of wires in magnetic cores. Once created, modifying it was not the same as installing an update on a modern computer.
Design therefore required a high level of preventive discipline. Errors not detected before production could become particularly difficult to correct, while actual flight conditions introduced variables impossible to fully control. The group developed asynchronous processing systems and procedures capable of distinguishing between urgent operations and postponable activities, turning hardware limitations into a problem of software architecture, planning and control.
An image taken at MIT in 1969 shows Margaret Hamilton next to a stack of paper listings almost as tall as she is. The pages documented the work on the lunar module and command and service module programs. The photograph has become one of the most recognizable symbols of computing history, but it also illustrates a specific characteristic of Apollo development: the software had reached a size and complexity that required dedicated work organization, documentation, and engineering responsibility.

Apollo 11's warnings and the strict principle of operational priorities
The best-known proof of that approach came during the moon landing of theApollo 11In the final minutes of the descent on July 20, 1969, as already mentioned, the Eagle module's computer began displaying alarms 1202 and 1201. These signals indicated that the processing management system did not have the resources necessary to accept all processing requests. Subsequent reconstructions identified the configuration and operation of the rendezvous radar as the cause of the additional load that had saturated the available resources.
The key issue was the software's behavior in the presence of overload. Instead of indiscriminately interrupting execution or giving equal attention to every request, the architecture developed at MIT featured a priority systemOperations essential to trajectory and engine control could continue, while secondary activities were excluded from recovery or postponed.
The mechanism included procedures for anomaly detection, restart, and selective task recovery. It wasn't simply a matter of ignoring an error message: the computer had to recognize the inability to perform all the requested tasks, recover resources, and conserve those necessary for the safety of the maneuver. This logic was also documented in the NASA's technical reconstructions of the Apollo 11 warnings.
The decision to continue the landing, however, remained a human one. Mission control specialists evaluated the warnings based on available information, computer behavior, and previous checks. The priority system provided the technical conditions that allowed the operators to deem the continuation of the descent acceptable.
The value of this architecture consisted in the distinction between component failure, system overload, and loss of essential functionsA computer could encounter an abnormal condition without necessarily losing the ability to execute the most important instructions. This is a fundamental principle in critical computer systems, where error handling can be as important as the correctness of the algorithm used under normal conditions.
In 2003, awarding Margaret Hamilton the NASA Exceptional Space Act Award, the space agency explicitly recognized his team's contributions to concepts such as asynchronous processing, prioritization, end-to-end testing, and the interaction between human decisions and automated systems. The safety of the Apollo Guidance Computer thus depended not on a single routine, but on the integration of multiple mechanisms designed to work together.
How my daughter helped to the development of the Apollo Program's software, a thread 👩👧🚀🌕 https://t.co/nxyT8MOTTq
— Margaret Hamilton (@Margareth_A11) February 27, 2021
Daughter Lauren's accidental mistake that anticipated a real problem
A lesser-known episode helps us understand how Hamilton dealt with unexpected situations. During a visit to the Instrumentation Laboratory, his daughter Lauren, then four years old, was playing with the command module simulator when he accidentally activated the P01 program, scheduled for a pre-launch phase, while the simulation was already in flight. This operation caused the simulator to abort.
Hamilton realized that the problem wasn't simply a command pressed at the wrong time. The software was allowing a procedure to be executed that was incompatible with the vehicle's operational state. He therefore proposed a modification to prevent that sequence from being initiated during flight, but the change was initially rejected because it was deemed unlikely that properly trained astronauts would make such a mistake.
During Apollo 8, in 1968Jim Lovell actually activated P01 in flight, causing the loss of navigation data stored for that phase of the mission. Margaret and her team had to intervene to resolve the problem. The preventive changes she had suggested were later incorporated.
The case illustrates the principle of defensive programmingA system must be designed considering not only correct procedures, but also plausible human errors, unexpected sequences, and interactions between components. Relying entirely on operator training for safety leaves open a class of risks that can otherwise be addressed during the design process.
The American scientist extended this approach to error prevention throughout the entire development cycle. Verification was not limited to the behavior of individual programs, but encompassed their interactions and the operating conditions of the whole. Lauren's episode remains particularly significant because a seemingly marginal situation exposed an architectural flaw before it was reproduced in a real mission.

From program engineering to two leading technology companies
Hamilton continued to work at the Instrumentation Laboratory throughout the 1970s. As the Apollo program wound down, the laboratory separated from MIT and became its current Draper LaboratoryThe researcher then embarked on an entrepreneurial career, transferring the methodologies developed during space missions into industrial activities.
In 1976 founded Higher Order Software, a company built around an approach that prioritized error prevention and fault tolerance. Ten years later he founded Hamilton Technologies, with the aim of developing products and services for planning, systems engineering and the construction of complex software.
One of the main results of this second experience was theUniversal Systems Language (USL), a modeling language and methodology designed to describe complex systems, formalize relationships between components, and prevent structural errors. The approach aimed to identify critical issues before they manifested during execution by modifying the way requirements were represented and transformed into IT architectures.
The industrial experience continued a professional battle begun at MIT: to recognize software as having the same engineering status as physical systems. Hamilton helped popularize the expression software engineering at a time when programming was often considered an ancillary activity to computer building.
In an interview with El País in 2018, Margaret recalled that she deliberately used the term to distinguish software from hardware, even though she considered both to be part of overall systems engineering. The term, initially greeted with irony by some colleagues, helped define a professional field with its own methods, skills, and responsibilities.
This distinction had concrete organizational consequences. Treating software as engineering meant assigning it appropriate validation procedures, resources, decision-making responsibilities, and quality criteria. In complex systems, it was no longer enough to simply ask for the program to work: it was necessary to establish what conditions it had to respect, what anomalies it could tolerate and how to verify its behaviour.
The recognitions awarded to her and the memory of a collective work
In the following years, Margaret Hamilton received numerous awards. In 2016, the US President Barack Obama awarded her the Presidential Medal of Freedom, one of the highest civilian honors in the United StatesThis was followed by the Computer History Museum Fellow Award in 2017, the Intrepid Lifetime Achievement Award in 2019, and induction into the National Aviation Hall of Fame in 2022.
Public awareness also grew through the dissemination of the 1969 photograph with the Apollo listings. In 2015, the code developed by the space program groups was made available on GitHub, allowing researchers, programmers, and enthusiasts to directly examine a part of the history of computing. In 2017, Hamilton was also featured in a Lego minifigure from the Women of NASA collection, dedicated to four women in the space agency's history.
The individual dimension of his story, however, should not obscure the collective nature of the program. The Apollo 11 alarms were addressed thanks to the joint work of programmers, hardware designers, mission technicians, flight controllers, and astronauts. Hamilton played a key leadership and design role within a structure where safety also depended on collaboration between different groups and cross-checking of solutions.
Olivier “Oli” de Weck, professor of the Apollo program and interim head of the Department of Aeronautics and Astronautics at MIT, recalled Margaret's contribution
"to the creation of an engineering practice grounded in problem solving and managing the unknown. The theme of the unexpected runs throughout his career, from meteorological applications to space systems and the modeling methodologies developed within his companies."
Margaret Hamilton is survived by her daughter Lauren, her son-in-law Richard Selesnick, two grandchildren, four great-grandchildren, and siblings John, David, and Kathryn. A memorial service is planned for spring 2027 in Cambridge, Massachusetts, the university town where he began programming in 1959.
The most precise technical legacy of his work is preserved in the idea that a reliable system does not necessarily have to be free of anomalies, but must know recognize them, contain them and preserve the essential functionsThe Apollo 11 computer demonstrated this capability while the Eagle module was still descending. That evening, the difference between an alarm and mission abort also depended on software choices made long, long before launch…
A comprehensive chat with Margaret Hamilton from “Hack the Moon” about software engineering
Here are three insights that might interest you:
Artemis II and the record that reopened the path to the Moon
For Tim Berners-Lee in the age of AI the Web must be given back to the people
The powerful supercomputer “Alps” was inaugurated in Lugano




