Skip to main content

Primary sourceDocument9 September 1947

First Computer Bug

9 September 1947

A 1947 Harvard Mark II logbook page with a real moth taped in, after it jammed a relay and was recorded as the 'first actual case of bug being found.'

Hopper retold this story throughout her career, making the logbook page the artifact most associated with her name.

Photo of the Harvard Mark II logbook page dated 9/9 with handwritten entries including 'Relay #70 Panel F (moth) in relay' and 'First actual case of bug being found', with a taped-in moth beneath the entry.
Harvard Mark II logbook page, 9 September 1947. Naval Surface Warfare Center Computer Museum, Dahlgren, VA.

About this source

What it is

This is a page from the logbook of the Harvard Mark II computer, dated 9 September 1947. Operators taped a moth onto the page next to the handwritten note 'Relay #70 Panel F (moth) in relay' and 'First actual case of bug being found.' The page is held by the Naval Surface Warfare Center Computer Museum in Dahlgren, Virginia, though some records are now housed at the Smithsonian.

Why it matters

Grace Hopper did not write this entry herself, but she told this story throughout her career, helping to popularise it as the supposed origin of the computing term 'bug.' In fact, the word 'debugging' already existed, which made finding a literal insect amusing to the Harvard team. The page shows how computing culture built its own stories and legends around real technical problems.

Look closer

  • Why would operators think to tape the actual moth into the logbook instead of just describing it?
  • How does a story like this spread and become attached to one person's name?
  • What does this page tell you about the kind of mechanical problems early computers faced?

This document is part of the curated material that grounds the AI version of Grace Hopper on Humy.ai — when students ask about related events, the AI can quote it and cite it.

Ready when you are

Start chatting with Grace Hopper now.

20 messages free · No credit card · Available in 50+ languages.