Margaret Hamilton, Apollo Software Engineering Pioneer, Dies at 90
The computing pioneer who directed NASA's Apollo flight software development and established software engineering as a formal discipline passed away on September 30.

Key takeaways
- Margaret Hamilton passed away on September 30, 2026, at the age of 90, as announced by MIT.
- She directed the software development team at MIT's Instrumentation Laboratory that built the onboard guidance systems for NASA's Apollo missions.
- Hamilton helped establish and popularize 'software engineering' as an independent professional discipline.
- Her priority-driven software architecture prevented a mission abort during Apollo 11's lunar descent in July 1969.
- She was awarded the Presidential Medal of Freedom by President Barack Obama in 2016 for her contributions.
Margaret Hamilton, the computer scientist whose flight software guided NASA astronauts safely to the lunar surface during the Apollo program, died on September 30, 2026, at the age of 90. The Massachusetts Institute of Technology announced her passing on October 7, 2026, noting that a memorial service will take place in Cambridge, Massachusetts, in the spring. MIT did not disclose a cause of death.
Hamilton led the software engineering division at MIT’s Instrumentation Laboratory during the Apollo missions, helping establish software engineering as a rigorous, respected discipline at a time when programming was often viewed as an afterthought to hardware engineering. According to an announcement from MIT News, Hamilton directed the development of the onboard flight software for both the command module and lunar lander, overseeing work that spanned hundreds of engineers.
Margaret Hamilton and the Origins of Software Engineering
Born in Paoli, Indiana, in 1936, Hamilton earned a bachelor's degree in mathematics with a minor in philosophy from Earlham College in 1958 after studying at the University of Michigan. She moved to Boston in 1959 while her husband attended Harvard Law School and took a programming job in MIT's meteorology department under Edward N. Lorenz. Her work writing weather prediction programs there helped inform Lorenz's foundational work on chaos theory, as reported by MIT News.

In 1961, Hamilton moved to MIT Lincoln Laboratory, where she wrote software for the prototype AN/FSQ-7 computer as part of the Semi-Automatic Ground Environment air defense system designed to identify unfriendly aircraft. It was during this work that Hamilton developed a deep focus on software reliability and fault tolerance.
When MIT won the NASA contract to develop onboard guidance software for the Apollo program, Hamilton applied for an open position in 1965. She became the first programmer and first woman hired to work on the Apollo project at MIT, as detailed by The Guardian. Hamilton initially developed software for uncrewed Apollo flights before being elevated to lead flight software development for the crewed missions. By 1968, she served as assistant director in charge of the Command and Service Module team, with more than 400 people working on Apollo software across the project.
During her tenure, Hamilton fought to have software recognized on par with physical hardware. "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," Hamilton explained in a 2018 interview cited by MIT. She noted that while colleagues initially treated the phrase as an ongoing joke, software engineering gradually earned parity with established engineering fields.
Defensive Programming and the Apollo Missions
Hamilton's leadership was defined by an insistence on error prevention, rigorous end-to-end testing, and asynchronous execution. One of her most famous contributions arose from what became known within MIT as "the Lauren error," reported by ksl.com.

While playing with an Apollo command module simulator at the laboratory, Hamilton's four-year-old daughter, Lauren, selected a pre-launch program known as P01 during simulated flight, which crashed the system. Hamilton advocated adding software safeguards to block users from activating P01 mid-flight, but she was overruled on the grounds that the highly trained astronauts were never going to make that same mistake. However, during the Apollo 8 flight in 1968, astronaut Jim Lovell accidentally selected P01, erasing critical navigational data. Hamilton and her team were called in to solve the error, and her safeguards were promptly incorporated into the flight code.
Hamilton's asynchronous architecture and priority-driven scheduling proved critical during Apollo 11's lunar landing in July of 1969. Three minutes before the lunar module was scheduled to touch down, the onboard computer triggered 1202 alarms because the computer was overloaded due to a fault in a hardware switch.
Rather than crashing or forcing an immediate mission abort, Hamilton's software recognized that the computer was overloaded. It shut down unnecessary background tasks in order to prioritize mission-critical tasks, allowing Apollo astronauts to safely land on the moon. As Hamilton later recalled to The Guardian, "It quickly became clear the software was not only informing everyone that there was a hardware-related problem but was compensating for it – restarting and re-establishing the highest priority tasks."
Later Career, Entrepreneurship, and Enduring Recognition
Following the conclusion of the Apollo program, MIT's Instrumentation Laboratory was spun off as the Charles Stark Draper Laboratory. Rather than remaining at the lab, Hamilton transitioned into entrepreneurship. In 1976, she created Higher Order Software, based on her software engineering approach of error prevention and fault tolerance. In 1986, she founded Hamilton Technologies, where she developed the Universal Systems Language, a systems modeling language and methodology for engineering complex software systems that prioritize error prevention and defensive programming.
Hamilton authored more than 130 technical publications over her career. Technologist Paul Curto, who nominated her for NASA's Exceptional Space Act Award in 2003, noted that her concepts of asynchronous software, priority scheduling, and human-in-the-loop decision-making established the foundation for ultra-reliable system design, according to ksl.com.
In 2016, President Barack Obama awarded Hamilton the Presidential Medal of Freedom. In his citation, Obama remarked that "Hamilton defined new forms of software engineering and helped launch an industry that would forever change human history."
Hamilton was also inducted into the National Aviation Hall of Fame in 2022 and recognized as a Computer History Museum Fellow in 2017. Her MIT Apollo flight software was released publicly on GitHub in 2015, preserving her team's foundational code for future generations of developers. Hamilton is survived by her daughter, Lauren Hamilton; her son-in-law, Richard Selesnick; two grandsons; and four great-grandchildren.
Frequently asked questions
When did Margaret Hamilton die, and how old was she?
Margaret Hamilton died on September 30, 2026, at the age of 90. MIT announced her passing on October 7, 2026.
What was Margaret Hamilton's role in the Apollo program?
Hamilton led the software engineering division at MIT's Instrumentation Laboratory, directing the team that designed and built the onboard guidance and navigation software for NASA's Apollo command modules and lunar landers.
What was the 'Lauren error' in Apollo software?
It was a software scenario discovered when Hamilton's four-year-old daughter accidentally ran a pre-launch program in an Apollo flight simulator, causing it to crash. Hamilton subsequently added safeguards to prevent astronauts from making the same mistake during flight.
How did Hamilton's code save the Apollo 11 lunar landing?
Minutes before touchdown, an incorrectly positioned radar switch overloaded the lunar module's computer with data. Hamilton's priority-driven software shed low-priority background tasks, prioritizing mission-critical tasks for the landing procedure and preventing an abort.
Sources
- Margaret Hamilton, trailblazer whose software powered Apollo 11 moon landing, dies at 90The Guardian · Oct 8, 2026
- Margaret Hamilton, computing pioneer who led software development for the Apollo program, dies at 90MIT News | Massachusetts Institute of Technology · Oct 7, 2026
- Margaret Hamilton, whose software helped land Apollo astronauts on the moon, has diedksl.com · Oct 8, 2026
- Margaret Hamilton, whose software helped land Apollo astronauts on the moon, has diedNews Channel 3-12 · Oct 8, 2026
- Margaret Hamilton, whose software helped land Apollo astronauts on the moon, has diedctvnews.ca · Oct 8, 2026
How this story was made: the newsroom picked it up from Techmeme and Reddit, gathered the full text of the sources above, and drafted it with AI assistance. Every factual claim was then checked against those sources before publishing (32 claims checked). Illustrations marked as AI-generated are not photographs. Spotted an error? Tell us.
Published October 8, 2026 at 02:45 UTC


