Margaret Hamilton, the computer scientist who led the team that wrote the onboard flight software for NASA’s crewed Apollo missions, died on Sept. 30, 2026, at a hospital in Cambridge, Massachusetts. She was 90. Her daughter, Lauren Hamilton, confirmed the death, and MIT, where she built her career, announced it a week later on Oct. 7.
Save more, waste less: The Cool Down’s free newsletter sends smart, simple changes that help you and the planet in your everyday life.
Subscribe to The Cool Down free →
We may earn a commission if you sign up.
Her code ran on the guidance computers that carried astronauts to the Moon, and one episode in particular, an alarm that flashed seconds before Apollo 11’s lunar module touched down, became the best-known illustration of why her approach to software mattered.
From weather forecasting to the Instrumentation Lab
According to MIT News, Hamilton was born in 1936 in Paoli, Indiana, and earned a mathematics degree from Earlham College in 1958. From 1959 to 1961 she worked in MIT’s meteorology department writing weather prediction software with Edward Lorenz. In 1961 she moved to MIT Lincoln Laboratory as a programmer on SAGE, the U.S. air defense system.
In 1965 she was hired as the first programmer for the Apollo project at MIT’s Instrumentation Lab and its first female programmer. The lab held NASA’s Apollo contract, and Space.com’s profile credits her division with software that governed the spacecraft’s flight dynamics on the six landing missions flown from 1969 to 1972. She began with software for uncrewed missions, then led the work for crewed flights, and by 1968 she was assistant director over the Command and Service Module team.
WBUR’s obituary adds that Lauren Hamilton described her mother as very much a mathematician, someone interested in the abstraction of how to turn thought into software. That description fits the career: Hamilton treated programming as an engineering discipline with rules of its own at a time when the field had barely been named, and MIT News credits her with helping establish software engineering and coining the term. The Space.com profile adds that the software foundation built for Apollo was later adapted for Skylab, the Space Shuttle and early digital fly-by-wire aircraft, and that the 2003 NASA award was, at the time, the agency’s largest financial award to an individual.
The 1202 alarm and priority scheduling
In July 1969, shortly before the Apollo 11 lunar module Eagle landed, the guidance computer raised a 1202 alarm, a sign that it was overloaded. MIT’s account says the cause was likely a hardware switch fault, and the Space.com profile describes a checklist error that left a rendezvous radar switch in the wrong position, with 1201 and 1202 alarms interrupting the descent. Because the software was priority-driven, it shut down non-essential background tasks and kept the landing-critical work running, and Houston allowed the descent to continue. The software effectively compensated for a hardware problem it had never been told about.
The design choice behind that outcome came from earlier trouble. MIT News recounts that Hamilton’s daughter once accidentally triggered the P01 program in a simulator. Hamilton proposed a safeguard, but it was initially rejected. Jim Lovell later launched P01 during Apollo 8, and her fix was then adopted. The episode is often cited as an early example of defensive programming.
Hamilton later reflected on the era in a 2009 interview with MIT News, quoted by MIT: looking back, she said, her team was among the luckiest people in the world, and there was no choice but to be pioneers. In the same interview, as the Associated Press recounted, she said that because software was a mystery, a black box, upper management gave the programmers total freedom and trust.
Honors, a company of her own and a lasting influence
Hamilton left MIT in the mid-1970s and went on to found Higher Order Software in 1976 and, about a decade later, Hamilton Technologies, which created the Universal Systems Language. She published more than 130 works. Recognition arrived late: NASA gave her its Exceptional Space Act Award in 2003, and on Nov. 22, 2016, President Barack Obama presented her with the Presidential Medal of Freedom. The 2016 MIT announcement noted the citation for her work on asynchronous software, priority scheduling and priority displays.
Obama’s citation said “Her software architecture led to giant leaps for humankind”, according to MIT. Olivier de Weck, the Apollo Program Professor and interim head of MIT’s Aeronautics and Astronautics department, said Hamilton was a fundamental contributor to the program’s success. Jerry Wohletz, president and chief executive of Draper, said she left an indelible mark there.
Further honors followed, including 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. She is survived by her daughter, Lauren Hamilton; her son-in-law, Richard Selesnick; two grandsons; four great-grandchildren; and her siblings John, David and Kathryn. A memorial service is planned for the spring in Cambridge. The Associated Press obituary by Jamie Stengle carried the news widely on Oct. 8.
This article was produced with the assistance of AI and reviewed by Morning Overview editors prior to publication.
More from Morning Overview
- Tropical Storm Rachel is dumping up to 12 inches on four Mexican states on its way to major hurricane strength
- The FTC says Lens.com doubled the price shoppers saw in Google ads
- Common allergy, bladder and sleep pills tied to sharply higher dementia odds
- NOAA now gives this winter a 75% chance of the strongest El Nino since 1950