Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

The Moth That Gave Birth to 'Debugging': The First Computer Bug

TechNuggets 1 min read

In the early days of computing, the term 'bug' wasn't a metaphor—it was an actual insect. On September 9, 1947, operators of the Harvard Mark II computer traced a malfunction to a moth trapped in a relay. The deceased moth was taped into the logbook with the note: 'First actual case of bug being found.'

This incident popularized the term 'debugging,' which engineers had used informally for years. The logbook, now at the Smithsonian, serves as a charming reminder that even the most complex technology can be foiled by the simplest of creatures.

The story underscores the unpredictable challenges of early computing and the enduring importance of meticulous troubleshooting.

React