Technology1980 - 2025
Myth #16 of 155

Debunked Myths

Myth:
The first computer 'bug' was a literal moth.

The Truth Is:

A moth was indeed found, but engineers had called glitches 'bugs' for decades. The moth was just the first 'actual' bug.

Sponsored Portal

What We Know Now:

The story is too perfect: in 1947, operators of the room-sized Harvard Mark II computer found a moth crushed in a relay, halting the machine. Pioneering programmer Grace Hopper taped the insect into the logbook with the note, 'First actual case of bug being found.' It’s a charming, tangible origin story for the term 'computer bug,' a piece of tech folklore that seems to perfectly explain how an entire industry's jargon was born from a random encounter with a insect.

However, the real history of the word 'bug' is much older. Thomas Edison used it in the 1870s to describe glitches and flaws in his inventions. In his personal notebooks and letters, he wrote of the 'Bugs' in his systems, using the term as a clever and evocative metaphor for the small, irritating problems that 'infest' complex technology. The term was already common parlance among engineers and mechanics for generations before it entered the computer age.

This context reveals the true humor in Grace Hopper's famous logbook entry. She wasn't coining a new term; she was making a brilliant pun. Her team, and engineers everywhere, already called problems 'bugs.' Finding a real, physical moth was a delightful literalization of their metaphorical language. The myth persists because it provides a clean, visual, and satisfying creation myth for a piece of abstract technical jargon. We prefer the concrete story of the moth to the messy reality of linguistic evolution, proving that a good story is often more powerful than a pedantic truth.

💡 Swipe left/right or use arrow keys to navigate

Ads like the one below keep Schoolyard Myths completely free and accessible to everyone.

The first computer 'bug' was a literal moth. - Debunked | Schoolyard Myths