"The Pit and the Pendulum" is a short story by American writer Edgar Allan Poe and a work of horror fiction. It was first published in 1842 in the literary annual The Gift: A Christmas and New Year's Present for 1843. The story is about the torments endured by a prisoner of the Spanish Inquisition, and is set very loosely during the Peninsular War between Spain and Napoleonic France (1808–1814), although it invokes the feared Inquisition of earlier centuries. The narrator of the story describes his experience of being tortured. The story inspires fear in the reader via its heavy focus on the senses, such as sound, emphasizing the inescapable reality of the coming doom. In this it is unlike Poe's stories which invoke the supernatural. The tale has been adapted to film several times.
The unnamed narrator is brought to trial before sinister judges of the Spanish Inquisition, charged with offenses that are never stated. As seven tall white candles on a table slowly burn down, the narrator feels his hopes of survival diminishing as well. He is condemned to death, whereupon he faints and later awakens to find himself in a totally dark room. At first the prisoner thinks that he is locked in a tomb, but then he discovers that he is in a cell. He decides to explore the cell by placing a scrap of his robe against the wall so that he can count the paces around the room, but he faints before he can measure the whole perimeter.











