emoria.net/en/memorials/margaret-hamilton-17-08-1936-30-09-2026
Daphne Weld Nichols CC BY-SA 3.0 cropped
Memorial for Margaret Hamilton
– (90 years)Place of death: Cambridge, Middlesex County
American mathematician and designer of embedded computer systems
Margaret HamiltonAug 17, 1936 – Sep 30, 2026Daphne Weld Nichols CC BY-SA 3.0 cropped
Memorial candles
No one has lit a candle for Margaret Hamilton yet. The first one could be yours.
Light a candle for Margaret Hamilton.
Your candle stands with your name and a few words beside the others.
7 daysFree, no account
12 monthsFree with a new account1,000 points as a gift
Forever$19.49 or 1,499 points
7 designs to choose from, most also for 1 or 6 months—in the next step.
Condolence book
0 entriesWrite condolenceClose form
The condolence book is empty
Obituary
No obituary yet
No obituary has been uploaded for this memorial yet.
Memories
6 memoriesLife
- Place of birthPaoli, Orange County
- Place of deathCambridge, Middlesex County
- NationalityUnited States
- Children1
- Occupations (12)computer scientistmathematicianengineerbusinesspersonsoftware developertour guidesoftware engineersystems engineerprogrammerentrepreneurschool teacherswitchboard operator
- Awards (8)Presidential Medal of FreedomComputer History Museum FellowWashington AwardNational Aviation Hall of Famehonorary doctor of the University Polytechnic of Cataloniahonorary doctorate from Bard Collegehonorary doctor of the University of MichiganDoctor of Science (honorary)
- PartnerDan Lickly
- Education (2)Earlham CollegeUniversity of Michigan College of Literature, Science, and the Arts
Margaret Hamilton (born August 17, 1936, in Paoli, Indiana; died September 30, 2026, in Cambridge, Massachusetts) was an American computer scientist and mathematician. At the Massachusetts Institute of Technology’s Instrumentation Laboratory, she led the development of the onboard flight software for the spacecraft of the Apollo program, and her work helped bring the first crewed Moon landing to a safe conclusion in 1969. She coined the term “software engineering” and spent her career fighting for the recognition of software development as an engineering discipline in its own right. She later founded two software companies in Cambridge. In 2016, President Barack Obama awarded her the Presidential Medal of Freedom, the nation’s highest civilian honor.
Early years and studies
Margaret Elaine Heafield was born on August 17, 1936, in Paoli, Indiana, to Kenneth Heafield and Ruth Esther Heafield, née Partington. She grew up mostly in Michigan’s Upper Peninsula and graduated from Hancock High School in 1954. A year later she began studying mathematics at the University of Michigan, then transferred to Earlham College in Richmond, Indiana, where her mother had been a student. There she earned a bachelor’s degree in mathematics with a minor in philosophy in 1958. She later credited her father, a poet, and her grandfather, a headmaster, with inspiring her interest in philosophy. Florence Long, head of Earlham’s mathematics department, encouraged her ambition to pursue abstract mathematics and become a professor.
The summer after graduating, she married James Cox Hamilton, whom she had met in college, and briefly taught mathematics and French at a public high school. In 1959 the couple moved to Boston, where her husband studied law; their daughter, Lauren, was born the same year. Margaret Hamilton had planned to begin graduate studies in abstract mathematics at Brandeis University. Instead, to put her husband through law school, she took a job at MIT.
First programs at MIT
At MIT she worked for the meteorologist Edward N. Lorenz, writing weather prediction software on LGP-30 and PDP-1 computers. It was her entry into programming, which was not yet taught as an academic subject but learned on the job. Her work informed Lorenz’s later publications on chaos theory. In 1961 she moved to MIT’s Lincoln Laboratory to work on SAGE, the Semi-Automatic Ground Environment, the United States’ first air defense system. She wrote software for the prototype AN/FSQ-7 computer, which the U.S. Air Force used to search for potentially unfriendly aircraft. It was there that she first took an interest in software reliability, then a largely unexplored concept. She later described how visible a failure could be: “When the computer crashed during the execution of your program, there was no hiding.” Lights would flash, bells would ring, and everyone came running to find out whose program was harming the system.
The road to Apollo
In 1965, as she was preparing for graduate school, her husband spotted a newspaper advertisement: MIT’s Instrumentation Laboratory was looking for people to develop software to “send man to the moon.” The lab had won the NASA contract to build the onboard flight software for the Apollo program. Hamilton applied and was hired as the first programmer for the Apollo project at MIT, and the first woman programmer on the project. She worked first on the software for the uncrewed missions, then took charge of the team developing the onboard flight software for the crewed flights. By 1968 she was assistant director in charge of the Command and Service Module team. She later became director of the new Software Engineering Division, whose teams wrote and tested the onboard software for the command module and the lunar module.
Looking back on those years, she told MIT News in 2009:
“There was no second chance. We knew that. We took our work seriously, many of us beginning this journey while still in our 20s.”
“Because software was a mystery, a black box, upper management gave us total freedom and trust,” she recalled. A photograph from 1969 shows her beside the printed listings of that software, stacked as high as she was tall.

The “Lauren error” and Apollo 8
Hamilton often brought her daughter, Lauren, to the lab. One day the girl was playing with the command module simulator and launched the prelaunch program P01 in the middle of a simulated flight, crashing the simulator. The incident became known as “the Lauren error.” Hamilton added a warning to the documentation and proposed a software change to prevent such a mistake during a real mission. She was overruled: highly trained astronauts, the argument went, would never make that error.

On Christmas Day 1968, during the flight of Apollo 8, astronaut Jim Lovell inadvertently launched that very program, and the navigation data on board vanished. Hamilton and her team spent nine hours poring over the program listings and worked out a solution that required entering hundreds of keystrokes into the guidance computer. Afterward, her proposed change was built into the software. The episode is an early example of “defensive” programming: software that anticipates errors and handles them on its own.
The Apollo 11 landing
On July 20, 1969, the lunar module Eagle began its descent to the Moon. Minutes before touchdown, the onboard computer raised alarms, among them code 1202: it was overloaded, asked to run more tasks than it could finish in the time available. NASA considered aborting the landing. But Hamilton and her team had built priority-driven software that could drop unnecessary background tasks and keep the calculations critical to the landing running. Priority displays interrupted the astronauts’ normal displays to report the alarm and leave room for the decision to land or not to land. Houston trusted the software, and Neil Armstrong and Buzz Aldrin touched down safely on the Moon.
In a letter to the trade magazine Datamation, published on March 1, 1971, Hamilton explained what had happened on board:
“If the computer hadn’t recognized this problem and taken recovery action, I doubt if Apollo 11 would have been the successful Moon landing it was.”
Naming a new discipline
During the early Apollo missions, Margaret Hamilton began to speak of “software engineering.” She wanted software, and the people who built it, to receive the same respect that other engineering disciplines took for granted. “When I first started using this phrase, it was considered to be quite amusing. It was an ongoing joke for a long time,” she told the Spanish newspaper El País in 2018. Over the years the term took hold, and with it the standing of the discipline. In 2016 the White House described the concepts she contributed to, among them asynchronous software, priority scheduling, priority displays and human-in-the-loop decision capability, as the foundation of modern, ultra-reliable software design. After Apollo, her division was also responsible for the onboard software for the Skylab space station. During those years the Instrumentation Laboratory spun out of MIT to become the independent Draper Laboratory. Hamilton remained at the lab until the mid-1970s.
An entrepreneur in Cambridge
In 1976 Margaret Hamilton founded her first company, Higher Order Software, with Saydean Zeldin, and served as its chief executive. The firm built on the lessons of Apollo: errors should be prevented from arising in the first place, and systems should be able to withstand faults. In March 1986 she founded Hamilton Technologies in Cambridge. At its core was the Universal Systems Language, a language and methodology for modeling complex software systems based on her paradigm of “development before the fact.” She kept working for her company well into her 80s and published more than 130 papers over the course of her career.

In 2003 NASA honored her Apollo work with its Exceptional Space Act Award for scientific and technical contributions. She had been nominated by Paul Curto of the agency’s Inventions and Contributions Board. The prize of $37,200 was the largest sum NASA had awarded to an individual up to that time.
Late honors
Margaret Hamilton became widely known only decades after the Moon landing, when the photograph of her beside the stack of program listings began circulating online. In 2015 the Apollo software she had helped develop was published in its entirety on the code-sharing site GitHub. On November 22, 2016, President Barack Obama presented her with the Presidential Medal of Freedom at the White House; the computing pioneer Grace Hopper and the physicist Richard Garwin were honored the same day. Her citation read:
“Her software architecture led to giant leaps for humankind, writing the code that helped America set foot on the moon.”

In 2017 the Computer History Museum named her a Fellow “for her leadership and work on software for DOD and NASA’s Apollo space missions and for fundamental contributions to software engineering.” That same year Lego released its “Women of NASA” set, featuring minifigures of Hamilton, Sally Ride, Mae Jemison and Nancy Grace Roman; her scene recreates the famous photo with the program listings. The set was originally designed by Maia Weinstock of MIT. On October 18, 2018, the Universitat Politècnica de Catalunya in Barcelona awarded her an honorary doctorate, fifty years after she had coined the term “software engineering.”

Other honors of her later years included:
- the Intrepid Lifetime Achievement Award in 2019
- induction into the National Aviation Hall of Fame in Dayton, Ohio, on September 24, 2022
- an honorary Doctor of Science degree from Earlham College, conferred in absentia on May 17, 2025, which recognized her as a “path-breaker in the male-dominated realm of scientific application”
A private person
Margaret Hamilton lived in Cambridge from her early 20s on. Her marriage to James Cox Hamilton ended in divorce in 1967, and a second marriage, to Dan Lickly, ended in the early 1970s. Her daughter, Lauren, described her as a mathematician through and through: “She was very much a mathematician and into the abstraction of how to turn thought, I guess, into software.” She was also “a really eccentric and fun character,” Lauren said, who loved collecting vintage clothing and had “a very mischievous sense of humor.” She encountered a great deal of sexism in her field but did not respond aggressively, disarming people with her humor instead. She was very happy to be acknowledged for her work late in life, her daughter said, but as a rather reserved person she did not find the spotlight entirely natural.

Farewell and legacy
Margaret Hamilton died on September 30, 2026, at a hospital in Cambridge, Massachusetts, at the age of 90. She was survived by her daughter, Lauren Hamilton; her son-in-law, Richard Selesnick; two grandsons; four great-grandchildren; and her siblings John, David and Kathryn. NASA Administrator Jared Isaacman wrote that her work had helped make humanity’s first journeys to the Moon possible. “To say Margaret Hamilton was a pioneer — to say she was ahead of her time — would be a dramatic understatement,” said Olivier de Weck, the Apollo Program Professor at MIT, who described hers as “a career dedicated to preventing errors and what she called ‘handling the unknown.’”
Of the Apollo years, she herself once said: “Looking back, we were the luckiest people in the world; there was no choice but to be pioneers.”
Milestones8 events
- Born in PaoliMargaret Elaine Heafield was born in Paoli, Indiana. She grew up mostly in Michigan’s Upper Peninsula.
- Helping Apollo 8Astronaut Jim Lovell inadvertently launched the prelaunch program P01 in flight, erasing the navigation data. Hamilton and her team worked out a fix in nine hours.
- Apollo 11 lands on the MoonShortly before touchdown, the lunar module’s computer reported an overload. The priority-driven software built by Hamilton’s team kept the landing on track.
- Presidential Medal of FreedomPresident Barack Obama presented her with the nation’s highest civilian honor at the White House.
- Honorary doctorate in BarcelonaThe Universitat Politècnica de Catalunya honored her fifty years after she coined the term “software engineering.”
- Inducted into the National Aviation Hall of FameIn Dayton, Ohio, she was enshrined with the Class of 2022 in the hall of fame for American aerospace pioneers.
- Honorary degree from Earlham CollegeHer alma mater awarded her an honorary Doctor of Science degree in absentia.
- Died in CambridgeMargaret Hamilton died at a hospital in Cambridge, Massachusetts, at the age of 90.






Family tree
No family members added yet
In loving memory of Margaret Hamilton.


















