The moth that became the first actual computer bug in 1947
When Harvard's Mark II computer malfunctioned in 1947, Grace Hopper's team discovered a moth inside and taped it into the logbook as the first actual bug.
In 1947, Harvard's Mark II computer developed a strange problem that stumped its operators. The massive machine, one of the early electromechanical computers of its era, simply wasn't working as expected.
Finding the culprit
Grace Hopper's team set out to diagnose the issue. What they discovered inside the machine was unexpected: a moth had found its way into the computer's inner workings. The insect had become trapped in the relay mechanisms, causing the malfunction.
A piece of computing history
Rather than simply discarding the moth, the team carefully taped it into the Mark II logbook. The note accompanying the preserved insect called it the first actual computer bug, creating a lasting piece of computer history.
Grace Hopper, a pioneering computer scientist, ensured this moth became more than just a maintenance curiosity. By documenting it in the official logbook, she cemented the incident as a memorable moment in computing's early days. The term "bug" for a technical glitch predated this event, but the moth gave the expression a literal, physical embodiment that has endured in computing culture ever since.




