Margaret Hamilton, the software engineer whose work made the Apollo moon landings possible, died at the age of 90. As director of the software engineering division at the Massachusetts Institute of Technology’s Instrumentation Laboratory, she oversaw the development of the Apollo Guidance Computer (AGC), the on‑board computer that guided both the command and lunar modules during the historic Apollo missions.
Early Life and Education
Born in Paoli, Indiana, Hamilton was the eldest of four children of teachers Esther (née Partington) and Kenneth Heafield. After her family moved to Michigan, she graduated from Hancock High School in 1954 and pursued mathematics at the University of Michigan and Earlham College, earning a B.A. in 1958. That same year she married fellow student James Hamilton; the couple relocated to Boston in 1959, where their daughter Lauren was born.
Hamilton began her career in MIT’s meteorology department, developing weather‑prediction software alongside Edward Lorenz, the founder of modern chaos theory. Her aptitude led to assignments on U.S. air‑defense systems, and in 1965 she answered an advertisement from MIT’s Instrumentation Laboratory seeking software developers for a lunar‑flight program.
Pioneering Software for Apollo
Hamilton became the first programmer hired for the Apollo effort and the first woman to work on the project. Within three years she rose to assistant director and soon after to director of a team of roughly one hundred engineers. Under her leadership the laboratory produced the AGC, the first computer built on silicon‑integrated circuits—technology now ubiquitous in smartphones, televisions and laptops.
The AGC featured a calculator‑like keypad known as the DSKY (Display and Keyboard), which replaced the joysticks used in earlier Gemini missions. This shift allowed for more precise navigation and freed astronauts to concentrate on other tasks. One AGC controlled the command module that remained in lunar orbit, while a second guided the lunar module (LM) to the surface. Apart from brief manual interventions during descent, the AGC operated the spacecraft autonomously.
During the July 1969 Apollo 11 landing, alarms sounded in the LM. Listening from MIT, Hamilton recognized the cause—a radar switch left active—because she had repeatedly simulated the scenario. She had previously briefed mission controllers Steve Bales and Jack Garman that a single alarm did not require an abort. Gene Kranz relayed the reassurance, and Neil Armstrong completed the historic “Eagle has landed” moment. Hamilton later described the landing as “maybe the most exciting moment of my life.”
Hamilton’s meticulous testing regime proved decisive on other missions as well. An accidental activation of a program called P01 by her daughter Lauren caused a crash in a simulator; Hamilton documented the fault. When the same program was inadvertently triggered during Apollo 8 in 1968, her knowledge enabled a mid‑mission fix, and no software bugs were ever reported on any crewed Apollo flight.
Legacy and Honors
After Apollo wound down in the early 1970s, Hamilton remained at the instrumentation lab, contributing to Skylab and the Space Shuttle programs. She founded two software firms—Higher Order Software in 1976 and Hamilton Technologies in 1986. In 1986 she received the Augusta Ada Lovelace Award, and in 2003 NASA honored her with the Exceptional Space Act Award.
President Barack Obama presented her with the Presidential Medal of Freedom in 2016, noting that she “symbolises that generation of unsung women who helped send humankind into space.” The Smithsonian’s National Air and Space Museum later awarded her the Michael Collins Trophy, which her daughter accepted on her behalf.
Andrew Meade McGee, curator of computing at the museum, called Hamilton “a seminal figure in the creation of modern, software‑driven computing,” emphasizing her influence on software education and her role in inspiring women in STEM. A 2017 Women of NASA LEGO set featured a miniature of Hamilton alongside astronauts Sally Ride and Mae Jemison.Hamilton’s personal life included a first marriage ending in divorce in 1967, a second marriage to aeronautical engineer Dan Lickly from 1969 to 1973, and a later partnership with former colleague Ron Hackler, who died in 2025. She is survived by her daughter Lauren.
Margaret Hamilton’s career transformed how software is engineered, tested and trusted, leaving an indelible mark on both the computing industry and humanity’s ventures beyond Earth.
Helene Elliott is the Lead Science & Space Reporter at News Raise. She reports on aerospace missions, astrophysics discoveries, quantum research, and environmental technology.




