First actual computer bug was found today, 66 years ago

66 years ago today, on the 9th September, 1947, operators of the Mark II Aiken Relay Computer being tested at Harvard University, found something curious trapped between points at Relay #70, Panel F.

A moth.

First bug

A note made at the time explains, this was the "first actual case of bug being found". History records that the legendary Grace Hopper was the person who located the moth, and in so doing, helped popularise the idea of "debugging computers".

Update: See the comments to this article below - which debunk Grace Hopper's involvement in the discovery of the moth. Although it does appear she helped the incident gain exposure.

Grace HopperGrace Hopper, affectionately known as "Amazing Grace" and "Grandma COBOL", went on to become something of a computing celebrity. A 20th Century Ada Lovelace, if you will.

Sadly, no record has been made of the moth's identity for its considerable contribution to the world of technology, although it has achieved a certain immortality of its own thanks to a yellowing strip of Scotch tape.

The log book now resides at the National Museum of American History, but apparently is not currently on public view - which seems a shame.

Tags: ,

Subscribe to the free GCHQ newsletter


Special offers & deals

  • Sticky Password Premium: Lifetime Subscription

    Sticky Password Premium: Lifetime Subscription

    Sticky Password protects your online identity by providing strong encrypted passwords for all your accounts, managed by a single master password known by you, and only you. Available for Mac, Windows, iOS, and Android. For a limited time, it's 80% off in our store.
  • IT Security & White Hat Hacking: CompTIA & Cisco Certifications

    IT Security & White Hat Hacking: CompTIA & Cisco Certifications

    Whether you're a beginner or mid-level professional, you'll want to take this comprehensive online course, to help you attain two industry-recognised certifications. You'll master mobile hacking, VPN technologies, penetration testing, and much more--giving you the knowledge you need to succeed in any IT workplace.

More deals...

Leave a reply

7 Comments on "First actual computer bug was found today, 66 years ago"

Notify of

Sort by:   newest | oldest | most voted
September 10, 2013 1:20 pm

Hopper did not find the moth, she just publicized it. This is not the first "bug" found in a electromechanical system, and the terms "bug" and "debug" predate the finding of this moth. The "First actual case of a bug being found" written in the log is a joke, because problems with systems had already been referred to as "bugs" well before this incident.

David Paige
September 10, 2013 4:03 pm

This is not the first mention of bugs causing problems. Thomas Edison wrote in at least one letter about a bug in one of his inventions.

September 10, 2013 4:10 pm

This version of the story is not correct, according to Smithsonian curator Peggy Kidwell. (The moth is currently interred at the Smithsonian.) The following is excerpted from the article "Smithsonian Honors the Original Bug in the System" (1997) by Peter Wayner.

In recent years, credit for discovering the bug has gone to Grace Hopper, one of the Mark II's programmers at Harvard who went on to become a rear admiral in the U.S. Navy. However, Peggy Kidwell, the curator who designed the exhibit is setting the record straight.

"There is a widely propagated myth that this is the first use of the term 'computer bug' and Grace Hopper was the one who discovered it," she said. "Neither of those myths, although they are both very appealing, are true." She points out that the note in the logbook was not made in Hopper's handwriting.

Some of the confusion may have arisen because Hopper wrote and lectured widely on the topic. She was the author of several programming books that included the word in their glossaries. Kidwell also says that Hopper created a number of humorous illustrations of the different types of computer bugs infesting the Mark II computer. Hopper labeled a problem in some of the computational tables that were stored on tape as a "tape worm."

Kidwell also points out that the word "bug" was already in fairly widespread use in technical circles in 1947. Thomas Edison used it to describe problems in his inventions. A 1934 edition of Webster's Second International dictionary also includes the meaning in the scope of the word.

Selwynj Jackson
Selwynj Jackson
September 10, 2013 4:49 pm

On Digital Research's CP/M machines we used DDT (Dynamic Debugging Tool) to get rid of the bugs.
December 10, 2013 2:31 pm

The version I heard which makes the most sense to me is
that Grace Hopper found (or was responsible for popularizing it)
the first actual bug found in a computer. The use of the word bug
in this sense was widespread before this, but that could be the
first time someone actually and literally found a bug, in this case
it was a moth.

Ms H
Ms H
October 5, 2016 10:17 pm

IEEE has a very nice article about Edison coining the term, "bug".

Ms H
Ms H
October 5, 2016 10:27 pm

"The Mark II Aiken Relay Calculator

In the mid-1940s, Grace Murray Hopper was working on Harvard University's Mark II Aiken Relay Calculator. This primitive computer was based on relays, a type of electromechanical switch. On the September 9th of 1947, not 1945, the Mark II developed a malfunction. Operators, including William "Bill" Burke, investigated to find out what was wrong; contrary to many versions of the story, Grace Murray Hopper was not among them."