Look a little closer

On September 9, 1947, operators working with the Harvard Mark II computer found a moth caught in one of the machine's electromechanical relays. They taped the insect into the logbook and wrote that it was the “first actual case of bug being found.” The joke became one of computing history's most durable artifacts.

The moth did not create the word “bug,” and it was not the first fault in a computer. Engineers had used “bug” for defects and troublesome behavior in machines long before electronic computing; Thomas Edison used the term in 19th-century correspondence. The logbook's word “actual” works because the team already knew the figurative expression.

The Mark II was a room-sized calculator built from thousands of relays and other electromechanical components. A relay opens and closes electrical contacts to control signals. An insect lodged at the wrong point could interfere with that physical switching, unlike a modern software defect that exists only in instructions or logic.

Grace Hopper is often credited with personally discovering the moth, but the surviving logbook does not establish that simple version. Hopper was associated with the Harvard computing team and helped popularize the story, while the operators on duty recorded and preserved the specimen. Good history distinguishes her role in the story from a claim the artifact cannot prove.

“Debugging” likewise did not begin that day. The term already described finding and correcting technical faults. Computing expanded its meaning because failures could arise in hardware, wiring, data, mathematical procedures and eventually software. The preserved moth gave an existing metaphor a perfect physical image.

The accurate story is more interesting than the myth of a word born by accident. A real insect briefly became a machine fault, technicians recognized the pun, and someone had the wit to save the evidence. That small act turned routine maintenance into a reminder that technological language often has a history older than the technology most associated with it.

EDITORIAL RESPONSIBILITY

FactosBrain Editorial Desk

The FactosBrain Editorial Desk researched and reviewed this article under our editorial policy. We assess error reports under our corrections policy.

About the editorial deskReport an error & read our corrections policy