Follow TV Tropes


All Just a Dream

Go To
Benny: It was all a dream.
Rafi: It was all a dream.
Benny: It was all probably a coke-induced dream.
Rafi: It was also a dream, but check this movie out anyways because it has a chick with three boobs in it!

A twist where it is revealed previous events in the story were just part of a character's dream, hallucination or some other escape from reality, often put at the end to reveal the entirety of the story was some sort of dream.

Sometimes, the character awakes after the dream, realises it was all "just a dream" (often actually saying this to himself, which rarely happens in real life), sighs with relief, and then sees an artifact lying next to him that was in the dream. This usually will leave protagonist and audience wondering "Or Was It a Dream?", however it may also be an opening gambit in a Dream Within a Dream sequence. Sometimes the dream lasts longer than one episode — entire seasons, and even entire series, have been known to turn out to be dreams. Often, when the dreamer awakens, the really epic events (death of a major character, etc.) from the "dream season" will be reversed. Or maybe the "waking up" is the dream?

If other characters start acting out of character or otherwise just don't seem to be quite themselves during the dream sequence, expect lots of finger-pointing and exclamations of "And You Were There!" when the dreaming character awakens.

Normally, this really grates on the audience, but it can be done humorously, and if it was just one episode of a larger whole, it can undo damage done by having a Writer on Board. An especially useful device in horror movies, where it can be used to subject the characters (and audience) to all manner of fit-inducing terrors without really affecting the narrative. However, if it's done badly, expect some audience members to be seriously annoyed, as it might feel like a Deus ex Machina. Even if it's done well, it may require a lot of Willing Suspension of Disbelief.

One of the Stock Epileptic Trees. It's also a popular trope for music videos.

Variant form of the Reset Button. See also Crashing Dreams, Or Was It a Dream?, Fantasy Keepsake, Pinch Me, Dying Dream, and Catapult Nightmare. Compare with Nested Story Reveal, a similar trope that lacks the dream aspect. Often deconstructed with the Dream Apocalypse. If the dream is a quick-hit gag instead of a major element of the narrative, you have a Daydream Surprise. When the trope is inverted, it may turn out That Was Not a Dream. Not to be confused with Cuckoo Nest.

If someone points out the contrast between dreams that frame a story and the much more chaotic dreams that people actually have, that's Real Dreams Are Weirder.

As an Ending Trope, all spoilers on this page are unmarked.


    open/close all folders 

  • The delightful Kia Sorento commercial "Joyride Dream.''
  • The Pepsi Twist commercial when Ozzy Osbourne notices his kids drinking Pepsis, only for them to actually be Pepsi Twists, and that his kids are actually the Osmonds in full rubber bodysuits. Ozzy starts screaming, only to wake up and realize that it was just a nightmare, though the Pepsi Twists are still real...
  • RC Cola had an animated ad where Hank Hill is riding on his mower, drinking an RC, at peace with all things. Bobby runs up excitedly shouting "Hey dad, I made the football team!" Hank smiles - and wakes up in his hammock. Bobby runs up excitedly shouting "Hey dad, I made the football team brownies!" Hank wails in horror.
  • A not-so-PG advertisement — lingerie company Agent Provocateur had a handsome secret agent donning his L'Agent sunglasses and being able to see all the woman at a party wearing AP's 2013 Winter Catalogue. When one of the girls starts giving him a lapdance in Black Bra and Panties, our hero is woken up by his foreman on a construction site and told to get back to work.
  • This Fire Safety PIF from the UK has the father who is constantly tries to prevent fire hazards in the house as a evil-sounding witch voice continuously taunts him throughout, until the curtain catches fire from a heater. The ending of the PIF shows the father waking up from a nightmare and begins to rethink his decision of smoking a cigarette.

    Anime & Manga 
  • Alien Nine has main character Yuri doing this Once per Episode, each dream focusing on her fear of aliens, and getting more and more horrific until the Mind Rape sequence in the final episode.
  • Attack on Titan: The manga begins with Mikasa telling Eren that she'll see him later. Eren wakes up saying he had a really long dream and is mysteriously crying. The anime noticeably changed this to a sequence of various scenes including the attack on Zhiganshina. What exactly the scene means is a matter of furious debate.
  • In Axis Powers Hetalia, Japan tries to convince himself that the "Private Lesson" with close friend Greece was All Just A Dream. Even when he woke up naked—or at least shirtless—next to him.
    • Estonia is relieved to find out that he wasn't really sent to a universe containing gender-reversed nations.
    • England has a dream at one point where he is forced to play Cloudcuckoolander's Minder to America in Africa, trying to keep him safe from poisonous lizards, snakes, and poisonous plants. He's glad that it's just a dream. And then America shows up for real...
  • Baki the Grappler has a humorous example: the fight between Oliva and Guevara ends with Guevara the winner, then being introduced to the president of the United States, who begs him for forgiveness, and Yujiro, who tells him he's the strongest warrior in the world. He marvels, at this, saying it all seems like a dream...which it is. A dream he had after Oliva knocked him out with a punch that embedded him in the ground.
  • Inverted in Berserk. In the midst of the massacre under the Eclipse, Corkus becomes convinced that the entire plot of the series was just a dream. After all, (present horror excluded) it was much too good to be true. His absolute certainty did not prevent his brutal death.
  • Bleach:
    • Episode 287 has a twist. The viewer is initially led to think that it's Ichigo's dream but it turns out to be a Dream Within a Dream of Isane Kotetsu's.
    • Done again with episode 304, although this time, it's Komamura's.
    • Happened straight in the comic that came with UNMASKED. Ulquiorra dreams up the memories of his past.
  • In the tenth Dragon Ball Z movie, Gohan and Goten are getting overwhelmed against Broly, who is still immensely powerful despite Gohan being a Super Saiyan 2. Goten begs for Shenron to help them and Goku arrives, allowing the Son family to deliver a powerful triple Kamehameha. When the dust settles, Goku is long gone, making the brothers wonder if Goku really descend from heaven to help them or if it was them all along.
  • Love, Chunibyo & Other Delusions: In the movie, the lengthy wedding of the official couple deal before the opening credits. Bits to make the trope less of a foregone conclusion are present, such as moderation in pandering to either of characters' agendas, or a momentary narration by character other than the dreamer.
  • Cowboy Bebop:
    • "Toys in the Attic" from implied to be this. It's a bizarre episode that involves a blob monster emerging from a broken fridge and nearly killing most of the crew. The next episode opens with Spike waking up from what appears to be have been a very bad dream.
    • Plated with for Cowboy Bebop: Knockin' on Heaven's Door, as it could be a dream Spike has, as the movie starts with him napping and ends with him waking up.
  • Daily Lives of High School Boys:
    • The last skit in the anime, High School Boys and ..., was Tadakuni's dream which contained many of the fandom's desires. Interestingly enough, this has generated a fair bit of discussion [1], as the punchline to the skit as presented in the anime (incredibly similar to the start of a skit way back in episode 4) makes it seem that 9 of the 12 episodes of the anime never happened, invalidating all of the characters introduced since then.
    • In the un-animated skit High School Girls are Funky — Tolerance, Yanagin again dared NAGO to test how long can they stay in the sauna. While most of the skit showed Yanagin won over NAGO... it turned out Yanagin fell unconscious earlier than NAGO, Ikushima and Habara; what we saw for the previous pages were just her dream while she was unconscious.
  • The first Detective Conan OVA has the main character work out that he is in a dream while he is still in it. Used more gratingly in the 13th movie where a scene used prominently in early promotions turns out to be a dream at the start of the movie.
  • One of the DVD specials for Durarara!! cleverly inverts this trope. The opening scenes show downright absurd scenes, like UFO sightings. As these are shown, Walker muses that most people would call his fantasies a pipe dream. The rest of the episode is narrated chronologically backwards, revealing that the strange occurrences at the beginning of the episode are not part of Walker's fantasy.
  • Repeatedly used in several episodes of the anime series Ergo Proxy, due to the proxies, god-like beings who can shape-shift and invade human minds with horrifying ease. Several characters are subjected to this trope, but none more so than the main character, Vincent Law, to the point that when unexpected things happen in reality he assumes it's yet another dream. Half the time he's correct. Other times he's outright told he's being subjected to a dream, or is it a dream within a dream, or has it been reality all along? It's a wonder this show made any sense at all.
  • The Season 2 opening of Genshiken starts with Sasahara opening a book... and then goes into an opening for a Mobile Suit Gundam-like series starring the Genshiken characters, including a helmeted Madarame as the antagonist. Then Sasahara wakes up and we see that he was looking at a sketch of the club members.
  • Get Backers:
    • Ban Mido uses his Jagan to produce hallucinations for exactly one minute. At many points, the audience also sees what the person is dreaming. Typically, this happens each time the audience is led to believe that the heroes have been killed. Once the minute ends, the dream "shatters," and all is well.
    • The entire series turns out to be just a virtual dream in the end.
  • Ghost in the Shell: Stand Alone Complex Episode 18 revolves around Yu, a teenager who has been turned into an assassin by having his late father's mind downloaded into him. Yu is incapacitated by the Major before he can stab the politician he is targeting, but then activates an explosive device, seemingly killing everyone in the vicinity. It's then revealed that this was all a false memory that had been digitally written into Yu's cyberbrain, as tricking him into thinking the assassination was successful was the only way to get rid of the father's memories.
  • The third-to-last episode of GUN×SWORD implies the series so far was a dream of The Rival Ray, with him waking up back home. Actually THAT is a dream he's having as he dies.
  • Haruhi Suzumiya:
    • Inverted in the sixth episode (chronologically). Kyon falls asleep, complete with explanations of REM- and Non-REM sleep and colorful visuals. Just at the climax of the episode, with Haruhi and him kissing, it abruptly cuts off and he falls off his bed. He then rants "What kind of dream was that? Sigmund Freud is gonna be laughing at me!" The next day, he meets Haruhi wearing a ponytail which he told her in the dream, looks good on her. After she also claimed to have had a bad dream, it is entirely obvious that it wasn't a dream.
    • Koizumi suggests this trope as an ending to Haruhi's movie that will subconsciously convince her that the events of the movie are fictional. This suggestion is met with blank stares from the rest of the Brigade. They go with a variant of Our Lawyers Advised This Trope instead.
    • Snowy Mountain Syndrome is a complicated and strange experience involving a massive blizzard and a mysterious mansion where the brigade seeks shelter, and are then trapped. When they escape after several hours, they end up back on the sunny ski-slope, and not ten minutes have passed. Kyon and Koizumi planned to just feign ignorance when Haruhi brought it up, which would lead her to believe it was a dream, but Mikuru screwed up that plan by admitting she remembered everything as well. Koizumi had to BS something about a mass hallucination, which made no sense, but Haruhi believed it anyway.
  • The 2nd special episode of High School DXD where Issei has an erotic dream of Akeno giving him a private lesson. Upon waking up, he finds himself hugging Asia, which prompts an angry response from Rassei.
  • In InuYasha, Kagome gets tricked into dreaming she is living a normal school life on two distinct occasions. The first is during a battle with Tsubaki, and the second was one of the battles with Naraku. The Tsubaki episode is interesting, since she sees many of her friends as Real Life personas (Kikyou for instance is her archery instructor at school).
  • A manga chapter of Mahoraba went from mild out-of-character moments for the other characters to intensely bizarre rooftop battles against a giant monster. At the end of the chapter, there is a chart which grades the reader based on when they figured out that the chapter was in fact a dream.
  • One episode of Mermaid Melody Pichi Pichi Pitch was a very, very strange New Year's dream in which Lucia uses her Idol Singer powers to become famous.
  • The Sunny-Side Battle! OVA of Naruto turns out to be Sasuke's dream, throughout which Itachi was trying to tell him something important. Sasuke figures it out at the end.
  • One of the great many interpretations of episodes 25-26 of Neon Genesis Evangelion. The episode 26 AU started with this... then it turned out that the AU was the dream, created to see if Shinji has a future without piloting his Eva.
  • Frequently subverted in Nightmare Inspector, though grandly played straight in the end when the characters learn that not only is Mizuki's brother Azusa, vessel for the Baku Hiruko before Chitose took over, still alive, he's been concocting the biggest, darkest, and most twisted nightmare ever, hoping that it will consume him and he can finally rest in relative peace. Turns out? Chitose was a figment of his imagination. Everything that happened since Chitose took over was all just Azusa's nightmare, that Mizuki and Hifumi were trapped in.
  • The One Piece short "Jiginai Time" (or "No Respect Time") apparently takes place entirely within the dream of an incredibly bored, talking moai, much to the main characters' chagrin.
  • The episode "Haruhi in Wonderland" of Ouran High School Host Club is all Haruhi's dream, but it's obvious from the beginning that it is either a dream or at least a nonsense episode based on Alice in Wonderland. What makes the episode really neat is its use of dream logic and the way she wakes up by slowly realizing that people and places are not exactly as they are in real life. The final realization that causes her to awaken is trying to hug her mother who was already dead when the series began.
  • Two episodes of Patlabor. In the first, Shige gets knocked out and dreams that he moves to New York to become part of a team of Toku heroes. In the second, it looks like Noa dreams that she's the hero of an Ultraman parody... but it turns out it's her teammate Asuma who dreamed it when he fell asleep listening to Shige talk about his aforementioned dream sequence in the hospital.
  • In Ranma ½, Ranma dreams that Jusenkyō dried up and wakes up terrified that he won't be able to lift the curse. He, Genma, and Happōsai then use a Magic Mirror to Time Travel. They first visit a future where Ryōga and Akane are married with children, then visit Jusenkyō to prevent their past selves from falling in the spring in the first place, but Happōsai sabotages it after he's left behind. Then Ranma wakes up again — the entire episode was just a dream, and the intro was a dream within a dream. He's understandably paranoid that he hasn't really woken up yet.
  • The idea is poked fun at in the 6th episode of Sayonara, Zetsubou-Sensei's second season.
  • Junji Ito's first two stories involving Souichi and the Tsujii family, Secret of the Haunted Mansion and The Souchi Front, were both Retconned into being a dream. This was largely done because the characters underwent a massive Genre Shift from outright horror to Lighter and Softer Black Comedy, with Souchi portrayed as a relatively harmless nuisance (in contrast to the original stories, where he was essentially a mass murderer).
  • The second season of Shakugan no Shana starts with Yuji trapped inside a dream (created by the real first villain of the season). Yuji picks up on some deja vu, but when complete scenes and defeated villains from the first season start showing up, then he knows something's wrong. No one will listen to him or tell him anything he—the one the dream is based on—doesn't already know. The dream falls apart once he pieces everything together, and he wakes up in the middle of a battle with that villain.
  • Parodied in Sketchbook, when Tsukiyo hands in a manga she's written, only to be told by the editor that she has to rewrite the ending, since having it be All Just A Dream is bad writing. Then she wakes up in her bed.
  • Sorieke! Anpanman:
    • Any episodes that feature Akubi-dori will be the results of this trope. Whenever she yawns, she'll send the main character of the episode in a long sleep and into a dream. Most of these would be nightmares, (Creampanda's case), or they'll be good for so long until something bad happens (Dokinchan's case when she was about to kiss Shokupanman). The only way to get out of the dream is to find Akubi-dori, go inside her, and pull any of the mood ropes to make her sneeze. After that, all of the characters would wake up and none of them (except for the main character) will remember the events that happened in the episode.
    • Another episode was in 899 when Baikinman wonders why he can't be stronger than Anpanman, and a small purple guy named Nazobo says he'll take him, Dokinchan, Horrorman, and Anpanman to the dream world. There, the main three bad guys meet Princess Hatena, who can grant Baikinman's destiny by giving him a cape and a staff, with which he succeeds in defeating his nemesis, but he doesn't know if this will be his choice. Then it turned into a nightmare when Princess Hatena traps the three with the staff she gave to Baikinman and coils around them. however, they were rescued by Anpanman when he came to stop them. Unlike the Akubi-dori example, it's debatable whether the events of that episode actually happened or not.
  • Twice in the anime-only first series of To Love-Ru:
    • Episode 10 begins with Rito accidentally seeing Haruna changing out of her tennis uniform, he tries to look away but starts coming on to him and wanting a kiss. It turns out the whole thing was a dream as he wakes up and finds a naked Lala next to him (who was apparently dreaming of him), to which he freaks out and faints.
    • Episode 23 has Saruyama becomes jealous of Rito's popularity and wishes he was a noble in Edo Castle. He then has daydreams of his many adventures as the ruler of Edo Castle, where all his friends make appearances.
  • Done humorously in the form of episode one of The Tower of Druaga.
  • Many episodes of Urusei Yatsura were dream sequences, usually obvious in that the episode was occurring in the past or with historical characters.
    • In one episode, Kitsune watches a movie about a fox who uses magical nuts to turn the human woman he loves into a fox. Kitsune does the same to Shinobu (as well as Lum, Ataru, Cherry, and Kotatsu-Neko, by accident). In the end, however, he wakes up to finds himself in the open field where he saw the movie, revealing that the night he turned Shinobu into a fox was just a dream.
    • Played with very cleverly in the second movie.
  • The first episode/chapter of School-Live! follows the wacky antics of a group of schoolgirls chasing a dog through the hallways. It is then revealed that the school is actually dilapidated and barricaded, that the main characters are the survivors of a Zombie Apocalypse, and that the scenes of normal school life are the delusion Yuki's mind has created to shut out the trauma.

    Card Games 
  • Hecatomb had a literal "It Was Only A Dream" card which can eliminate practically any card your opponent has out, essentially making them have never happened.

  • Comedian Emo Phillips inverts this trope when he talks about a dream he had. He describes a long series of really bizarre, Emo-Phillipian events that ends with him getting knocked unconscious. "And that's when I had my dream...."
  • In Robin Williams' comedy skit "Shakespeare (A Meltdowner's Nightmare)" from Reality, What A Concept, Robin plays a night watchman at a nuclear power plant, whose attempt to stop a meltdown by pulling the control rods of the reactor core results in a chain reaction, causing him to freak out until he hears this:

    Comic Books 
  • The last issue of Gen¹³, vol. 1 combined this with a Downer Ending: The team — along with various other gen-active teens they'd met along the course of the series — has one last hedonistic, live-like-there's-no-tomorrow-cuz-there-ain't good time before "The End". Turns out this was all in Caitlin Fairchild's head, an extended hallucination brought on by the effects of another gen-active's powers in the split-second before a Death Trap disintegrated them all (they got better).
  • This has happened innumerable times in superhero comics as an "out" for a wacky story that doesn't fit into canon. So much so that it was common to include the blurb "Not a dream! Not an imaginary story!" on covers to reassure readers that no such cop-out would be used. Since Covers Always Lie, they'd usually find some other cop-out that meant the events still weren't what they seemed.
  • Supergirl:
    • Supergirl: Cosmic Adventures in the 8th Grade: In the beginning of chapter 2, Supergirl flies over her school. All of sudden all begin calling her "Linda Lee". She freaks out and wonders why everybody knows her Secret Identity before waking up.
    • In Supergirl Vol. 5 issue #22 Kara gets hit by a train and all of sudden sees herself surrounded by her friends of the Legion of Super-Heroes. She's happy until Lightning Lad tells her that she is dreaming.
    • Bizarrogirl opens up with a battle between Supergirl and Superwoman. It looks like a flashback narrating the final fight between both super-beings until the legions of undead make clear Kara is having a nightmare.
  • Bruce Jones' run on Incredible Hulk was retconned in this manner, with Peter David's subsequent run explaining that it was all a hallucination brought on by Nightmare.
  • The high-profile Batman: RIP storyline is (among other things) an attempt to bring the wackier Silver Age adventures of the Dark Knight in-canon by explaining them as hallucinations caused by sensory deprivation experiments. An original quote from one of those Silver-Age tales is a prominent part of the storyline (and very typical of the trope): "It would be far easier to consider this a dream... but how can I? For in my hand, I hold the Bat-Radia!" The sensory deprivation experiment was not a retcon, but was itself a framing device in an actual Silver Age story. An alternative explanation provided for some of these episodes is the insinuation that they were hallucinations brought about by exposure to Joker toxin, Scarecrow's fear gas, etc.
  • Tom Strong issues 29 and 30 had the eponymous hero awaken from his superheroic life into a gray world with no wonder or adventure where he was just a factory worker with a case of bad self-esteem. Then the clues mount that he really is a superhero - only to discover that he was a failed military experiment and all of his memories of a heroic life were delusions. But at the last moment, he breaks out of the hallucination - back into the superheroic world where the Big Bad of the story had been forcing him to hallucinate. He said later that he knew the world he had been in wasn't real because it was all gray, with no sense of hope or wonder in it. (A cynical person might just say that he was unable to cope with the truth and retreated into his dream-world... à la that much-referenced episode of Buffy the Vampire Slayer.)
  • The Sandman. Quite a bit of it really is just a dream, but that doesn't make it any less real. "I give you - eternal waking...". It's all about the importance of dreams and fiction. In the second story arc, the protagonist reflects on how cliche this trope is, but ultimately decides she can't find a better way to sum up her adventures. Fast-forward to the last story arc, where Dream's funeral concludes with every one of the guests waking up - even the reader.
  • Two Spawn issues written by Neil Gaiman and Grant Morrison has Spawn dying accidentally after a fight with an angel warrior, and goes to a special level of Hell, where he finds all Marvel Comics and DC Comics superheroes imprisoned, and with help of Superman, who gave him his power, he sets them all free. Next issue happens back on Earth, with the narrator saying "Let's come back to reality. Spawn has a bad dream last days."
  • Sometimes used as The Teaser in Quantum and Woody. For example, issue #5 starts with Woody, Quantum, and Amy working together as a tightly-coordinated counter-terrorism team to stop a criminal called Othello. In reality, it's a dream induced after Quantum was accidentally blasted off of a building in the previous issue.
  • A story of The Fabulous Furry Freak Brothers from the early '70s has the trio staging a violent assault on a prison to free an incarcerated friend. Fat Freddy ends up cut off and bludgeoned to death by a horde of cops - but it's all just a dream, and Franklin is beating him with a rolled-up newspaper for eating a whole batch of hash cookies. Then, some seven years later, an extended story where they take a cross-country trip in a vintage RV ends in a full-scale riot at a Greenwich Village Halloween parade — but it's all just a dream, and Franklin is beating Freddy with a rolled-up newspaper...implying everything that happened between the two stories was Fat Freddy dreaming!
  • There's a Punisher story where Frank goes back in time to the 30s thanks to Reed Richards and Nick Fury. He quickly infiltrates Al Capone's gang and kills every last mobster in Chicago along with Al, the idea being that by breaking the mafia's hold early on, there'll be no gang shooting in Central Park in the late twentieth century, saving Frank's family and preventing his Start of Darkness. Then he wakes up.
  • The infamous Spider-Man storyline One More Day had Peter and Mary Jane's marriage retconned in a deal with the devil. The newspaper comic didn't do the whole "deal with the devil" storyline but it did suddenly change, making Peter single again to fit in with the comic book line. Fan uproar eventually convinced the writers of the newspaper comic to retcon that change, and they did that by saying it was all just a dream. Now if only they could do the same with the main comic...
  • Subverted in issue 5 of Fish Police. Inspector Gill wakes up, believing he just dreamed that he was a fish — only to find that yes, he really is one. He didn't dream up a single thing that happened so far in the plot; he was just drunk when a lot of it happened. Cue the "What Did I Do Last Night?" from Gill.
  • Scooby Apocalypse: Issue 10 is revealed at the end to primarily have been a fever dream.
  • Usagi Yojimbo: Usagi stays with a peasant family, and at night they are set upon by a demon which slays the mother and father, and eventually Usagi. The son wakes up and it's all revealed to have been a dream he had from eating too much candy. Usagi leaves and bids them goodbye. Then Jei, known for slaughtering people who give him hospitality, shows up at the house and asks if he can stay the night.
  • All the events of issue 26 of Paperinik New Adventures "Time Escapes" are actually the demo of a TV show of the XIII century.
  • Judge Dredd: Played for Black Comedy when a man is randomly gunned down in a drive-by shooting and a first-time criminal decides to steal the dead man's wallet. Judge Dredd pursues and corners him, but when the man pleads that he regrets what he did, Dredd gives him a break and tells him to go home. Then the perp wakes up in prison with Dredd quipping "Keep dreaming".
  • Disney Ducks Comic Universe:
    • A dream ending was hastily written into the Barks story "The Firebug" where Donald becomes a Pyromaniac but is pardoned when he catches a more dangerous person who was starting similar fires. In the original ending, Donald sets the judge's waste basket on fire and is thrown in jail as well, but in the altered ending Donald is woken up by one of his nephews instead.
    • There's an Italian comic by Marco Rota where Donald takes a nap on a bed in Gyro Gearloose's workplace, but accidentally activates a dream device by releasing a nightmare potion. The rest of the comic features freaky scenes such as the Beagle Boys running the police force and pursuing Donald, Uncle Scrooge dying when he activates his Money Bin's self-destruct before turning into a giant coin-monster, and Little Helper becoming a robotic Mad Scientist by switching places with Gyro. At the end Donald wakes up back in Gyro's workplace and realizes it was all a dream.
    • This is the conclusion that Donald comes to at the end of The Duck Who Never Was, after wishing that he was never born and having a genie (Who happens to live in an urn instead of the typical vase) he met in the Duckburg Museum grant said wish. After Donald runs off and leaves the museum however the Genie's voice is seen emanating from the urn in which he lives, proving that it really did happen. This is partially revisited in the later story Treasury of Croesus. When Donald, along with his uncle and nephews, once again visits the museum he sees the same urn from the previous story and is then the only one to notice the lid of the urn being lifted up by a hand from inside the urn, which looks to be in greeting to Donald.
    • Also shown to be the case at the conclusion to Barks' The Money Stairs. Dealing with Donald and Scrooge competing to see whether there are some things that Scrooge's money can't accomplish, it ends with Donald waking up and telling his nephews that he realized it was a dream after Scrooge offered to buy him a soda. In retrospect, the events being a dream make sense, as the story features Scrooge being fairly carefree with spending his money to beat Donald. One panel survives from an aborted non-dream ending that Barks drew at first but scrapped—he went with the dream ending because the "money stairs" of the title, a mountain-size stairway built out of coins, seemed too impossible to be real.
    • In the story "Paperino e l'incubo dello zione" Uncle Scrooge is seemingly visited by characters from his recurring nightmares, then Donald discovers it's all a plot by the Beagle Boys to rob Scrooge. Scrooge then promises that he'll reward Donald with half of his entire riches. At this point it's revealed that the entire story was just Donald's happy dream.
  • Grant Morrison ends his run of Animal Man by retconning it into a dream as a favor to the title character.
  • Cavewoman: Some of the events of It's a Girl's Life (specifically the 'booty competition') according to Carrie's Oasis Diary. This would explain some Out Of Character Moments in It's a Girl's Life.

    Comic Strips 
  • Jon got a date and asked Garfield to pinch him to be sure it wasn't a dream. It was.
  • Little Nemo in Slumberland ends every strip with Nemo waking up in bed. There were continuous storylines despite this. And when Nemo gets into trouble it does not feel as safe as a dream. No no no.
    • Also Winsor McCay's Dreams of the Rarebit Fiend— though the title makes that obvious.
  • Drabble pulled this twice, then subverted it hilariously. The first time, Ralph dreams that his job as a mall cop is more like Batman. The second time, Norman goes to a piercing salon with Wendy and ends up with multiple ear, nose, and other rings. The third time, Norman and Wendy run off to Vegas and get married on a dare. Norman is about to invoke this trope when the next panel reveals the cartoonist has already used up his chances to use it. The plot gets resolved another way.
  • From Bloom County, after a long-awaited wedding, Opus is knocked out when his nose collided with Lola's when they kiss. While unconscious, Opus dreams about Lola leaving him twenty years later with twenty-three tube-grown kids.
    • At another point, Opus ends up wandering lost and semi-delirious in the desert. Suddenly, he's back home in Bloom County. He announces how happy he is it was all just a dream. Milo then says "No. This is the dream. You're still in the desert." And sure enough...
  • A two-week storyline in FoxTrot, parodying The Metamorphosis, has Jason waking up one morning to find he's turned into a miniature version of his sister, Paige. Midway through the story, he lampshades this trope by saying he's figured out that he's dreaming, because he thinks that if this were real, Mulder and Scully would've come to investigate. (Dream-Peter then points out that Mulder and Scully are TV characters — and therefore only investigate incidents appropriate for primetime shows. Turning into a teenage girl is too horrific.)
  • Calvin and Hobbes has the memorable "A Letter From Santa" Sunday strip, where Calvin gets a letter from Santa Claus encouraging him to be as bratty as he likes and that good kids actually nauseate Santa.
    "And then I awoke."
    • There was also the Sunday strip involving Calvin being unable to fall asleep, as late as 1:30 in the morning. He tosses and turns, and is really tired, but just can't get to sleep, until he hears his mom's voice, and wakes up from his insomnia dream. At breakfast, Calvin mutters to himself "This is going to be a bad day."
  • The Knights of the Dinner Table story "Heroes on the Town" has Bob, Dave, and Brian actually running their characters as lawful good heroes, treating NPCs with respect and roleplaying rather than mindlessly hacking. The story ends with B.A. waking up.
  • What's New? with Phil and Dixie. In this strip Phil and Dixie have a Catapult Nightmare to wake up from a dream (shown in previous strips) in which their Character Alignments were changed to Evil.

    Fan Works 
  • The fanfiction story "The Reunion" considers the entire fourth season of the television version of Our Miss Brooks to be All Just A Dream.
  • There have been lots of fics inspired by Cupcakes in which the original fic was either a nightmare or a recurring nightmare for one of the two characters. (Not all had a necessarily better ending for either.)
  • In Nobody Dies:
    • Much of chapter 66 is Shinji having a dream (really more of a nightmare) about Zeruel slaughtering everyone.
    • Season 4 is just a dream, made by Arael.
  • Superwomen of Eva 2: Lone Heir of Krypton: In chapter thirteenth's omake Asuka and Misato are fighting over Shinji. Since Asuka has the upper hand, Misato talks her into a threesome. Asuka demands getting Shinji's first kiss and she is about to kiss him... when Pen Pen woke Shinji up. Shinji's reaction to realize it was a dream and the penguin has woken him up from the best dream he has ever had was... not serene.
  • Inverted in Kyon: Big Damn Hero, where Kanae was having a recurrent dream with parts... off. It was until after she kissed Kyon that she realized she was awake.
  • Appears in the fic, Rainbow in the Dark, where Rainbow Dash has an erotic encounter, after which she wakes up, building up the UST to even higher levels.
  • In a parody fanfiction about Dragon Ball GT, right after Goku's Heroic B.S.O.D. and Big "NO!" when learning that after his 100 years with Shenron, his family and friends are dead., we return to Goku and Chichi's bedroom and he explains to her the entire events of GT as a nightmare. Then, it becomes a Dream Within a Dream as Goku has a run in with Dragonball Evolution's Goku. The short story is on deviantART.
  • In Heart and Eye Xander has a conversation with Willow that turns out to be result of heavy painkillers
  • The Star Trek: New Voyages episode "To Serve All My Days", involving a delayed effect of Rapid Aging that afflicts Chekov to the point where he may have died, in the final scene following the closing credits suggests that most of the whole episode was just a dream he had.
  • In the Star Trek: The Original Series fanfic Memories Born of Fire, Spock has a nightmare about what would have happened if Kirk had not survived the kal-i-fee.
  • Equestria is a My Little Pony: Friendship Is Magic fan fiction that suggests that the eponymous world is actually the elaborate fantasy world that was to be the setting of a series of stories planned by a woman who was emotionally abused by her mother. She never got around to writing it and the emotional abuse that she suffered drove her into her dream world..
  • Chapter 7 of Dalton starts out like this.
  • One "episode" of Calvin At Camp features Calvin falling asleep and dreaming that he is in an Affectionate Parody of LOST. The readers are aware the entire time that it is a dream.
  • Calvin and Hobbes: The Series has the opening of "Camping Trip Part 2", a surreal Time Skip.
  • In The Detective and the Diplomat, Sherlock Holmes is trapped in Ankh-Morpork and would rather believe that everything he is experiencing there — from a demonstration of magic to a talking dog — is actually a fever-dream. He's wrong.
  • In chapter 8 of Weightless, Shepard dreamed of Garrus tied up and interrogated her to make her spill out her feelings (which she was trying to keep to herself due to several reasons). She was woken up by the real Garrus and suddenly hit him in the face. After that, things got worse.
  • Ed Abuse: And by the last person you would expect it to be.
  • In the stories Your Worst Nightmare, The Love Triangle and Dream Away of The Lion King Adventures, dreams are used by villains to try and defeat Simba.
  • Discussed in Dirty Sympathy when Apollo wonders whether the events of the story are actually happening, whether Klavier is actually real and if he is dreaming the whole thing to comfort himself. Klavier is all too quick to reassure him.
  • In Mega Man Recut, Future Shock may be this; it's ambiguous.
  • In The Dear Sweetie Belle Continuity, most of "The Sin of Envy, or a Mother's Love" is this, courtesy of a demon.
  • In Midnight Savior, it begins with Kim on Lorwardia in chains, being dragged to the gallows to be executed by beheading. The moment the blade falls, she wakes up screaming. While she was dreaming, she tried to wake herself up, convinced she's dreaming, but it seems it's actually happening. After waking up, she could almost feel the heat and dirt from the nightmare. But the worst thing for her was how it could have happened if Ron haven't saved her and killed the Lorwardians.
  • The first chapter of A New Way is a dream of Chrysalis's, viewed by Luna, though this is not immediately apparent.
  • In Vengeance from the Grave Harry, annoyed that his friends and colleagues are trying to play with his emotions, subjects them to an eight hour long forced dream about what the next eight years of their lives would be like if he got fed up and left.
  • Averted in Vapors. Aiko is rather traumatized when her painkillers wear off enough for her to realize that being kidnapped by Sasori is not a fever dream.
  • This happens a few times in the Meg's Family Series. Boyfriend had a chapter that turned out to be Zack's Adventures In Coma Land, and Family had The Obligatory Zombie Chapter, which was Maddie's nightmare (considering how it ended, it would be hard to continue the series otherwise). Returns' prologue was also this, detailing how much had changed for the family in between the stories and Brian wondering about the story possibilities. Then Meg wakes up and nothing has changed. Brian is not amused.
  • In "Or Something" Series, the events of A Crossdresser are all just Yang's dream.
  • In Advice and Trust, Ritsuko does this in chapter 9. She's lying next to Maya after a fabulous and romantic date... and then she wakes up and realizes that she was dreaming.
  • A lot of the House fanfic "It's Time You Got A Life" is Chase's dream.
  • Marik's "Evil Council" Video #4 turns out to be Bakura dreaming about them actually killing Yugi.
  • Fantasy of Utter Ridiculousness's Alternate Ending, depicting Patchouli trapped in Jersey City after the Scarlet Devil Mansion's library is destroyed, turns out to be this.
  • The Phineas and Ferb Valentine's day fic Lovey-Dovey turns out to be Perry's dream, but whether or not the dream comes true after the story ends is up to interpretation.
  • Asylum opens up with Twilight Sparkle waking up in the titular asylum and being told that most of her life was just a dream, much to her horror. Also, in chapter eight Twilight wakes up in her old library and it seems the asylum was just a dream. But of course, this is not the case...
  • Invoked in the Land of Oz oneshot Patient. A now seventeen-year-old Dorothy wakes up in an asylum with no memories of the last eight years. At the asylum, she befriends a girl who thinks she is royalty. The reader is led to believe Oz was all a fantasy, until it's revealed that Dorothy is still in Oz. Her friends are trying to make her believe she's in Kansas while she's an amnesiac so that she doesn't become too stressed. The fic pokes fun at this trope and the MGM film.
  • Averted in the aptly named story A Dream. After waking up in Equestria, Valiant decides he must be dreaming. It takes a full season and several months living there before he realizes that this is all real.
  • In Neither a Bird nor a Plane, it's Deku!, Izuku hoped that his traumatic fight with Katsuki was all just a dream when he woke up in his living room after blacking out at the hospital. It takes all of five seconds for his Super-Hearing to act up again and remind him that it wasn't.

    Films — Animation 
  • Alice in Wonderland: Alice realizes she's dreaming and begs herself to wake up at the very end- and succeeds (thanks to her sister also calling her name in the real world).
  • An American Tail: Fievel Goes West is written off as a dream Fievel had in the third An American Tail movie, An American Tail: The Treasure of Manhattan Island. But there was a TV series with the Wild West theme that aired prior to the 3rd movie (Fridge Brilliance when you realized that it's possible to stay in what seems to be forever in the dream world and then wake up to discover that only one night has passed in reality).
  • The ending of Disney's Peter Pan hints that the adventures in Neverland may have been just a dream of Wendy's – unlike in the original play and book, where it's all explicitly real. Mr. and Mrs. Darling coming home from their dinner party to find the children asleep in the nursery as if they had never left (even though the Neverland trip seemed longer than just one night), and while Wendy and her parents see what looks like the pirate ship's silhouette in the sky, it's not clear if it really is the ship or just a cloud formation. This is left ambiguous, though.
  • In The Year Without a Santa Claus, the ending reveals the whole thing was just a dream that Santa Claus had. Maybe the creators felt weird about Santa even thinking about skipping a year in real life, but either way the ending is so rushed and unnecessary that many airings cut it for time.
  • Little Nemo: Adventures in Slumberland toys with this throughout; the whole thing is a dream of course, but at a couple points it seems like Nemo has awoken in his bed, only for something from his dream to appear in his bedroom, such as the scepter King Morpheus gave him, meaning that he's still dreaming. This trope was one of many reasons Hayao Miyazaki left the production of the film, as he didn't want the movie to be all just a dream (despite this being the entire premise of the Little Nemo comic strip in the first place).

    Films — Live-Action 
  • Subverted in 1408, where the protagonist "wakes up" from his harrowing ordeal in room 1408 to be told it was only a dream, only to find his surroundings demolished and stripped away to reveal that he is still in fact stuck in the hotel room. Bonus points for the film having run long enough to make you think it might be ending.
  • Ripley's nightmare of having an alien rip out of her chest near the beginning of Aliens. This is especially misleading since some of the marketing material played up that the aliens would be attacking Earth... well, a space station around Earth... well, a dream sequence on a space station near a planet which could maybe possibly be Earth.
  • American Psycho effectively repackages this into "And it was all a psychotic hallucination". Or was it?
  • Related to this is the film Atonement in which the entire conclusion of the plot (involving Briony taking back her evidence and Keira Knightley getting back together with her boyfriend) from the wedding of the rape victim and her rapist onwards is from the imagination of Briony. She reveals that James McAvoy's character in fact died while at Dunkirk and Cecilia was killed in the (real-life) flooding of Balham tube station by a German bomb.
  • Subverted in Audition. Near the finale of the film, the protagonist wakes up next to Asami in bed and is immeasurably relieved that all of the horrific things that were happening were just a nightmare born of the fear of her leaving. Turns out that this was actually a hallucination born of the pain of having his foot cut off.
  • This was enforced in the 1925 Race Film Body and Soul. Due to one of the characters being a criminal pretending to be a pastor, censors were upset over the film. Four reels were cut and a new ending was quickly shot where it turned out it was all just a dream.
  • Subverted in The Butterfly Effect. At one point near the end of the film it looks like the story is gonna go out with a Twist Ending. As Evan's doctor explains that there are no journals, he asserts that everything that we've apparently seen so far is a delusion that Evan created to cope with the guilt of killing Kayleigh, describing alternate universes with colleges, prisons, and paraplegia. Then it turns out that the mental time travel was real when Evan goes back one last time.
  • The Cabinet of Dr. Caligari gives a particularly jarring version. Notably this was because of the Executive Meddling, which the creators despised, as the whole point was to show an evil, monstrous authority figure, but the censors in Weimar Germany didn't like it. They apparently even made an extra twist for an alternative version where it wasn't a dream after all, despite of all the attempts to convince otherwise.
  • Open to interpretation in Click. Just as the main character is about to die, he wakes up at the Bed, Bath, and Beyond where he laid down for a short while at the beginning. However, Morty and the magical remote turn out to be real. It could be that this was more of his imagination. Given the prevalence of time travel in this film, it could also be that Morty simply reversed time to the exact point at which he laid down on the bed.
  • The Company of Wolves addresses this trope from the very beginning. The lead character - the one who dreams up the storyline - is a modern-day pre-teen girl, and when she wakes up, she is attacked by wolves.
  • Cruel and Unusual: Discussed by Edgar early on, who says he'd like to believe that the afterlife is just a nightmare, but knows it's too real for that to be true.
  • Dead End. Early in the film, the characters are all weary and very nearly get involved in a car crash, startling them awake. From here, things start to get weird. By the end, it transpires that nobody woke up in time to prevent the crash.
  • The Descent. Did the crawlers exist, or was Sarah unable to handle the claustrophobia and stress of the already bad situation, causing her to imagine them and kill all her friends? All that can actually be said is that there was dreaming going on; where it started or ended is never made clear.
  • Happily subverted in The Forbidden Kingdom. He's back in his own world, but has mysteriously gained self-confidence, and is a better fighter. Was it all a dream?... oh, wait, the old shop-keeper is actually the now-immortal Jackie Chan character!
    They didn't even try to play it straight. When he wakes up on the pavement, the cut he received in his "dream" is still there.
  • Give My Regards to Broad Street. All portions of this film with plot are a dream, so it's a good thing this is a McCartney musical. This dream even has a Dream Within a Dream inside it.
  • In Hackers, the two main characters (played by Jonny Lee Miller and Angelina Jolie) each have erotic dreams about the other at the same time.
  • The first twenty minutes of the Halloween II (2009) ends up being nothing more than a nightmare that the main character was having.
  • Played very non-comedically in Happiness, where one of the characters apparently goes on a rampage through his neighbourhood with a machine gun, only to wake up. He's a... troubled guy. We later find out he's a paedophile.
  • In Hellraiser: Inferno there is an extended sequence halfway through the film where Joseph takes a rest on his bed as his wife comforts him, only to be informed by the Engineer that he's going after Joseph's parents and Joseph rushing to their rescue. Joseph fails to save them and his surroundings turn nightmarish, after which he wakes up with his wife beside him and the sequence starting all over again with a different outcome.
  • Taken to the extreme with Inception. The whole plot revolves around making sure they wake up from the layers of dreams at the right time. In Cobb's backstory we learn that his wife became convinced she needed to wake up from reality. And finally the ending and beginning both suggest that the whole movie was a dream. Maybe.
  • Both the original and remade version of Invaders From Mars have the whole thing turn out to be a young boy's nightmare only to have the invasion start all over again at the end. The first version in particular emphasizes this, with off-kilter sets and camera shots throughout.
  • At the ending of Jacob's Ladder, we discover that the lead character is experiencing the events of the entire movie as a hallucination as he lies on a cot dying in a military action.
  • Krampus after an evil version of Santa captured your entire family and send you to hell... it was just a nightmare... or was it?.
  • Labyrinth. Invoked and then subverted: Sarah, after hours of weirdness, finds herself in a place that looks exactly like her room. She cries out in delight, jumps on the bed and wraps the pillow around her head... then looks up in wonder and realizes the whole thing was just a big dream! She goes to open the door to the hallway... and is greeted by a goblin, while the other side of the door is a junk heap at night-time.
    Played straighter by the end, where you could interpret the entire thing as a dream, then subverted again when the creatures show up in her room and everyone has a dance party while Jareth watches in owl form outside the window.
  • Two of Laurel and Hardy's short films used this example: The Laurel-Hardy Murder Case and Oliver the Eighth.
  • At least three Little Rascals films used this example: Seein' Things, Mama's Little Pirate, and Our Gang Follies of 1938.
  • Each sequence of Living in Oblivion is revealed to be All Just A Dream, a dream which is referenced in the following sequence. In the final sequence is about trying to film a dream sequence important to the production, and lampshades tropes typical of filmed dream sequences.
  • Lunatics A Love Story uses a lot of this for humor. "You're having a nervous meltdown!"
  • The Matrix. The entire world the film starts in is All Just A Dream, albeit an artificially constructed one induced by an empire of evil computers. Some have suggested that even Zion is just another level of the Matrix, satisfying many beyond the official interpretation as it explains the liberties taken in the third movie.
  • Most of Mindscape is revealed to be the main character's memories being examined by a psychic.
  • In MirrorMask (boy, Neil Gaiman sure loves dreams), Helena figures out pretty early on that the entire Magical Land is all a dream, populated by characters based on people she knows. However, the possibility is certainly left open that it isn't just a dream, when she meets someone who was in her dream, but she'd never met before in her day-to-day life.
  • One of the few relatively certain things about the plot of Mulholland Dr. is that it includes some element of this. One interpretation is the whole movie is a sinister creeping inversion: it is a dream where the dream gradually wakes up and walks away, rendering the original dreamer fictional.
  • In Next, most of the second half of the film is actually the protagonist looking into a future, which he then changes.
  • Everything but the last couple of minutes in Nightmare City is in the main character's dream, and the movie ends with the beginning of his dream playing out in real life, with an end card reading "The nightmare becomes reality..."
  • The first A Nightmare on Elm Street (1984) toys with the boundaries between dreams and the real world throughout the film. At the end, the Final Girl wakes up and thinks her entire ordeal has been a dream. Then Freddy takes control of the car she's in...
  • Most of North is the title character's dream, unlike the original book, where the events did actually happen to the title character.
  • Throughout Pan's Labyrinth, there are strong suggestions that certain aspects of the plot may be All Just a Dream. Word of God debunks that possibility, though that same god also explicitly tells you not to listen to him so in the end it looks like nobody's happy.
  • The Pirate Movie (1982) is a kooky adaptation of The Pirates of Penzance in which the story plays out as the dream of a present-day heroine, which results in the plot and songs of the Gilbert and Sullivan original existing alongside pop culture-derived gags and light pop songs. When the heroine realizes she's dreaming, she's able to engineer a happy ending.
  • The last third of Repo Men - in the last two minutes or so, it's revealed that Remy suffered brain damage from getting hit in the face by a hook, and Jake then had Remy hooked up to the M5 Neural Net to live the rest of his life in happiness - everything that happens between the hook to the face and the reveal is part of the happy illusion Remy is living because of the neural net.
  • Robot Monster -1953 - Ultimately the youngest member of the family, a boy, apparently wakes up after suffering a mild concussion, revealing that the bulk of the film had presumably been a dream.
  • Romy and Michele's High School Reunion: A large chunk of the film takes place in Michele's dream which isn't revealed to be a dream until the very end. This portion is so significant that many of the jokes from the trailer were taken from the dream sequence.
  • Inverted in Rosemary's Baby. The title character undergoes a series of increasingly bizarre dreams, culminating in her rape by a demon which, as she realizes partway through, isn't a dream at all.
  • A planned (but never filmed) Alternate Ending of Scott Pilgrim vs. The World removes the Video Game Physics and recasts Scott as an Unreliable Narrator, culminating in his being convicted as a serial killer for seven counts of murder, though this was very likely discarded due to the fact that it was deemed too unfriendly.
  • Parodied in Sex Mission, when at one point Albert dreams of the whole plot being a dream, and not even a normal one, but one shared with Maks during the hibernation.
  • At the end of the Italian horror movie Shadow, we learn that the main character has never left Iraq, and was under anesthesia as the camp doctor (the evil creature in the dream) and nurse (who is the girl he met in the dream) worked on him. He survives, but loses his legs and his left eye. The two hicks who the evil creature tortured and killed are revealed to be fellow wounded soldiers who died of their wounds.
  • In The Shining, it sometimes got difficult to tell what was real and what were projections of the family's minds. Roger Ebert's review talks at length on the subject.
  • Most of Shoulder Arms by Charlie Chaplin, including all of Charlie's adventures in France, turns out to be Charlie's dream. Foreshadowed when Charlie is shown lying down to sleep in boot camp before the film cuts to him in the trenches of World War I.
  • Slaughter High ends with a reveal that is either this or an extended Daydream Surprise.
  • The Slayer — The whole movie turns out to be a prophetic dream that main character had as a child.
  • In The Smurfs 2, Smurfette turning into a Naughty turns out to be this.
  • Tall Tale: Right before a shoot-out with the Big Bad and his mooks, Daniel loses consciousness and wakes up in the raft he fell asleep in back in the beginning. Subverted, when he learns that the coal company has already begun mining, and Pecos, Bunyan, and Henry show up to help stop them.
  • Happens three times in Thirteen Seconds. First, the main character is attacked by demons, and wakes up in bed. Later, a demon grabs his groin and drags him under the bed; he wakes up again. As for the third time, during the movie, he shoots up on heroin. The entire rest of the movie turns out to be a hallucination he experiences in the 13 seconds it takes him to die of an overdose.
  • Time Bandits seems to use this at first, with Kevin returning from being enveloped by smoke from one of the remnants of Evil by seemingly waking up in his room during a house fire... but it doesn't just settle for an Or Was It a Dream? and goes for a full-on subversion. The film ends with Kevin finding the photos he took on his journey, and discovering that the fire was started by the final fragment of Evil getting lodged in the toaster oven — which his parents promptly touch despite his warning and explode. Also, it's implied that the fireman that rescued him actually is King Agamemnon, not just another case of the film using the same actors for multiple characters.
  • Lampshaded/parodied in Top Secret!: Nick Rivers passes out under torture by the East German secret police and dreams he's back in high school about to take a test for which he hasn't studied. He wakes up back in the torture dungeon and smiles with relief, while being whipped: "Oh, thank God."
  • In Total Recall (1990) we are Left Hanging as to whether or not the entire film after the point Arnold Schwarzenegger goes to Recall is real or a hallucination.
  • The Twilight Saga: Breaking Dawn - Part 2: The battle shown near the end of the movie was just a vision seen by Aro through Alice that would foretell his death if he tried to murder Renesmee anyway. It must be noted that this never happened in the original book.
  • Tacked on at the end of 2002 Hong Kong flick Undiscovered Tomb.
  • Vanilla Sky (2001), directed by Cameron Crowe and starring Tom Cruise. Remake of 1997 Spanish film Abre los Ojos, a.k.a. Open Your Eyes. After a car accident that kills his girlfriend and disfigures his face, the protagonist is haunted by increasingly bizarre occurrences. The ending explains that everything that has occurred after the car accident has been a dream. In real life, after the car accident, he signed a contract with a company that preserves its clients' bodies after death and keeps their brain waves active in lifelike virtual reality dreams, and then committed suicide. The bizarre occurrences are explained as glitches in the program. In the end, he decides to wake up from the dream program.
  • The entirety of The Wizard of Gore is implied to be a brief dream of Montag's as he's starting his routine.
  • The Wizard of Oz is the most famous film example, though there is a wee bit of room for alternate interpretation. In the book it is definite that Oz was real and Dorothy returns there several times in other books; Oz was changed to an elaborate dream in the film because producers felt that the 1930s audience was too sophisticated to accept a straight-on fantasy like that.
  • In The Wolfman (2010), Lawrence has quite a few hallucinations while recovering from his nasty little bite, as well as hallucinations in the asylum.
  • Fritz Lang's 1944 noir The Woman in the Window, complete with recognizing the people from his dream after waking up. Many sources report that The Hays Code compelled Lang to use this ending, but Lang insisted that it was his idea.

  • Many scholars interpret The Aeneid, the epic Latin poem/propaganda piece commissioned by Octavian to Virgil, as the earliest example of a story being "all just a dream". Halfway into the poem, Aeneas visits the underworld to be instructed by his dead father in the foundation of Rome, after which he is confronted with two possible gates to exit back up, "one said to be of horn, whereby the true shades pass with ease, the other all white ivory agleam without a flaw, and yet false dreams are sent through". His father then sends him up through the ivory gate. This would imply that all of Aeneas' subsequent adventures leading up to and including the foundation of glorious Rome are all but a "false dream", contrary to Octavian's wish. Possibly Virgil's subtle way of Getting Crap Past the Radar.
  • One of the classic uses of All Just a Dream in children's literature is Alice's Adventures in Wonderland. In its sequel Through the Looking Glass though, she is assured that she is just the Red King's dream.
  • Older Than Feudalism: The most famous anecdote by Chinese Daoist philosopher Zhuangzi has him relating how he dreamed that he was a butterfly, and upon waking was unsure whether or not he was a man who dreamed he was a butterfly, or a butterfly who dreamed it was a man. He lived around the 3rd century BC.
  • Polish author Stanisław Lem:
    • The Futurological Congress features its narrator accosted by powerful mood-altering drugs that cause powerful hallucinations while he sleeps (perhaps they could just be called dreams?). He awakens from hallucination within hallucination, sometimes by degrees and sometimes suddenly, with such frequency that less than halfway through the book it becomes virtually impossible to tell whether he is really awake (one of the major themes of the book).
    • In Observation on the Spot Lem references The Futurological Congress and lampshades the trope. The protagonist tries to wake from the dream - explicitly mentioning his wakings up during the Congress. He fails, because his observation on the spot was not his dream.
    • Also, in Tales of Pirx the Pilot, the first story features this. Pirx's first spaceflight was just a simulation, he didn't know that though.
  • Towards the end, Neil Gaiman's Coraline very briefly appears to pull this... however, it's almost instantly subverted; not only was it not just a dream, but Coraline's adventure isn't quite over, after all.
  • Most of Space Marine Battles' Veil of Darkness turns out to be a nightmare Sicarius is suffering when in medical coma. The dream, however, turns out to be prophetic and enables Cato to stop a chain of catastrophic events before they even start.
  • In The Queen and I by Sue Townsend, the election of the British People's Republican Party and subsequent banishing of the Royal family to a council estate turns out to be an election night nightmare by the Queen.
  • Subverted in the original The Chronicles of Thomas Covenant; Covenant starts out by believing that everything happening to him is a dream, and is then made to doubt this over the course of the trilogy. The question is deliberately left unresolved, although the Creator's intervention to save Covenant's life at the end strongly implies that the Land was real, as do the passages from the points of view of Hile Troy and Lord Mhoram.
    Unless it was all just a dream, and Covenant merely hallucinated the Creator offering to help save him. In that, his "miraculous recovery" in the hospital would simply have been because he had essentially regained his will to live (as established in his conversation with the Creator). This is even more implicit when you realize that Covenant is a writer (and thus, is a Creator himself), so both the Creator and the Despiser may simply be embodiments of his own personality. The Hile Troy and Mhoram POVs don't necessarily negate this, since Covenant never manages to prove that Troy was "real", and it's possible to passively dream things happening that the dreamer wouldn't necessarily be aware of. But as Covenant himself suggests, it doesn't matter whether it's a dream or not, because either way, it's important. The later books tend to make a much better argument for everything being real, but the original trilogy does a very good job, even right up to the very end, of keeping the paradox.
  • Subverted in Maximum Ride. A group of scientists unsuccessfully attempt to convince the protagonist that the events of the entire past three books were all a dream.
  • In Harry Potter and the Philosopher's Stone Harry wakes up the night after Hagrid's visit and thinks the visit with all the talk of magic and a school he gets to go to away from the Dursleys was all only a dream, and then Hagrid offers him some breakfast.
  • In Horus Heresy novel Vulkan Lives, Corvus comes to free Vulkan, but after the two are cornered by Curze's mooks and the Raven is killed, it turns out the entire rescue attempt was just a dream inflicted on Vulkan by Konrad's psykers as part of his torture.
  • In the short story "An Occurrence at Owl Creek Bridge" by Ambrose Bierce, the protagonist (a Confederate sympathizer lured into a Union trap) makes a daring escape from his hanging when the rope breaks! He swims to safety, evades pursuit from Union soldiers, runs 30-odd miles to his home, finally embraces his beloved family — only for him to suddenly die of a broken neck, where it's revealed that the whole escape was just a hallucination between the moments of him being dropped and the noose snapping his neck.
  • O. Henry's short story The Roads We Take is about a Wild West Train Job gone awry: one robber murders his friend and accomplice, justifying that their only horse "cannot carry double". It turns out to have been a stockbroker's dream. He wakes up and promptly betrays a friend of his for financial gain, repeating the phrase "Bolivar cannot carry double".
  • The sequel to Rosemary's Baby, Son of Rosemary, makes both books All Just a Dream.
  • Jacob Two-Two Meets The Hooded Fang by Mordecai Richler, has the the children's prison island as a dream sequence.
  • One of Charles Dickens's lesser-known Christmas stories, The Chimes uses this. The main character, Toby Veck, discovers he's fallen from a bell tower to his death, and spends the next two chapters watching all kinds of disasters befall his loved ones because of their poverty. Just as his daughter is about to drown herself and her baby, and you think the only way to fix the situation is for it all to have been a dream, it turns out that it was all a dream. After a short happy scene, Dickens brings the mood down again by pointing out that even though he'd made his story turn out to be a dream, for many people the miserable parts were real life.
  • An in-story example occurs in one of the Henry Huggins books where Henry has to play the lead in the school Christmas program about a boy going to the North Pole to visit Santa. He hates the role—a six-year-old boy, the costume—footy pajamas, and the ending—where it turns out he dreamed the whole thing. Beverly Cleary didn't seem to like this trope, either.
  • G. K. Chesterton's The Man Who Was Thursday: A Nightmare. You can't say he didn't warn you — and he woke very oddly.
  • Mark Twain's The Mysterious Stranger plays with this.
  • Chris van Allsburg's Just a Dream, obviously. Although whether or not the author intended the dreams to be actual premonitions of potential futures is debatable.
  • In C. S. Lewis' The Great Divorce, the narrator meets with George MacDonald — who solemnly warns him that it is All Just a Dream and he must make it clear when he tells the story in Real Life, so that people don't take his visions of Heaven and Hell and take them as religious doctrine.
  • In Julio Cortázar's short story "The Night Face Up", this trope is played with. The narrative switches between two characters, one of which is a boy in a hospital, and the other a man about to be sacrificed by Aztecs. The ending reveals that the boy's life is actually a dream of the man, who keeps falling unconscious.
  • Happens in-story in The Sigh of Haruhi Suzumiya. They're making a movie, and events have unfolded that require the title character to in some way admit that the film is fictional. Koizumi suggests to end the movie with an All Just a Dream ending, thus forcing Haruhi to admit that the movie is impossible.
  • Deliberately invoked in John Varley's Steel Beach and Justin Lieber's Beyond Rejection when both protagonists discover they've been subjected to artificially induced "All Just A Dream" scenarios for therapeutic purposes. Lieber's protagonist is grateful for the intervention but Varley's is not.
  • Discworld story The Wee Free Men:
    Tiffany sighed. "And then she woke up and it was all a dream."
    It was the worst ending you could have to any story.
  • Gödel, Escher, Bach: An Eternal Golden Braid has a dialogue ("Contrafactus") in which the protagonists win a raffle. The prize is a "Subjunc-TV", which has the ability to show them what would happen under various hypothetical circumstances. In the end, it turns out that they never actually won the raffle; the entire dialogue was itself a Subjunc-TV broadcast of what would have happened if they had.
  • Chapter 39 of Atlanta Nights reveals that the rest of the book was all a dream, and the main character is on death row. There are 41 chapters, and the last two follow the same plotline as the first 38 chapters.
  • The Pilgrim's Progress by John Bunyan subverts this: The very first sentence is: "As I walk'd through the wilderness of this world, I lighted on a certain place, where was a Denn; And I laid me down in that place to sleep: And as I slept I dreamed a Dream." That this is All Just a Dream is reinforced throughout, to the very last sentence, which is: "So I awoke, and behold it was a dream." The book was written in 1675. Dream frames were a common medieval trope to explain that "I made this all up."
  • In Robert E. Howard's The Tower of the Elephant, Conan the Barbarian briefly wonders about this:
    He turned back uncertainly, to stare at the cryptic tower he had just left. Was he bewitched and enchanted? Had he dreamed all that had seemed to have passed? As he looked he saw the gleaming tower sway against the crimson dawn, its jewel-crusted rim sparkling in the growing light, and crash into shining shards.
  • In book four of Tales from the House of Bunnicula, Howie attempts to end the story this way after he inadvertently writes the protagonists into a situation they can't get out of. However, Harold tells Howie that ending the story like that is a cop-out, and tells him to try again. So Howie lets Delilah write the final chapter, ending the story on a much happier note.
  • Reversed in The Lathe of Heaven. George Orr has “effective” dreams, meaning, when he wakes up, something that was in his dream is now part of reality. His psychiatrist tries to use this ability to improve life on earth, but when he suggests that George dream of an end to international strife, George dreams of an alien invasion!
  • In Metro 2033, Artyom is put on trial to be hanged by the Fourth Reich but is saved by Hunter, when the latter massacres everyone in the station. Aaand then Artyom wakes up only to find himself leaning against a door in one of the Fourth Reich's cells.
  • An Elegy for the Still-living implies that this is the case without ever openly stating it, and the ending is left rather open ended on the subject.
  • Justified in Frederik Pohl's short story "The Hated", in which the protagonist plots to murder a former co-worker, but before he can, he's awakened by a psychiatrist from an induced dream. The protagonist and his co-workers were astronauts on a lengthy voyage during which they developed a profound, murderous hatred for each other. The psychiatrist was working with all of them to enable them to control their rage. It's made clear at the end that at least in the protagonist's case, it wasn't working.
  • Goosebumps:
    • This is played with in the TV ending to "Awesome Ants". The protagonist’s experience turns suspiciously nightmarish as the town is suddenly abandoned, there is a storm outside, and the ants are growing to enormous proportions. Just before he gets killed by one, he wakes up at home and all seems fine. Then he gradually remembers the reality of the situation: in the real world ants are actually mountain-sized, and keep humans secluded in the human equivalent of ant farms and force them to live on small pellets of blue food. In the book the ants just grew that big rather than always having been so.
    • For a true Mind Screw, count how many times this happens in "I Live In Your Basement". Unlike your standard use of this trope, each time makes things more confusing and dreamlike.
  • The Box Of Delights ends this way. The action supposedly takes place during Kay Harker's school holidays, but at the end he wakes up still on the train home from school.
  • In 1990 Degrees F, Shelby falls into a trap-door and crawls through the wet cave looking for her trainer, getting angrier and angrier that her trainer brought her to the tunnel. Just as she is about to curse her out, something wet and slimy, which turns out to actually be her trainer's true form, wraps itself around her and starts choking her, then she wakes up in her classroom and finds out she dreamed the whole incident.
    • However, she doesn't find out her trainer is actually an alien from Mercury until another dream she has when she's about to die from heat-stroke towards the end.
  • Abraham Lincoln: Vampire Hunter: If main characters are randomly killed by vampires, expect to soon read "Abe awoke with a start."
  • Flipped in Galaxy of Fear: City of the Dead. Zak Arranda dreams that he's home in his room on Alderaan, and thinks for a moment that the last six months of traveling with his sister and distant uncle since Alderaan was destroyed were all a dream! But of course this dream quickly becomes much worse.
  • In his essay "On Fairy-Stories," J. R. R. Tolkien says that the "All Just a Dream" device automatically rules out any story that uses it, even an otherwise good one, from serious consideration as a Fairy Tale, likening it to "a good picture in a disfiguring frame."
    It is true that Dream is not unconnected with Faërie. [...] A real dream may indeed sometimes be a fairy-story of almost elvish ease and skill – while it is being dreamed. But if a waking writer tells you that his tale is only a thing imagined in his sleep, he cheats deliberately the primal desire at the heart of Faërie: the realisation, independent of the conceiving mind, of imagined wonder.
  • What Were They Thinking? The 100 Dumbest Events in Television History lists the St. Elsewhere and Dallas examples (see below) at number 27 and 2, respectively.
  • Sent up by Robert Rankin in Armageddon, The Musical. A planet of aliens have been controlling Earth so they can watch us as a soap opera. Meddling executives decide that allowing World War III was a mistake and try to reboot the series by having Elvis wake up and discover it was all a dream of what would happen if he joined the army instead of lending his voice to the anti-war movement. In minutes, the whole story turns into an Anachronism Stew.
  • Werther Has Already Been Written (1979) by famous Soviet writer Valentin Kataev, a novel about Cheka terror in Odessa in 1921, is an unusual example. The story is framed as an Author Avatar's dream and is written in Purple Prose, with heavy use of flashbacks and flashforwards. But the story itself is not dreamlike, it's completely realistic and evidently based on real events.
  • A Mage's Power: Eric fears this is the case when he wakes up in his apartment and not a second has passed during his stay in Tariatla. Then Tasio delivers his Magic Staff and Spell Book to his front door.
  • In the utopian novel News from Nowhere, the narrator goes to bed and wakes up in an Arcadian future, which he proceeds to describe at length; at the end of the novel, things start going strangely, and he wakes up again, back in his own bed in the present. But was it just a dream?
  • Zig-zagged by The Girl from the Miracles District when it turns out that Nikita's entire visit to Asgard happened while she was in a magically-induced coma, but because Astral Projection and Talking in Your Dreams are both a thing in this universe, all of her interactions with gods, giants and so on are real.
  • Most of the novella A Taste of Honey is, more accurately, a dream-vision of the life Aqib would have lived if he had ended up making one very different choice. The ending reveals that Aqib did, in fact, leave Olorum with Lucrio and the story the book presents is the alternate life he could have lived had he remained, presented to him by the Sybil at Terra-de-Luce.
  • Well, obviously The Divine Comedy is a dream. Unless it wasn't. Or perhaps it was. Dante scholars still argue about whether readers are supposed to consider the poem one big, complicated dream; or if Dante wanted us to "believe" that he went to Hell, Purgatory, and Heaven and then came back (suspending our disbelief, of course — we're obviously not supposed to believe that he actually did those things, just to approach the text like he physically went rather than went there in a dream); or if he intended us to interpret the whole thing as a prophetic dream (i.e. a dream, but one that is in some way true or a representation of the truth, like a lot of dreams in The Bible — and indeed, there are a number of dreams like this in-story, particularly in the Purgatorio); or any number of variations on this.
  • Worlds of Shadow: One character is convinced the events of the story are a dream, and suffers a mental breakdown as a result since it becomes a full on psychological delusion.
  • Was is a 1993 Darker and Edgier take on Land of Oz mythos. L. Frank Baum was the substitute teacher of a troubled child named Dorothy Gael in the 1860s. Dorothy created Oz as a way of escaping her unfortunate home life. Years later Baum wrote a book inspired by Dorothy's life and stories.

    Live-Action TV 
  • In an episode of The 4400, main character Tom dreams of a world where the 4400 abductions never happened. As it turns out at the end, the "dream" was actually a power of one of the 4400, whose alternate reality powers allowed him to have an eight-year relationship with her in an extremely short time, allowing them to know everything about each other despite only meeting once.
  • Spoofed in the final episode of Ace of Cakes after building a giant cake replica of the BTTF Delorean, the final scene has Duff noticing the lights in the flux capacitor are on the fritz so he opens it up and messes with the wires, next scene he wakes up at his job at a factory, turns to Geoff and tells him about the weird dream he had "where you and I worked at a cake shop making all sorts of weird cakes".
  • MTV Europe's edition of Alternative Nation did this at the end of a special Blur episode. It had host Toby Amies interviewing Damon and Alex in a fancy car, with a skit added at the end revealing everything to be Toby's dream.
  • An episode of A.N.T. Farm features a past version of Zoltan Grundy traveling to the present day causing both the present Zoltan and the boarding school to fade out of existence. Chyna was forced to be the young Zoltan's prom date to save her friends from non-existence. Fortunately, it is revealed that the entire episode was Chyna's dream.
  • Apocalypse: Steven's initial thoughts when he wakes up in his room at the end of the experiment. It was only after he meets Derren in the living room that he was told the truth about the experiment.
  • The first season finale of Army Wives has a crazed man setting off a bomb in a bar that includes Claudia Joy and daughter Amanda. Much of the second season premiere shows the women at Amanda's college, both okay. It turns out that Amanda died and this is Claudia Joy's mind giving her a chance to say goodbye as she recovers in her own hospital bed.
  • Austin and Ally:
    • In the episode "Eggs & Extraterrestrials", the gang encounters real Zaliens at a Zalien convention who tried to abduct Austin and Ally as musical slaves. Fortunately, it turns out Dez dreamt the entire episode.
    • Also in "Future Songs & Festivals", Austin wakes up in a Bad Future where everything is plain white and music is nothing but weird noises that people "dance" to by shaking their heads as if they have water in their ears while nobody remembers how to use musical instruments. Fortunately, this was all Austin's dream.
    • Not a dream, but the episode "Writers & Fiction" was all Dez's short story.
  • Awake mixes this with Or Was It a Dream?, and dual realities as its main premise.
  • Battlestar Galactica (2003): At the beginning of "Collaborators" Adama, Tigh and Roslin are telling Dr. Baltar that they forgive his actions on New Caprica. It's only when Roslin adds that she finds him desirable that a suddenly terrified Baltar realizes he's still in deep shit. Sure enough, he then wakes up on a Cylon baseship. Few episodes later, in "Taking a Break From All Your Worries", Baltar tries to hang himself and wakes up in a Resurrection tank surrounded by Sixes. As he expresses relief at the revelation, the Sixes start scratching around his throat upon which it he regains consciousness to a marine performing CPR or him.
  • Best Friends Whenever: It's debatable that the events of "When Shelby Met Cyd" may have not actually happened because the epilogue shows Barry being surrounded by Shelby and Cyd and their younger selves as they keep chanting "Thankyou Barry". He then wakes up and sees Naldo again with Shelby and Cyd's younger selves. It then appears to be Naldo's dream as he wakes up in the yard.
  • In Blackadder (season 3, 2nd episode) Blackadder dreams that he overslept and Dr. Johnson is arriving, whose dictionary has been burned. Then, Dr. Johnson suddenly confesses that he never liked the dictionary anyways, then things get really surreal as his aunt suddenly appears, Baldrick shows up in a dog's mask, and everybody starts dancing. Blackadder then realizes that that "it's a bloody dream!"... and then he really wakes up, he has overslept, the book is still burned, and Dr. Johnson is arriving.
  • Bones. The Season 4 finale seemed to take place in an alternate universe where everyone worked in a nightclub called "The Lab" and Booth and Bones were married. Then, at the end of the episode, it turns out that it was just a dream Booth was having while he was in a coma. And this was after weeks of promotions that they were actually going to have sex. "We promise this time it's for real, not a dream sequence or anything." Right...
  • The Boy Meets World episode where the characters get trapped in a slasher movie scenario is actually a dream Shawn has while sleeping through detention.
  • The alternate ending to Breaking Bad (as seen on DVD) played this completely for laughs. In it, Walter White's death plays out the same as it does in the actual finale, but then Hal from Malcolm in the Middle wakes up, having dreamed the whole series. He then tells Lois about his terrifying dream where he was a world-class meth cook with a shaved head (to which Lois laughs at the idea of him cooking anything), he was married to a beautiful blonde (which causes Lois to laugh even harder), there was this guy who "was my brother or something. He looked like the guy from The Shield", and there was this kid who said "the b-word" a lot.
  • British surreal comedy series The Brittas Empire concluded with the revelation that the entirety of the program, all 53 episodes, had been a dream. The title character had fallen asleep while on the train to the interview for the job that he'd had throughout the series. The other people in the dream (apart from his wife, who was the same in the dream and in real life) were actually people on the train with him, and he projected them into the dream.
  • Buffyverse:
  • El Chavo del ocho: When El Chavo, La Chilindrina and Kiko enter Doña Clotilde's (a.k.a. the Witch of the 71) apartment they see the classic hag inside a horror house. It turns out to be all just a dream and Doña Clotilde was actually bringing them candy pallets.
  • Most events of the China Beach season 3 finale episode "Strange Brew" may have been a shared dream (after Colleen McMurphy and KC Koloski fall asleep on the helipad), a dream within a dream (as Colleen wakes up on the helipad at the end... only to then seem to wake up AGAIN in her bunk) or just a long, strange trip, since much of the show WAS set in The '60s.
  • The entire premise of Choukou Senshi Changerion is this trope, which sparked a number of angry letters to Toei!
  • Community:
    • In a fake clip-show episode, the group takes Abed to a psychiatrist who eventually reveals that Greendale, the community college they were recently expelled from, was actually a shared delusion they all had in an insane asylum, and the fact that they think it's real means they're all relapsing. There were even clips of them in the asylum playing out scenes from the show. It doesn't take long for them to realize he's lying, and when cornered he admits to being an actor hired by Chang to keep them from trying to go back to the college.
      Jeff: How long did you expect this to work?
      Annie: I'm wearing a Greendale backpack!
    • Played again in the fourth season finale when Abed reveals to Jeff that the battle with their darkest timeline counterparts took place entirely within his imagination.
  • The Cosby Show did a number of these, normally precipitated by Cliff's consumption of a large sandwich near bedtime.
  • The second failed resurrection of Crossroadsnote , a British Soap Opera, ended by revealing the entire series had been the dream of a supermarket worker. Whether the first resurrection was just a dream as well is up to viewer interpretation.
    • The closing scenes show a number of characters who made their debut in the first resurrection also working in the supermarket... except the character having the dream didn't appear until the second resurrection. (Maybe the first resurrection was one of the other workers' dreams, explaining why none of the cliffhangers were resolved?) And just as you're getting your head around that, a customer at the supermarket, who looks like another character who's been around since the first resurrection, is identified as "Tracey from Crossroads" by the staff. Um... huh?
  • The CSI: Crime Scene Investigation episode "Working Stiffs" ends with a scene of the culprit blowing up a safe, collecting its contents, and successfully slipping past the encircling cops through a basement tunnel ... only for the scene to rewind to the moment the safe's door blew off, to reveal that the door had actually cut the man in half and left him pinned to the wall, hallucinating that he'd succeeded in his dying moments.
  • A segment on The Daily Show featured Steve Carell's greatest fears (including Stephen Colbert taking over the show), leading to him waking up in terror — next to Jon Stewart.
  • Dallas infamously undid a season this way. Patrick Duffy left the show, and they had his character Bobby hit by a car and killed. After the ratings started to sink, and Duffy came back, the writers retconned the entire season as a dream by Pam, causing several continuity snarls and messing up the Spin-Off, Knots Landing, where it referenced Bobby's death in the story line. There's even more to this: Producer Leonard Katzman was kicked off the show at the same time Patrick Duffy left, only to be brought back at the cast's demand. Katzman hated a lot of stuff that was done to the show in his absence (primarily making the women much stronger characters), and so thought of a way to ensure they never happened.
  • Dark Angel:
    • The Halloween Episode started fairly normal, then became progressively more wacky until the end revealed it was All Just a Dream.
    • In the season 1 finale, Max dreams that she and Logan finally get it on. But in the middle of it all, a crow caws and blood appears on Logan's hand. Max asks desperately what's happening, then it's revealed the young clone of her who shot at her earlier didn't miss and instead shot her in the heart, leading her to die, until Zack shoots his own brains out to donate a heart for her.
  • Day By Day has a variation: Ross gets an F on a history paper as a result of watching a The Brady Bunch marathon; he falls asleep while writing a new paper, and dreams he is Chuck Brady, their long-lost son. Soon he gets advice from Mike and Carol and repeats their dialog, which causes him to wake up; upon waking up he hears his parents come down and finds that they are Carol and Mike Brady. Then he wakes up again, only to find that his parents are back to normal, making this a case of a dream within a dream.
  • Doctor Who:
    • The entirety of Season 23 is revealed in "The Ultimate Foe" to have been an inaccurate reconstruction of what really happened. Of particular note, it turns out that the death of the Doctor's companion Peri in "Mindwarp" never really happened and instead she is happily living with King Yrcanos (despite the fact that he seems to be violently insane, though that may just be more Matrix tampering).
    • The 30th anniversary special/Eastenders crossover "Dimensions in Time" was revealed to be a nightmare of the Seventh Doctor in the expanded universe, although this was mostly done to explain the Canon Discontinuity.
    • Similarly, "A Fix with Sontarans" is retconned as a nightmare the Doctor had—that in retrospect, Freud would have had a field day with.
    • "Silence in the Library" inverts it. A little girl on what looks like present-day Earth dreams of a futuristic library in which several people (including the Doctor and Donna) are in danger. Her psychiatrist tells her confidentially (in a complete reversal of expectations) that her dream is real and that the people in danger need her help.
    • "Amy's Choice": While it's obvious from the very beginning that at least one of the worlds is a dream, both turn out to be dreams and the last scene is the only one that actually happens. However, Amy realizing that she does, in fact, love Rory is NOT Reset Button-ed, so it's all okay.
    • "Last Christmas": The monster of the hour fed on minds and created dream states — plunging Clara, the Doctor, and the rest of the people that were in the episode into multiple dreams within dreams within dreams.
  • In Dollhouse, the events in the Attic. That does not make it any better. You'll forever be trapped in an endless loop of your worst fear, unlikely to ever wake up. All the while the Rossum Corporation is using your mind as a giant computer for their own ends. Even worse; one of the co-founders of Rossum dreams of an oncoming apocalypse, and he knows it almost 100% certain to become reality.
  • Everwood's first season ends with a cliffhanger: Andy operates on Colin, and the very last scene is him entering the waiting room and everybody standing up to learn if the surgery was successful or not. Season two begins with everybody having fun at the pool (including Colin), giving the impression things had been fine. Suddenly, we realize it was only Amy's day-dreaming during Colin's funeral.
  • Frasier.
    • Played twice in one episode. The first one has Frasier return to his radio show after an illness where Niles filled in for him. The dream ends when he's killed by an exploding control panel. The second one has him trying to take over the show while dazed on cold medication and making a fool of himself. After he wakes up, Martin and Daphne comfort him by invoking the trope. On their way out, they subvert the trope when Martin whispers to Daphne "When are we going to tell him it actually happened?"
    • When Frasier meets a supermodel-zoologist on an airplane, he comments that "This is usually the part where I wake up." Cut to Frasier opening his eyes - and the camera panning out for a Bedmate Reveal.
  • Freddy's Nightmares overused this to the point of inverting it. The trope was so ridiculously commonplace that the real twist was when an episode didn't turn out to be just some random character's dream/hallucination/daydream/Dying Dream.
  • Friends:
    • In-universe example: Phoebe gets pissed off at one of her friends for something that is eventually revealed to have happened in her dream.
    • There's a sequence of Rachel asking Joey to kiss her, which turns out to be just a dream (to the surprise [and in some cases relief] of both the character and the audience). Curiously, that marked the beginning of her crush on him, which would be a key plot in the late 9th and early 10th seasons.
  • A similar case happened with Gilmore Girls: Luke and Lorelai had a lot of UST but nothing had happened between them during the first years of the show. The first episode of season three begins with them already in a relationship and expecting a child; then she wakes up. Throughout the season, nothing happens between them, until at the very end when he's packing to go on a trip with his girlfriend and Lorelai comes in and asks him not to go. Then he wakes up.
  • The Golden Girls' "Mrs. George Devereaux", wherein Blanche's husband George comes Back from the Dead, confesses that he faked his death to escape being framed for embezzling from his company and begs Blanche for another chance, and Dorothy is wooed by Lyle Waggoner and Sonny Bono. Blanche apparently has this same dream, or variations on it, periodically, mentioning that every time it happened before, she always woke up before she could hug him.
  • The opening episode of Season 5 of Grey's Anatomy: Meredith, who finally concluded that she definitely wanted to be with Derek in the last season's finale, learns that Derek is severely injured in a car accident, and arrives at the hospital just in time to see him die. But come on, nobody actually believed that the second most important character (or the third, depending on your view) of the show would be killed off minutes into the beginning of a new season, did they?
  • Growing Pains had two episodes featuring this. In "This is Your Life" (season 3, episode 10), Ben is afraid to get a tonsillectomy. So, he sneaks out after getting anesthesia, only to find that he's been replaced, since he didn't get the procedure done. Luckily, this was an anesthesia-induced dream. In "Meet the Seavers" (season 6, episode 21), Ben gets in trouble, and wishes that he lived in a TV show, because then he wouldn't be in trouble. He wakes up the next morning to find that he is Jeremy Miller on a show called Meet the Seavers. This is a nightmare for him, as his family isn't a family anymore, and his house isn't his home. He wakes up to find that it was all just a dream.
  • Hannah Montana:
    • Jackson and Lilly end up dating after Miley tries to sabotage it. At the very end, despite it being a fairly normal story line and not all that much changing, it still turns out to be a dream.
    • The road trip episode where Miley and Jack were zapped back to the past and created a Grandfather Paradox was dreamt up by Miley when she nearly got hit by a bolt of lightning and was out cold.
    • An alternate ending to the show revealed that the entire show was all just the fantasy world of 11-year-old Miley Cyrus (played by a different actor).
  • Happy Days somehow managed to Spin-Off Mork & Mindy from an All Just a Dream episode. Though That Was Not a Dream as shown by Mork's presence at the end of the episode, where he told his contact on Ork that he tricked "the human (Richie Cunningham)" to think he had been dreaming. Mork also visited in a subsequent episode during the run of Mork and Mindy to tell Richie that he was living on Earth in "the future" (i.e. The '70s when Mork & Mindy took place, and when both Happy Days and Mork and Mindy were made and first aired).
    • The episode "They Call It Potsie Love" had Joanie—who had developed a crush on Potsie—falling asleep and dreaming she marries him.
  • House: There's nearly always a quick way to tell that House is dreaming. If he limps, then it's sad reality. If he doesn't, then it's a dream or a hallucination.
    • In Season 1 there's a scene where House told Vogler, whose whole role was making House miserable, that he had Princesse and was going to die soon. The fact that Vogler calmly and gratefully accepted the news, even when House made a crack about jumbo-sized coffins, as well as the fact that House was walking without a limp, quickly revealed the scene to be a dream.
    • An episode (the season two finale "No Reason") was "All Just A Hallucination", and the episode ends minutes after its beginning. Still, the fact that it was a hallucination meant that it served as an exploration of House's mental state (rather than an excuse to kick the audience in the teeth at the end), which may be why this episode is not derided in the way that so many All Just a Dream episodes are. Also, House discovering it was a hallucination was an important part of the plot and set up moments into the hallucination, so it was in accordance with the rules of fair play. Furthermore, House uses an idea from his hallucination in real life that shows its effects throughout the next few episodes.
    • Similarly, the end of the season five finale "Both Sides Now" reveals that the sequence in the previous episode where Cuddy helped House detox and then has sex with him was also just a hallucination.
      Hallucination Amber: So... this is the story you made up about who you are. It's a nice one.
      Hallucination Kutner: Too bad it isn't true.
    • Another episode has House trying to kill a mosquito, but accidentally knocks off the valve to a propane tank and lights the stove. Cue explosion, cut to House waking up.
  • This happened in the final episode of I Dream of Jeannie. Dr. Bellows (finally!) finds out the truth about Jeannie, and then her bottle gets broken and Major Nelson resigns from NASA. Luckily, it's all a dream.
  • Jessie:
    • The series has the titular character dream a Ghostbusters parody episode.
    • In another episode, Ravi faints after being offered a trip to space on his birthday leading him to dream the entire adventure.
    • Mrs. Kibbling also has a dream about the entire Ross family switching bodies.
    • Not exactly a dream, but the Bad Future episode "Jessie The Governator" was entirely made up by Ravi in an attempt to dissuade Luke from pulling his latest prank. It doesn't work.
  • Kamen Rider Ryuki's Hyper Battle Video ends with this. For good reason too, since the Kamen Riders were acting like a Sentai team and Ryuki wound up crossing over with Kamen Rider Agito to fight an Evil Twin. With those outlandish concepts, how could it not be a dream?
  • Craig Ferguson ended his final episode as host of The Late Late Show with this. His entire time hosting the show was all just a dream... of Nigel Wick, who wakes up in bed next to a still-fat Drew Carey and tells him all about his horrible dream where he had to host a late night talk show with a fake horse and a robot skeleton for 10 years, Drew became a game show host, and most frightening of all... Drew got skinny. Drew calms Wick down and they both go back to sleep. Then the camera pans over to the end table on Wick's side of the bed, showing a snow globe containing the talk show's set with said robot skeleton and fake horse. Also, since no All Just A Dream ending would be complete without a Newhart reference, the dream first started to unravel when Craig decided to ask who was actually in the horse costume, only to discover that it was Bob Newhart himself.
  • The last episode, "Home", of The Legend of Dick and Dom starts this way- the heroes return home in triumph from their quest, to acclaim and cheering crowds... and then it all turns a bit odd... and then they wake up, to find the Big Bad has stolen the MacGuffin and put them to sleep (and apparently given them a communal dream) to delay their pursuit.
  • Life on Mars (2006) makes use of this, both as (seemingly) the circumstances of the main character (in a coma, dreaming the entire thing), and side instances where Sam wakes up in bed after being harangued by the Evil Test Card Girl. In the end Sam's adventures in the past turn out to be just a dream. One Sam commits suicide to get back to... if you believe that interpretation of the ending instead of one of the dozens of others.
    • Something very similar occurs in Ashes to Ashes.
    • The finale of the American version implies the entire series, including the 2008 sequences in the first episode, being the dream of an astronaut in hibernation on his way to Mars.
  • In one episode of Lost, Locke causes Boone to hallucinate that his step-sister/lover is being mutilated and killed by smearing goop on his head. Allegedly to teach Boone a lesson.
  • An episode of MacGyver (1985) in which the title character dreams of his lookalike ancestor ends with an Or Was It a Dream? moment when he woke to find he now possessed his ancestor's distinctive pocketknife.
  • Also done on MADtv. It begins with the children of an elderly couple shocked by their parents' dirty dancing and ends with Stephnie Weir waking up from a dream "about a skit that has no ending".
  • The Magicians episode "The World in the Walls" varied this by the dream being due to Magic.
  • There are quite a few in Married... with Children.
    • Nearly half of an entire season was made "just a dream", though justified as a case of Real Life Writes the Plot. The entire season had been built around Katey Sagal's pregnancy. She had a late and unexpected miscarriage and couldn't deal with having a newborn baby on the set.
    • Another One involves Al taking a job as a janitor for a Private Eye only to become one himself and solve a diamond case, getting a big fat check as reward. Status Quo Is God and it was just a dream of his (this one was the season-erasing resolution).
    • Another has Al making a deal with the Devil (Robert Englund) to lead a football team to the Super Bowl. He gets his wish but is killed in a tackle and taken to Hell where his family and friends also end up (as a result of improbable accidents after his death, oddly enough). After 300 years in Hell, Al can't take it anymore and challenges the Devil to a football match. The Devil picks some of the world's worst historical figures for his team. Al wins (even though given an offer to go back with beautiful women and loads of cash which, in a rare moment selflessness, he passes up). Al then wakes up back where he was before the Devil appeared and it appears to be a dream to him... least until he pulls out some Red Hots candy the Devil had given him.
  • Matlock had "Matlock's Bad, Bad, Bad Dream", in which the title character dreams of defending a '30s era club owner against charges of the murder of a club musician.
  • Most episodes of Medium begin this way. Annoyingly, a few end this way as well.
  • In the Monty Python's Flying Circus "Cycling Tour" sketch, a bicyclist (Mr. Pither) ends up in a Soviet prison cell about to be executed. He is suddenly woken up by his mother and says "So, it was all a dream!" His mother says "No dear, this is the dream, you're still in the cell." He then wakes up for real, still in the cell.
  • In the ABC Afterschool Special My Mother was Never a Kid, Victoria Martin gets into an argument with her mother, and runs away from home. While she is on the subway train, she hits her head and seemingly travels back in time to 1944, while she was there, she learns that she and her mother are very much alike in many ways, while still in the dream state she hits her head again, and wakes up back in the present with the relationship with her mother repaired. Considering Victoria clearly had no knowledge of the 1940s, this raises the question of how she could have dreamed up the period so accurately.
    • The special is adapted by Francine Pascal from her own Young Adult novel, 'Hanging Out With Ci Ci.
  • This trope's application in the Newhart episode "The Last Newhart" resulted in what is widely considered one of the best series finales, ever. In the end it was revealed that the entire show was a nightmare of Robert Hartley, the star of The Bob Newhart Show, also played by Bob Newhart. Interestingly, The Bob Newhart Show received a crossover from St. Elsewhere, which combined with the previous entry could make Newhart a Dream Within a Dream.
  • Night Visions: The pilot episode, "The Passenger List", ends with the main character, an airplane crash investigator, waking up onboard a plane. It turns out that various aspects from his dream were taken from his surroundings, such as a grieving woman in the dream looking like the passenger seated next to him, a book he found in a plane wreckage was actually one that someone else was reading, etc. Then the plane crashes for real and he and everyone onboard are killed.
  • Northern Exposure: Most episodes had dream sequences; " Joel et Jules" was an episode-length dream sequence.
  • Our Miss Brooks: The episodes "Magic Christmas Tree" and "Trying to Forget Mr. Boynton".
  • At the end of the fourth season of Oz, Tobias Beecher is up for parole. His lawyer enters the room and tells Beecher the Parole Board have approved his release. Everyone cheers as he returns to Em City, and a last minute assassination attempt by the Aryans is barely averted. Beecher is then shown walking out into the sunshine (showing the exterior of Oswald Prison for the first time) then playing with his daughter and new girlfriend in the park. Then he wakes up in his cell, and we flashback to his lawyer telling him that the Parole Board did not approve his release.
  • Person of Interest:
    • In the fifth season, a captured Shaw escapes the enemy and makes her way to New York. She reunites with the team and has a steamy hook-up with Root before killing bad guy Greer. She then realizes she's been broken by the enemy and kills Reese before putting the gun to her which point, it turns out that this is the 6,741st simulation Shaw has been put through by Samaritan to get her to give up the location of the Machine and the team.
    • A later episode has Greer taking Shaw out for a tour of New York (under guard) to show her people who can be future dangers to the world. It all ends on a roof with explosions going across New York by a future terrorist plot that make Shaw realize she's in another simulation.
    • A stunning payoff to it all comes when Shaw is taken on another "trip" and shown a scientist who Greer says will create a deadly form of animal life that will kill millions. Tired of this, Shaw grabs a gun and shoots the woman dead. Back in her hospital bed, Shaw is shown footage of the scientist's death on the news and how her hand still has a scar from cutting it and realizes to her horror that it was no simulation, she really did murder an innocent woman.
    • When Shaw finally escapes for real, agent Lambert tries to tell her she's in another simulation. However, Shaw is now able to tell the difference, shooting Lambert dead and mocking him—"relax, it'll reboot any moment"—before escaping.
  • Power Rangers:
  • The Pretender had one where Broots and Miss Parker are on a stakeout. At first, they wake up to find themselves in bed with each other, having apparently had sex. Later in the episode, Broots manages to capture Jarod and plans to have him watch while he has sex with Parker again. Parker then asks how he feels about a threesome ... with Mr. Reigns. It's then revealed that Broots dozed off and the whole thing was a dream.
  • The Prisoner (2009): It turns out the Village is actually a sort of shared dreamspace on a level deeper than the subconscious. Which makes it all a dream, but not just a dream.
  • The Red Dwarf episode "Back to Reality" had the whole show as a computer game played by the main characters. This turned out to be a group hallucination.
  • Subverted in the Regenesis episode "Unbottled", where after the episode's shocking turn of events, the scene skips to David waking up at home and talking about his "crazy nightmare" with Rachel, who in the dream was killed by the terrorists who had taken over their lab and forced them at gunpoint to help them make a biological weapon. But then she reminds him that it really did happen, and disappears, and the next shot shows that he was in bed alone.
  • The season 1 finale of Reno 911! ended on a Cliffhanger, which was revealed in the season 2 premiere to be a dream, in what turned out to be a dream sequence itself Dangle wakes up from the dream, to discover himself in bed with Kenny Rogers. This turns out to be a dream Garcia is having in the meeting room at the sheriff's station.
  • Roseanne essentially ended the series with a version of this. Specifically, the last season was all a book written by Roseanne, as revealed in the epilogue of the last episode. Everything that happened in the book actually occurred, the only difference being Dan died of a heart attack instead of winning the lottery in the season premiere.
  • Several Round the Twist episodes ended this way, as a result of being adapted into a continuing series from standalone stories. A particularly odd example is "Santa Claws", which not only has Pete falling asleep in the first scene, thus establishing this right away, but features a Framing Device within the dream - Pete telling the story of how his mouth was shrunk.
  • One episode of Sabrina the Teenage Witch has this ending, negating the revocation of her witch's license. A flying banana, witnessed in an earlier dream sequence, tipped her off.
  • Saturday Night Live:
    • A Wayne's World sketch starts with Wayne talking about a dream he had, then dissolves to the dream in typical Wayne's World fashion (wiggling their fingers and going "Do-da-loo! Do-da-loo!" during an actual dissolve). The dream is basically a Madonna music video in which Wayne makes out with Madonna while Garth dances in a skin-tight, black leotard. The sketch ends with them freaking out over an Or Was It a Dream? moment as Garth is still wearing the leotard after the dream/flashback ends.
    • The gag was recycled for a sketch where Wayne dreams that he's on Melrose Place and then wakes up wearing Heather Locklear's outfit.
    • A Saturday Night Live Digital Short parodied this. A woman has a frightening dream about a zombie, and then wakes up and sees it, which then turns out to be All Just a Dream for the ZOMBIE. This then happens numerous times, ending with a woman waking up from a horrible dream sleeping next to Dracula.
  • Much of the Scrubs episode "My Occurrence" is revealed to be one of JD's extended daydreams towards the end, with the shift occurring the moment he walked in to tell Dr. Cox and Ben the test results. JD's mind was playing tricks on him because he didn't want to face having to tell Dr. Cox's friend that he had leukemia.
  • Seinfeld:
    • Used drastically when, after Kramer persuades him to get an illegal cable hookup, Jerry dreams that he is graphically gunned down by the FBI. Then he wakes up and discovers the plane he's on is about to crash, which is real.
      "What have you done to my little cable boy?!?"
    • Elaine dreams about herself in bed with Jerry Kramer and George.
  • The Spanish comedy Los Serrano finished this way, with the main character waking up to discover the entire series has been all just a dream. Fans were not pleased. A critic saw it in a slightly different light: if all was just a dream, that means that the atrocious Boy Band that spun off from the series never existed at all.
  • Shake It Up!:
    • Flynn suspects his new neighbor is an alien and ends up abducted along with his best friend Henry Dillon, although this was a dream.
    • After accidentally hitting her head and falling unconscious, Cece has a whole-episode dream where she and Flynn switched bodies and Rocky was crazily trying to kill Ty.
  • Used in an episode of Sir Arthur Conan Doyle's The Lost World to great effect: Malone undertakes a storyteller ritual of the Zanga, and ends up trapped in a dreamworld of his creation.
  • In the episode "Virtual Slide" of the series Sliders Maggie Beckett has a dream within a dream. After Maggie is captured, she is put into a virtual reality that she recognizes as such almost immediately. Her captors segue this into a more realistic version where Maggie interacts with her friends, gives her captors information, and imagines a relationship with one of the men on her crew. Only when rescued does she realize that she never woke up from the first "dream."
  • Smallville:
    • The episode "Slumber" both uses and subverts this trope, as a girl with dream-walking powers can only contact Clark through dreams. Although occurrences in the episode were fantasy, the dreams do serve a purpose in the plot.
    • Used as a bit of a fake-out in "Promise", the Lana/Lex wedding. The episode begins with a ridiculously melodramatic wedding/murder/suicide scene, which is immediately revealed to be a dream Clark was suffering. The rest of the episode tells the story out of order chronologically, with a dream each for Lex and Lana, the former being fairly scary and the latter actually being a flashback to the Season Two premiere.
    • In "Labyrinth" Clark must awake from a scenario where he is an asylum patient, made to believe that everything he has been through was a paranoid delusion.
  • Not even Hispanic Soap Operas escape from this trope. There has been at least two soapies who ended with the implication that all the chapters we've seen has been just a Dream: Los Amores de Anita Pe? and Pecados Ajenos. However, the results were very different:
    • In Los Amores..., which was a comedic soap that swung between the Affectionate Parody and the Deconstruction, the whole thing was played for laughs, with the ghost characters of the people who died during the story lampshading the Twist Ending and openly decrying it in a full rupture of the Fourth Wall. However, the series gives not only a whole chapter after the reveal to close the few loose plots and point out the parallelisms between the "dream story" and the "real life", but also gives a happy ending for the heroine and the story: maybe her life isn't as exciting as it was in her "dream", but she is now truly happy with her son and her beloved husband.
    • In contrast, in Pecados Ajenos (who was non-comedic and pretty gloomy for a traditional soap) not content with using this trope to reset the whole story, also used the reset to put the heroine in a worse condition than the one she began with. It also left unpunished some of the worst villains of the story (a big no-no in traditional Hispanic soaps), and leaves the unsavory feeling that all the grisly, tragic and creepy things that happened during the soap are going to happen in the same way. Naturally, none of the viewers were happy with this.
  • The Sopranos has a lot of these as a way to get into Tony's head, although it was made apparent to the audience what they were.
  • Space: 1999 episode "War Games" took full advantage of the trope with a spectacular battle leaving the Alphans facing a lingering death on their wrecked base. It turns out to be an alien-induced dream intended to show why the Alphans should not attempt contact. In this case there was no clue (besides the increasingly hopeless situation) that it was a dream prior to the application of the Reset Button.
  • Stargate SG-1:
    • The episode "Absolute Power" uses a dream that lasts most of the episode to show Daniel Jackson why getting access to the sum total of Goa'uld memory and technology would be a bad idea. In this case the viewers are given a fair chance to spot the point where events become a dream.
    • Another episode uses this to much greater effect with Teal'c switching between reality and a world that is obviously (to the viewer) a dream. The real, ascended Daniel Jackson appears to Teal'c in the dream world as a psychiatrist, and points him toward the solution. Both worlds are hallucinations brought on by Teal'c's mind in an attempt to help him survive a serious injury until rescue comes.
    • There's also the episode "Forever in a Day", in which Amaunet (the Goa'uld controlling Daniel's wife, Sha're) attempts to kill Daniel with a Ribbon Device. But Sha're manages to send Daniel a message through it, resulting in him switching back-and-forth between realities; one in which Teal'c saved his life by killing her, the other where she's freed of Amaunet's control and living with Daniel on Earth, trying to convince him to return to Stargate Command (which he leaves in both message-realities). She tells him the importance of him finding the Harcesis (human child born of two Goa'uld-controlled human parents, containing the genetic memory of both) and where he can find him. The episode eventually ends with Teal'c saving Daniel's life by killing Sha're/Amaunet; the entire dream occurred in the space of time it took his sidearm to fall from his hands to the ground behind him.
    • In "The Other Guys", two of the behind-the-scenes scientists get mixed up in one of SG-1's adventures, rescuing the team, discovering that their captivity was part of a plan, having SG-1's plan go sour, and then rescuing them for real. They end up hailed as heroes, and one of them gets a kiss from Carter. Then the one who got kissed wakes up from his daydream.
      • "The Other Guys" is a fun episode, but a poor execution of the trope: WordOfGod is that only the ceremony and kiss were a daydream, and that the producers realised too late that they'd implied the whole episode to be a dream.
  • Star Trek as a whole has the "All Just a Holodeck Simulation" version.
  • Star Trek: Deep Space Nine
    • In "Hard Time", Chief O'Brien is arrested by aliens and serves out a 20-year prison sentence within a dream that lasts only hours. The rest of the episode shows him dealing with this experience and how it has changed him.
    • "Far Beyond the Stars" and "Shadows and Symbols", where a science fiction writer in the 50's dreams about Deep Space Nine. It's also lampshaded in the dream when someone suggests making Benny's story turn out to be a dream to get around complaints about the hero being black. In fact, the producers toyed with the idea of making the entire series a figment of Benny Russell's imagination.
    • In "Inquisition", the investigator creates an elaborate holo-simulation that tries to trick Bashir into believing that he was a spy for the Dominion. Most of the episode occurs in the simulation.
  • Star Trek: The Next Generation
    • In the episode "The Inner Light", an alien artifact which turns out to be a monument to a long-dead race gives Picard the experience of living the life of one of its makers in less than an hour. In an unusual twist, Picard leaves the dream with at least one skill he didn't have before entering it — that of playing a recorder-like instrument his dream-self was fond of. Slightly different from most examples in that Picard starts off knowing that the experience isn't real, but it lasts so long for him that he forgets.

      Unlike most of the examples on this page, this is usually considered one of the series' best episodes. Quite probably because we were shown Picard lying on the floor of the bridge dreaming from the start of the episode while the crew struggles to wake him up.
    • A slight variation of this happens to Commander Riker in the episode "Frame of Mind". However, it's clear throughout the episode that he's hallucinating certain things, and when Riker finally comes to, he's on an operating table in an alien environment, which he escapes. He later learns he was captured and subjected to a brainwashing procedure; everything in that episode before that point was a hallucination.
  • Star Trek: Voyager:
    • Played with this trope a lot in "Barge of the Dead". B'Elanna Torres survives a shuttle accident, only to find it's all a dream and that she's actually on a barge taking dishonored souls to the Klingon afterlife.
    B'Elanna: But I was on Voyager with my crew!
    Klingon: That was the naj — the dream before dying. When we can't accept that we've died, we create the illusion of life to hold on to.
    B'Elanna: (seeing the helmsman, Kortar) He slaughtered my friends!
    Klingon: No. He slaughtered the dream. He dragged you from the illusion of life. This is where you belong.
    • After being rejected in favour of her mother, B'Elanna wakes up in Voyager's sickbay with the same hand injury she received on the Barge. She then has to convince her shipmates she didn't imagine the whole thing, and that she has to return to the Barge (i.e. recreate her near-death experience) in order to save her mother.
    B'Elanna: Look at this — The eleventh tome of Klavek. It's a story about Kahless returning from the dead still bearing a wound from the afterlife. A warning that what he experienced wasn't a dream. The same thing happened to me!
    • In "Nemesis", Chakotay was being brainwashed to hate the Kadrin through a simulation that depicted them as monsters. Everything that happened from his viewpoint, until Tuvok found him, never did.
  • Star Trek: Enterprise:
    • The episode "Vanishing Point" has Hoshi apparently fading out of existence due to a transporter malfunction before learning that the transporter has been hijacked by hostile aliens—and then she rematerializes on the ship. The whole thing was a hallucination caused by the actual (but non-fatal) transporter malfunction.
  • The last episode of St. Elsewhere reveals that the entire series has taken place in the mind of an autistic child. If you accept that crossovers between shows imply that they occupy the same fictional universe, an argument can be made that no fewer than 282 shows were figments of Tommy Westphall's imagination, including both Buffy the Vampire Slayer and Doctor Who, along with their spin-offs. The aforementioned picture seems to have a very low threshold for calling a show a cross-over, however; it includes minor shout outs as linkage. Another crossover database site gives a more conservative estimate, which still results in nearly a hundred shows happening in young Tommy's mind.
  • Or US Soap Operas. The soap Sunset Beach concluded with its two supercouples getting married in a double wedding, only to have the heroine wake up and have it revealed that the last two years (the duration of the soap) were a dream (complete with And You Were There)... only to have the trope played twice when she wakes up again to learn that this was a dream and that she and the hero are happily married rather than the turbulence of the past two years.
  • On Supernatural, Dean finds a djinn and makes a wish for a "normal" life. He suddenly finds himself in a world where their mother was never killed, their father spent time with them before dying of a heart attack, Sam is married and Dean is a baseball star. Dean is happy until he starts reading the news and discovers all the people the Winchesters should have saved were killed in gruesome accidents. He talks Sam into helping him track down the djinn and undoing the wish. However, Dean soon realizes that the djinn never had the power to create a new world or change history. Rather, he places his victims into a coma and gives them the dreams of their wishes as he feeds off of them. Dean is able to finally break through and wake up.
  • Super Sentai: Zig-zagged in Hikonin Sentai Akibaranger. First, we find out that the Rangers' battles were delusions, then the imaginary villains appear in the real world (the heroes also gain the ability to transform in the real world). The clincher? Nobuo Akagi (Akiba Red) realizes that their world is a TV show, which is being altered by the Toei production staff!
  • The first episode of Terminator: The Sarah Connor Chronicles starts out this way. Just so you know. Also, in the second season episode "Some Must Watch, While Some Must Sleep", Sarah is taken captive and interrogated by a man she had killed in an earlier episode. It is then revealed that this was in fact a dream, and that Sarah was admitted to a sleep clinic, because of her insomnia. She keeps having this dream, while she suspects something bad is going on at the sleep clinic. Eventually, we find out the sleep clinic was in fact the dream, induced by the drugs given to her by the man who abducted her, for real - him having survived the earlier episode against the odds.
  • In The Suite Life of Zack and Cody, it is implied that the Wish Upon a Star Disney Channel episode "Super Twins" was Zack's dream.
  • The Twilight Zone:
    • In the episode "Where is Everybody?", a man in a flight suit can't find any inhabitants in a town that looks otherwise very much alive. It turns out He's hallucinating while in an isolation chamber testing the stresses of long solitary spaceflight
    • In TOS episode "Death Ship", an astronaut stranded on another planet dreams that he has returned to Earth and everything's all right. His commanding officer bodily enters his dream and drags him back to wakefulness. The Karmic Twist Ending? He and his commander are actually dead, and his dream was actually the afterlife he should have gone to.
    • In the episode "Shadow Play", a man on Death Row tells everyone they are all figments of his dream based on people from his life, and that when he's killed, he'll dream the same dream again, with everyone in different roles. As it turns out, he's right.
    • An even more sadistic episode — "The Midnight Sun" — turns out to be just a dream in the end. However, reality does not turn out to be much better than the dream. The protagonist dreams about a world in which the Earth is burning up as it's falling into the sun, and wakes up in a world that's freezing to death as the Earth is falling away from the sun.
    • The episode "Perchance to Dream" cranks this one up to eleven; it's about a man visiting a psychiatrist about nightmares, afraid the next one will kill him because of his weak heart, ultimately jumping out the window, then the reveal at the end... the whole thing from the point where he lied down in the shrink's couch was actually a dream, the conversation never actually happened, his fear came true, the dream had killed him.
    • Played with in "King Nine Will Never Return", about a pilot who visits his wrecked plane, one he was supposed to be in command of but for some last minute reason wasn't, revealed to be just a dream and he was at a nursing home the whole time. Only his boots were found to have sand in them.
    • Hinted at in "Valley of the Shadow", where the events of the episode are undone in the end—or, with the help of time travel, maybe they never happened?
  • UFO. The episode "Ordeal" has a lengthy sequence where Colonel Foster is violently abducted by aliens and taken to their UFO which is later (after various Shoot the Dog arguments between his superiors) shot down by SHADO. Foster is recovered inside an alien spacesuit and is nearly killed having it removed. The whole thing turns out to be a dream experienced when he passed out in a sauna after over-indulging at a party. A more imaginative use of this trope occurs in "Mindbender", when a crystal found at a UFO crash site causes Commander Straker to hallucinate that he is an actor in a science-fiction TV series.
  • An episode of Vikings has a captured Catholic priest given a chance to save his life by proving his faith. We see him praying before accepting a red-hot sword fresh off a furnace, his faith giving him strength as he walks across a field, past stunned Vikings and places the sword before the Queen. We then cut to the priest opening his eyes as the sword is placed into his hands...and the reality sets in as he starts screaming in agony and only makes it a few steps before collapsing in sobs as the Vikings laugh.
  • Walker, Texas Ranger had a dream episode, where Partner Trivette was revealed to have gotten killed at the beginning, and Walker died at the very end, but not before foiling the villains' plans anyway. When Walker's wife wakes up at the end of the episode, you find out that it may end up coming to pass anyway.
  • The Wild Wild West episode "The Night of the Man-Eating House". Near the beginning, the characters discover and approach the title house. After a series of terrifying events, at the end the characters wake up and discover that the horrific events in the house were All Just a Nightmare. In the last scene, they find themselves approaching the house again.
  • The penultimate episode of Without a Trace's third season does this, as Jack Malone is trying to deal with his demons.
  • One episode of the Charlie Drake Brit Com The Worker has the title character experiencing an increasingly surreal series of events which culminate in his arrival at a TV studio, where it turns out that he's the leading actor in a TV Sitcom called The Worker... Drake liked this plot so much he reused it in a later episode. A more conventional use of the trope occurs when the Worker gets hit on the head by a boomerang and has a surreal dream about Aborigines (possibly inspired by Drake's earlier comic song "My Boomerang Won't Come Back". Except this time it did).
  • The X-Files is fond of doing this.

  • Aaron Carter's upbeat song "That's How I Beat Shaq" relates the singer's adventures as he beats Shaquille O'Neal in a one-on-one basketball match, and ends with him waking up in bed. ("But if it was a dream, and it wasn't real... how'd I get a jersey with the name O'Neal?")
  • The Presidents of the United States of America have "Basketball Dream", which appears as a Hidden Track on the album II. It features Chris Balleau's son talking about a dream he had where he met Magic Johnson.
  • Mesozoic Mind, by the Charmers.
    Last night I had a crazy dream, I fell out of my bed! I missed the floor entirely, I fell through time instead!
  • Britney Spears uses this in the videos for "Baby One More Time" and "Born To Make You Happy."
  • Josh Turner, "Loretta Lynn's Lincoln" begins with the singer buying Loretta Lynn's Lincoln, ends with the singer being woken up from a nap in his pickup truck.
    I heard a tappin' on the window as I woke up
  • R.E.M., "Losing My Religion":
    I thought that I heard you laughing
    I thought that I heard you sing
    I think I thought I saw you try
    But that was just a dream
    That was just a dream
  • Porter Wagoner/Tom Jones's song "Green Green Grass of Home" has the subject of the song seemingly returning home after being away for a long time, enjoying his return, only to wake up in prison awaiting his execution, only to return home dead and buried there.
  • Appears via Executive Meddling in the Billie Holiday cover of "Gloomy Sunday", the lyrics of which were used in most subsequent English-language covers. After the protagonist is Driven to Suicide, a third verse is tacked on to appease publishers, in which the suicide is revealed to have been a dream.
  • Metallica: "Enter Sandman" and "Ride the Lightning".
  • "One More Red Nightmare" by King Crimson, where a guy dreams he's on a plane that's about to crash. He wakes up to find that's he's on a road trip on a Greyhound Bus.
  • All of the video Michael Jackson's Thriller is this, or a subversion?
  • "Weird Al" Yankovic's "Eat It" video, a parody of Michael Jackson's song/video "Beat It", ends with Al waking up with a bellyache and popping a couple of Alka-Seltzer.
  • The video to The Scorpions song "No One Like You".
  • The music video for Gorillaz's "Dare" is a Dream Within a Dream.
  • Converge's music video for "Eagles Become Vultures" probably applies, though it's more of a waking fantasy than a dream.
  • The video for Three Days Grace's "Animal I Have Become".
  • The music video for Evanescence's "Bring Me To Life" suggests this — the main action is interspersed with shots of Amy asleep and apparently dreaming, and the video ends with her asleep.
  • Katy Perry:
    • The music video for Katy Perry's "I Kissed a Girl" ends with her on the bed next to someone whom we are to assume is her boyfriend.
    • The same thing happens in "Hot & Cold", though that was a daydream.
    • Subverted in the video for "Roar." The video starts with a plane crash before Katy's boyfriend is killed by a tiger and Katy becomes a badass Jungle Princess. At the end, we see Katy waking up next to an airplane window only to find out that the events of the video really did happen and the plane had been made into a part of her shelter.
  • Airbourne's "Blonde, Bad and Beautiful" turns out to be this, in a video that was filled with alcohol, stripping and a bit of pole-dancing.
  • The Barenaked Ladies' video for "Shoebox" is a dream of the girl who sneaks out on her date.
  • Dokken's video for "Dream Warriors" winds up being a nightmare that Freddy Krueger is having.
  • The video for Live's "Run To The Water" turns out to be Ed Kowalczyk's dream.
  • The video for Miley Cyrus' "Start All Over" is established as being a dream in the very beginning; it starts with her going to sleep and waking up in the dream world, and ends with her going to sleep in the dream world and waking up in the real world. Then pictures she took while in the dream world start coming out of the printer.
  • The video for Maroon5's "Makes Me Wonder" features this. With gratuitous fanservice.
  • In her song "Moon Trance", Lindsey Stirling shortcuts through a Creepy Cemetery with her friends. She encounters dancing zombies and performs with them, but when they vanish at the end her friends have noticed nothing and it's clear it wasn't real, at least in the normal sense of the word.
  • The Video for Teenage Dirtbag by Wheatus turns out to be a dream when the prom discoball falls on the singer and his love interest.
  • The video for "California Love" by Tupac Shakur has this revelation as well.
  • The video for Chromeo's "When The Night Falls" has this revelation.
  • Celine Dion's first single, Ce ne'tait qu'un reve, actually translates into this (Nothing But a Dream).
  • The video for Billy Joel's Sometimes a Fantasy.
  • A few Fall Out Boy music videos end like this. Specifically, “The Takeover, The Break's Over”, “This Ain't A Scene, It's An Arms Race”, and their cover of Michael Jackson's “Beat It”.
  • The obtuse song "Madame Merry-Go-Round" in the Evillious Chronicles by Vocaloid produce mothy is explained to be Gammon Octo's (probably) prophetic dream about what will happen when the Clockworker's Doll achieves her utopia.
  • Daniel Amos' album ¡Alarma! includes a short story in the liner notes, which is presented as a dream-vision akin to John's Revelation.
    Was it all a dream? It seems like it now. But then it also seems so real. More real than anything I've ever experienced when awake. But I was not awake. At least I don't think I was. I don't know—maybe I'm going crazy. But I must write it down before it all disappears, or I will go crazy.
  • Diamond Rio's song, "In a Week or Two" has the narrator kicking himself because he waited too long to make his move, and now the woman he loves is about to marry someone else. The video is this trope. He has fallen asleep in his tux, and all of that footage of her with that other man is only his bad dream. His Best Man, after looking for him everywhere, finds him and wakes him up. "Dude, what are you doing? You're going to miss your own wedding!"
  • The video for Unearth's "Zombie Autopilot" reveals that large chunks of it, most notably the Office Drone protagonist chucking a file folder at his boss and quitting, were just a dream he had after falling asleep on the subway early in the vid.
  • “The Sound of Silence”, by Simon & Garfunkel, when taken literally, consists of the singer narrating the events of a nightmare he had.
  • BIGMAMA's "(50) days of flower," a song about the singer's run in with an angel who'd lost her wings the last time they met, turns out to be:
    "One morning the angel left jp: 
    And never came back jp: 
    It was all just a dream jp: 
    But it wasn't so bad." jp: 
  • Kids Praise: In the fourth album, an ambitious gospel singer falls asleep while trying to write a song, and has a dream that a Con Man tricks her into signing a contract that quite literally traps her! She wakes up screaming her lungs out.

    Myths & Religion 
  • Certain branches of Hindu philosophy hold that because truth is unchanging, and the world is constantly changing, then the world is not real. Hence, Real Life is just a sort of dream state. Some forms of Buddhism do also, and Gnosticism.

    Puppet Shows 
  • Captain Scarlet and the Mysterons has an episode where The Mysterons actually come to Cloudbase to attack it, leading to Captain Scarlet's death and the destruction of Cloudbase. We then find out this was all a dream one of the Angels was having after she'd been shot down over the desert earlier in the episode. When repackaged in a Compilation Movie for the American market, the episode ended up with the Reset Button treatment.
  • Gerry Anderson is all over this one (he was once quoted as saying "I wish somebody would make a film of my dreams"). There's one episode of Four Feather Falls, one of Supercar, three of Stingray (1964), two of Joe 90, one of Terrahawks, two of UFO as noted under Live-Action TV, and one of Space: 1999 where the events of the episode turn out to be dreams, hallucinations or implanted visions.
  • The Thunderbirds episode "Security Hazard" manages to invert this by having International Rescue convince a boy that his real-life trip to Tracy Island has only been a dream.

  • There's an episode of Adventures in Odyssey in which one of the children characters goes on an adventure in the Imagination Station (a virtual reality machine) that seems to be the same story over and over again, just set in different genres. At the end of the episode it's revealed the character is actually in a coma, reliving the events that put him in a coma, with the "bad guy" being Death coming for him and the friendly helper in his dream actually being a guardian angel trying to prevent an early death for him.
    • Lampshaded in the episode "Push the Red Button" of Adventures in Odyssey. After a series of increasingly improbable events...
      Wooton: And that was my dream!
      Connie: Really? You dreamt all that?
      Wooton: I sure did! Then I dreamt that it was all a dream and that we were talking about it like we are now! Isn't that weird?
      Penny: What's weird is to use such an obvious cliché to end a story.

    Tabletop Games 

  • Played with in Angels in America, with regards to Prior's visions and Harper's hallucinations. The work as a whole, for what it's worth, is not.
  • In Nerds, Steve Jobs hallucinates Oracle dancing with him and teaching him to 'Think Different' after he is infected with the Microsoft virus.
  • The famous ballet The Nutcracker usually ends with the curtain closing on Clara awakening in her home with the eponymous Nutcracker in her arms, and realizing that all of her adventures were a dream. Some productions stick a little closer to the source material and subvert this trope instead when the Prince turns out to be Drosselmeyer's nephew, whose uncle had orchestrated the entire series of events in order to break the curse on him.
  • Toyed with in the Red Shift: Interplanetry Do-Gooder radioplay episode "Havoc Over Holowood" (available here), where the entire episode turns out to have been a story Lumpy wrote about his friends and was reading to them.
  • Done well in Erich Wolfgang Korngold's opera Die tote Stadt ("The Dead City"). At the finale, it is revealed that much of the story is the dream of the protagonist Paul. However, this experience allows Paul to realize how destructive his obsession over his dead wife can be, thus compelling him to let go of his past, leaving the eponymous "Dead City" and starting anew.
  • In Avenue Q, Rod overhears Nicky talking in his sleep, but at the end of the song "Fantasies come true" we find out that Rod was talking in his sleep.
  • Shakespeare played with this. Most of the main characters in A Midsummer Night's Dream believe this to be the case (or they just decide to pretend it is). Then, in the final lines, Puck advises the audience to do the same if they disliked the play.
    ''If we shadows have offended,
    Think but this, and all is mended,
    That you have but slumber'd here
    While these visions did appear.
    And this weak and idle theme,
    No more yielding but a dream.
  • Alan Ayckbourn's 1985 play Woman in Mind. The entire play. From start to finish. Really.

    Video Games 
  • Dinosaur Forest reveals the adventures of the Space Opera protagonist had been a hallucination from a prison inmate undergoing severe mental health treatments.
  • This is the entire premise for the NiGHTS into Dreams... series.
  • The Legend of Zelda:
    • In The Legend of Zelda: Link's Awakening, the whole game is a dream of the Wind Fish. In this case, it is actually learned about the halfway-point of the game, rather than right at the end, and the bosses of the last few dungeons constantly remind the player of it. This adds more emotion, as Link knows that the island and its inhabitants will disappear once the Wind Fish wakes up. And it gets REALLY weird if the player beats the game without ever dying; if that's pulled off, after the credits Marin is seen in the form of a seagull, reflecting a wish she had told Link about earlier. Word of God confirmed that the events of the game DID actually happen. The events were a dream, but the real world and the dream world were colliding at the time. Therefore, the events of the game erase themselves once Link saves the day and the events become a dream but said events but have happened otherwise existence would have collapsed. So in other words, this is a rare example in which the events were a dream, yet the dream itself was real.
    • The Legend of Zelda: Phantom Hourglass looks like it pulls this in the ending cutscene, only to have Link pull out one of the artifacts he found, and then see one of the characters he met. Judging from the dialogue near the end of the game, as well as The Legend of Zelda: Spirit Tracks featuring descendants of characters that appear in the predecessor, it's more likely an alternate universe.
  • Isle of the Winds isn't entirely a dream, but the ruined Town Island and Windmillis.
  • Super Mario Bros.:
    • In Super Mario Bros. 2, upon completing the game, the characters celebrate, and then it's shown Mario has been dreaming the entire game. Seems hokey today, but at the time (1988) having ANY sort of twist ending in a game was pretty revolutionary. According to the game's manual, the oneiric events take place in Subcon, a Dream Land that actually exists, and is visited by most people in dreams. This is further shown in the Japan only sequel for Satellaview where the cast revisits Subcon to once again protect it from Wart.
    • Mario & Luigi: Dream Team begins with the Mario Bros., Peach, Toadsworth and the other Toads taking a Zeepelin to Pi'illo Island when they are suddenly attacked by Antasma. Upon being defeated by Mario, Antasma breaks the vessel and causes it to crash into the island. The scene cuts to Luigi having a Catapult Nightmare in a perfectly intact Zeepelin that has made a regular landing at Pi'illo Blimport.
  • The ending of Disney's Magical Quest reveals that Mickey Mouse has been dreaming the entire adventure all along. Oddly enough one of the bosses in the sequel is a painting of Emperor Pete, the final boss from the first game, with music and all.
  • In Nightmare, the player character is repeatedly having nightmares and wakes up in the hotel repeatedly. One of the endings reveals that the entire game is a Coma Dream, created by his guilt over the recent car accident and having mercy killed the woman.
  • Taken very, very seriously and sadly in Final Fantasy X, where Tidus, his father Jecht and their home Zanarkand are all the dream of a place that Spira, the country the game is set in, destroyed millennia ago. More interestingly, the dream is being dreamed by dead people. Also (according to FFX-2 which retcons some things) it turns out that by the end of the game, Jecht and Tidus's actions have made them real.
  • Twisted Metal:
    • Black seems like an Alternate Continuity to the main Twisted Metal'' series. In fact, various in-game hints reveal that the whole game occurs inside Sweet Tooth's head.
    • Roadkill's ending in Twisted Metal: Head On adds more Mind Screw. It's suggested that the regular Twisted Metal continuity takes place inside the head of Sweet Tooth's alternate personality, Marcus Kane.
    • In Twisted Metal 2, Marcus Kane (driver of Roadkill) can see through the Fourth Wall and is convinced the world is fake. His wish is to get out, and when Calypso grants it, he wakes up in a hospital bed, surrounded by the other characters - the game was a dream he had in a coma. But then Calypso's eyes appear, hinting that the Twisted Metal world is real and he's sent Kane into a dream.
  • Touhou:
    • Hong Meiling's storyline in Hisoutensoku starts normally... and then characters start acting out of character (Reimu apparently oozes evil) and the background goes progressively from Scenery Porn to colorful doodles. After the final showdown with a giant catfish, it cuts to Sakuya and Patchouli finding her sleeping in the library.
    • The fan-made game Concealed the Conclusion implies that everything in all the games is a coma dream Reimu and Marisa shared. It works surprisingly well, given the general tone of the games, even if CtC itself is very, very dark. The Extra and Phantasm stages confirm that at least something of Gensoukyou survives after they wake up.
  • The ending to Drawn to Life: The Next Chapter for the DS. In it, all of the adorable Raposa in the village are killed, G-Rated style (they fade away). One of the characters, named Mike, fades away last. The voice of Mike's sister Heather is heard asking the Creator, the god-like figure in the game to bring her brother back, which at first seems like a Heartwarming Moment. Then, her message changes and she was really trying to say, "God, just bring back my little brother to me." God? Like the god that people in real life pray to? That doesn't sound right at all does it? It is now revealed that Mike and Heather are actually humans, and the whole story with the village of Raposa was all just a dream that Mike was having. It wasn't a regular dream either. It turns out that Mike and his family were in a car crash, which killed his parents and injured his sister. As Mike awakes from his coma, he is tearfully hugged by Heather, who has bandages over half her face. This is parallel to the Heather in his dream who had a half-shadowy face. Mari and Jowee, two other Raposa who were actually more important to the game's story, are shown to have been two plush toys that Mike won at a fair before the crash. note 
  • One of the Multiple Endings to Wario Land II has Wario, about to reclaim his treasure, falling into a pit trap before waking up back in his bed from the beginning of the game. The ending credits feature the invasion of the castle from the beginning happening for real.
  • Chrono Trigger plays with this. After a boss battle, a time warp fills the room, sucking in all the characters. The screen turns black, and we're treated to a modified version of the game's opening, suggesting that the portion of the game you had just been playing through was a dream. It then turns out that's what was just a dream, and Chrono wakes up in 65,000,000 BC.
  • In one of the endings of Silent Hill: Homecoming, Alex is revealed to be a mental patient and the whole game was just a delusion, similar the Bad+ ending (Dying Dream) in Silent Hill. This also holds true for Shattered Memories, where the plot is just a fantasy conjured up by Harry's daughter, and Harry died in a car accident 18 years earlier.
  • Even Samurai Warriors 2 does this. At the beginning of Nagamasa Azai's last stage in his story mode, the Battle of Kanegasaki, the story up to that point is revealed to be a dream he was having right before the battle. The entire thing being brought on due to how torn he was between helping his friends, the Asakura, and potentially betraying Oichi's love by attacking her brother, Nobunaga. Most of 'final chapters' of story mode are events that never happened due to the historical character dying, captured, or otherwise defeated. Or are nostalgic "best times" events that happen earlier in the chronology. This same game also features a sequence in Magoichi Sakai''s story mode in which he 'dreams' (or Fuma's ninja trickery) of bandits and chaos overwhelming the country after Nabounaga Oda's death.
  • Strong Bad's Cool Game for Attractive People sort of pulls this in the final episode. Having slain Trogdor, whose very existence was causing the entire Homestar Runner world to fuse with the Videlectrix video game world, Strong Bad wakes up outside the Trogdor! arcade cabinet with everyone standing by him. He starts telling them about this wild dream he had pointing out how everyone standing there was part of it — until he notices that Trogdor is standing right there. Trogdor immediately proceeds to run amok while the credits roll.
  • In the Freedom Ending of Shin Megami Tensei III: Nocturne, after Kagutsuchi is defeated and the energy of creation is released, the hero wakes up in his own bed. Although considering the letter from the teacher regretting what she did and thanking him, and the message, presumably from Lucifer, warning that in time, there'll be another adversary and to stay strong when it happens, it might also be Or Was It a Dream?.
  • The "Lets H.A.N.G." and "Table for Six" events in Granblue Fantasy both end on this, with the last chapter turning out to be some sort of shared dream between Lowain and friends, who are all revealed to have fallen asleep.
  • Mission Critical does a very interesting version of this trope. The events that took place during the vast majority of the game were all a dream, but also really happened. Near the end, you discover that time travel into the past is impossible, but that information can be sent back. As a result, you trigger a dream in your past self that outlines everything that has happened in the game, giving you the chance to Set Right What Once Went Wrong.
  • The Linear RPG has a dose of this as a component of its overall Stylistic Suck.
  • The Japanese version of Ace Combat 3: Electrosphere (of the Ace Combat series) featured a branching storyline with five separate endings; unlocking all five would show a short cutscene where it's revealed the player character is an AI that has been put through a series of simulations by a questionably-sane professor as preparation for carrying out his plan to avenge his late wife.
  • American McGee's Alice, being the Darker and Edgier unofficial sequel to Alice in Wonderland that it is, presents its twisted version of Wonderland as a view of Alice's traumatized psyche, into which Alice has retreated after her parents' death in a house fire. The game then centers around Alice trying to overcome her guilt and leave Wonderland safe and sane.
  • Subverted in Visions & Voices; no one (except maybe Marlowe) can remember or understand what happened, but it really did happen.
  • Tekken:
    • In Tekken 6, Ling Xiaoyu's ending looks like a Squee! moment for Xiaoyu and Jin shippers, with Xiaoyu going as far as to hug him... cut to Xiaoyu in bed in her underwear hugging Panda, who knocks her awake.
    • In Tekken Tag Tournament 2, Lars's ending shows the Mishimas and the Kazamas all ready to eat. When the food is done, everyone eats it way too fast for Lars to keep up and get a bite. Then Lars notices the leftover konbu strip, but just as he's about to eat it, Heihachi comes in and eats it in one slurp. Then Lars wakes up in a chopper, presumably on its way to a mission. The icing on the cake is the soldiers looking at each other as if to say "What the fuck?", when Lars asks them if they have something to eat.
  • In A Witch's Tale, the entire first playthrough is this, brought on by Queen Alice to test Liddell. The New Game+ is the real adventure, and contains story elements not seen in the first one—though it turns out this is a dream too, but on Liddell's side of reality.
  • In SpongeBob SquarePants: Creature from the Krusty Krab, the entire story is found to be just a dream of SpongeBob's, then just a dream of Patrick's, and then just a dream of Plankton's, and it goes on and on after that. Until it turns out it was just Gary who was dreaming up the entire game.
  • Occasionally, this is the case in the 1999 PlayStation game The Adventures of Alundra or just Alundra among fans. The twist, however, is that the dream is not the protagonist's. Instead, he enters other people's dreams and slay whatever monsters may be invading their dreams, trying to kill them. Most of the unnecessarily complicated dungeons are actually dreams.
  • A common fan interpretation of Rule of Rose; the events were real, but messed up by the protagonist's subconsciousness: Jennifer was a young child, not a 19-year-old teenager during the actual events, the events did not take place on a giant airship and the imps were just creepy dolls and doodles and/or other children wearing masks, not inhuman monsters. Unfortunately the Stray Dog was real.
  • In the Konami arcade game Devastators, the entire events of the game were actually parts of a movie somebody was watching.
  • The chapter Sleepless Night from Heavy Rain turns out to be a Dream Within a Dream when Madison wakes up after having her throat slashed.
  • The opening to Dragon Quest VI starts off as this... until you learn that what happened in the Hero's dream actually happened, and the world the Hero awakens in is actually a Dream Land.
  • Acceleration of Suguri has the "Pudding Deity" storyline, which is a dream of Saki's, revolving around a war over the "ultimate weapon": Pudding.
  • Conversed in Escape From St. Mary's. Two teachers disagree on whether it's an acceptable ending for a story, and the two turn to blows.
  • Happens in SNK Gals Fighters, specifically in Mai Shiranui's ending. Winning the tournament and the K' Talisman, means somehow that she can now marry Andy, who appears just in time... to "reveal" that he has been secretly a woman all of these years. Shocked, Mai awakes to reality. This is a nod to her ending in Real Bout 2, except that she and Andy were about to get married when she finds out that he was a bald man who's wearing a long blond wig. And she wakes up and she realizes that it was a crazy dream.
  • In BlazBlue: Continuum Shift Extend, Platinum's Gag Reel has her teaming up with Rachel, Noel, Carl, and Arakune, aided by the Puppeteer Mask (Relius) in their fight against the evil Boing Queen (Litchi). Of course, at the end, we learn that it was all just a dream.
  • Played with in Golden Sun: Dark Dawn by way of an herbal drug that enables takers to share dreams. The tree which produces this herb is sick... because its' dreams are being haunted by the spirits of a destroyed swamp. Our heroes trip their way into the dream of the swamp and lay the spirits to rest... and when they wake up, one of the spirits has left a corpse beside them, with an artifact they can take.
  • Disgaea 4's Fuka Kazamatsuri insists for the entire game that everything that happens is just part of a dream she's having, despite enormous and constantly increasing evidence that she's wrong.
  • All three games in The Great Giana Sisters series shows Giana having some sort of control over her dreams, or at least incredibly vivid ones, since they tend to end with her waking up out of bed. (It's never made clear if it's simple harmless dreaming or if she has a dream-based power.) Either way, her sister Maria often gets caught up in them too.
  • Looney Tunes games:
    • Sheep, Dog 'n' Wolf starts with Ralph Wolf ending his shift, going back home, and watching television, only to be forcibly and suddenly taken by Daffy Duck and turned into a contestant of a game show. 14 stolen sheep and one space trip later, Ralph comes back home with his own sheep... which suddenly turns into Sam Sheepdog. When he's just about to punch Ralph, the latter suddenly wakes up in front of his TV, and realizes it was ALL just a dream, and it's time to go back to work. His expression while he's walking towards the punch clock says everything.
    • Bugs Bunny in Double Trouble actually begins with Bugs sleeping in his bed and starting to drift off into a Dream Sequence. In his dream, he has to outsmart familiar foes such as Daffy Duck, Elmer Fudd, Toro the Bull, Gossamer, Yosemite Sam (as a Vizier, Black Knight and even a Mad Scientist), and Marvin the Martian. After dealing with his final foe, the game ends with Bugs slowly waking up... only to find that the giant carrot experiment he first saw in his dream was real, laying in front of his bed.
  • One of the possible endings of The Stanley Parable. Except it's not. The surreal looping hallways and the inexplicable reality warping powers are actually symptoms of Stanley going insane. When Stanley tries to wish himself awake from the dream, it fails, and he dies from the shock of the realization.
  • Exploited as a game mechanic in Neverending Nightmares, where bedrooms act as checkpoints (though this overlaps with Dream Within a Dream). As plot is progressed, this trope is played straight as none of the Multiple Endings imply that it was nothing more than a nightmare.
  • A subversion happens near the end of A Dance with Rogues, when the Princess is killed by Hyath. She wakes up in a castle, with her father surprisingly being alive and everyone telling her all the horrors she's experienced in the last year were all fever dreams due to her being comatose with the Red Fever and barely alive. But later it turns out this was all just a ploy by Arto Benthur, who made a deal with Hyath and the Old Man in order to force her into marriage. Her "father" is an imposter who's there to make her believe everyone's lies and coax her into marrying Arto, thus legitimizing Arto and the Dhorn Empire's control of Betancuria.
  • Dreaming Mary is set in Mary's Dream Land, with all the characters fully aware that it's a dream and welcoming her to it.
  • Subverted in The Matrix: Path of Neo a minor character 'Key girl', who saw the Matrix's programming hallway thought it was all a dream...until Neo took her back.
  • The premise of Ether One is that the player is a "restorer" working for the "Ether One" company who uses advanced technology to project into the mind of a dementia patient in the hopes of restoring her fragmented memories. That premise, including the "Ether One" facility seen at the beginning of the game and the technology used and, by extension, the whole journey through the patient's mind is actually the dream of the actual dementia patient (who is a 'he'; the patient in the dreamed-up premise is the patient's late wife) in an attempt by his confused mind to make sense of the conventional therapy that he is undergoing.
  • Prey (2017) turns out to have the entire game be nothing but a simulation to test a Typhon that has been infused with Morgan Yu's memories. The Typhon have already invaded earth and the simulation for this Typhon-Human hybrid was meant to test if Typhon with mirror neurons would be able to empathize with humans and potentially lead to a chance of co-existence between the Typhon and humans.
  • Dreaming Sarah has this in the title, so the ending comes as The Un-Twist. Throughout the game, there are hints that Sarah might be, in fact, dead. The game ends with her awakening.
  • In Rhythm Heaven Megamix, there are two stages with this revelation at the end: "Blue Bear" and "Left-Hand Remix." The former is Beary's bad dream about Bearbara breaking up with him, and the latter is a strange dream full of non sequiturs from Bearbara that, while there's nothing obviously sad about it, has her crying in her sleep while Beary is stuffing himself with donuts.
  • In Song Of The Deep, the first time the player runs out of health and respawns at a save point, the game explains that it was just a vision of "what could have happened" and didn't actually happen.
  • Batman Arkham VR opens with a flashback to Bruce witnessing the death of his parents. Additionally, the whole game is strongly implied to be this, more specifically a nightmare about the Joker's blood infection as it's an interquel between Arkham City and Arkham Knight. There are hints throughout including a coded message that once decoded is telling Bruce to wake up, all the alarms sound like the alarm clock heard at the start of the game, the song "Rock-A-Bye, Baby" being a Recurring Riff, and the game features the deaths of Nightwing and Robin (the former even kicking off the plot) despite them being alive in Knight.
  • The events of Bloodborne are repeatedly implied to be all just a dream. Kinda. In the opening cutscene, your character recieves a blood transfusion and is reassured that they may consider everything they experience from now on a mere bad dream. Upon (seemingly?) waking up, you exit the clinic and enter the city of Yharnam, which is currently caught up in the logic-defying night of the hunt. When you're killed, you enter The Hunter's Dream and, later on in the game, you also enter The Nightmare Frontier as well as The Nightmare of Mensis and, in the DLC, you also access The Hunter's Nightmare. Finally, at the end of the game, your Mentor offers to wake you up, freeing you from the dream. The twist here being that Bloodborne borrows heavily from H.P.Lovecraft's works, and the dreams and nightmares you walk through are implied to be alternate dimensions, no less real than the waking world.
  • Val's ending in Blue Revolver reveals that the entirety of the game's events was all one big dream. She wakes up, her eyes wide open from shock, and decides she's going to call in sick. Then the credits roll.
  • Because X Com 2 takes place in a continuity where X-Com lost and the aliens won, it is heavily implied that the events of X Com Enemy Unknown, including the assault on and destruction of the Uber Ethereal's flagship, was actually a simulation in the Commander's mind being used by ADVENT to train their own forces.
  • The main gameplay of Five Nights at Freddy's 4 is strongly implied to be a nightmare the child protagonist is having, with the distorted and monstrous animatronics even bearing the "Nightmare" moniker (Nightmare Freddy, Nightmare Foxy, Nightmare etc). There's also some overlap with Adventures in Comaland, since the ending reveals the child suffered a serious head injury thanks to a Deadly Prank (and pills, flowers, and an IV drip can occasionally be seen near the bed).
  • In Puzzle Adventure Blockle, amnesiac goddess Arika turns out to be a normal girl who dreamed up the game's setting to escape stress that she's dealing with in the real world. The villain's Evil Plan is to take over her physical body and doom her world to a Dream Apocalypse.
  • A downplayed example from Miitopia: during a level, there’s a chance one of the travelers will see the others turned to stone or having shrunk down in size, which shocks them, only to wake up from a nap revealing it was just a nightmare they had.

    Visual Novels 
  • The Dice-Killing Chapter of Higurashi no Naku Koro ni Rei.
  • In the fourth arc of Umineko: When They Cry, there is a very memorable scene in which Maria kills her mother Rosa repeatedly and grotesquely. From the context, it is to be inferred that the entire scene is a dream. However, it's never stated explicitly, just like a lot in this series.
  • Tomoya in CLANNAD has a dream that can only be described as trippy, to him it all seemed fairly natural. Makes one wonder what it was that Kotomi put in the pie he ate before he passed out.
  • Played with in 11eyes. The second-to-last episode of the anime shows everything going downright awful for the protagonists, with several characters dying, the hero and heroine having sex, and the Big Bad claiming a rather unsettling victory. It ends with a little foreshadowing that all is not as it seems. Start the next episode, and it turns out the whole thing was a vision of the future by the main character, who then averts it.
  • Tsukihime:
    • The whole point to Kagetsu Tohya. Shiki figures out more and more often than he's living in a dream right now where days repeat instantly. Yesterday is the same as today and today is the same as tomorrow. Everyone inside is actually apparently the same people he knows and have their own versions of a nightmare i.e. Dark Elesia for Ciel. Also, Len, who is making the dream. It's just a dream, but Shiki can't leave until Len dies (he doesn't want that) or he can make a contract with her so she doesn't feel the need to maintain the dream. In the original game, Shiki has dreams of himself killing people yet wakes up in the morning right where he was without having left his bed. Only the people he saw die are really dead. Even worse, the one time he doesn't remember his "dream" he wakes up with his hands and arms absolutely covered with blood, because he really did go out and kill people that night.
    • There's also the first eroge scene in the original game, which turns out to be All Just A Wet Dream.
  • The Forgotten Dream endings of Yo-Jin-Bo have Sayori waking up at home, alone, in her own bed, and barely able to remember the guy she fell in love with, assuming the entire adventure to have been a dream.
  • Fate/hollow ataraxia ...Maybe. What's dream and what is real can be difficult to separate.
  • Corpse Party has this as one of its Wrong Ends. It turns out to be a case of Or Was It a Dream? and "Groundhog Day" Loop.
  • Teased at in Hatoful Boyfriend: Holiday Star.
    • Halfway through the second chapter something bizarre happens - for one, there's a Death Ray and the heroine rates it as about as powerful as one of her "Starlight Kicks" - and the exit of that scene leads directly to the heroine in a cafe saying "Crazy dream, huh?" to her best friend. He's flabbergasted and falls for it, and chides her when she says she was joking, this stuff really happened. This is Hatoful Boyfriend, after all - bizarre is everywhere.
    • Also poked at in the Shrine Visit with Yuuya. He starts trying to confess why he's never at school, then changes his mind, dissembles, and says he had a dream like that, anyway.
  • In Dai Gyakuten Saiban the events in one of the Randst magazine turns out to be this.
  • War: 13th Day has one of the most natural build-ups leading to the grand reveal that the main characters are trapped in a dream.
    Ambrosia: Please, Lady Wildfire, you need to open your eyes.
  • In ClockUp's Euphoria, this is the end of Rinne's route. After Keisuke wakes up in a bed in a room inside a house stated to both his and Rinne, where Rinne is watching over him, he says to her that he had a bad dream, she assures that she will always be by his side, and the route just ends after Keisuke assures himself he don't have to think about the dream after all. But don't worry, it's not the True Ending.

    Web Comics 

    Web Original 
  • More than once this has been used for Survival of the Fittest characters, usually in imagining a rescue. However, on one occasion it was used to make it appear as if a particular character had died, only for it to be revealed that it had been a dream.
  • Most of the second half of The Third Night takes places during Gaven's hallucinogen-fueled Mushroom Samba. It's an open question what events actually happen to him and what's all just in his head.
  • The Nostalgia Critic
    • His review of Surf Ninjas, in which every stupid scene (but one) was greeted with increasingly fervent cries of "Genius!", was eventually revealed to be a dream.
    • The end of the review of Full House when the Olsen twins came to silence him was revealed to be a dream. Then they showed up again, which was revealed to be a dream. And so on.
    • This also appears to be a pet peeve of the Critic's, given his reaction to learning that North was entirely a dream.
  • This concept is an enemy in Improbable Island.
  • Project Million is revealed to be a variant of this; the events that we watched were just a video made by the people starring in it.
  • Parodied in the Homestar Runner short "HREMAIL 2000". Homestar puts on a regular puppet show for Marzipan using his shoes, which "gets cancelled after the third season":
    "You mean the whole last season was a dream?! Gimme a break! They shoulda just had babies, and then the babies shoulda gotten married."
  • Red vs. Blue:
    • Episode 28.5, "The Last Episode Ever". In it, Simmons comes back as a ghost, but is really Old Man Caboose, Tucker and Doc are running away to get married and Lopez is speaking French. The end reveals the whole thing was a dream by Church...
    Church: Huh? Oh, thank God. It was all a dream. All a dream. All a dreamiemiemiemiemiemiemie...
    Lopez: Oui, c'était un rêve horrible... OU ÉTAIT-IL?!? [Yes, it was a horrible dream... OR WAS IT?!?]
    • This was also used for a non-canon alternate ending on the Season Five DVD, where Church had been knocked out instead of killed from Sheila's attack in episode eight and had dreamed up the other ninety-two episodes, except he forgot all about his green-armoured teammate, Jacobs.
    • Another of the alternate endings did something very similar except, instead of being a dream, the whole series was an Xbox Live game played by the characters.
  • The Onion episode Today Now!: Save Money By Taking A Vacation Entirely In Your Mind deals with using this trope to your advantage. Naturally, the whole thing was taking place in the mind of the interviewee; she wasn't actually invited to go on the show.
  • An episode of Ranma Abridged features Akane sleepwalking and causing chaos as she goes through several dreams. After waking her up, they discuss how ridiculous the episode was, until it turns out to be Ranma's dream.
  • At the end of some cutscenes in Sonic the Hedgehog 2: Special Edition, people are seen waking up. This has no bearing on gameplay whatsoever.
  • Things Mr. Welch Is No Longer Allowed to Do in an RPG
    598. Any adventure that ends up with my character being worshiped as an orc god was just a dream. Retroactively if need be.
    1007. That whole Expedition to the Barrier Peaks? Dream Sequence.
  • The Cracked article "Why 'Saved by the Bell' is All a Dream: A Conspiracy Theory" explains why Saved by the Bell has to be an escapist dream of a character in Good Morning Miss Bliss, using clues from the Expository Theme Tune.
  • In Critical Hit, a Dungeons and Dragons live play podcast, GM Rodrigo uses this to devastating effect when the characters are in deep in the mire of the Demonweb (compounded by the reaction of the players).
  • In The Most Stupid Deaths In Super Mario 64, Mario has multiple nightmares which turn out just to be dreams. One of them is of the game ending.
  • In Ultra Fast Pony, the episode "Random Eye Magic" begins with Twilight waking up from a Dream Within a Dream, then ends with Twilight waking up yet again, realizing the entire episode was a dream.
  • In Sonic for Hire, Sonic goes on an extreme acid trip and actually believes that he has a successful job with Toe Jam And Earl, but then Tails "wakes" him up, making him realize he was just on an acid trip.
  • The Team Service Announcement short Compression Blast is just a daydream by the Pyro, hence why his airblast was so powerful. Powerful is an understatement, really, as whoever got blasted by it was not only extinguished but becomes rich, a king, and gets tons of women and a dancing posse.
  • Most of the first part of Ask King Sombra was his subconscious dreaming after he was blown to bits by the Crystal Heart, trapping his mind in his horn in the process. The only thing that's real is Coffee Talk, who he absorbed in his shadow form before it happened.
  • According to this story at Not Always Right, "And it was all just a dream" is the most despised sentence in the literary world. It's kind of telling that it's not one of the five reasons that the person telling the story gives as to why the client's novel sucks.
  • Luna Game End's true ending, unlocked after replaying games 4 and 0, reveals that the experience was a "strange nightmare" Luna had after passing out while "helping Pinkie Pie collect some things". But then there's a Scare Chord as Pinkie turns into her straight-haired "Pinkamena" persona.
  • The ending of SUPERBOOBYGREASYWARRIORS. Slightly hints at Or Was It a Dream? as the reveal has the main character waking up in the same way he did at the start of the series. On-screen text explicitly states "It wuz All a DReam LOL" however.
  • Some Jerk with a Camera's Star Tours review was The Wire's dream within Jerk's dream within Spazz's dream within Heffer's dream within Lisa's dream within North's dream within Jerk's dream within Marty McFly's dream within Michael Jackson's mind.
  • SuperMarioLogan
    • In the episode, "Mario the Babysitter!", Mario babysits a kid named Jeffy who continuously frustrates him to the point of being Driven to Suicide. After a visit from a police cop telling him that he has to babysit Jeffy until they can find his parents, Mario tries to bump into his couch in an attempt to wake up from his dream. It works, but at the end, Mario sees Jeffy at his door, much like in the beginning of the episode, causing him to scream in horror.
    • The entire duration of "Jeffy's Mistake!" turns out to be just a dream of Mario's.
    • The entire duration of "Jeffy's Sister!" turns out to be just a dream of Jeffy's.
  • Don't Hug Me I'm Scared
    • The third video's new characters and creepy hijinks turn out to be a dream in the Yellow Guy's heads. The Red Guy and Duck Guy's subplot is real, though it is Out of Focus for most of the video.
    • The finale plays around with this concept, beginning with a dream in a dream caused by the episode's teacher, the Lamp.
  • In Dragon Ball Z Abridged, the entirety of Episode of Bardock was a story told by Goku to Gohan, which was dreamed up by the latter. This explains why Freeza's Death Ball sent Bardock back in time, what happened to his psychic powers, and why all the primitive Saiyans sound like Kermit the Frog.
  • Parodied in a post from a Super Mario Bros. forum. The user pokes fun at the "Super Mario Bros is all just a drug-fueled hallucination" theories by inverting them. Mario's adventures aren't the hallucination, his supposed past on Earth is:
    a significant part of mario's life is a drug induced hallucination that was caused by eating too many mushrooms
    his friends keep trying to convince him that there's not actually such a place as new york, but he insists he grew up there. he used to claim he was born there, but then princess peach pointed out to him that the village where his parents live doesn't look like how he described 'brooklyn' at all. since then he's started claiming that when he was a baby his parents shipped him to a parallel universe to protect him from kamek, and he only accidentally found his way back as an adult
    nobody understands why he's so insistent about all of this, since none of it really makes any sense. luigi has learned to just smile and nod whenever his brother starts telling people stories about their italian heritage
  • From Fat, French and Fabulous, Janel fears that her entire life since middle school has been a dream after the Columbia Marching Band starts chanting lines from the horrifying public access television show commonly inflicted upon Canadian children, Téléfrançais.
  • A piece of fanart made by a detractor of Disney's take on the Star Wars universe has their entire canon be this of Luke, who laments to his wife, Mara, that all of his friends and family were gone. She jokingly suggests getting some mouse traps.

    Western Animation 
  • Adventure Time:
    • The Rule 63 episodes are all "fanfictions" written by different characters; only the first one had this as a twist, though.
    • "King Worm," though the plot is that the characters eventually realize it's a dream and need to escape.
  • Alvin and the Chipmunks:
    • There were some episodes, like when Alvin had a fever or when Dave thought he'd shrunk where's he able to stand in someone's palm.
    • In "Dreamlighting", after Alvin has to go to basketball on one of their dates, Brittany watches on tv "Dreamlighting" (which itself is a parody of Moonlighting) and dreams herself in the show.
    • A Charlie's Angels parody episode had the Chipettes dream that they are a crime fighting team called Alvie's Angels after being knocked out by a thief in the mall.
    • An episode airing in 1988. The Chipmunks were scheduled to perform at a concert at the Wall of Iron, an analogue to the Berlin Wall. While preparing for the concert, they encounter a young girl whose brother is on the other side of the wall and sneak over to find him. They get captured by the authorities and told the other side is tired of the separation as well. They then destroy the wall using the Power of Rock and reunite everyone. Then Alvin wakes up on the plane as it's landing and sees the wall is still standing. He says "It was all just a dream...but it doesn't have to be." (Then a year later, it wasn't.)
  • ALVINNN!!! and the Chipmunks:
    • The whole episode of "Theozilla" turns out to be this from Miss Smith.
    • The episode "Double Trouble" is this too, Alvin thinks Simon's machine can create a clone of himself, when it actually creates bubbles.
  • The Amazing World of Gumball: In "The Apprentice", the show manages to get even MORE weird than it already is around the time that Gumball is conked on the head by a golf ball. What proceeds is a tripped-out sequence of Gumball cheating at golf with supersonic tennis rackets and vacuum trees (and an actual tripping-out sequence) that gets weirder and weirder until the Magic Frog from South Park manages to convince Gumball to throw the match, which somehow ruins the CEO's logically impractical evil plan, and Gumball hugs Mr. Fitzgerald while fireworks play in the background... at which point the show finally stops feeding you nuts and pans out to a brain-damaged Gumball right after he lost the game. The CEO lampshades it, laughing all the way:
    CEO: "HA HA! He-he went into an entire montage where he thought he won the game epically, but it turns out it was all in his head ever since he got conked by the ball in match nine! BWA HA HA HA (etc.)"
  • American Dad! has one when Stan accidentally crapped himself in a pool party and concocts a scheme to get Barack Obama to do the same. It was a dream moments before he actually jumps... and craps himself. It's implied that this was not the first time he's done it too. The ending is foreshadowed by the episode title, "An Incident at Owl Creek" (which is a clear homage to "An Occurrence at Owl Creek Bridge", a Dying Dream story)
  • Angel's Friends has Raf and Sulfus both have a dream where they get married.
  • Subverted and discussed at the end of season five of Archer. After a season that went in a completely different direction and upon learning that Lana's baby is also his, Archer spaces out and wonders if he's about to wake up from a coma he's been in since the end of the previous season. Turns out that's not the case.
  • Batman: The Animated Series
    • In "Perchance to Dream", Bruce Wayne wakes up in a world where he isn't Batman. He eventually realizes that it is a dream (because some people's dreams work in such a way that they can't read anything in a dream) and ends it by jumping off the clock tower. Apart from the reading issue, wish fulfillment dreams don't work on Batman; a world where Bruce Wayne is happy? His subconscious knows that's impossible.
    • "Over the Edge" has Batgirl getting hit by Scarecrow's fear gas and hallucinating a scenario where she dies, and Gordon goes to war against Batman. The dream ends when Bane, who had just been electrocuted to near-death, uses his last breath to toss the Bat-signal at Batman and Gordon, knocking them both off the top of Police Headquarters.
  • Happens in an episode of CatDog (titled "Shriek Loves Dog"), where Cat plans to make Dog and Shriek fall for each other, hoping that the Greaser Dogs will thereby leave him alone. The rest of the episode is Cat's dream of what the consequences are: Dog marries Shriek, which causes the Greaser Dogs to move into their house and generally making Cat's life a living hell.
  • The ChalkZone episode "The White Board", where Rudy dreams that he has a fever during the summer and falls into his white board while inside ChalkZone, eventually entering White Board Zone. Later, he and his friends enter Pencil Zone.
  • Danger Mouse: In the episode "Danger Mouse Saves The World...Again," things kept getting worse until DM was stuck in a room full of bombs and explosives — then his alarm woke him up.
  • Most of the Daria episode "Murder, She Snored." In this case, it's not a spoiler, since Daria is seen falling asleep before the parody segments begin.
  • The end of Disney Wartime Cartoon Der Fuehrer's Face has Donald wake up in a bedroom filled with American flags, thankful that he doesn't actually live in Nazi Germany.
  • In "First Responders to the Rescue" from Doc McStuffins, when the boy Dev is accidentally transported to the Toy Hospital, Stuffy tries to convince him that it's this. Despite Stuffy sounding less than convincing, Dev buys it until Stuffy ruins by saying it won't hurt if he pinches himself, then does so and shouts in pain, then accidentally steps on Dev's foot, causing him to feel pain too and decide that what's happening must therefore be real.
  • In Ed, Edd n Eddy:
    • "Take This Ed and Shove It", the finale of the fourth season (and originally of the series) ended with the elderly Eddy discovering that the whole show has been apparently a series of dreams about his childhood. The canonical implications of this are dubious at best, as the show has been renewed for two more seasons; though it explains things such as Flanderization, the cast never leaving the cul-de-sac, how we never see any characters but the main cast even at school, and just the general vagueness of setting throughout the show.
    • In a season three episode, Ed has a nightmare about Jonny. But then the episode ends with Jonny waking up in horror. So Ed had a dream that he was scared of Jonny, but then it's really Jonny having a dream that Ed had a dream that...he's scared of Jonny...uhm.
  • Eek! The Cat:
    • The series has an episode called "Rocketship to Jupiter", in which Eek gets a large box dropped onto him by Sharky, and ends up in the Squishy Bears World, where the Squishy Bears leave their rocketship and house. He saves the Squishy Bears, but is met by the Giant Who Thinks Bears Might Taste Good, so he tricks the Giant when it's raining (by Professor Wiggly). After that, Eek and the Squishy Bears try to fly to Jupiter on their rocketship, but the lever was mistakenly switched to the sun by one of the bears, so they fly to the sun instead, where Eek is about to burn. But then, Eek was suddenly waken up by JB, who serves him a bowl of cat food. He realizes it was all a dream.
    • In "Eek Goes to the Hot Spot", while being chased by Sharky, Eek is run over by an oncoming truck and gets killed, and thus he mistakenly gets sent to hell (instead of heaven). There, Eek confronts its ruler, Fido, for a long time, who forces him to clean out an infinitely large litterbox for three seconds. Then Eek finishes this task, and happily goes to heaven (with two angels flying down and carrying him away), waving goodbye to Fido. But just then, Eek wakes up from all this lying in the backyard, and gets chased by Sharky once again.
  • Every single episode of the French animated short Ernest Le Vampire ends with the title vampire waking up from a Catapult Nightmare.
  • Family Guy:
    • The absurd (even for them) Y2K episode, "Da Boom", ends in live-action with Pam Ewing of Dallas waking to Bobby in the shower and relating the episode (in the same method the show retconned a season). Bobby has no idea what Family Guy is. (This sequence features the real life Victoria Principal and Patrick Duffy.)
    • A variation occurred in "Lois Kills Stewie". When Peter kills Stewie before he can act on his chance to kill Lois, the ending reveals that it was all just a computer simulation designed by Stewie of what would happen had he successfully conquered the world. Brian says it was pretty much a dream, and Stewie objects that it was a "simulation". Brian tells him that if theoretically someone watched the events only to realize that none of it really happened, it would piss people off. Stewie says that hopefully they would have just enjoyed the ride. Then it ends off Sopranos-style just to shove salt in the hypothetical wound.
  • Felix the Cat:
  • The Fish Hooks episode "Pool Party Panic" turns out to be one, and becomes a plot point in the second and third acts of the episode.
  • Futurama:
    • "The Sting": Fry dives in front of a space bee about to sting Leela, gets impaled and injected with venom, and dies. Leela who comes out of the incident with only a "boo-boo", tops, begins feeling horribly guilty for the loss of Fry, and slowly descends into insanity, going through one Dream Within a Dream after another, one of which includes a musical number in which the other characters serenade her with the song "Don't Worry, Be(e) Happy." stopping with Leela trying to steal Fry's corpse and hide it under her bed to remind herself he's dead. At the climax, the walls are screaming "YOU KILLED FRY" at her and bees are materializing out of a broken jar of honey. It turns out it was all a coma-induced dream; Fry had come out of the incident relatively unscathed, save for the gaping hole in his chest, which was easily repaired by future-medicine, while Leela got all the venom from the bee and nearly died.
      Bender: You were in the best coma I've ever seen!
    • In "Obsoletely Fabulous" Bender is forced to get an upgrade to make him more compatible with Planet Express' advanced new robot. He breaks free and ends up on a deserted island populated by outdated robots, then returns to wage war on technology. The whole storyline was actually an artificially induced Aesop caused by the upgrade, resulting in the following exchange:
      Bender: But I destroyed the technology of the world! I ran on the beach and felt the sand between my foot-cups!
      Technician: (shrugging) Everyone experiences the upgrade a little differently.
      Bender: Oof. If that stuff wasn't real, how can I be sure anything is real? Is is not possible, nay, probable, that my entire life is just a figment of my or someone else's imagination?
      Technician: No. Get out.
      ** Then just to mess with the viewer even more, he ends off skipping merrily away in a Sugar Bowl at the end.
    • In "Anthology of Interest I" it is revealed at the end that the entire episode, consisting of three scenarios generated by the professor's What-If machine, was, in fact, a scenario generated by the professor's What-If machine for what life would be like if he invented the "Finglonger" (basically a glove with a really long index finger). Strangely enough, the What-If machine seems to know things that no one else does, like the fact Fry not coming to the future would cause a universe-destroying paradox, because he is his own grandpa. And "Anthology of Interest II" featured a segment that really was a dream, instead of a What-If, as the writers didn't wish to reveal Leela's true heritage at that point of the series. Also, the Professor eventually invents the Finglonger in real life. This all seems to imply that the What-Ifs are 'canonical hypotheticals' that would have actually happened that way if the setup was true, making them more For Want of a Nail than All Just a Dream.
  • The episode "The Binky Show" of Garfield and Friends is this. It ends with Binky actually showing up. The announcer tells that Binky was going to do a number of things, including embarrassing Jon by singing to him in a restaurant.
  • Parodied by G.I. Joe: Renegades: The Stinger of the final episode cuts to the original 1980s G.I. Joe: A Real American Hero cartoon and reveals that Renegades was just 80s!Duke's dream.
  • The Gargoyles episode "Future Tense" takes place in a Bad Future, which is revealed in the final moments of the episode to have been a dream created by Puck, in order to mess with Goliath's head and trick him into giving Puck the Phoenix Gate artifact. Though Puck does try to pull the Or Was It a Dream? card, claiming (unconvincingly) that maybe it was a prophecy.
  • The I Am Weasel episode "I.R. Wild Baboon" turns out be a dream by Cow.
  • In the Invader Zim episode "Dib's Wonderful Life of Doom", Dib receives supernatural powers from the alien race of the Meekrob, to help him stop Zim and the Irken invasion. The episode portrays Dib's following life being a celebrated Hero and the most successful paranormal investigator in the world, until old age, where in a TV interview he confesses having tossed a muffin at Zim in the school cantine once, upon which the moderator pulls of a mask revealing Zim's face laughing at him. Dib wakes up in Zim's laboratory realizing all of this was just a dream, programmed and simulated by Zim.
  • The Jimmy Two-Shoes episode "Panda-Monium".
  • In the Julius Jr. episode Box Fort of Oz, although the audience get to see Julius doze off and thus is fully aware of the situation.
  • The Kaeloo episode "Let's Play Astronauts" turns out to be a dream of Stumpy's, which he is narrating to Kaeloo.
  • Kim Possible:
    • The episode "Rewriting History" repeatedly lampshaded the increasingly unlikely coincidence that all the cast's grandparents were involved in a plot at the start of the century, with a last minute solution that "seemed like something from a dream" - because that's what it all was. Which is sad, because Generation Xerox plot seemed pretty cool. Though, oddly, the episode did end with an even more absurd Generation Xerox being canon. Though Word of God is that Kim and Ron's ancestors from the dream actually existed.
    • The Post-Script Season began with a scene of Kim and Ron at the prom from the "finale" movie. The scene takes a horrific turn as Kim's face distorts into a Jokeresque grin before she dissolves into a puddle of goo (like one of Drakken's synthodrones from the movie). Then Ron wakes up screaming.
  • In the Little Lulu cartoon "Musica-Lulu", Lulu sneaks out to play baseball instead of practicing her violin, and when knocked out by a foul ball, she wakes up in a land of musical instruments, who arrest, try and imprison her for her misdeed. When she breaks out of the jail, she is chased and terrorized by the musical instruments. It turns out to be a dream.
  • Looney Tunes:
    • Subverted in Water, Water Every Hare. At the end of the cartoon, Bugs Bunny wakes up in his bed and thinks the events of the cartoon were all just a dream. Then Gossamer, who Bugs had made small earlier, comes in on a boat his size and says, "Oh yeah? That's what you think!"
    • Played straight in the early Merrie Melody Smile, Darn Ya, Smile.
    • In A Waggily Tale, a boy who mistreats his dog is sent to his room by his mother, and he falls asleep dreaming he's a dog; in the end he learns what a dog's life can be like, and learns to be nice to him. In a final twist, the boy's dog remarks, "In truth, I'm just another little boy having a dream."
    • Scrap Happy Daffy (1943) is a cartoon-short-length dream Daffy has that he's defending his scrap drive pile against Nazis and proceeds to throttle them with superhuman powers. Or was it a dream?
    Nazis: (in their sub, on top of Daffy's scrap pile) Hey! Next time you dream, leave us out of it!
  • Subverted in The Looney Tunes Show, "Parade Float". A series of events involving Daffy using all of Porky's money to buy a yacht ends with him falling off and about to drown. He wakes up and remarks "It was all a dream. That's why I was such a horrible person." Bugs then reminds him that "It wasn't a dream. You really are a horrible person." In fact, Daffy was in a hospital bed, recovering from his near-drowning.
  • The Mr. Men Show has Mr. Nervous, who goes on wacky (and scary for him) adventures that turn out to be just his imagination.
  • My Little Pony: Friendship Is Magic. The episode "Bloom and Gloom," has this trope as its main plot. It centres on Apple Bloom waking up from many different nightmares of her earning a cutie mark that doesn't suit her and causes her to either have a terrible job, have her friends kick her out of the Cutie Mark Crusaders or have her family make her move out because her cutie mark isn't apple related.
  • In an episode of The New Mr. Peabody & Sherman Show, Peabody and Sherman go back in time to watch Charles Dickens write "A Christmas Carol", only to find him being haunted by three ghosts that are fans of his work. After calming the spirits down by promising to write them into his next book, Dickens wakes up from his dream with inspiration and no time for visitors, leaving the real Mr. Peabody and Sherman confused and disappointed as they didn't get to do anything.
  • In the "Leave it to Munchy" story of PB&J Otter, Munchy Beaver prevents all of Lake Hoohaw from being flooded, but it turns out to be just a dream. This becomes very obvious when the characters are shown freely swimming about, talking to each other and doing the iconic "Noodle Dance" underwater without any special gear.
  • Over the Garden Wall: The entire series turns out to be a hallucination of Wirt as he was drowning. Maybe.
  • Phineas and Ferb:
    • The episode "Phineas and Ferb Get Busted" revolves around Candace actually managing to bust Phineas and Ferb, resulting in them being sent to an extremely strict reform school where they are brainwashed. She soon realizes how much she misses them and, along with Jeremy, ventures to break them out. But as they escape, and seemingly run into a dead end, things get increasingly weird until it's revealed that it was a dream Candace was having. She discusses it with the family the next morning, which results in them playfully guessing that Perry is a secret agent, causing government agents to bust in and take them away while Perry is told he'll have to be relocated... and this turns out to be just a bad dream that Perry is having. The actual moment she realises what's going (the first time), is hilarious.
      Candace: Oh, I get it. This is all a dream!
      Jeremy: That would explain the talking zebra.
      Candace: Oh, no, I see him all the time. But this [Jeremy proposing to her], this has to be a dream!
    • Just like the film it's parodying, "Wizard of Odd" is a dream.
    • Subverted in the Christmas Episode: Phineas sits up in bed and exclaims, "It was all a bad dream! Christmas isn't cancelled after all!" — only for the camera to pan out to Isabella, who says that no matter how many times he tries that, it's not going to change anything.
  • This happens a couple of times on Pinky and the Brain: first in a surreal episode where Brain creates numerous black-and-white duplicates of himself to form a Celtic dance troupe, and later in "You'll Never Eat Food Pellets in This Town Again," which portrays the two mice as actors playing in their own show, which then slides downhill due to Executive Meddling. The latter, though, ends in an Or Was It? moment.
  • There is an Animaniacs segment where Brain dreams that he is the Rockefeller family baby, but the Delivery Stork mistakenly brings him to the Hip Hippos instead.
  • Several of the Private Snafu cartoons end with Snafu about to face the consequences of his actions (usually his imminent demise) only to wake up. He is then shown mending his ways.
  • ReBoot episode "Number 7". A Mind Screw episode which directly parodies The Prisoner, including a version of that shows opening sequence. Given what happens during the Mind Screw, this trope is a welcome sight.
  • An episode of Rocko's Modern Life deals with Heffer choking to death on a chicken ribcage and ends up going to Heck to be punished for the deadly sin of Gluttony; the entire episode turns out to be a dream (within a dream within a dream, no less).
  • Rugrats:
    • The episode "Pickles vs. Pickles" was about Drew dreaming about Angelica suing him for making her eat broccoli.
    • The episode "In the Dreamtime" begins with Chuckie waking up from a dream, ending like this. His father explains that there is nothing to fear as nothing can hurt you in a dream. In the next scene Chuckie explains his dream to the babies only for that to be revealed to be a dream. When he next talks to them, he decides that he is still in a dream. Yet when he gets hurt, he realizes it isn't a dream. Chaz then puts his son to bed leading to the final scene of the episode.
  • In the episode "On the Run" of Sagwa, the Chinese Siamese Cat. At least, that's what it seems. The fact that a character exclusive to the supposed dream sequence appears at the end leaves it in the air, however.
  • In Scooby-Doo:
  • Sheep in the Big City used this in the season one finale "To Sheep, Perchance to Dream", where several bizarre events (such as Sheep and Swanky getting married and General Specific suddenly transforming into a sheep) are explained away as being dreams the characters are having. The narrator isn't pleased at all, but then dreams that Sheep is actually evil and intends to use the narrator for his narrator-powered ray gun. At least, the narrator assumed he was just dreaming like the others.
  • Naturally, The Simpsons has parodied this numerous times.
    • In the season six episode "Lisa's Rival", Lisa is competing so hard against a new student, Allison, for the first chair saxophone position that she faints in the middle of it. After "regaining consciousness", she's told that Allison got the chair and Lisa screams. The screen then blacks out and she really wakes up... only to be told the exact same thing with the added disclaimer, "And believe me, this is not a dream!"
    • In "Who Shot Mr. Burns", Smithers wakes up in his apartment to find Mr. Burns in the shower, perfectly fine, and concludes with relief that it was all a dream. Burns then informs Smithers that they are the stars of a 60s detective show called Speedway Squad, at which point Smithers wakes up again and realises, "Wait, that was all a dream!" — Mr. Burns really has been shot. Smithers then remarks, "Hey, then maybe I haven't become a hideous drunken wreck, and —" only to realise that he's in the exact same state he started the episode in, and his mouth still tastes like an ashtray.
    • Even the specific tendency of soap operas to rely on this trope is parodied. In "Pygmoelian", Moe lands a role on a soap called It Never Ends, only to stumble upon a future script in which his character is killed off. Angered, he has Homer disrupt the show to give away spoilers for future plotlines, upsetting the producer.
      Producer: (holds up script) You idiot! Pink pages always mean a dream!
      Moe: I thought dreams was on goldenrod.
      Producer: No, goldenrod is for coma fantasies!
    • Happens in "Treehouse of Horror" episodes which are already Bizarro Episodes. In "Treehouse of Horror II", Homer has a nightmare that ends with Mr. Burns' body being crushed by a robot. He awakes to find his boss' head stitched to his shoulder. In "Treehouse of Horror V", Bart finds the events of "Nightmare Cafeteria" were just a dream. Marge assures him he has nothing to fear except the fog that turns people inside out. In "Treehouse of Horror XVI", "Bartificial Intelligence" is a dream of Homer's while possessed by the devil. He's just happy that gets him out of work.
    • "The Squirt and the Whale" has a rather heart-breaking example. After several futile efforts to rescue Bluella, the beached whale, Lisa decides to keep her company for the night. She wakes up to find the army has formed a plan to rescue Bluella. They loop heavy duty straps under her and carry her out to sea. Bluella happily swims away, then leaps into the sky. Lisa then wakes up for real...and discovers Bluella has died.
    • In "Husbands and Knives", after Homer felt dissatisfied by the results of his stomach stapling in his attempt to become more attractive to Marge (who has become successful in her new business), he underwent extensive surgery to become muscular, only to learn that the new muscles are made out of rolled up socks. He is then branded a monster by the town, and Marge decides to get a trophy husband anyway, driving Homer into suicidal despair. Then it was revealed that not only was the whole experience a dream, but Marge had stopped Homer from getting surgeries and had his stapling undone instead.
  • In The Smurfs, Lazy, Brainy, and Greedy enter a paradise world behind a waterfall in the episode "Paradise Smurfed", where its master eventually tries to imprison them for his own purposes. Brainy and Greedy escape, but Lazy doesn't. Fortunately, Lazy finds out that it was all just a dream.
  • The Sonic Boom episode "Chili Dog Day Afternoon" has Knuckles attempting to hunt down a pepper potent enough to help him win a Chili Dog Cook-Off. This leads him to the legendary Lost Pepper of Claggerhorn, which he finds is a sentient pepper leading a group of other sentient peppers that have been waiting for a complete idiot to help them take back their homeland, which happens to be the village the main characters regularly visit. Eventually, their attack leads to the Lost Pepper getting knocked into a chili pot and, finding the sauce within relaxing, allowing the villagers to use his and the other Pepper People's juices to flavor their chili. Knuckles, having the Lost Pepper's juices in his sauce, is immediately judged the winner by Sonic... and is then woken up by his friends, who'd been searching for him. Earlier in the episode, before he found out about the Lost Pepper, the echidna had found a different pepper in the forest, but was unable to withstand its spiciness and passed out; it turns out everything afterward was a pepper-induced dream and Knuckles had been unconscious for an entire day, missing the real cook-off entirely.
  • South Park:
    • First appeared in "City on the Edge of Forever", which twisted the conventional Clip Show by having each clip end with a completely different situation from its original episode, ending every time with a reference to ice cream among other things. This was all framed with the kids telling stories while the bus lies on the edge of a cliff. At separate points, they flash back on a Fonzie stunt they witnessed (which never happened on the show) and an earlier moment in the framing device itself. When the bus finally falls into the chasm, it inexplicably lands on a giant tub of ice cream. All of this, including an unrelated subplot surrounding Ms. Crabtree, were all part of a dream by Eric Cartman which ended with him eating beetles and ice cream once again being brought up, thus revealing that the entire episode was a dream within a dream conjured by Stan. ("Dude. That's a pretty fucked up dream." "Yeah, I must be having some real emotional problems.") After that was established, however, the episode returns one last time to Ms. Crabtree's subplot, where her love interest Marcus — or was it Mitch? — tells her that he can't stay, as everything on her side of the story was just a kid's dream. Her response? "I know, but let me just pretend as long as I can." (Aha! So Miss Crabtree was imagining that Stan was imagining that Cartman was imagining that the bus was teetering on the edge of a cliff! Clear as mud.)
    • Subverted at the end of the "Imaginationland" series of episodes. Butters wakes up and starts telling his parents about the dream he had that he saved Imaginationland. His parents tell him that it really happened and they read all about it in the morning paper. And then they ground him for saving Imaginationland instead of helping his mother clean the garage.
    • Also subverted earlier on, in the first chapter. Kyle wakes up and assumes that the Muslim terrorist attack on Imaginationland and Butters being left there was all a crazy dream, but when he calls up Stan, he finds out that he had the exact same dream. Then Butters's parents come into Stan's house worrying about Butters. Finally, the Pentagon reports that our imagination was taken over by terrorists, complete with a videotape showing proof. And Cartman still wants his balls sucked by Kyle.
    • Also subverted in the season 3 episode "Spontaneous Combustion". Cartman was tied to a cross for a crucifixion re-enactment, but his friends forgot about him and left him up there. A couple of days later, Chef finds him and takes him off the cross. The following conversation is from the car ride home.
      Chef: Eric, I have to tell you something and it's really gonna bum you out.
      Cartman: What?
      Chef: It'll really piss you off.
      Cartman: What, tell me!
      Chef: This is just a dream, you're still up on that cross.
      Cartman: (he wakes up, still on the cross) Oh, dammit!
  • SpongeBob SquarePants:
    • At the end of one episode where Mrs. Puff goes to jail, it's revealed that it was all a dream, and Spongebob is going to jail. Except that was all a dream, and she's in the boat with a random person from prison. After that, she just gives up, and the episode ends.
    • The episode "The Main Drain" ends like this.
  • Squidbillies plays with this trope in the first episode. It first portrays Rusty spending his childhood being raised and repeatedly mauled by wolves, and then blowing them up along with him when he just had enough. That was revealed to be all just a dream, and then shows him as a party-hardy drinker who goes to rock concerts. That is also just a dream, and then shows him still living with Early's sister Lil (which was before all the dreams), who calls him out on his lack of manhood. That, too, was just a dream. Rusty raping some small creature... that really happened.
  • The final episode of The Sylvester and Tweety Mysteries, entitled "This is the End", had Sylvester the Cat appear to finally eat Tweety Bird as he's desired to do throughout the run of the entire series, at the cost of putting the show on hiatus when he goes to jail for Tweety's death and eventually getting the series cancelled when Tweety's replacement proves to be unpopular. The very end of the episode reveals that Sylvester only dreamed that he ate Tweety, and the cat's first action upon seeing that Tweety is still alive is to hug him and tell him that he loves him.
  • The 1987 Teenage Mutant Ninja Turtles episode "Shredderville" had the Turtles supposedly taken to an alternate world where they never existed and thus Shredder conquered the world, only for it to have been a dream that all four of them had at the same time.
  • The events of the 2003 TMNT episode "Bad Day" are simply a form of Mind Rape conjured by the Foot Mystics.
  • Tom and Jerry has one too. In "Heavenly Puss," Tom wangs his head and kills himself where he ends up in train station in Heaven. The boarder however won't let him through due to his chasing Jerry all the time but give Tom a change to redeem himself by getting Jerry to sign a forgiveness certificate, otherwise Tom will end up in Hell tormented by a devil looking Spike. Tom is then sent back and tries everything he can to get Jerry to sign the thing. In the end though he doesn't make the deadline and it looks like he's doomed...till he wakes up and more than glad to find it was a dream. Even kissing his worst enemy to show his gratefulness.
  • In the Transformers Beast Wars episode "Feral Scream Part 2", Cheetor (who had taken heavy damage in the last episode) has a nightmare where the Maximals force him into the CR chamber and it messes with his recent transformations between Transmetal and Transmetal 2 forms. He awakens, only to see another transformation begin.
  • The Twisted Tales of Felix the Cat episode "Gross Ghost" ends with the revelation that Felix and Roscoe only dreamed the events of the episode.
  • The Venture Bros.:
    • Subverted when Billy Quizboy wakes from having a dream, he's all ready to launch into an And You Were There scene when he suddenly realizes the events from the dream were true, screaming you bastards! while assaulting his so-called "friends."
    • Hank Venture also tries to believe that a mystery involving his missing father and bodyguard and an impending nuclear holocaust is all "just a dream". It's not.
  • The better part of episode 20 in Wakfu, which thoroughly confused the non-French-speaking people watching it without subtitles, though it could only have been one other trope if not this one.
  • The Van Beuren Studios short "Wonders of the Deep" ends this way, where the cat finds out the octopus he's fighting is Farmer Al Falfa, though the cat still has the bag of money from the dream. He trades it with Al in exchange for food and runs off, only for Al to find out it's full of hundreds of mice instead!
  • Deconstructed in the Young Justice episode "Failsafe." The whole episode turned out to be an Unwinnable Training Simulation the characters were undergoing while in a psychic trance. However, partway through the exercise, M'gann's Psychic Powers turned off the safety features, essentially brainwashing herself and everyone else to forget that it was fake. Martian Manhunter was eventually able to perform an Orphean Rescue before everybody slipped into permanent comas, but the whole next episode deals with them facing the trauma from the experience, and it ties into several character arcs that last throughout the series.

    Real Life 
  • Some people believe that "real life" is really all just a simulation using technology that doesn't yet exist in real life/this simulation. This is based on the belief that technology is likely to get to the point of being able to perfectly simulate real life while making the subject forget real life while in the simulation and that since once this technology exists it will result in more virtual worlds than the one real one the odds are that this is a simulation and not real life. The Simulation Argument tells that: it is overwhelmingly likely that either 1) we are living in an "ancestor simulation" created by our descendants or 2) this is not. A counterpoint is the idea that "real life" is a meaningless term, since any reality must be absolute from the perspective of its inhabitants (if we are indeed simulated beings, this is still the highest level of nested realities we can exist in).
  • The trope may have arisen from a dream those grieving a deceased loved one often experience. In the dream, the griever learns that the loved one is not dead and that the "death" was nothing but a very bad dream. The griever then wakes up, only to realize that the death really took place and the "miraculous survival" was in fact the dream. Although not every griever experiences this dream, it's common enough to be considered a normal part of the grieving process. Children who experience the dream may not be able to differentiate the dream from reality and therefore may suspect that the deceased person didn't really die (a common fallacy among bereaved children). Books by reputable scientists have been written on this phenomenon. Interestingly, it's possible to have an inversion of that—someone dreams of losing a loved one (or ones), only to wake up. Heartwarming Moments may follow along with a LOT of relief.
  • Subversion: After Daniel Radcliffe learned that he had gotten the part of Harry Potter, he woke up in the middle of the following night. He woke up his parents to ask them if he'd really gotten the part or if it was a dream.
  • The philosophy of existentialism holds that how one views the world is subjective to one's experiences. Existentialists believe that truth is in the eye of the beholder, as is even the existence of the world around us. It's the basis for the scene in The Matrix in which the boy in the Oracle's apartment tells Neo, "There is no spoon."
  • Confabulation, or false memory syndrome, applies to this trope, as well. Also see this Cracked article: 5 Mind Blowing Ways Your Memory Plays Tricks On You.
  • How many times have you been sure what's happening be real, only to wake up? This can be a disappointment or a relief depending on the nature of the dream. In some cases, it is possible to realize when one's dreaming (lucid dream), and the person may even prefer make the dream last as long as possible.

I had the strangest dream! I was on this horrible website that listed different tropes of media and spent all day there.

Alternative Title(s): It Was All Just A Dream, Only A Dream, It Was All A Dream, All A Dream