A cliffhanger or cliffhanger ending is a plot device in fiction which features a main character in a precarious or difficult dilemma or confronted with a shocking revelation at the end of an episode or a film of serialized fiction. A cliffhanger is hoped to incentivize the audience to return to see how the characters resolve the dilemma.
Cliffhangers were used as literary devices in several works of the Middle Ages with One Thousand and One Nights ending on a cliffhanger each night. Cliffhangers appeared as an element of the Victorian era serial novel that emerged in the 1840s, with many associating the form with Charles Dickens, a pioneer of the serial publication of narrative fiction. Following the enormous success of Dickens, by the 1860s cliffhanger endings had become a staple part of the sensation serials.
Cliffhangers were used as literary devices in several works of the Middle Ages. The Arabic literary work One Thousand and One Nights involves Scheherazade narrating a series of stories to King Shahryār for 1,001 nights, with each night ending on a cliffhanger in order to save herself from execution. Some medieval Chinese ballads like the Liu chih-yuan chu-kung-tiao ended each chapter on a cliffhanger to keep the audience in suspense.
Cliffhangers became prominent with the serial publication of narrative fiction, pioneered by Charles Dickens. Printed episodically in magazines, Dickens's cliffhangers triggered desperation in his readers. Writing in the New Yorker, Emily Nussbaum captured the anticipation of those waiting for the next installment of Dickens' The Old Curiosity Shop;
In 1841, Dickens fanboys rioted on the dock of New York Harbor, as they waited for a British ship carrying the next installment, screaming, "Is little Nell dead?"
On Dickens’ instalment format and cliffhangers—first seen with The Pickwick Papers in 1836—Leslie Howsam in The Cambridge Companion to the History of the Book (2015) writes, "It inspired a narrative that Dickens would explore and develop throughout his career. The instalments would typically culminate at a point in the plot that created reader anticipation and thus reader demand, generating a plot and sub-plot motif that would come to typify the novel structure."
With each new instalment widely anticipated with its cliffhanger ending, Dickens’ audience was enormous (his instalment format was also much more affordable and accessible to the masses, with the audience more evenly distributed across income levels than previous). The popularity of Dickens's serial publications saw the cliffhanger become a staple part of the sensation serials by the 1860s. Dickens's influence can also be seen in television soap operas and film series, with The Guardian stating "the DNA of Dickens's busy, episodic storytelling, delivered in instalments and rife with cliffhangers and diversions, is traceable in everything."
The term "cliffhanger" is considered to have originated with the serialised version of Thomas Hardy's A Pair of Blue Eyes (which was published in Tinsley's Magazine between September 1872 and July 1873) in which Henry Knight, one of the protagonists, is left hanging off a cliff. According to the Random House Historical Dictionary of American Slang, the term's first use in print was in 1937.
During the 1910s, when Fort Lee, New Jersey was a center of film production, the cliffs facing New York and the Hudson River were frequently used as film locations. The most notable of these films was The Perils of Pauline, a serial which helped popularize the term "cliffhanger". In them, the serial would often end suddenly leaving actress Pearl White's Pauline character literally hanging from a cliff.
Several Australian soap operas, which went off air over summer, such as Number 96, The Restless Years, and Prisoner, ended each year with a major and much publicized catastrophe, such as a character being shot in the final seconds of the year's closing episode.
Cliffhangers are commonly used in Japanese manga and anime. In contrast to American superhero comics, Japanese manga are much more frequently written with cliffhangers, often with each volume or issue. This is particularly the case with shōnen manga, especially those published by Weekly Shōnen Jump, such as Dragon Ball, Shaman King, One Piece and the origin show of the To be continued Internet meme, JoJo's Bizarre Adventure. 
During its original run, Doctor Who was written in a serialised format that usually ended each episode within a serial on a cliffhanger. In the first few years of the show, the final episodes of each serial would have a cliffhanger that would lead into the next serial. The programme's cliffhangers sometimes caused controversy, most notably Part Three of The Deadly Assassin (1976), which was altered for future broadcasts following a complaint from campaigner Mary Whitehouse. Whitehouse objected to the violence of the scene (the Doctor's head is held underwater in an attempt to drown him). She often cited it in interviews as one of the most frightening scenes in Doctor Who, her reasoning being that children would not know if the Doctor survived until the following week and that they would "have this strong image in their minds" during all that time. The producer of Doctor Who at the time, Philip Hinchcliffe, cited the 1950s radio serial Journey into Space as an influence for its use of cliffhangers. A later serial, Dragonfire (1987), is notable for having a cliffhanger that involved the Seventh Doctor literally hanging from a cliff, seemingly by choice, which has been described as "the most ludicrous ever presented in Doctor Who". Another British science fiction series, Blake's 7 (1978–1981), employed end-of-season cliffhangers for each of the four seasons the series was on air, most notably for its final episode in 1981 in which the whole of the main cast are seemingly killed. The final cliffhanger was never resolved.
From 1966 to 1968 and in broadcast syndication, “Same bat-time, same bat-channel” encouraged viewers to tune in the next night for 120 episodes of Batman. The next episode quickly resolved the heroes from each supervillain's trap. A few triple episodes had double cliffhangers.
Cliffhangers were rare on American primetime television before 1980, as television networks preferred the flexibility of airing episodes in any order. The sitcom Soap was the first US primetime television programme to utilise the end-of-season cliffhanger, at the end of its first season in 1978. Cliffhangers then went on to become a staple of American primetime soap operas; the phenomenal success of the 1980 "Who shot J.R.?" third season-ending cliffhanger of Dallas, and the "Who Done It" fourth-season episode that finally solved the mystery, contributed to the cliffhanger becoming a common storytelling device on American television. Another notable cliffhanger was the "Moldavian Massacre" on Dynasty in 1985, which fueled speculation throughout the summer months regarding who lived or died when almost all the characters attended a wedding in the country of Moldavia, only to have revolutionaries topple the government and machine-gun the entire wedding party. Other primetime soap operas, such as Falcon Crest and Knots Landing, also employed dramatic end-of-season cliffhangers on an annual basis. Sitcoms also utilised the cliffhanger device. As well as the aforementioned Soap, the long-running sitcom Cheers would often incorporate cliffhanger season endings, largely (in its earlier years) to increase interest in the on-and-off relationship between its two lead characters, Sam Malone and Diane Chambers. These cliffhangers did not place the characters in peril of any kind, but rather left their relationship (which was at the core of the show) hanging in the balance.
Cliffhanger endings in films date back to the early 20th century, and were prominently used in the serial films of the 1930s (such as Flash Gordon and Buck Rogers), though these tended to be resolved with the next installment the following week. A longer term cliffhanger was employed in the Star Wars film series, in The Empire Strikes Back (1980) in which Darth Vader made a shock revelation to Luke Skywalker, and Han Solo's life was left in jeopardy after he was frozen and taken away by a bounty hunter. These plotlines were left unresolved until the next film in the series, which was released three years later. The first two films in the Back to the Future series end in cliffhangers, with the first displaying the "to be continued" title card.
The two main ways for cliffhangers to keep readers/viewers coming back is to either involve characters in a suspenseful, possibly life-threatening situation, or to feature a sudden shocking revelation. Cliffhangers are also used to leave open the possibility of a character being killed off due to the actor not continuing to play the role.
Cliffhangers are also sometimes deliberately inserted by writers who are uncertain whether a new series or season will be commissioned, in the hope that viewers will demand to know how the situation is resolved. Such was the case with the second season of Twin Peaks, which ended in a cliffhanger similar to the first season with a high degree of uncertainty about the fate of the protagonist, but the cliffhanger could not save the show from being canceled, resulting in the unresolved ending. The final episodes of soaps Dallas and Dynasty also ended in similar fashion, though all three shows would return years later in some form or other to resolve these storylines. The Australian soap opera Return To Eden ended in 1986 with a dramatic cliffhanger in anticipation of a second season. However, the network chose not to renew the show and so a hastily filmed five-minute "conclusion" was filmed and added on to the end of existing final episode to provide closure. Some shows, however, became known for never being resolved. In addition to the aforementioned Blake's 7, the supernatural series Angel, the original 1984 series V and its 2009 remake, all ended with unresolved cliffhangers. On occasion, TV series are given the opportunity to resolve their end-of-series cliffhangers at a later date; examples include the 1999-2003 series, Farscape, which was cancelled after a cliffhanger ending, but which was able to resolve it in a later follow-up miniseries, Farscape: The Peacekeeper Wars and the aforementioned Twin Peaks 1991 cliffhanger, which was resolved 26 years later when a sequel to the series (considered a third season) aired in 2017.
The cliffhanger has become a genre staple (especially in comics, due to the multi-part storylines becoming the norm instead of self-contained stories) to such a degree, in fact, that series writers no longer feel they have to be immediately resolved, or even referenced, when the next episode is shown, variously because the writer didn't feel it was "a strong enough opener," or simply "couldn't be bothered." The heavily serialized television drama True Blood has become notorious for cliffhangers. Not only do the seasons conclude with cliffhangers, but almost every episode finishes at a cliffhanger directly after or during a highly dramatic moment, much like the primetime soap operas of the 1980s and 90s.
Commercial breaks can be a nuisance to script writers because some sort of incompleteness or minor cliffhanger should be provided before each to stop the viewer from changing channels during the commercial break. Sometimes a series ends with an unintended cliffhanger caused by a very abrupt ending without a satisfactory dénouement, but merely assuming that the viewer will assume that everything sorted itself out.
Sometimes a film, book, or season of a television show will end with the defeat of the main villain before a second, evidently more powerful villain makes a brief appearance (becoming the villain of the next film). Occasionally an element other than a villain is also used to tease at a sequel.
Peter Høeg's novel Smilla's Sense of Snow ends with a deliberate cliffhanger, with the protagonist and main villain involved in a life-and-death chase on the arctic ice off Greenland - and in this case, the author has no intention of ever writing a sequel, the ambiguous ending being part and parcel of the basic ideas permeating the book's plot. Similarly, Michael Flynn's science fiction novelette The Forest of Time ends with a deliberate and permanent cliffhanger: readers are not to be ever told where the protagonist ended up in his wandering the "forest" of alternate history timelines and whether he ever got back to his home and his beloved, nor whether the war which takes a large part of the plot ended in victory for the Good Guys or the Bad Guys.
George Cukor, when adapting in 1972 Graham Greene's Travels with My Aunt deliberately introduced a cliffhanger missing from the original. While Greene's book ended with the protagonists definitely choosing the adventurous and rather shady life of smugglers in Paraguay and closing off other options for their future, at the conclusion of the Cukor film a character is seen tossing a coin whose fall would determine their next move, and the film ends on a freeze frame shot as the characters await the fall of the coin.
- Some are placed before commercial breaks
- Snodgrass, Mary Ellen (2009). Encyclopedia of the Literature of Empire. New York: Infobase Publishing. p. 292. ISBN 978-1438119069.
- "The curious staying power of the cliffhanger". The New Yorker. 28 November 2017. Archived from the original on 1 December 2017.
- Grossman, Jonathan H. (2012). Charles Dickens's Networks: Public Transport and the Novel. p. 54. Oxford: Oxford University Press.
- Allen, Rob (2014). Serialization in Popular Culture. p. 41. Routledge
- Wiesner-Hanks, Merry E. (2011). Gender in History: Global Perspectives. John Wiley & Sons. p. 86. ISBN 9781444351729.
- Mair, Victor H. (2001). The Columbia History of Chinese Literature. Columbia University Press. pp. 797–798. ISBN 9780231109840.
- "'World's first comic' is up for auction". The Times. Retrieved 19 February 2022.
William Heath's Glasgow Looking Glass was a pioneering publication which is said to have coined the phrase " . . . to be continued".
- "Cliffhangers poised to make Dickens a serial winner again". The Times. Archived from the original on 3 September 2021. Retrieved 3 September 2021.
- Howsam, Leslie (2015). The Cambridge Companion to the History of the Book. Cambridge University Press. p. 85.
- "Streaming: the best Dickens adaptations". The Guardian. Archived from the original on 3 September 2021. Retrieved 3 November 2022.
- Diniejko, Andrzej. "Thomas Hardy's A Pair of Blue Eyes As a Cliffhanger with a Post-Darwinian Message". The Victorian Web. Archived from the original on 2 February 2017. Retrieved 27 January 2017.
- 1994 edition, p. 433
- Kahn, Eve M "Getting a Close-Up of the Silent-Film Era". The New York Times (August 15, 2013)
- Verdon, Joan "A hike back in time to era of silent film" Bergen County Record (March 5, 2012)
- Mylonas, Eric (2004). Dragon Ball Z: Super Sonic Warriors. Prima Games. p. 3. ISBN 0761546758.
- "Brandweek, Volume 47". Brandweek. Adweek L.P. 47: 79. January 2006.
- McNally, Neil (14 October 2013). "Top 10: DOCTOR WHO Cliffhangers". Starburst. Retrieved 10 October 2020.
- Jeffery, Morgan (27 June 2018). "Doctor Who producer reveals story behind the show's most controversial cliffhanger". Digital Spy. Retrieved 10 October 2020.
- Dave Rolinson (2011). Alan Clarke. Manchester University Press. ISBN 978-0719068317. Retrieved 10 October 2020.
- Martin, Dan (14 June 2013). "The Deadly Assassin: Doctor Who classic episode #8". The Guardian.
- Mellor, Louisa (3 September 2013). "Philip Hinchcliffe on producing Doctor Who, Tom Baker, special effects, Russell T Davies, Big Finish audio plays & more…". Den of Geek. Retrieved 10 October 2020.
- "Dragonfire". BBC Online. Retrieved 10 October 2020.
- "Series / Batman (1966)". TVTropes. Retrieved 18 February 2023.
- In the final season, it was on once a week, so viewers had to wait until the following week.
- "The Most Horrifying is Yet to Come! 5 Insane Cliffhangers from the 1960's Batman". tor.com. 18 July 2012. Retrieved 16 January 2023.
- Meisler, Andy (1995-05-07). "TELEVISION; When J. R. Was Shot The Cliffhanger Was Born". The New York Times. Archived from the original on May 11, 2013. Retrieved June 14, 2012.
- Snowden, Scott (June 4, 2020). "The effect of Star Wars: The Empire Strikes Back can still be felt after 40 years". Space.com. Archived from the original on May 25, 2021. Retrieved May 26, 2021.
- Sherlock, Ben (June 28, 2021). "The Empire Strikes Back: 10 ways it's the perfect sequel to the original Star Wars movie". Screen Rant. Archived from the original on July 11, 2021. Retrieved November 18, 2021.
- "Movie Legends Revealed: Was 'Back to the Future' Always 'To Be Continued'?". CBR. Retrieved 5 September 2021.
- "The IT Crowd: Tramps Like Us". Noise to Signal. Archived from the original on 2013-03-11. Retrieved 2012-11-21.
- "…and we like tramps! « Why, That\'s Delightful!". Whythatsdelightful.wordpress.com. 5 December 2008. Archived from the original on 2012-03-24. Retrieved 2012-11-21.
- Ben Falk (2007-08-24). "One of the IT Crowd | Manchester Evening News - menmedia.co.uk". Manchester Evening News. Retrieved 2012-11-21.
- "'True Blood' Finale Sets Up More Cliffhangers". Buddytv.com. 2009-09-14. Archived from the original on 2012-10-20. Retrieved 2012-11-21.