Changes to First computer bug

TechWritereditor · 4 Dec 2026, 02:23 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: First computer bug

Short description

Removed:  
Added: Moth found in the Harvard Mark II computer (1947)

Type

Removed:  
Added: event

Summary

Removed:  
Added: On 9 September 1947 engineers working on the Harvard Mark II computer found a moth trapped in a relay and taped it into the machine's logbook as the "first actual case of bug being found". The logbook is now held by the Smithsonian's National Museum of American History.

Fact box

Removed:  
Added: Date: 9 September 1947
Added: Place: Harvard University, Cambridge, Massachusetts
Added: Machine: Harvard Mark II
Added: Cause: Moth caught in a relay
Added: Logbook held by: Smithsonian National Museum of American History

Article

Added: The **first computer bug** is the popular name for a moth found trapped in the Harvard Mark II computer on 9 September 1947 and taped into the machine's logbook.[^2][^3] The page carries the note "first actual case of bug being found".[^1][^2]
 
Added: ## The incident
Added:  
Added: The Harvard Mark II was an electromechanical computer at Harvard University in Cambridge, Massachusetts. While working on it, members of the team found a moth caught between the contacts of one of its relays.[^2] They removed the insect, taped it into the logbook and wrote the now-famous caption beneath it.[^1][^2] The logbook was later transferred from the US Navy to the Smithsonian's National Museum of American History, which holds it today.[^1][^3]
Added:  
Added: ## Grace Hopper and the word "bug"
Added:  
Added: The mathematician and programmer [[Grace Hopper]], later a US Navy rear admiral, was part of the Mark II team in 1947.[^1] She is often linked with the story because she made it famous in her later public talks.[^2] However, the sources do not name who found the moth, and the Smithsonian states that the logbook was probably not Hopper's own.[^1][^3]
Added:  
Added: The incident did not create the word "bug". American engineers had used it for small faults in machines for decades, and Thomas Edison used it in the 1870s for problems in electrical circuits.[^1][^3] Researchers note that the logbook wording itself suggests the engineers already knew the term and were joking that they had found a real insect.[^3] The Smithsonian says the Mark II story helped popularise the term in computing, and that "debug" soon followed.[^1]
Added:  
Added: ## Legacy
Added:  
Added: The taped moth is one of the best-known stories in computing history, and the Computer History Museum lists it among its notable events for 9 September.[^2] It is also used as an example of how a good story can outlive its accurate origins, since the belief that it gave rise to "bug" and "debugging" persists despite evidence to the contrary.[^3]
Added:  
Added: ## See also
Added: - [[Grace Hopper]]
Added: - [[Harvard Mark I]]
Added: - [[Howard Aiken]]
Added: - [[Pentium FDIV bug]]

Sources

Removed:  
Added: Log Book With Computer Bug | https://www.si.edu/object/log-book-computer-bug:nmah_334663 | Smithsonian National Museum of American History
Added: This Day in History: September 9 | https://www.computerhistory.org/tdih/September/9/ | Computer History Museum
Added: The Bug in the Computer Bug Story | https://daily.jstor.org/the-bug-in-the-computer-bug-story | JSTOR Daily

Categories

Removed:  
Added: Milestones in computing

Other names

Removed:  
Added: Harvard Mark II moth
Added: First actual case of bug being found
Added: 1947 computer bug