Margaret Hamilton, the Irish-American software pioneer who put Apollo 11 on the moon, dies at 90
Margaret Hamilton, the pioneering computer scientist whose software guided Apollo 11 safely to the lunar surface in 1969, has died at the age of 90. She passed away on September 30 in a hospital in Cambridge, Massachusetts, from multiple organ failure, her daughter Lauren confirmed.
Her story is one of quiet determination and brilliant engineering. It is a story that resonates deeply here in Ireland, where we know what it means to look beyond our own shores and to trust in the ingenuity of our people, even when the world doubts them.
Who was Margaret Hamilton and why does her work matter?
Margaret Hamilton was the lead software engineer for NASA's Apollo program. She led the team at MIT that developed the onboard flight software for the Apollo guidance computer. That computer had just 72 kilobytes of memory, a fraction of what sits in your pocket today, yet it carried six missions to the moon between 1969 and 1972.
Her software was the invisible hand that guided the lunar module Eagle as Neil Armstrong and Buzz Aldrin descended toward the Sea of Tranquility. Minutes before touchdown, an alarm flashed: code 1202. Mission Control had to decide whether to abort. The alarm, as it turned out, was her system working perfectly. The computer was overloaded and was dropping low-priority tasks to focus on landing. They trusted her work. They landed with about 30 seconds of fuel to spare.
“Our astronauts didn't have much time, but thankfully, they had Margaret Hamilton,” President Barack Obama said in 2016 when he awarded her the Presidential Medal of Freedom.
How did an Indiana woman end up writing code for the moon?
Margaret Elaine Heafield was born on August 17, 1936, in Paoli, Indiana, the eldest of four children. Her mother was a high school teacher; her father was a college professor of philosophy and English. She studied mathematics at the University of Michigan before earning her bachelor's degree from Earlham College in 1958.
She moved to Massachusetts with her husband, James Cox Hamilton, who was studying law at Harvard. She took a job at MIT to pay the bills. It was there that she saw a newspaper ad from the MIT Instrumentation Laboratory. They were looking for software developers to help “send man to the moon.” She was hooked.
“I was attracted both by the sheer idea and the fact that it had never been done before,” she later recalled.
What did Hamilton's software actually do?
Her team built the software for the Apollo guidance computer, a 70-pound machine that was the brain of the spacecraft. She was the first programmer hired for the Apollo project at MIT in 1964, and within a year she was leading her own team. She was also the first female programmer on the project.
Her work did not stop at the moon landing. Her software contributed to the success of Skylab, America's first space station. She later founded her own companies and developed the Universal Systems Language, an architecture designed to help engineers build more dependable systems.
Why did she call herself a “software engineer”?
Because the term did not exist yet. She coined it. At the time, software was seen as a mystery, a black box. Upper management gave her team total freedom and trust. She used that freedom to insist that building software was an engineering discipline, not a clerical task.
“It was an ongoing joke for a long time,” she told the Guardian in 2019. “Then one day in a meeting, one of the most respected hardware gurus explained to everyone that he agreed with me. The process of building software should also be considered an engineering discipline.”
What was the “rope mother” technique?
In the early days of Apollo, computer code was written on thick paper cards with punched holes. Those cards were sent to a Raytheon factory, where a workforce of mostly women wove copper wires and magnetic cores into long “ropes” that stored the binary code. A wire through a core meant a one; around the core meant a zero.
Hamilton reviewed every line of code before those ropes were made. She became known as the “rope mother.” She checked for errors that could cost lives. She knew the stakes.
“Astronauts' lives were at stake,” she said. “Our software needed to be ultrareliable, and it needed to be able to detect an error and recover from it at any time during the mission.”
How did a child's mistake improve the software?
Hamilton often brought her young daughter Lauren to the lab. One day, Lauren pressed a button that crashed a flight simulator while “playing astronaut.” Hamilton realized that a real astronaut might make the same mistake. She programmed the software to sound an alarm when the computer was overloaded. That alarm, code 1202, was the one that flashed during the Apollo 11 landing.
Her daughter's innocent mistake helped save the mission.
What did Hamilton say about women in tech?
She was part of a small group of women working for NASA in the 1960s. She said she did not realize how severe the gender imbalance was until she watched “Mad Men” years later.
“When I first came to Apollo, there were no other women writing software. Then within a couple of years there would be a few, but not many,” she told the Guardian. “There were always many more men.”
In 2017, Lego released a set of figurines honoring four pioneering women of NASA: Nancy Grace Roman, Sally Ride, Mae Jemison, and Hamilton. She encouraged younger scientists to take risks.
“Don't let fear get in the way, and don't be afraid to say 'I don't know' or 'I don't understand' — no question is a dumb question,” she advised in 2019. “And don't always listen to the so-called experts!”
What is Margaret Hamilton's legacy?
Her legacy is the digital world we live in. She helped pave the way for modern software engineering. She proved that a woman could lead a team that sent humans to another world. She showed that precision, care, and a refusal to accept the status quo can change history.
“This is not somebody just dotting Is and crossing Ts,” Deborah G. Douglas, curator of science and technology at the MIT Museum, told the Boston Globe in 2016. “Margaret Hamilton is at the vanguard of people really obsessed with making sure that computer programs work right.”
Hamilton's first marriage ended in divorce, as did her second, to fellow Apollo engineer Dan Lickly. In the late 1970s, she met Ron Hackler, a jazz musician with a passion for math. He became her partner in life and business and died in 2025.
She is survived by her daughter, two brothers, a sister, two grandsons, and four great-grandchildren.
Her work reminds us that the greatest achievements are often the ones we cannot see. They are the lines of code, the quiet hours, the stubborn belief that something impossible can be done. Margaret Hamilton did it. And because she did, we all got to look at the moon a little differently.