Thursday, October 8, 2026 Latest Syria Denies Plans to Send Troops to Yemen Conflict Our standards
Science

Margaret Hamilton, Apollo Software Pioneer, Dies at Age 90

Margaret Hamilton, the computer scientist who led the team developing onboard software for NASA’s Apollo program, died September 30, 2026, at age 90.

Margaret Hamilton, Apollo Software Pioneer, Dies at Age 90
Margaret Hamilton, Apollo Software Pioneer, Dies at Age 90

Margaret Hamilton, the computer scientist who led the team developing onboard software for NASA’s Apollo program, died September 30, 2026, at age 90. Her work on the Apollo Guidance Computer, specifically priority-driven software, helped ensure the safe lunar landings of the 1960s.

The Massachusetts Institute of Technology confirmed her passing on October 7, 2026. Hamilton joined the Instrumentation Laboratory in 1959, where she eventually managed the Software Engineering Division and directed more than 400 engineers to build the software systems necessary for moon travel.

Hamilton Saves Apollo 11 Mission

The Apollo 11 mission in July 1969 relied on Hamilton’s software when the onboard computer triggered 1202 alarms minutes before the Eagle module reached the lunar surface. The system remained functional despite a hardware switch fault because Hamilton’s team designed the software to prioritize critical tasks by shedding unnecessary background processes.

“If the computer hadn’t recognized this problem and taken recovery action, I doubt if Apollo 11 would have been the successful Moon landing it was.”

Margaret Hamilton, via Byteiota

Hamilton rooted this approach, known as defensive programming, in the belief that software must survive unexpected failures. Her team required graceful degradation—where a system fails safely rather than catastrophically—which was essential for a computer operating on only 4KB of RAM.

Margaret Hamilton developed software that helped land Apollo astronauts on the moon. (Credit: MIT News)
Photo: ctvnews.ca

Hamilton Defines Software Engineering

Hamilton coined the term software engineering to elevate a field that colleagues in the mid-1960s often treated as a secondary task to hardware construction. She faced skepticism from peers who viewed her focus on software rigor as unnecessary.

“I fought to bring the software legitimacy so that it — and those building it — would be given its due respect, and thus I began to use the term ‘software engineering’ to distinguish it from hardware and other kinds of engineering, yet treat each type of engineering as part of the overall systems engineering process.”

Margaret Hamilton, via MIT News

President Barack Obama honored her in 2016 with the Presidential Medal of Freedom, recognizing her role in defining professional standards for the industry.

Child’s Error Inspires Defensive Code

Hamilton’s methodology began when her young daughter, Lauren, accidentally activated a pre-launch program during a flight simulation with a command module simulator, causing the system to crash. NASA management initially dismissed Hamilton’s proposal to integrate safeguards into the technical documentation and software to prevent such errors.

Margaret Hamilton, Apollo Software Pioneer, Dies at Age 90
Photo: byteiota.com

Astronaut Jim Lovell inadvertently triggered that same error during the Apollo 8 mission in 1968. Following that event, the team integrated her defensive programming protocols into the flight software.

This philosophy of anticipating human error continued into her private sector career at Hamilton Technologies, where she developed error-prevention methods like the Universal Systems Language.

Draper Laboratory Honors Legacy

The MIT Instrumentation Laboratory evolved into the independent Draper Laboratory as the Apollo program concluded. Leadership at the organization credited Hamilton with ensuring the safety of astronauts during the lunar missions.

“Margaret left an indelible mark on Draper, and we will be forever grateful. Through her leadership and contributions to the development of the onboard flight software for NASA’s Apollo Guidance Computer, she helped ensure that Apollo astronauts landed safely on the lunar surface and safely returned home. We will honor her legacy at Draper forever.”

Jerry M. Wohletz, president and CEO at Draper, via MIT News

Hamilton is survived by her daughter, Lauren Hamilton, her son-in-law, Richard Selesnick, two grandsons, and four great-grandchildren. A memorial service is planned for the spring in Cambridge, Massachusetts.

Accuracy matters. See something that needs attention? Read our corrections policy or contact the newsroom.

Science Editor

Iris Okafor

Iris Okafor is the editorial identity for TellingPointy's Science desk, following research, space, climate, energy, and discovery with evidence at the centre. Okafor's desk examines study design, sample size, uncertainty, replication, and the difference between a preprint, a peer-reviewed result, and a settled scientific view. The aim is not to drain discovery of wonder, but to show readers exactly what is known, how it is known, and what remains open.