A Personal Remembrance
by Burt Dicht
NSS Space Coast Correspondent
Image: Margaret Hamilton sitting inside and Apollo Command Module Simulator. Image Credit: NASA/Draper Laboratory.
Margaret Hamilton (1936–2026), the pioneering computer scientist who led the team that developed the onboard flight software for the Apollo spacecraft, has passed away at the age of 90. Her software helped guide the Apollo astronauts to the Moon and bring them safely home.
On July 20, 1969, Neil Armstrong and Buzz Aldrin became the first humans to walk on the Moon, while their crewmate Michael Collins orbited above in the Command Module Columbia. Their mission remains one of humanity’s greatest achievements, but its success depended on far more than the three astronauts who made that historic journey.
An estimated 400,000 people contributed to the Apollo program; engineers, scientists, technicians, mathematicians, programmers, and countless others. Most never became household names, but the lunar landings could not have happened without them.
These were the other footprints of Apollo. Margaret Hamilton’s were among the most important.
Pioneering a New Field
When President John F. Kennedy challenged the nation in 1961 to land a man on the Moon and return him safely to Earth before the decade was out, much of the technology needed to accomplish that goal had yet to be developed.
Among the many challenges was developing the computers and software that would guide the astronauts through their missions, including the critical maneuvers needed to reach and land on the Moon.
Hamilton earned her degree in mathematics from Earlham College in 1958 and joined the Massachusetts Institute of Technology (MIT) in 1959. She initially worked on weather prediction programs and later, at MIT’s Lincoln Laboratory, on software for the nation’s SAGE air defense system.
In 1965, she joined MIT’s Instrumentation Laboratory (later known as Draper Laboratory), which had been contracted by NASA to develop Apollo’s guidance and navigation system. She eventually led the team developing the onboard flight software for the Apollo spacecraft.
At the time, computer programming was still a relatively new field. Software was often considered secondary to hardware, and many of the practices associated with modern software development were still being established.
Hamilton later recalled what it was like to work in this emerging field:
“When I first got into it, nobody knew what it was that we were doing. It was like the Wild West. There was no course in it. They didn’t teach it.”
Hamilton helped change that. She championed the term software engineering, arguing that developing software required the same discipline, testing, and attention to reliability as other engineering fields.
For Apollo, that reliability was critical. A software failure during a lunar mission could have meant the loss of the spacecraft and its crew. Hamilton and her team recognized that the software had to do more than perform its assigned functions. It also had to recognize errors, manage unexpected conditions, and allow the spacecraft to continue operating when problems occurred.
That approach would prove its value during Apollo 11.
The Alarms During Apollo 11
As Armstrong and Aldrin descended toward the lunar surface aboard the Lunar Module Eagle, the Apollo Guidance Computer began displaying unexpected program alarms.
The first was a 1202 alarm, followed by additional 1202 and 1201 alarms.
With the spacecraft descending toward the Moon, the astronauts needed to know whether they could continue the landing or would have to abort.
The alarms indicated that the computer was overloaded. An electrical interaction involving the rendezvous radar was placing additional demands on the computer, consuming processing time needed by the guidance system.
Fortunately, Hamilton’s team had anticipated the possibility of computer overloads.
The software was designed to recognize an overload and resume the highest-priority tasks while leaving less important ones behind. Despite the alarms, the computer continued performing the guidance and control functions needed for the landing.
At Mission Control in Houston, guidance officer Steve Bales, supported by computer specialist Jack Garman, determined that the landing could continue as long as the alarms remained manageable. The crew was given a “Go” to continue.
At 4:17 p.m. Eastern Daylight Time, Eagle touched down on the Moon. The software had performed as designed.
Engineering for the Unexpected
One of Hamilton’s guiding principles was that engineers could not assume everything would go according to plan. Human mistakes, equipment problems, and unexpected conditions had to be anticipated.
An incident involving her young daughter, Lauren, helped reinforce that thinking. While visiting the MIT laboratory, Lauren was playing with an Apollo command module simulator when she inadvertently activated a prelaunch program during a simulated flight. The action caused the simulator to crash.
Hamilton recognized that an astronaut might make the same mistake during an actual mission and proposed adding protection against it. The idea was turned down; astronauts, she was told, were trained not to make such mistakes. Instead, a warning was added to the documentation.
Then, during Apollo 8 in December 1968, astronaut Jim Lovell inadvertently selected that same prelaunch program in flight, causing the computer to lose its navigation reference data. Hamilton and her colleagues worked with Mission Control to develop a procedure to restore the data, and additional safeguards were incorporated into the software for later missions.
The lesson was clear: even highly trained people make mistakes, and critical systems must be designed with that possibility in mind. Hamilton’s work helped advance methods of error detection, recovery, and fault-tolerant software design. These principles remain fundamental to the development of complex computer systems today.
Her influence also extended beyond Apollo. She continued her work in computing, co-founding Higher Order Software in 1976 and founding Hamilton Technologies in 1986, focusing on improving software development and reliability.
Her accomplishments eventually received national recognition. In 2003, NASA presented her with its Exceptional Space Act Award. In 2016, President Barack Obama awarded her the Presidential Medal of Freedom.
Remembering the Other Footprints
When we think of Apollo, we remember the astronauts who journeyed to the Moon, the towering Saturn V rockets, the flight directors and their teams in Mission Control, and the lunar rocks brought back to Earth. These are the familiar people and achievements of Apollo, but they represent only part of the story.
Margaret Hamilton was part of that larger story. Her leadership and technical contributions helped ensure that the Apollo Guidance Computer could operate reliably under demanding and unexpected conditions, and her efforts to establish software engineering as a discipline had an influence far beyond the space program.
When we remember the first Moon landing, we naturally think of Armstrong and Aldrin and the footprints they left on the lunar surface. But there were other footprints, too, left by the thousands of people whose contributions made Apollo possible.
Margaret Hamilton never walked on the Moon. Yet her work helped make it possible for others to take those first steps.

Hamilton with mission support engineers for Apollo 8. Image Credit: Draper Laboratory.



