Margaret Hamilton, the MIT software pioneer who led the team behind the Apollo moon landing code and coined the term "software engineering," has died at 90.
MIT announced on October 7, 2026 that Margaret Hamilton died on September 30, 2026, as reported by the Associated Press. A cause of death was not disclosed. Hamilton's work remains so central to modern computing that her name still comes up in engineering classes around the world.
Hamilton joined MIT in 1959, and her laboratory landed the NASA contract for the Apollo guidance software in 1961. In 1965, she became the first programmer hired for the Apollo project at MIT, and the first female programmer on the project. By 1968 she was assistant director in charge of the Command and Service Module software team, leading a team of about 100 engineers who designed the software guiding NASA's Apollo missions, according to MIT.
Margaret Hamilton wrote the code that saved Apollo 11
She is credited with coining and popularizing the term "software engineering," and she fought to make software work a respected engineering discipline at a time when most of the field treated code as an afterthought. Margaret Hamilton treated the Apollo guidance program as seriously as the rocket hardware, building rigorous processes around testing and reliability that still shape how safety-critical software is written today.
Her foresight paid off during the Apollo 8 mission, when an in-flight guidance data loss convinced her that the software needed built-in defenses. According to MIT, Hamilton convinced NASA leadership to let her team build error detection and recovery software, an unusual step when computer memory was measured in kilobytes.
On July 20, 1969, as the Apollo 11 lunar module descended toward the moon, the onboard guidance computer became overloaded with data and triggered the now-famous "1202 alarm." Margaret Hamilton's priority-scheduling code shed lower-priority tasks, ignored the overload and kept the landing on course, according to CNN. Astronauts Neil Armstrong and Buzz Aldrin touched down minutes later, and mission control trusted her code enough to stay the course. According to CNN, the episode became one of the most celebrated examples of software saving a human spaceflight.
Margaret Hamilton's path from MIT to the moon
Her career reads like a timeline of the software age itself. She arrived at MIT in 1959 and her lab secured the NASA contract in 1961, was hired as Apollo's first programmer in 1965, rose to assistant director of the Command and Service Module software team by 1968, helped land humans on the moon on July 20, 1969, worked at MIT through the mid-1970s and received the Presidential Medal of Freedom from President Barack Obama in 2016. Margaret Hamilton died on September 30, 2026, at 90.
The data points behind the legend are striking: a team of about 100 engineers, millions of lines of tested code, a guidance computer smaller than a laptop and a single software system that had to work perfectly the first time, hundreds of thousands of miles from home. She built it all before software engineering even had a name, then gave the field its name.
Margaret Hamilton's legacy for the next generation
"To say Hamilton was a pioneer would be a dramatic understatement," Olivier de Weck, MIT Apollo Program professor and interim head of Aeronautics and Astronautics, said in a statement, as reported by CNN. He called her a software engineer at a time when the field was in its infancy, who led a team that developed one of the most complex systems humanity had ever achieved.
NASA chief Jared Isaacman paid tribute on X, calling Margaret Hamilton "a pioneer whose work helped make Apollo and humanity's first journeys to the moon possible," according to CNN.
Her story lands with special force for young people entering science and technology today. Margaret Hamilton became a leader on the most prestigious engineering project of the 20th century in an era when women were rarely welcomed in computing, and she did it by insisting that careful, disciplined software work mattered as much as the hardware. Every student who has heard "you don't look like an engineer" has a hero to answer it with now more than ever.
The moon is calling again: NASA's Artemis program is working to return astronauts to the lunar surface, though the road has been uneven, as this site reported. For more on the science behind the headlines, see our science topic page.
Comments 0
No comments yet. Be the first to share your thoughts!
Leave a comment
Share your thoughts. Your email will not be published.