"The Gold-Bug" is a short story by American writer Edgar Allan Poe published in 1843. The plot follows William Legrand, who becomes fixated on an unusual gold-colored bug he has discovered. His servant Jupiter fears that Legrand is going insane and goes to Legrand's friend, an unnamed narrator, who agrees to visit his old friend. Legrand pulls the other two into an adventure after deciphering a secret message that will lead to a buried treasure.

The story, set on Sullivan's Island, South Carolina, is often compared with Poe's "tales of ratiocination" as an early form of detective fiction. Poe became aware of the public's interest in secret writing in 1840 and asked readers to challenge his skills as a code-breaker. He took advantage of the popularity of cryptography as he was writing "The Gold-Bug", and the success of the story centers on one such cryptogram. Modern critics have judged the characterization of Legrand's servant Jupiter as racist, especially because of his dialect speech.

The Gold-Bug

Poe submitted "The Gold-Bug" as an entry to a writing contest sponsored by the Philadelphia Dollar Newspaper. His story won the grand prize and was published in three installments, beginning in June 1843. The prize also included $100, probably the largest single sum that Poe received for any of his works. An instant success, "The Gold-Bug" was the most popular and widely read of Poe's prose works during his lifetime. It also helped popularize cryptograms and secret writing.

The Gold-Bug

Plot summary

William Legrand has relocated from New Orleans to Sullivan's Island in South Carolina after losing his family fortune, and has brought his African-American servant Jupiter with him. The story's narrator, Legrand's friend and physician, visits him one evening to see an unusual scarab-like bug he has found. The bug's weight and lustrous appearance convince Jupiter that it is made of pure gold. Legrand has lent it to an officer stationed at the nearby Fort Moultrie, but he draws a sketch of it for the narrator, with markings on the carapace that resemble a skull. As they discuss the bug, Legrand becomes particularly focused on the sketch and carefully locks it in his desk for safekeeping. Confused, the narrator takes his leave for the night.

The Gold-Bug

One month later, Jupiter visits the narrator on behalf of his master and asks him to come immediately, fearing that Legrand has been bitten by the bug and gone insane. Once they arrive on the island, Legrand insists that the bug will be the key to restoring his lost fortune. He leads them on an expedition to a particular tree on the mainland and has Jupiter climb it until he finds a skull nailed at the end of one branch. At Legrand's direction, Jupiter drops the bug through one eye socket and Legrand paces out to a spot where the group begins to dig. Finding nothing there, the three return to the tree and Legrand repositions the peg he had used to mark the spot where the bug landed. He paces out from it to a new area, which yields two skeletons and a chest filled with gold coins and jewelry when the group resumes digging. They estimate the total value at $1.5 million, but even that figure proves to be below the actual worth when they eventually sell the items.

Legrand explains that on the day he found the bug on the mainland coastline, Jupiter had picked up a scrap piece of parchment to wrap it up. Legrand kept the scrap and used it to sketch the bug for the narrator; in so doing, though, he noticed traces of invisible ink, revealed by the heat of the fire burning on the hearth. The parchment proved to contain a cryptogram, which Legrand deciphered as a set of directions for finding a treasure buried by the infamous pirate Captain Kidd. The final step involved dropping a slug or weight through the left eye of the skull in the tree; their first dig failed because Jupiter mistakenly dropped the bug through the right eye instead. Legrand muses that the skeletons may be the remains of two members of Kidd's crew, who buried the chest and were then killed to silence them.

The cryptogram

The story involves cryptography with a detailed description of a method for solving a simple substitution cipher using letter frequencies. The encoded message is:

53‡‡†305))6*;4826)4‡.)4‡);80

6*;48†8¶60))85;1‡(;:‡*8†83(88) 5*†;46(;88*96*?;8)*‡(;485);5*† 2:*‡(;4956*2(5*-4)8¶8*;40692 85);)6†8)4‡‡;1(‡9;48081;8:8‡1 ;48†85;4)485†528806*81(‡9;48 ;(88;4(‡?34;48)4‡;161;:188;‡?; The decoded message with spaces, punctuation, and capitalization is: