[[quoteright:274:[[TabletopGame/{{Hecatomb}} http://static.tvtropes.org/pmwiki/pub/images/itwasonlyadream4_4785.png]]]]
%%Please DO NOT add potholes to the quote. It is against the wiki rules.
->'''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!
-->-- '''Creator/TheFineBrothers''', ''[[https://www.youtube.com/watch?v=hN5avIvylDw#t=3m2s 100 Movie Spoilers in 5 Minutes]]''[[note]]Movies referenced, in order: ''Film/JacobsLadder'', ''Film/TheWizardOfOz'', ''Literature/AmericanPsycho'', ''Film/TotalRecall1990''[[/note]]

[[TheReveal 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 [[TwistEnding 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 [[FantasyKeepsake an artifact lying next to him that was]] ''[[FantasyKeepsake in]]'' [[FantasyKeepsake the dream]]. This usually will leave protagonist and audience wondering "OrWasItADream", however it may also be an opening gambit in a DreamWithinADream 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 [[ResetButton be reversed]]. Or maybe the [[SchrodingersButterfly "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 "''AndYouWereThere!''" when the dreaming character awakens.

Normally, [[{{anticlimax}} 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 [[AuthorsSavingThrow undo damage done]] by having a WriterOnBoard. 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 DeusExMachina. Even if it's done well, it may require a lot of WillingSuspensionOfDisbelief.

One of the StockEpilepticTrees. It's also a popular trope for {{music video|Tropes}}s.

Variant form of the ResetButton. See also CrashingDreams, OrWasItADream, FantasyKeepsake, PinchMe, DyingDream, and CatapultNightmare. Compare with NestedStoryReveal, a similar trope that lacks the dream aspect. Often {{deconstructed|Trope}} with the DreamApocalypse. If the dream is a quick-hit gag instead of a major element of the narrative, you have a DaydreamSurprise. When the trope is {{inverted|Trope}}, it may turn out ThatWasNotADream. Not to be confused with CuckooNest.

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

'''As an {{Ending Trope|s}}, [[Administrivia/HandlingSpoilers all spoilers on this page are unmarked]].'''


* The delightful Kia Sorento commercial "[[http://theinspirationroom.com/daily/2010/kia-sorento-joy-ride/ Joyride Dream]].''
* The Pepsi Twist commercial when Music/OzzyOsbourne notices his kids drinking Pepsis, only for them to actually be Pepsi Twists, and that his kids are actually the ''Osmonds'' in [[LatexPerfection 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 [[WesternAnimation/KingOfTheHill 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 [[GogglesDoSomethingUnusual 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 BlackBraAndPanties, our hero is woken up by his foreman on a construction site and told to get back to work.

[[folder:Anime & Manga]]
* ''Manga/AlienNine'' has main character Yuri doing this OncePerEpisode, each dream focusing on her fear of aliens, and getting more and more horrific until the MindRape sequence in the final episode.
* ''Manga/AttackOnTitan'': 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 ''Webcomic/AxisPowersHetalia'', [[MoeAnthropomorphism Japan]] tries to convince himself that the [[HoYay "Private Lesson"]] with close friend [[ChivalrousPervert Greece]] was [[SugarWiki/FunnyMoments All Just A Dream]]. Even when he woke up naked—[[DidTheyOrDidntThey 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 CloudcuckoolandersMinder 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...
* ''Manga/BakiTheGrappler'' 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 ''Manga/{{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.
* ''Manga/{{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 DreamWithinADream 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 ''Anime/DragonBallZ'' 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.
* ''LightNovel/LoveChunibyoAndOtherDelusions'': 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.
* ''Anime/CowboyBebop'':
** "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 ''Anime/CowboyBebopKnockinOnHeavensDoor'', as it could be [[spoiler:a dream Spike has, as the movie starts with him napping and ends with him waking up]].
* ''Manga/DailyLivesOfHighSchoolBoys'':
** 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 [[WildMassGuessing generated a fair bit of discussion]] [[http://i.imgur.com/a9vqT.jpg?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'', [[AlwaysSecondBest 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 ''Manga/DetectiveConan'' 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 [[NeverTrustATrailer turns out to be a dream at the start of the movie]].
* One of the DVD specials for ''LightNovel/{{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 ''Anime/ErgoProxy'', 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, [[OrWasItADream or has it been reality all along?]] It's a wonder this show made any sense at all.
* The Season 2 opening of ''Manga/{{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.
* ''Manga/GetBackers'':
** 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.
* ''Anime/GhostInTheShellStandAloneComplex'' Episode 18 revolves around Yu, a teenager who has been turned into an assassin by having his [[GrandTheftMe 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 ''Anime/GunXSword'' implies the series so far was a dream of TheRival Ray, with him waking up back home. Actually THAT is a dream he's having as he dies.
* ''LightNovel/HaruhiSuzumiya'':
** Inverted in the [[WhamEpisode 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? [[FreudWasRight 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 OurLawyersAdvisedThisTrope 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 ''LightNovel/HighSchoolDXD'' 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 ''Manga/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 RealLife personas (Kikyou for instance is her archery instructor at school).
* A manga chapter of ''Manga/{{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 ''Manga/MermaidMelodyPichiPichiPitch'' was a very, very strange New Year's dream in which Lucia uses her IdolSinger powers to become famous.
* The ''[[Anime/SunnySideBattle Sunny-Side Battle!]]'' OVA of ''Manga/{{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 [[GainaxEnding great many]] interpretations of episodes 25-26 of ''Anime/NeonGenesisEvangelion''. 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 ''Manga/NightmareInspector'', 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 [[WhoWantsToLiveForever 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 ''Manga/OnePiece'' short "Jiginai Time" (or "No Respect Time") [[MakesJustAsMuchSenseInContext 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 ''Manga/OuranHighSchoolHostClub'' 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 ''Literature/AliceInWonderland''. What makes the episode really neat is its use of [[FridgeLogic 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 ''Anime/{{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 ''Series/{{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.
* A [[WhatCouldHaveBeen possible ending]] for ''Anime/{{Pokemon}}'' when it was only meant to be one arc long used this. It involved an old Ash reminiscing about his childhood, and remembering the series. The series had mostly been the fantasy of a boy that had faded as he had aged. It would end with Ash closing his eyes, hearing his mother's voice, and a young Ash running off to [[AndTheAdventureContinues another adventure]].
* In ''Manga/RanmaOneHalf'', 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 MagicMirror to TimeTravel. 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 ''Manga/SayonaraZetsubouSensei'''s second season.
* Creator/JunjiIto's first two stories involving Souichi and the Tsujii family, ''Secret of the Haunted Mansion'' and ''The Souchi Front'', were both {{Retcon}}ned into being a dream. This was largely done because the characters underwent a massive GenreShift from outright horror to LighterAndSofter BlackComedy, 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 ''LightNovel/ShakuganNoShana'' 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 ''Manga/{{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.
* ''[[{{Franchise/Anpanman}} 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 ''Manga/ToLoveRu'':
** 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 ''Anime/TheTowerOfDruaga''.
* Many episodes of ''Manga/UruseiYatsura'' 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 ''Manga/SchoolLive'' follows [[SchoolgirlSeries 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 ZombieApocalypse, and that the scenes of normal school life are [[HappyPlace the delusion]] Yuki's mind has created to [[ShellShockedVeteran shut out the trauma]].

[[folder:Card Games]]
* ''TabletopGame/{{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 Creator/RobinWilliams' 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:
--> ''[[Film/TheWizardOfOz "Dorothy, wake up."]]''

[[folder:Comic Books]]
* The last issue of ''ComicBook/Gen13'', vol. 1 combined this with a DownerEnding: 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 DeathTrap 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 CoversAlwaysLie, they'd usually find some ''other'' cop-out that meant the events still weren't what they seemed.
* ''ComicBook/{{Supergirl}}'':
** ''ComicBook/SupergirlCosmicAdventuresInThe8thGrade'': In the beginning of chapter 2, Comicbook/{{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 ''[[ComicBook/Supergirl2005 Supergirl Vol. 5]]'' issue #22 Kara gets hit by a train and all of sudden sees herself surrounded by her friends of the ''ComicBook/{{Legion Of Super-Heroes}}''. She's happy until Lightning Lad tells her that she is dreaming.
** ''ComicBook/{{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 ''Comicbook/IncredibleHulk'' was retconned in this manner, with Creator/PeterDavid's subsequent run explaining that it was all a hallucination brought on by Nightmare.
* The high-profile ''Franchise/{{Batman}}: RIP'' storyline is (among other things) an attempt to bring the wackier [[UsefulNotes/TheSilverAgeOfComicBooks 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.
* ''ComicBook/TomStrong'' 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 [[CuckooNest 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 BigBad 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 ''Series/BuffyTheVampireSlayer''.)
* ''ComicBook/TheSandman''. Quite a bit of it really is just a dream, but that doesn't make it any less real. "I give you - [[http://en.wikipedia.org/wiki/List_of_characters_in_The_Sandman#Alex_Burgess 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 [[ContinuityCavalcade every one of the guests]] waking up - [[TheFourthWallWillNotProtectYou even the reader]].
* Two ''Comicbook/{{Spawn}}'' issues written by Creator/NeilGaiman and Creator/GrantMorrison has Spawn dying accidentally after a fight with an angel warrior, and goes to a special level of Hell, where he finds all Creator/MarvelComics and Creator/DCComics superheroes imprisoned, and with help of [[LawyerFriendlyCameo 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 TheTeaser in ''Comicbook/QuantumAndWoody''. 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 ''Comicbook/TheFabulousFurryFreakBrothers'' 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 [[Comicbook/ThePunisher Punisher]] story where Frank goes back in time to the 30s thanks to Reed Richards and Nick Fury. He quickly infiltrates UsefulNotes/AlCapone'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 StartOfDarkness. Then he wakes up.
* The infamous ''ComicBook/SpiderMan'' storyline ''ComicBook/OneMoreDay'' had Peter and Mary Jane's marriage retconned in a deal with the devil. [[ComicStrip/SpiderMan 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 ''ComicBook/FishPolice''. 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 "WhatDidIDoLastNight" from Gill.
* ''ComicBook/ScoobyApocalypse'': [[spoiler: Issue 10]] is revealed at the end to primarily have been a fever dream.
* ComicBook/UsagiYojimbo: 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 [[OurDemonsAreDifferent 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 ''ComicBook/PaperinikNewAdventures'' "Time Escapes" are actually the demo of a TV show of the XIII century.
* ''ComicBook/JudgeDredd'': Played for BlackComedy 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".
* ''ComicBook/DisneyDucksComicUniverse'':
** 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 [[DirtyCop 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 [[AttackOfThe50FootWhatever giant coin-monster]], and Little Helper becoming a robotic MadScientist 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 [[OrWasItADream 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 ''ComicBook/AnimalMan'' by retconning it into a dream as a favor to the title character.
* ''ComicBook/{{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 Moment}}s in ''It's a Girl's Life''.

[[folder:Comic Strips]]
* [[https://garfield.com/comic/1999/05/13 Jon got a date]] and asked ''ComicStrip/{{Garfield}}'' to pinch him to be sure it wasn't a dream. It was.
* ''[[ComicStrip/LittleNemo 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 Creator/WinsorMcCay'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 Franchise/{{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 ''ComicStrip/BloomCounty'', 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 ''ComicStrip/FoxTrot'', parodying ''Literature/TheMetamorphosis'', has Jason waking up one morning to find he's turned into a miniature version of his sister, Paige. Midway through the story, he {{lampshade|Hanging}}s this trope by saying he's figured out that he's dreaming, because he thinks that if this were real, [[Series/TheXFiles Mulder and Scully]] would've come to investigate. (Dream-Peter then points out that Mulder and Scully [[ThisIsReality are TV characters]] -- and therefore [[ComicallyMissingThePoint only investigate incidents appropriate for primetime shows]]. Turning into a teenage girl is too horrific.)
* ''ComicStrip/CalvinAndHobbes'' has the memorable "A Letter From Santa" Sunday strip, where Calvin gets a letter from SantaClaus 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 [[InsomniaEpisode 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 ''ComicStrip/KnightsOfTheDinnerTable'' 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 [[GameMaster B.A.]] waking up.
* ''ComicStrip/WhatsNewWithPhilAndDixie''. In [[http://www.airshipentertainment.com/growf/growfcomic/strips/growf_20100523.jpg this strip]] Phil and Dixie have a CatapultNightmare to wake up from a dream (shown in previous strips) in which their {{Character Alignment}}s were changed to Evil.

[[folder:Fan Works]]
* The [[FixFic fanfiction]] story [[https://www.fanfiction.net/s/10203524/1/Our-Miss-Brooks-The-Reunion-Assembly "The Reunion"]] considers the entire fourth season of the television version of ''Series/OurMissBrooks'' to be All Just A Dream.
* There have been ''lots'' of fics inspired by ''Fanfic/{{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 ''FanFic/NobodyDies'':
** 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.
* ''Fanfic/SOE2LoneHeirOfKrypton'': 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|Trope}} in ''Fanfic/KyonBigDamnHero'', where Kanae was having a recurrent dream with parts... off. It was until after she kissed Kyon that she realized she was awake.
* Appears [[http://www.fimfiction.net/story/73406/rainbow-in-the-dark in the]] fic, ''FanFic/RainbowInTheDark'', 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 ''Anime/DragonBallGT'', right after Goku's HeroicBSOD and BigNo 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 DreamWithinADream as Goku has a run in with Film/DragonballEvolution's Goku. The short story is on [[http://rulkout1993.deviantart.com/gallery/#/d2y63de deviantART.]]
* In [[http://tvtropes.org/pmwiki/pmwiki.php/FanFic/HeartAndEye Heart and Eye]] Xander has a conversation with Willow that turns out to be result of heavy painkillers
* The ''WebVideo/StarTrekNewVoyages'' episode "To Serve All My Days", involving a delayed effect of RapidAging 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 ''Series/StarTrekTheOriginalSeries'' fanfic ''FanFic/MemoriesBornOfFire'', Spock has a nightmare about what would have happened if Kirk had not survived the ''kal-i-fee''.
* ''[[http://www.fimfiction.net/story/545/Equestria Equestria]]'' is a ''WesternAnimation/MyLittlePonyFriendshipIsMagic'' fan fiction that suggests that the eponymous world is actually the elaborate fantasy world that was to be the [[TheVerse 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..
* [[http://www.fanfiction.net/s/6515261/7/Dalton Chapter 7]] of ''FanFic/{{Dalton}}'' starts out like this.
* One "episode" of ''FanFic/CalvinAtCamp'' features Calvin falling asleep and dreaming that he is in an AffectionateParody of ''Series/{{LOST}}''. The readers are aware the entire time that it is a dream.
* ''Fanfic/CalvinAndHobbesTheSeries'' has the opening of "Camping Trip Part 2", a surreal TimeSkip.
* In ''Fanfic/TheDetectiveAndTheDiplomat'', Franchise/SherlockHolmes is trapped in [[Literature/{{Discworld}} 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 ''Fanfic/{{Weightless|MassEffect}}'', 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.
* ''FanFic/EdAbuse'': And by the last person you would expect it to be.
* In the stories ''Your Worst Nightmare'', ''The Love Triangle'' and ''Dream Away'' of ''[[Fanfic/TheLionKingAdventures The Lion King Adventures]]'', dreams are used by villains to try and defeat Simba.
* {{Discussed|Trope}} in ''FanFic/DirtySympathy'' 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 ''FanFic/MegaManRecut'', Future Shock ''may'' be this; it's ambiguous.
* In ''FanFic/TheDearSweetieBelleContinuity'', most of "The Sin of Envy, or a Mother's Love" is this, courtesy of a demon.
* In ''[[https://www.fanfiction.net/s/4496567/1/Midnight-Savior 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.
** In a similar fanfic ''[[https://www.fanfiction.net/s/12763003/1/Dead-Man-Switch Dead Man Switch]]'', it turns out to be Kim's nightmare. She dreamt about how far Ron was willing to go to avenge Kim when she was taken to Lorwardia during "Graduation" to be [[OffWithHerHead beheaded]] and [[HumanHeadOnTheWall mounted as a trophy]]. [[spoiler: Also the [[CrapsackWorld state Earth has become]], since after they executed Kim, the Lorwardians forced the humans to [[LotteryOfDoom tribute them by sending 15 teenage girls to be beheaded]], have their heads mounted, and [[ImAHumanitarian feasts on their headless bodies]].]]
* The first chapter of ''Fanfic/ANewWay'' is a dream of Chrysalis's, viewed by Luna, though this is not immediately apparent.
* In ''[[https://www.fanfiction.net/s/8966727/18/Vengeance-from-the-grave 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 {{FanFic/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 ''Fanfic/MegsFamilySeries''. ''Boyfriend'' had a chapter that turned out to be Zack's AdventuresInComaLand, and ''Family'' had ''The Obligatory Zombie Chapter'', which was Maddie's nightmare (considering [[KillEmAll 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 [[StatusQuoIsGod nothing has changed]]. Brian is not amused.
* In ''Fanfic/OrSomethingSeries'', the events of ''A Crossdresser'' are all just Yang's dream.
* In ''Fanfic/AdviceAndTrust'', 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 ''Series/{{House}}'' fanfic "It's Time You Got A Life" is Chase's dream.
* [[WebVideo/YuGiOhTheAbridgedSeries Marik's "Evil Council" Video #4]] turns out to be Bakura dreaming about them actually killing Yugi.
* ''FanFic/FantasyOfUtterRidiculousness's'' Alternate Ending, depicting [[VideoGame/{{Touhou}} Patchouli]] trapped in [[WesternAnimation/MegasXLR Jersey City]] after the Scarlet Devil Mansion's library is destroyed, turns out to be this.
* The ''Phineas and Ferb'' Valentine's day fic [[https://www.fanfiction.net/s/9002326/1/Lovey-Dovey 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.
* ''FanFic/{{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 ''Literature/LandOfOz'' oneshot ''[[http://archiveofourown.org/works/256453 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 [[TakeThat pokes fun]] at this trope and [[Film/TheWizardOfOz the MGM film]].
* Averted in the aptly named story Fanfic/ADream. 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.

[[folder:Films -- Animation]]
* ''Disney/AliceInWonderland'': 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).
* ''WesternAnimation/AnAmericanTailFievelGoesWest'' is written off as a dream Fievel had in the third ''An American Tail'' movie, ''WesternAnimation/AnAmericanTailTheTreasureOfManhattanIsland''. But there was a TV series with the Wild West theme that aired prior to the 3rd movie (FridgeBrilliance 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).
%%* Averted in ''WesternAnimation/{{Epic}}''. MK just really, really wishes it was.
* The ending of Disney's ''Disney/PeterPan'' 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 [[YearInsideHourOutside 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 [[MaybeMagicMaybeMundane ambiguous]], though.
* In ''WesternAnimation/TheYearWithoutASantaClaus,'' the ending reveals the whole thing was just a dream that SantaClaus 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.
* ''Anime/LittleNemoAdventuresInSlumberland'' 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 Creator/HayaoMiyazaki 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).

[[folder:Films -- Live-Action]]
* Subverted in ''Film/FourteenOhEight'', 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.
%%* ''Film/The5000FingersOfDrT'', with one or two hints that it wasn't.
* Ripley's nightmare of having an alien rip out of her chest near the beginning of ''Film/{{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.
* ''Literature/AmericanPsycho'' effectively repackages this into "And it was all a psychotic hallucination". [[MindScrew Or was it]]?
* Related to this is the film ''Film/{{Atonement}}'' in which the entire conclusion of the plot (involving Briony taking back her evidence and Creator/KeiraKnightley 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 ''Film/{{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 RaceFilm ''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 ''Film/TheButterflyEffect''. At one point near the end of the film it looks like the story is gonna go out with a TwistEnding. 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.
* ''Film/TheCabinetOfDrCaligari'' gives a [[UnreliableNarrator particularly]] [[ThroughTheEyesOfMadness jarring]] [[CuckoosNest version]]. Notably this was because of the ExecutiveMeddling, 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 ''Film/{{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.
* ''Film/TheCompanyOfWolves'' 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.
* ''Film/CruelAndUnusual'': {{Discussed|Trope}} 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.
* ''Film/DeadEnd''. 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 [[TotalPartyKill nobody woke up in time to prevent the crash]].
* ''Film/TheDescent''. 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 ''Film/TheForbiddenKingdom''. 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 Creator/JackieChan 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.
* ''Film/GiveMyRegardsToBroadStreet''. 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 DreamWithinADream ''inside it.''
* In ''Film/{{Hackers}}'', the two main characters (played by Jonny Lee Miller and Creator/AngelinaJolie) each have erotic dreams about the other at the same time.
* The first twenty minutes of the ''Film/HalloweenII2009'' ends up being nothing more than a nightmare that the main character was having.
* Played very non-comedically in ''Film/{{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 ''Film/HellraiserInferno'' 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.
%%* ''Theatre/IMarriedAnAngel''
* Taken to '''[[OverlyLongGag the]]''' extreme with ''Film/{{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 ''Film/InvadersFromMars'' have the whole thing turn out to be a young boy's nightmare only to have the invasion [[OrWasItADream 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 ''Film/JacobsLadder'', 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.
%%* Hilariously played with in the ''Film/EnterTheDragon'' parody "A Fistful of Yen" in ''Film/TheKentuckyFriedMovie''.
* ''Film/{{Krampus}}'' after an [[EvilCounterpart evil version of Santa]] captured your entire family and send you to hell... it was just a nightmare... [[OrWasItADream or was it?]].
* ''Film/{{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 Creator/LaurelAndHardy's short films used this example: ''The Laurel-Hardy Murder Case'' and ''Oliver the Eighth''.
* At least three ''[[Film/TheLittleRascals Little Rascals]]'' films used this example: ''Seein' Things'', ''Mama's Little Pirate'', and ''Our Gang Follies of 1938''.
* Each sequence of ''Film/LivingInOblivion'' 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.
* ''Film/LunaticsALoveStory'' uses a lot of this for humor. "''[[SugarWiki/FunnyMoments You're having a nervous meltdown!]]''"
* ''Film/TheMatrix''. 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 ''Film/{{Mindscape}}'' is revealed to be the main character's memories being examined by a psychic.
* In ''Film/MirrorMask'' (boy, Creator/NeilGaiman sure loves dreams), Helena figures out pretty early on that the entire MagicalLand is all a dream, populated by [[AndYouWereThere 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 [[MindScrew plot]] of ''Film/MulhollandDrive'' 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 ''Film/{{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 ''Film/NightmareCity'' 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 ''Film/ANightmareOnElmStreet1984'' toys with the boundaries between dreams and the real world throughout the film. At the end, the FinalGirl wakes up and thinks her entire ordeal has been a dream. Then Freddy takes control of the car she's in...
* Most of ''Film/{{North}}'' is the title character's dream, unlike the original book, where the events did actually happen to the title character.
* Throughout ''Film/PansLabyrinth'', there are strong suggestions that certain aspects of the plot may be All Just a Dream. WordOfGod [[http://twitchfilm.net/archives/008507.html 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.
%%* ''Film/{{Phantasm}}''...[[MindScrew or was it?]]
* ''Film/ThePirateMovie'' (1982) is a kooky adaptation of ''Theatre/ThePiratesOfPenzance'' 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.
%%* A similar ending closes the movie ''Film/{{Reeker}}''.
* The last third of ''Film/RepoMen'' - 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.
* ''Film/RobotMonster'' -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.
* ''Film/RomyAndMichelesHighSchoolReunion'': 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 ''Film/RosemarysBaby''. 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.
%%* Reality and dreams are blurred in ''Film/TheScienceOfSleep''.
* A planned (but never filmed) AlternateEnding of ''Film/ScottPilgrimVsTheWorld'' removes the VideoGamePhysics and recasts Scott as an UnreliableNarrator, culminating in his being [[RealityEnsues 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 ''Film/SexMission'', 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 ''Film/{{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 ''Film/TheShining'', it sometimes got difficult to tell what was real and what were projections of the family's minds. [[http://rogerebert.suntimes.com/apps/pbcs.dll/article?AID=/20060618/REVIEWS08/606180302 Roger Ebert's review]] talks at length on the subject.
* Most of ''Film/ShoulderArms'' by Creator/CharlieChaplin, including all of Charlie's adventures in France, turns out to be Charlie's dream. [[{{Foreshadowing}} Foreshadowed]] when Charlie is shown lying down to sleep in boot camp before the film cuts to him in the trenches of UsefulNotes/WorldWarI.
* ''Film/SlaughterHigh'' ends with a reveal that is either this or an extended DaydreamSurprise.
* ''Film/TheSlayer'' -- The whole movie turns out to be [[DreamingOfThingsToCome a prophetic dream]] that main character had as a child.
* In ''Film/TheSmurfs2'', Smurfette turning into a Naughty turns out to be this.
%%* ''Film/{{Stay}}'': Of the DyingDream variety.
* ''Film/TallTale'': Right before a shoot-out with the BigBad and his mooks, Daniel loses consciousness and wakes up in the raft he fell asleep in back in the beginning. [[spoiler: 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 ''Film/ThirteenSeconds''. First, the main character is attacked by demons, and wakes up in bed. Later, a demon [[GroinAttack 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 [[TitleDrop 13 seconds]] it takes him to die of an overdose.
%%* Subverted and then unsubverted in ''Film/TheThirteenthFloor''.
* ''Film/TimeBandits'' 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 OrWasItADream 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 ''Film/TopSecret'': 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 ''Film/TotalRecall1990'' we are LeftHanging as to whether or not the entire film after the point Creator/ArnoldSchwarzenegger goes to Recall is real or a hallucination.
* ''[[Literature/{{Twilight}} 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 ''Film/UndiscoveredTomb''.
* ''Film/VanillaSky'' (2001), directed by Cameron Crowe and starring Creator/TomCruise. 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 ''Film/TheWizardOfGore'' is implied to be a brief dream of Montag's as he's starting his routine.
* ''Film/TheWizardOfOz'' is the most famous film example, though there is a ''wee'' bit of room for alternate interpretation. In [[Literature/TheWonderfulWizardOfOz 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 [[WillingSuspensionOfDisbelief to accept a straight-on fantasy like that]].
* In ''Film/TheWolfman2010'', Lawrence has quite a few hallucinations while recovering from his nasty little bite, as well as hallucinations in the asylum.
* Creator/FritzLang's 1944 noir ''Film/TheWomanInTheWindow'', complete with [[ButYouWereThereAndYouAndYou recognizing the people from his dream after waking up]]. Many sources report that UsefulNotes/TheHaysCode compelled Lang to use this ending, but Lang insisted that it was his idea.

* Many scholars interpret ''Literature/TheAeneid'', the [[NarrativePoem epic Latin poem]]/propaganda piece commissioned by Octavian to Creator/{{Virgil}}, as the [[URExample earliest example]] of a story being "all just a dream". Halfway into the poem, Aeneas [[ToHellAndBack 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 GettingCrapPastTheRadar.
* One of the classic uses of All Just a Dream in children's literature is ''[[Literature/AliceInWonderland 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.
* OlderThanFeudalism: The most famous anecdote by Chinese Daoist philosopher Creator/{{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 Creator/StanislawLem:
** ''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 ''Literature/TalesOfPirxThePilot'', the first story features this. Pirx's first spaceflight was just a simulation, he didn't know that though.
* Towards the end, Creator/NeilGaiman's ''Literature/{{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 ''Literature/SpaceMarineBattles''' ''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|Trope}} in the original ''Literature/TheChroniclesOfThomasCovenant''; 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|Trope}} in ''Literature/MaximumRide''. A group of scientists unsuccessfully attempt to convince the protagonist that the events of the entire past three books were all a dream.
* In ''Literature/HarryPotterAndThePhilosophersStone'' 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 ''Literature/HorusHeresy'' 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 "Literature/AnOccurrenceAtOwlCreekBridge" by Creator/AmbroseBierce, the protagonist (a [[UsefulNotes/TheAmericanCivilWar 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 [[DyingDream hallucination]] between the moments of him being dropped and the noose snapping his neck.
* Creator/OHenry's short story ''The Roads We Take'' is about a [[TheWildWest Wild West]] TrainJob 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, [[IronicEcho repeating]] the phrase "Bolivar cannot carry double".
* The sequel to ''Film/RosemarysBaby'', ''Son of Rosemary'', makes ''both'' books All Just a Dream.
* ''Literature/JacobTwoTwo Meets The Hooded Fang'' by Mordecai Richler, has the the children's prison island as a dream sequence.
* One of Creator/CharlesDickens'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. Creator/BeverlyCleary didn't seem to like this trope, either.
* Creator/GKChesterton's ''Literature/TheManWhoWasThursday: A Nightmare''. You can't say he didn't warn you -- and he woke very oddly.
* Creator/MarkTwain's ''Literature/TheMysteriousStranger'' [[StrawNihilist 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 Creator/CSLewis' ''Literature/TheGreatDivorce'', the narrator meets with Creator/GeorgeMacDonald -- who [[TalkingInYourDreams solemnly warns him]] that it is All Just a Dream and he must make it clear when he tells the story in RealLife, so that people don't take his visions of Heaven and Hell and take them as religious doctrine.
* In Creator/JulioCortazar'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 ''[[LightNovel/HaruhiSuzumiya 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 Creator/JohnVarley's ''Literature/SteelBeach'' 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.
* ''Literature/{{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.''
* ''Literature/GodelEscherBachAnEternalGoldenBraid'' 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 ''Literature/AtlantaNights'' 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 [[AnachronicOrder follow the same plotline as]] [[PlotHole the first 38 chapters]].
* ''Literature/ThePilgrimsProgress'' 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 Creator/RobertEHoward's ''Literature/TheTowerOfTheElephant'', Franchise/ConanTheBarbarian 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 ''[[Literature/{{Bunnicula}} 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 ''Literature/TheLatheOfHeaven''. 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 ''Literature/{{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.
* ''Literature/AnElegyForTheStillLiving'' implies that this is the case without ever openly stating it, and the ending is left rather open ended on the subject.
* Justified in Creator/FrederikPohl'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.
* ''Literature/{{Goosebumps}}'':
** This is played with in [[Series/{{Goosebumps}} 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 MindScrew, 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.
%%* Creator/AlexanderPushkin's short story ''The Undertaker''.
* ''Literature/TheBoxOfDelights'' 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.
* ''Literature/AbrahamLincolnVampireHunter'': If main characters are randomly killed by vampires, expect to soon read "Abe awoke with a start."
* Flipped in ''Literature/GalaxyOfFear: 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 [[BadDreams quickly becomes much worse]].
* In his essay "Literature/OnFairyStories," Creator/JRRTolkien 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 FairyTale, 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: [[WishFulfillment the realisation, independent of the conceiving mind, of imagined wonder.]]
* ''[[Literature/WhatWereTheyThinkingThe100DumbestEventsInTelevisionHistory What Were They Thinking? The 100 Dumbest Events in Television History]]'' lists the ''Series/StElsewhere'' and ''Series/{{Dallas}}'' examples (see below) at number 27 and 2, respectively.
* Sent up by Creator/RobertRankin in ''Armageddon, The Musical''. A planet of aliens have been controlling Earth so they can watch us as a soap opera. [[ExecutiveMeddling Meddling executives]] decide that allowing WorldWarIII was a mistake and try to [[ContinuityReboot reboot]] the series by having Music/{{Elvis|Presley}} 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 AnachronismStew.
* ''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 [[FramingDevice framed]] as an AuthorAvatar's dream and is written in PurpleProse, with heavy use of flashbacks and flashforwards. But the story itself is not dreamlike, it's completely realistic and evidently based on real events.
* ''[[Literature/AMagesPower 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 [[TricksterArchetype Tasio]] delivers his MagicStaff and SpellBook to his front door.
* In the utopian novel ''Literature/NewsFromNowhere'', the narrator goes to bed and wakes up in an {{Arcadia}}n 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 ''Literature/TheGirlFromTheMiraclesDistrict'' when it turns out that Nikita's entire visit to Asgard happened while she was in a magically-induced coma, but because AstralProjection and TalkingInYourDreams are both a thing in this universe, all of her interactions with gods, giants and so on are real.
* Most of the novella ''Literature/ATasteOfHoney'' 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 ''Literature/TheDivineComedy'' 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 ([[WillingSuspensionOfDisbelief 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 Literature/TheBible -- and indeed, there are a number of dreams like this in-story, particularly in the ''Purgatorio''); or any number of variations on this.

[[folder:Live-Action TV]]
* In an episode of ''Series/TheFortyFourHundred'', 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 ''Series/AceOfCakes'' 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".
* Creator/{{MTV}} Europe's edition of ''Alternative Nation'' did this at the end of a special Music/{{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 ''Series/{{ANT 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.
* ''Series/{{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 ''Series/ArmyWives'' 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.
* ''Series/{{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 BadFuture 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.
* ''Series/{{Awake}}'' mixes this with OrWasItADream, and [[AlternateUniverse dual realities]] as its main premise.
* ''Series/BattlestarGalactica2003'': At the beginning of "Collaborators" Adama, Tigh and Roslin are telling Dr. Baltar that they forgive his [[TheQuisling 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 [[DrivenToSuicide tries to hang himself]] and wakes up in a [[BrainUploading 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.
* ''Series/BestFriendsWhenever'': 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. [[DreamWithinADream It then appears to be Naldo's dream as he wakes up in the yard.]]
* In ''Series/{{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.
* ''Series/{{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 ''Series/BoyMeetsWorld'' 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 ''Series/BreakingBad'' (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 ''Series/MalcolmInTheMiddle'' 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 [[Series/{{Newhart}} 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 ''Series/TheShield''", and there was this kid who said "[[ThisIsForEmphasisBitch the b-word]]" a lot.
* British surreal comedy series ''Series/TheBrittasEmpire'' 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.
* ''Franchise/{{Buffyverse}}'':
** In the ''Series/BuffyTheVampireSlayer'' season 6 episode "[[Recap/BuffyTheVampireSlayerS6E17NormalAgain Normal Again]]", it is suggested that the entire series is a [[CuckooNest hallucination of the main character]], who is living in a mental institution and has power fantasies of saving the world with her imaginary friends. The episode's end leaves room for interpretation as to which existence (Buffy's life as a vampire slayer, or her life as a mental patient) is really All Just a Dream. [[WordOfGod Joss Whedon]] [[MindScrew has outright stated that either one is a definite possibility]].
** In season 4 of ''Series/{{Angel}}'', early in one episode they hire a shaman to help unleash Angel's EnemyWithin, but at the last moment instead of casting the spell he betrays them and attacks. The events that follow during the episode actually solve all the problems of the season's arc, right down to a soapy heroic happy ending. The episode reveals to the viewers that it was all "just a dream" when [[DoubleEntendre it climaxes with Angel experiencing a moment of perfect happiness]], causing him to lose his soul, waking up as the evil Angelus still chained down to the table at the beginning of the episode. [[JustifiedTrope The dream was an illusion created by the shaman, to do exactly what they hired him for.]]
* ''Series/ElChavoDelOcho'': 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 ''Series/ChinaBeach'' season 3 finale episode "Strange Brew" may have been a shared dream (after [[ShellShockedVeteran Colleen McMurphy]] and [[HookerWithAHeartOfGold 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 TheSixties.
* The ''entire premise'' of ''[[{{Toku}} Choukou Senshi Changerion]]'' is this trope, which sparked a number of angry letters to Toei!
* ''Series/{{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.
* ''Series/TheCosbyShow'' did a number of these, normally precipitated by Cliff's consumption of a large sandwich near bedtime.
* The second failed resurrection of ''Crossroads''[[note]]Buried, as it were, at the crossroads.[[/note]], a British SoapOpera, 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 [[AbortedArc 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 ''Series/CSICrimeSceneInvestigation'' 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 ''Series/TheDailyShow'' featured Creator/SteveCarell's greatest fears (including Creator/StephenColbert [[HilariousInHindsight taking over the show]]), leading to him waking up in terror -- next to Creator/JonStewart.
* ''Series/{{Dallas}}'' infamously undid a season this way. Patrick Duffy left the show, and they had [[DroppedABridgeOnHim 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 snarl}}s and messing up the SpinOff, ''Series/KnotsLanding'', 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.
* ''Series/DarkAngel'':
** The HalloweenEpisode 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 ''Series/TheBradyBunch'' 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.
%%* ''Series/TheDickVanDykeShow's'' classic ''Series/{{The Twilight Zone|1959}}'' parody "It May Look Like a Walnut".
* ''Series/DoctorWho'':
** The entirety of Season 23 is revealed in [[Recap/DoctorWhoS23E4TheUltimateFoe "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 [[Recap/DoctorWhoS23E2Mindwarp "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 [[HarsherInHindsight in retrospect]], Freud would have had a field day with.
** [[Recap/DoctorWhoS30E8SilenceInTheLibrary "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.
** [[Recap/DoctorWhoS31E7AmysChoice "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, [[CharacterDevelopment Amy realizing that she does, in fact, love Rory]] is NOT ResetButton-ed, so it's all okay.
** [[Recap/DoctorWho2014CSLastChristmas "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 ''Series/{{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.
* ''Series/{{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.
* ''Series/{{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 - [[SubvertedTrope and the camera panning out for a]] BedmateReveal.
* ''Series/FreddysNightmares'' overused this to the point of inverting it. The trope was so ridiculously commonplace that [[TwistEnding the real twist]] was when an episode ''didn't'' turn out to be just some random character's dream/hallucination/daydream/DyingDream.
* ''Series/{{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 ''Series/GilmoreGirls'': 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.
* ''Series/TheGoldenGirls''' "Mrs. George Devereaux", wherein Blanche's husband George comes BackFromTheDead, 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 [[Series/TheCarolBurnettShow Lyle Waggoner]] and Music/SonnyBono. Blanche [[RecurringDreams 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 ''Series/GreysAnatomy'': Meredith, who finally concluded that she [[TheyDo 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, [[CaptainObviousReveal 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?
* ''Series/GrowingPains'' 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.
* ''Series/HannahMontana'':
** 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 [[RoadTripPlot 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 Music/MileyCyrus (played by a different actor).
* ''Series/HappyDays'' somehow managed to SpinOff ''Series/MorkAndMindy'' from an All Just a Dream episode. Though ThatWasNotADream 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. TheSeventies when ''Series/MorkAndMindy'' 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.
* ''Series/{{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 ''Series/IDreamOfJeannie''. 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.
* ''Series/{{Jessie}}'':
** The series has the titular character dream a ''Film/{{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 [[FreakyFridayFlip 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.
* ''Series/KamenRiderRyuki'''s Hyper Battle Video ends with this. For good reason too, since the Kamen Riders [[OOCIsSeriousBusiness were acting like a Sentai team]] and Ryuki wound up crossing over with Series/KamenRiderAgito to fight an EvilTwin. With those outlandish concepts, how could it ''not'' be a dream?
* Creator/CraigFerguson ended his final episode as host of ''Series/TheLateLateShow'' with this. His entire time hosting the show was all just a dream... of [[Series/TheDrewCareyShow 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 [[Series/ThePriceIsRight became a game show host]], and most frightening of all... ''[[FauxHorrific 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 [[Series/StElsewhere 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 ''Series/{{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 ''Series/TheLegendOfDickAndDom'' 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 BigBad has stolen the MacGuffin and put them to sleep (and apparently given them a communal dream) to delay their pursuit.
* ''Series/LifeOnMars2006'' 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 [[CreepyChild 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 [[EpilepticTrees one of the dozens of others]].
** Something very similar occurs in ''Series/AshesToAshes''.
** The finale of the [[Series/LifeOnMars2008 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 ''Series/{{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 ''Series/MacGyver1985'' in which the title character dreams of his [[IdenticalGrandson lookalike ancestor]] ends with an OrWasItADream moment when he woke to find he now possessed his ancestor's distinctive pocketknife.
* Also done on ''Series/{{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".
* ''Series/TheMagicians'' episode "The World in the Walls" varied this by the dream being due to Magic.
* There are quite a few in ''Series/MarriedWithChildren''.
** Nearly half of an entire season was made "just a dream", though justified as a case of RealLifeWritesThePlot. 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. StatusQuoIsGod and it was just a dream of his (this one was the season-erasing resolution).
** Another has Al making a deal with the Devil (Creator/RobertEnglund) 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.
* ''Series/{{Matlock}}'' had "[[ExactlyWhatItSaysOnTheTin 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 ''Series/{{Medium}}'' begin this way. Annoyingly, a few end this way as well.
* In the ''Series/MontyPythonsFlyingCircus'' [[http://cycling.finial.com/stuff/mpcyclingtour.php "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 ''[[http://www.imdb.com/title/tt0243434/ 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 [[FishOutOfTemporalWater 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 CiCi.
* This trope's application in the ''Series/{{Newhart}}'' episode "The Last Newhart" resulted in what is widely considered one of the best series [[GrandFinale finales]], ever. In the end it was revealed that the entire show was a nightmare of Robert Hartley, the star of ''Series/TheBobNewhartShow'', also played by Bob Newhart. Interestingly, ''Series/TheBobNewhartShow'' received a crossover from ''Series/StElsewhere'', which combined with the previous entry could make ''Series/{{Newhart}}'' a DreamWithinADream.
* ''Series/NightVisions'': 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 [[AndYouWereThere 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.
* ''Series/NorthernExposure:'' Most episodes had dream sequences; "[[spoiler: Joel et Jules]]" was an episode-length dream sequence.
* ''Series/OurMissBrooks'': The episodes "Magic Christmas Tree" and "Trying to Forget Mr. Boynton".
* At the end of the fourth season of ''Series/{{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.
* ''Series/PersonOfInterest'':
** 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 head...at 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.
* ''Franchise/PowerRangers'':
** "For Whom The Bell Trolls" in Season 1 of ''Series/MightyMorphinPowerRangers''.
** It's left ambiguous as to whether "The Wild Wipeout" in ''Series/PowerRangersNinjaStorm'' was this or not.
* ''Series/ThePretender'' 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.
* ''Series/ThePrisoner2009'': 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 ''Series/RedDwarf'' 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 ''Series/{{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 ''Series/{{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 [[DreamWithinADream 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.
* ''Series/{{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 ''Series/RoundTheTwist'' 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 FramingDevice within the dream - Pete telling the story of how his mouth was shrunk.
* One episode of ''Series/SabrinaTheTeenageWitch'' has this ending, negating the revocation of her witch's license. A flying banana, witnessed in an earlier dream sequence, tipped her off.
* ''Series/SaturdayNightLive'':
** 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 OrWasItADream 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 ''Series/MelrosePlace'' and then wakes up wearing Heather Locklear's outfit.
** A ''Series/SaturdayNightLive'' Digital Short parodied this. [[Creator/EllenPage 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 ''Series/{{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.
* ''Series/{{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 BoyBand that [[SpinOff spun off]] from the series never existed at all.
* ''Series/ShakeItUp'':
** 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 ''Series/SirArthurConanDoylesTheLostWorld'' 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 ''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."
* ''Series/{{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 Opera}}s 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 AffectionateParody and the {{Deconstruction}}, the whole thing was played for laughs, with the ghost characters of the people who died during the story lampshading the TwistEnding and openly decrying it in a full rupture of the FourthWall. 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 [[KarmaHoudini 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 [[GroundhogDayLoop are going to happen in the same way]]. Naturally, none of the viewers were happy with this.
* ''Series/TheSopranos'' 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.
* ''Series/{{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 ResetButton.
* ''Series/StargateSG1'':
** 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 [[LowerDeckEpisode get mixed up in one of SG-1's adventures]], rescuing the team, discovering that [[UnwantedRescue 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: [[http://www.gateworld.net/sg1/s6/608.shtml 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.
* ''Franchise/StarTrek'' as a whole has the "All Just a Holodeck Simulation" version.
* ''Series/StarTrekDeepSpaceNine''
** 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.
* ''Series/StarTrekTheNextGeneration''
** 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 [[SugarWiki/HeartwarmingMoments 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.
* ''Series/StarTrekVoyager'':
** 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. [[FlatlinePlotline 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.
* ''Series/StarTrekEnterprise'':
** 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 ''Series/StElsewhere'' 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 [[http://yujinishuge.files.wordpress.com/2011/02/crossoversscaled.jpg 282 shows]] were figments of Tommy Westphall's imagination, including both ''Series/BuffyTheVampireSlayer'' and ''Series/DoctorWho'', 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 out}}s as linkage. [[http://www.poobala.com/crossoverlist.html 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 Opera}}s. The soap ''Series/SunsetBeach'' 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 AndYouWereThere)... 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 ''Series/{{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.
* ''Franchise/SuperSentai'': Zig-zagged in ''Series/HikoninSentaiAkibaranger''. 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 [[NoticingTheFourthWall TV show]], which is [[ExecutiveMeddling being altered by the Toei production staff!]]
* The first episode of ''Series/TerminatorTheSarahConnorChronicles'' 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 ''Series/TheSuiteLifeOfZackAndCody'', it is implied that the Wish Upon a Star Creator/DisneyChannel episode "Super Twins" was Zack's dream.
* ''Series/{{The Twilight Zone|1959}}'':
** In the episode "[[Recap/TheTwilightZoneS1E1WhereIsEverybody 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 [[spoiler:He's hallucinating while in an isolation chamber testing the stresses of long solitary spaceflight]]
** In TOS episode "[[Recap/TheTwilightZoneS4E108DeathShip 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 KarmicTwistEnding? 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 -- "[[Recap/TheTwilightZoneS3E75TheMidnightSun 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 [[Recap/TheTwilightZoneS1E9PerchanceToDream "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. [[OrWasItADream 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?
* ''Series/{{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 ShootTheDog 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 [[GreenRocks crystal]] found at a UFO crash site causes Commander Straker to hallucinate that he is [[BreakingTheFourthWall an actor in a science-fiction TV series]].
* An episode of ''Series/{{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.
* ''Series/WalkerTexasRanger'' 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 [[HeroicSacrifice foiling the villains' plans anyway]]. When Walker's wife wakes up at the end of the episode, you find out that it may [[OrWasItADream end up coming to pass anyway]].
* ''Series/TheWildWildWest'' episode "[[Recap/TheWildWildWestS2E12TheNightOfTheManEatingHouse 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 [[OrWasItADream approaching the house again]].
* The penultimate episode of ''Series/WithoutATrace'''s third season does this, as Jack Malone is trying to deal with his demons.
* One episode of the Charlie Drake BritCom ''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).
* ''Series/TheXFiles'' is fond of doing this.
** In one episode, Mulder and Scully have [[LotusEaterMachine fungus-inspired hallucinations]].
** In "Triangle" Mulder wakes up in a hospital after apparently going back in time and [[AndYouWereThere meeting his friends and enemies]] as heroes or villains on a UsefulNotes/WorldWarII liner. Naturally no one believes him, but Mulder can't help smiling when he feels the bruise on his cheek where past-Scully gave him a MegatonPunch after he [[NowOrNeverKiss stole a kiss from her]].
%%* Likewise at the end of ''Series/TheYoungOnes'' episode "Interesting" where Neil experiences something similar as he is about to be kicked in the head by skinheads.

* 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... [[OrWasItADream how'd I get a jersey with the name O'Neal?]]")
* Music/ThePresidentsOfTheUnitedStatesOfAmerica have "Basketball Dream", which appears as a HiddenTrack on the album II. It features Chris Balleau's son talking about a dream he had where he met Magic Johnson.
* [[http://www.mesozoicmind.com/ 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!''
* Music/BritneySpears 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''
* Music/{{REM}}, "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 ExecutiveMeddling in the Music/BillieHoliday cover of "Gloomy Sunday", the lyrics of which were used in most subsequent English-language covers. After the protagonist is DrivenToSuicide, a third verse is tacked on to appease publishers, in which the suicide is revealed to have been a dream.
* Music/{{Metallica}}: "Enter Sandman" and "Ride the Lightning".
* "One More Red Nightmare" by Music/KingCrimson, 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 ''Music/MichaelJackson's Music/{{Thriller}}'' is this, or a subversion?
* Music/WeirdAlYankovic's "Eat It" video, a parody of Music/MichaelJackson's song/video "Beat It", ends with Al waking up with a bellyache and popping a couple of Alka-Seltzer.
* The video to The Music/{{Scorpions}} song "No One Like You".
* The music video for Gorillaz's "Dare" is a DreamWithinADream.
* Converge's music video for "Eagles Become Vultures" probably applies, though it's more of a waking fantasy than a dream.
* The video for Music/ThreeDaysGrace's "Animal I Have Become".
* The music video for Music/{{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.
* Music/KatyPerry:
** 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.
** 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 JunglePrincess. At the end, we see Katy waking up next to an airplane window only to find out that the events of the video [[OrWasItADream 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 [[SexDrugsAndRockAndRoll filled with alcohol, stripping and a bit of pole-dancing]].
* The Music/BarenakedLadies' video for "Shoebox" is a dream of the girl who sneaks out on her date.
* Music/{{Dokken}}'s video for "[[https://www.youtube.com/watch?v=noLPhZvcBpw Dream Warriors]]" winds up being a nightmare that [[Franchise/ANightmareOnElmStreet Freddy Krueger]] is having.
* The video for Live's "Run To The Water" turns out to be Ed Kowalczyk's dream.
* The video for Music/MileyCyrus' "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. [[OrWasItADream Then pictures she took while in the dream world start coming out of the printer.]]
* The video for Music/{{Maroon5}}'s "Makes Me Wonder" features this. With gratuitous {{fanservice}}.
* In her song "[[http://www.youtube.com/watch?v=0dfZ9BXaNyE Moon Trance]]", Music/LindseyStirling shortcuts through a CreepyCemetery with her friends. She encounters [[TheDeadCanDance 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 Music/TupacShakur has this revelation as well.
* The video for Chromeo's "When The Night Falls" has this revelation.
* Muisc/CelineDion's first single, ''Ce ne'tait qu'un reve'', actually translates into this (Nothing But a Dream).
* The video for Music/BillyJoel's ''Sometimes a Fantasy''.
* A few Music/FallOutBoy music videos end like this. Specifically, “[[https://www.youtube.com/watch?v=aVbPvf2aYH4 The Takeover, The Break's Over]]”, “[[https://www.youtube.com/watch?v=GNm5drtAQXs This Ain't A Scene, It's An Arms Race]]”, and their cover of Music/MichaelJackson's “[[https://www.youtube.com/watch?v=sk8Pb17pcQI Beat It]]”.
* The obtuse song "Madame Merry-Go-Round" in the Franchise/EvilliousChronicles by Music/{{Vocaloid}} produce Music/{{mothy}} is [[AllThereInTheManual explained]] to be Gammon Octo's (probably) prophetic dream about what will happen when the Clockworker's Doll achieves her utopia.
* Music/DanielAmos' album ''Music/{{Alarma}}'' includes a short story in the liner notes, which is presented as a dream-vision akin to [[Literature/BookOfRevelation 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.
* Music/DiamondRio'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 Music/{{Unearth}}'s "Zombie Autopilot" reveals that large chunks of it, most notably the OfficeDrone 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 Music/SimonAndGarfunkel, when taken literally, consists of the singer narrating the events of a nightmare he had.
* Music/{{BIGMAMA}}'s "(50) days of flower," a song about the singer's run in with an angel who'd lost her wings [[CallBack the last time they met]], turns out to be:
---> ''"One morning the angel left'' [[labelnote:jp:]]Aru asa tenshi wa dekaketa yo[[/labelnote]]
---> ''And never came back'' [[labelnote:jp:]]Sorekiri kaeranai kedo[[/labelnote]]
---> ''It was all just a dream'' [[labelnote:jp:]]Subete ga zenbu yume ochi datte[[/labelnote]]
---> ''But it wasn't so bad."'' [[labelnote:jp:]]Soredemo warukunai you na[[/labelnote]]
* ''Music/KidsPraise'': In the fourth album, an ambitious gospel singer falls asleep while trying to write a song, and has a dream that a ConMan tricks her into signing a contract that quite ''literally'' traps her! She wakes up screaming her lungs out.

[[folder: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, RealLife is just a sort of dream state.

[[folder:Puppet Shows]]
* ''Series/CaptainScarletAndTheMysterons'' 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 CompilationMovie for the American market, the episode ended up with the ResetButton 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 ''Series/{{Supercar}}'', ''three'' of ''Series/{{Stingray 1964}}'', two of ''Series/{{Joe 90}}'', one of ''Series/{{Terrahawks}}'', two of ''Series/{{UFO}}'' as noted under Live-Action TV, and one of ''Series/{{Space 1999}}'' where the events of the episode turn out to be dreams, hallucinations or implanted visions.
* The ''Series/{{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 ''Radio/AdventuresInOdyssey'' 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 ''Radio/AdventuresInOdyssey.'' 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.

[[folder:Tabletop Games]]
* The "Forced Dream" spell from ''TabletopGame/DungeonsAndDragons'' retroactively turns unsatisfactory events into All Just A Dream.
** Fans have adapted it to create a [[http://www.giantitp.com/forums/showpost.php?p=8142448&postcount=2 save point system.]]
* There's a particularly nasty {{subver|tedTrope}}sion in the "Here Be Dragons" haunt in ''TabletopGame/BetrayalAtHouseOnTheHill''. The traitor ''thinks'' they're dreaming, believes they can do whatever they want because it won't matter, and orders a dragon to kill all their friends, because why not? [[TemptingFate It's not like there are any consequences.]]

* Played with in ''Theatre/AngelsInAmerica'', with regards to Prior's visions and Harper's hallucinations. The work as a whole, for what it's worth, is ''not''.
* In ''Theatre/{{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 ''Theatre/TheNutcracker'' 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 [[http://www.huboftheuniverseproductions.com/rec_rshoh.html 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 ''[[http://www.korngold-society.org/synopsis2.html 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 ''Theatre/AvenueQ'', 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 ''Theatre/AMidsummerNightsDream'' 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.

[[folder:Video Games]]
* ''Dinosaur Forest'' reveals the adventures of the SpaceOpera protagonist had been a hallucination from a prison inmate undergoing severe mental health treatments.
* This is the entire premise for the ''VideoGame/NightsIntoDreams'' series.
* ''Franchise/TheLegendOfZelda'':
** In ''VideoGame/TheLegendOfZeldaLinksAwakening'', 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. WordOfGod 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.
** ''VideoGame/TheLegendOfZeldaPhantomHourglass'' '''looks''' like it pulls this in the ending cutscene, only to have Link [[OrWasItADream 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 ''VideoGame/TheLegendOfZeldaSpiritTracks'' featuring descendants of characters that appear in the predecessor, it's more likely an alternate universe.
* ''VideoGame/IsleOfTheWinds'' isn't entirely a dream, but the ruined Town Island and Windmillis.
* ''Franchise/SuperMarioBros'':
** In ''VideoGame/SuperMarioBros2'', 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 DreamLand that actually exists, and is visited by most people in dreams. Basically the adventure was real, Mario [[XAndFriends and friends]] arrived there though their dreams. This is further shown in the [[NoExportForYou Japan only sequel]] for Satellaview where the cast revisits Subcon to once again protect it from Wart.
** ''VideoGame/MarioAndLuigiDreamTeam'' 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 CatapultNightmare in a perfectly intact Zeepelin that has made a regular landing at Pi'illo Blimport.
* The ending of ''VideoGame/DisneysMagicalQuest'' 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 ''VideoGame/{{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 [[MercyKill mercy killed]] the woman.
* Taken very, very seriously and sadly in ''VideoGame/FinalFantasyX'', 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''.
* ''VideoGame/TwistedMetal'':
** Black'' seems like an AlternateContinuity to the main ''Twisted Metal'' series. In fact, various in-game hints reveal that the whole game occurs inside [[MonsterClown Sweet Tooth]]'s head.
** Roadkill's ending in ''Twisted Metal: Head On'' adds more MindScrew. It's suggested that the regular ''VideoGame/TwistedMetal'' continuity takes place inside the head of Sweet Tooth's alternate personality, Marcus Kane.
** In ''VideoGame/TwistedMetal 2'', Marcus Kane (driver of Roadkill) can see through the FourthWall 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, [[AndYouWereThere 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.
* ''VideoGame/{{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 SceneryPorn to colorful doodles. After the final showdown [[GiantSpaceFleaFromNowhere 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 ''VideoGame/DrawnToLife: 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 SugarWiki/{{Heartwarming Moment|s}}. 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]] The CompilationRerelease, on the other hand, has a way different ending: Mike and his sister Heather were outside catching fireflies, Mike accidentally falls off of a tree while trying to catch one, sending him in a coma. This ending was most likely changed due to the rating in the original game. [[/note]]
* One of the MultipleEndings to ''VideoGame/WarioLandII'' 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.
* ''VideoGame/ChronoTrigger'' 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 ''VideoGame/SilentHillHomecoming'', Alex is revealed to be a mental patient and the whole game was just a delusion, similar the Bad+ ending (DyingDream) in ''VideoGame/SilentHill1''. 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 ''VideoGame/SamuraiWarriors 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.
* ''VideoGame/StrongBadsCoolGameForAttractivePeople'' sort of pulls this in the final episode. Having slain Trogdor, whose very existence was causing the entire WebAnimation/HomestarRunner 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 [[AndYouWereThere 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 ''VideoGame/ShinMegamiTenseiIIINocturne'', 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 OrWasItADream.
* The "Lets H.A.N.G." and "Table for Six" events in ''VideoGame/GranblueFantasy'' 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.
* ''VideoGame/MissionCritical'' 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 SetRightWhatOnceWentWrong.
* The ''VideoGame/LinearRPG'' has a dose of this as a component of its overall StylisticSuck.
* The Japanese version of ''[=Ace Combat=] 3: Electrosphere'' (of the ''VideoGame/AceCombat'' 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.
* ''VideoGame/AmericanMcGeesAlice'', being the DarkerAndEdgier unofficial sequel to ''Literature/AliceInWonderland'' 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 ''VideoGame/VisionsAndVoices''; no one (except maybe Marlowe) can remember or understand what happened, but it really did happen.
* ''VideoGame/{{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 [[FanService 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 ''VideoGame/AWitchsTale'', the entire first playthrough is this, brought on by Queen Alice to test Liddell. The NewGamePlus 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 ''VideoGame/SpongebobSquarepantsCreatureFromTheKrustyKrab'', the entire story is found to be just a dream of [=SpongeBob=]'s, [[DreamWithinADream 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 UsefulNotes/PlayStation game ''The Adventures of Alundra'' or just ''VideoGame/{{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 ''VideoGame/RuleOfRose''; 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 ''VideoGame/HeavyRain'' turns out to be a DreamWithinADream when Madison wakes up after having her throat slashed.
* The opening to ''VideoGame/DragonQuestVI'' 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 DreamLand.
* ''[[VideoGame/{{Suguri}} 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 ''VideoGame/EscapeFromStMarys''. Two teachers disagree on whether it's an acceptable ending for a story, and the two turn to blows.
* Happens in ''VideoGame/SNKGalsFighters'', specifically in [[VideoGame/FatalFury Mai Shiranui's]] ending. Winning the tournament and the [[PlotDevice 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 [[CatapultNightmare 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 ''[[VideoGame/BlazBlueContinuumShift 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 [[TitleDrop all just a dream]].
* Played with in ''VideoGame/GoldenSunDarkDawn'' 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''.
* ''VideoGame/{{Disgaea 4|APromiseUnforgotten}}'''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 ''VideoGame/TheGreatGianaSisters'' 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.
* ''WesternAnimation/LooneyTunes'' games:
** ''VideoGame/SheepDogNWolf'' starts with [[WesternAnimation/RalphWolfAndSamSheepdog Ralph Wolf]] ending his shift, going back home, and watching television, only to be forcibly and suddenly taken by WesternAnimation/DaffyDuck 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.
** ''VideoGame/BugsBunnyInDoubleTrouble'' actually ''begins'' with Bugs sleeping in his bed and starting to drift off into a DreamSequence. In his dream, he has to outsmart familiar foes such as WesternAnimation/DaffyDuck, WesternAnimation/ElmerFudd, [[WesternAnimation/BullyForBugs Toro the Bull]], Gossamer, WesternAnimation/YosemiteSam (as a Vizier, Black Knight and even a MadScientist), and Marvin the Martian. After dealing with his final foe, the game ends with Bugs slowly waking up... only to find that the [[FantasyKeepsake giant carrot experiment]] [[OrWasItADream he first saw in his dream was real]], laying in front of his bed.
* One of the possible endings of ''VideoGame/TheStanleyParable''. [[DefiedTrope 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 ''VideoGame/NeverendingNightmares'', where bedrooms act as checkpoints (though this overlaps with DreamWithinADream). As plot is progressed, this trope is played straight as none of the MultipleEndings imply that it was nothing more than a nightmare.
* A subversion happens near the end of ''VideoGame/ADanceWithRogues'', 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.
* ''VideoGame/DreamingMary'' is set in Mary's DreamLand, with all the characters fully aware that it's a dream and welcoming her to it.
* Subverted in ''VideoGame/TheMatrixPathOfNeo'' 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 ''VideoGame/EtherOne'' 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.
* ''VideoGame/Prey2017'' turns out to have the entire game be nothing but a simulation to test a Typhon that has been infused with [[PlayerCharacter 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.
* ''VideoGame/DreamingSarah'' has this in the title, so the ending comes as TheUntwist. Throughout the game, there are hints that Sarah might be, in fact, dead. The game ends with her awakening.
* In ''VideoGame/RhythmHeaven 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 ''VideoGame/SongOfTheDeep'', 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.
* ''VideoGame/BatmanArkhamVR'' 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 ''[[VideoGame/BatmanArkhamCity Arkham City]]'' and ''[[VideoGame/BatmanArkhamKnight 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 RecurringRiff, 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 ''VideoGame/{{Bloodborne}}'' are repeatedly implied to be all just a dream. [[MindScrew 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 [[TheNightThatNeverEnds night of the hunt.]] When you're killed, you enter [[HubLevel The Hunter's Dream]] and, later on in the game, you also enter [[EldritchLocation The Nightmare Frontier as well as The Nightmare of Mensis]] and, in the DLC, you also access [[DarkWorld The Hunter's Nightmare.]] Finally, at the end of the game, your {{Mentor|Archetype}} 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 [[DreamLand alternate dimensions,]] no less real than the waking world.
* Val's ending in ''VideoGame/BlueRevolver'' 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 [[PlayingSick call in sick]]. [[AWinnerIsYou Then the credits roll.]]
* Because ''VideoGame/XCom2'' takes place in a continuity where X-Com ''lost'' and the aliens won, it is heavily implied that the events of ''VideoGame/XComEnemyUnknown'', 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 ''VideoGame/FiveNightsAtFreddys4'' 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 AdventuresInComaland, since the ending reveals the child suffered a serious head injury thanks to a DeadlyPrank (and [[EasterEgg pills, flowers, and an IV drip can occasionally be seen near the bed]]).
* In ''VideoGame/PuzzleAdventureBlockle'', 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 EvilPlan is to take over her physical body and doom her world to a DreamApocalypse.
* A downplayed example from ''VideoGame/{{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.

[[folder:Visual Novels]]
* The Dice-Killing Chapter of ''[[VisualNovel/HigurashiWhenTheyCry Higurashi no Naku Koro ni Rei]]''.
* In the fourth arc of ''VisualNovel/UminekoWhenTheyCry'', 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, [[MindScrew just like a lot in this series]].
* [[JerkWithAHeartOfGold Tomoya]] in ''VisualNovel/{{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 ''VisualNovel/ElevenEyes''. 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 BigBad 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.
* ''VisualNovel/{{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 [[HGame eroge]] scene in the original game, which turns out to be All Just A Wet Dream.
* The [[MultipleEndings Forgotten Dream endings]] of ''VisualNovel/YoJinBo'' 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.
* ''[[VisualNovel/FateHollowAtaraxia Fate/hollow ataraxia]]'' ...Maybe. What's dream and what is real can be difficult to separate.
* ''VisualNovel/CorpseParty'' has this as one of its Wrong Ends. It turns out to be a case of OrWasItADream and GroundhogDayLoop.
* Teased at in ''VisualNovel/HatofulBoyfriend: Holiday Star''.
** Halfway through the second chapter something bizarre happens - for one, there's a DeathRay 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 ''VideoGame/DaiGyakutenSaiban'' the events in one of the [[DownloadableContent Randst magazine]] turns out to be this.
* ''VisualNovel/War13thDay'' 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.

[[folder:Web Comics]]
* [[http://www.qwantz.com/index.php?comic=1183 This episode]] of ''Webcomic/DinosaurComics'' satirizes the trope quite nicely.
** [[http://www.qwantz.com/index.php?comic=3254 This episode]] does the same partly by making the ''entire comic'' the dream, [[spoiler:both before and after the episode]].
* The third ''WebComic/{{Narbonic}}'' strip on [[http://narbonic.com/comic/november-19-24-2001/ this page]] also satirizes the trope.
* The brief [[http://www.sluggy.com/daily.php?date=030707 "Magic Flap"]] arc from ''Webcomic/SluggyFreelance'' ends like this.
* ''ComicStrip/ThePerryBibleFellowship'' sets this up, [[http://www.pbfcomics.com/44/ then subverts it]].
* ''WebComic/EightBitTheater'' [[http://www.nuklearpower.com/2008/12/11/episode-1070-what-were-you-expecting/ had one of these]] as a fake final episode, since its author loves [[AntiClimax jokes that are on the reader]]. Except that what was intended to cause InternetBackdraft instead resulted in numerous fans genuinely pleased with the horrible ending, as it fit the comic perfectly, and ''thanking'' the author for years of free entertainment.
* ''WebComic/YuMeDream'' has a WhamEpisode (and BrokenBase inducer) in the middle when this happens, leading to a ComingOutStory having a GenreShift; instead of the usual dream revelation being at the end and nothing in the real world having changed, the dream is the turning point of the story and the main character is greatly affected by what happened. The comic was conceived after its author experienced this trope for real: she met a girl and fell in love, only to wake up after what felt like months of being with her. Interestingly, the dreams ''are'' real, and what we think is the dream world is actually another dimension called "Nod", which means it's ''not'' just a dream.
* ''WebComic/SilentHillPromise'' uses this in the beginning, before getting to the real horror.
* [[http://explosm.net/comics/1590/ This]] ''WebComic/CyanideAndHappiness'' comic plays with this trope.
* ''Webcomic/TRULifeAdventures'' is suggesting everything that happened since the first time travel story has been Bob's dream.
* In ''Webcomic/{{Housepets}}'', the Celestial Nerds (Pete, Spirit Dragon, Great Kitsune; the ones using Babylon Gardens as pawns in their [[CosmicChessGame Cosmic D&D Game]]) end any dealings with mortal pets with the trick of making them wake up in their bed as if it was all just a dream. Tarot calls it "standard celestial policy". In most cases, it's a very thinly-veiled tactic, and those it happens to tend to return with relics, for instance [[http://www.housepetscomic.com/2010/07/14/never-believe-its-not-so/ a gold statuette of a derp-faced kitsune saying "Or was it"]]
* [[http://dizzy.pestermom.com/?p=thcomic55 This]] ''Webcomic/TouhouNekokayou'' comic turns ''Concealed the Conclusion's'' All Just a Dream into a MindScrew, simply by switching the "all" and the "dream." [[http://dizzy.pestermom.com/?p=thcomic128 A later one]] combines this, AcidRefluxNightmare, and a BrickJoke about Meiling's accused HomosexualReproduction. ([[WordOfGod Word of Muffin]] states that only this comic is All Just A Dream, not the entire StoryArc.)
* ''[[http://gr3g0r.deviantart.com/art/Featherlike-98184784 Featherlike]]'', from the man who brought you [[http://gr3g0r.deviantart.com/art/Untitled-85561930 this]] popular 4chan comic.
* ''WebComic/DanAndMabsFurryAdventures'' manages to make this actually downright chilling. The character dreaming ''is explicitly unable to dream''.
* In ''WebComic/BittersweetCandyBowl'':
** The chapter "[[http://www.bittersweetcandybowl.com/c50/p1.html Wonderland]]". Lucy "wakes up" at the beginning of the chapter and the chapter before it was an April Fool's comic, making it all just a dream as well.
** [[http://www.bittersweetcandybowl.com/c59/p1.html Chapter 59]] was All Just A Daydream. Paulo's. Best. Daydream. ''' Ever'''.
* ''Webcomic/QuestionableContent'' [[http://questionablecontent.net/view.php?comic=1169 #1169]] is a good example of this, and also a good example of a DreamWithinADream.
* Used and then subverted in [[http://darklegacycomics.com/200.html this strip]] of ''WebComic/DarkLegacyComics''.
* In ''WebComic/SoulSymphony'' the protagonist purposely makes another character believe that his experience of using magic to fight evil demons was this. It really wasn't.
* Grace of ''Webcomic/ElGoonishShive'', [[http://egscomics.com/?date=2007-05-23 goes through her first day of highschool]] then wakes up disappointed that it was a dream but still hopeful the experience would be close.
* This happens twice in ''WebComic/MyMilkToof'' with the episode of "villainous ickle" who goes around breaking everything and when they go fishing they fall asleep and dream of catching a fish.
* ''Webcomic/EvilDiva'': [[http://www.evildivacomics.com/?p=282 Victorious and popular, as she isn't]]. Apparently you should BeCarefulWhatYouWishFor.
* Happens every year in WebComic/{{Rhapsodies}} with [[{{cloudcuckoolander}} Kevin]] getting shanghaied into helping with Santa's Christmas rush. This always ends with him waking up... Though occasionally there's a few details lying around to make the audience wonder.
* In ''Webcomic/MinionComics'', there's a[[http://www.meetmyminion.com/?p=921 short dream sequence]] involving Dingus's fantasies about predators, aliens, and the holy grail.
* In Webcomic/{{Greg}}, Greg dreams he's a swashbuckling slayer of beasts and a suave ladies man, too bad the reality is so different.
* In ''Webcomic/LsEmpire'', the ZombieApocalypse during the April Fools Day special was actually a movie directed by Creator/MNightShyamalan.
* ''Webcomic/{{Educomix}}'': The entire Garden of Edam storyline was dreamed by Jessica. Also, in [[http://educomix.thecomicseries.com/comics/133/ this strip]], Dave and Jessica's first kiss was actually dreamed by Jessica.
* ''Webcomic/CommanderKitty'' starts off with CK apparently having become the galaxy's greatest hero and the emperor of the entire cat system. [[http://www.commanderkitty.com/2009/02/08/and-now-our-story/ No surprise that it's all just a crazy daydream]].
* In ''Webcomic/UrbanUnderbrush'', Caius dreams that SantaClaus rescues him, only to learn that the tenants of the building had, and a vet had patched him up.
* ''WebComic/{{Precocious}}'': An arc of what turn out to be the kid's nightmares, [[http://www.precociouscomic.com/archive/comic/2012/07/07 culminating]] in a ShoutOut to ''Series/StElsewhere''.
* In ''Webcomic/{{Sinfest}}'', [[http://sinfest.net/view.php?date=2014-02-02 the fembot being disassembled]] turns out to be AnxietyDreams -- she's actually safely in Lil' E's home.
* In ''Webcomic/ZebraGirl'', apparently all this Zebra Girl stuff [[http://www.zebragirl.net/?date=2013-02-23 is just a dream]], Sandra is perfectly normal girl and Sam is a cartoon character; and then [[FourthWallBreaking Sam breaks the fourth wall]]. It's Incubus' attempt at a LotusEaterMachine, and Sandra wasn't fooled for a second.
* In ''Webcomic/ExterminatusNow'': [[http://exterminatusnow.co.uk/2012-10-29/comic/non-storyline/holiday-comics/hexs-chainsaw-massacre/ Hex's Chainsaw Massacre]].
* ''Webcomic/{{Homestuck}}'': [[http://www.mspaintadventures.com/scratch.php?s=6&p=005732 Here]], Doc Scratch [[TheReveal reveals]] that, from the [[http://www.mspaintadventures.com/scratch.php?s=6&p=005674 coin flip onwards]], he had [[MetaphoricallyTrue actually been describing]] a [[ForWantOfANail doomed alternate timeline in which Terezi let Vriska carry out her plan]], and that, in the alpha timeline, Terezi had [[SelfDefeatingProphecy foreseen that outcome and stabbed Vriska to avoid it]]. It's revealed eventually that ''that'' was a doomed alternate timeline (which was followed for the entire rest of the comic), and that ''actually'', Vriska survives due to a literal in-universe {{Retcon}}.
* In the AprilFools 2016 strip of ''Webcomic/{{Shortpacked}}'', it's [[http://www.shortpacked.com/index.php?id=2196 revealed]] to have all been a dream of Historical Jesus, back in thirtysomething AD. This, of course, makes no sense on multiple levels but, hey, April Fools strip.
* Webcomic/OzyAndMillie does it twice, once when Ozy grows dragon wings and again when Millie's homework comes to life and rebels against her.
* At the end of Chapter 1 of ''Webcomic/{{Tales from the interface}}'', we learn that what happened up to that point was all a virtual world.
* ''Webcomic/{{Puck}}'' has a dream sequence (ending at #381) involving Puck losing her freckles, becoming a blonde and abandoning her family to make a career in Hollywood. Subverted in that compared to some of the things that happen in canon, it all seems quite likely...

[[folder:Web Original]]
* More than once this has been used for ''Roleplay/SurvivalOfTheFittest'' 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 ''[[Literature/TheTaleOfTheExile The Third Night]]'' takes places during Gaven's hallucinogen-fueled MushroomSamba. [[SchrodingersButterfly It's an open question what events actually happen to him and what's all just in his head]].
* WebVideo/TheNostalgiaCritic
** His review of ''Film/SurfNinjas'', 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 ''Series/FullHouse'' when the Olsen twins came [[HeKnowsTooMuch 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 ''Film/{{North}}'' was entirely a dream.
* This concept is an enemy in ''VideoGame/ImprobableIsland''.
* ''Film/ProjectMillion'' 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 ''WebAnimation/HomestarRunner'' 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."
* ''Machinima/RedVsBlue'':
** Episode 28.5, "The Last Episode Ever". In it, Simmons comes back as a ghost, but is really [[Franchise/ScoobyDoo 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 UsefulNotes/XBox Live game played by the characters.
* ''Website/TheOnion'' episode [[http://www.youtube.com/watch?v=7qYL_KT06-U 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 WebAnimation/RanmaAbridged 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 ''VideoGame/SonicTheHedgehog2SpecialEdition'', people are seen waking up. This has no bearing on gameplay whatsoever.
* Blog/ThingsMrWelchIsNoLongerAllowedToDoInAnRPG
-->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? DreamSequence.
* The ''Website/{{Cracked}}'' article "[[http://www.cracked.com/quick-fixes/why-saved-by-bell-all-dream-conspiracy-theory/ Why 'Saved by the Bell' is All a Dream: A Conspiracy Theory]]" explains why ''Series/SavedByTheBell'' has to be an escapist dream of a character in ''Series/GoodMorningMissBliss'', using clues from the ExpositoryThemeTune.
* In ''Podcast/CriticalHit'', 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 ''WebVideo/TheMostStupidDeathsInSuperMario64'', Mario has multiple nightmares which turn out just to be dreams. One of them is of the game ending.
* In ''WebVideo/UltraFastPony'', the episode "Random Eye Magic" begins with Twilight waking up from a DreamWithinADream, then ends with Twilight waking up yet again, realizing the entire episode was a dream.
* In ''WebAnimation/SonicForHire'', Sonic goes on an extreme acid trip and actually believes that he has a successful job with VideoGame/ToeJamAndEarl, but then Tails "wakes" him up, making him realize he was just on an acid trip.
* The Machinima/TeamServiceAnnouncement short ''[[http://www.youtube.com/watch?v=rwdjedbBtwc 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 Blog/AskKingSombra 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 [[https://notalwaysright.com/his-lawyers-should-have-the-book-thrown-at-them/78377/ this]] story at ''Website/NotAlwaysRight'', "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.
* ''VideoGame/LunaGame 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". [[MoodWhiplash But then]] there's a ScareChord as Pinkie turns into [[MadnessMakeover her straight-haired "Pinkamena" persona]].
* The ending of [[https://www.youtube.com/watch?v=Z1YG8UMz3iE&spfreload=1 SUPERBOOBYGREASYWARRIORS]]. Slightly hints at OrWasItADream as the reveal has the main character waking up [[BookEnds in the same way he did at the start of the series]]. On-screen text explicitly states "It wuz All a {{DReam}} LOL" however.
* ''WebVideo/SomeJerkWithACamera''[='=]s ''Ride/StarTours'' review was The Wire's dream within Jerk's dream within Spazz's dream within [[WesternAnimation/RockosModernLife Heffer]]'s dream within [[WesternAnimation/TheSimpsons Lisa]]'s dream within North's dream within Jerk's dream within [[Film/BackToTheFuture Marty McFly]]'s dream within Music/MichaelJackson's mind.
* ''WebVideo/SuperMarioLogan''
** In the episode, "Mario the Babysitter!", Mario babysits a kid named Jeffy who continuously frustrates him to the point of being DrivenToSuicide. 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.
* ''WebVideo/DontHugMeImScared''
** 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 OutOfFocus 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 WebVideo/DragonBallZAbridged, 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, [[ArsonMurderAndJaywalking and why all the primitive Saiyans sound like]] [[Series/TheMuppetShow Kermit the Frog]].
* Parodied in a [[https://www.marioboards.com/index.php?topic=27164.msg1925603#msg1925603 post]] from a ''Franchise/SuperMarioBros'' 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 [[EarthDrift supposed]] [[MultipleChoicePast 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 ''Podcast/FatFrenchAndFabulous'', 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.

[[folder:Western Animation]]
* ''WesternAnimation/AdventureTime'':
** The RuleSixtyThree episodes are all "[[TakeThatAudience 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.
%%** The episode "Puhoy"...[[OrWasItADream maybe]].
* ''WesternAnimation/AlvinAndTheChipmunks'':
** There were some episodes, like when Alvin had a fever or when Dave thought [[IncredibleShrinkingMan 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 ''Series/{{Moonlighting}}'') and dreams herself in the show.
** A ''Series/CharliesAngels'' 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 PowerOfRock 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." ([[HeartwarmingInHindsight Then a year later, it wasn't.]])
* ''WesternAnimation/ALVINNNAndTheChipmunks'':
** 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.
* ''WesternAnimation/TheAmazingWorldOfGumball'': 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.)"
* ''WesternAnimation/AmericanDad'' has one when Stan accidentally crapped himself in a pool party and concocts a scheme to get UsefulNotes/BarackObama 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 DyingDream story)
* ''WesternAnimation/AngelsFriends'' has Raf and Sulfus both have a dream where they get married.
* Subverted and discussed at the end of season five of ''WesternAnimation/{{Archer}}''. After a season that went in [[AndNowForSomethingCompletelyDifferent 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.
* ''WesternAnimation/BatmanTheAnimatedSeries''
** In [[Recap/BatmanTheAnimatedSeriesE30PerchanceToDream "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.
** [[Recap/TheNewBatmanAdventuresE12OverTheEdge "Over the Edge"]] has Batgirl getting hit by Scarecrow's fear gas and hallucinating a scenario where [[BadFuture 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 ''WesternAnimation/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 ''WesternAnimation/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.
* ''WesternAnimation/DangerMouse'': 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 ''WesternAnimation/{{Daria}}'' episode "Murder, She Snored." In this case, it's not a spoiler, since [[TheSnarkKnight Daria]] is seen falling asleep before the parody segments begin.
* The end of Disney WartimeCartoon ''Disney/DerFuehrersFace'' has Donald wake up in a bedroom [[WearingAFlagOnYourHead filled with American flags]], thankful that he doesn't actually live in Nazi Germany.
* In "First Responders to the Rescue" from ''WesternAnimation/DocMcStuffins'', 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 [[AgonyOfTheFeet accidentally steps on Dev's foot]], causing him to feel pain too and decide that what's happening must therefore be real.
* In ''WesternAnimation/EdEddNEddy'':
** "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 [[MiddleOfNowhereStreet never leaving the cul-de-sac]], [[MinimalistCast 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...[[LogicBomb uhm]].
* ''WesternAnimation/EekTheCat'':
** 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 [[ShowWithinAShow 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 [[TheDevilIsALoser its ruler, Fido]], for a long time, who forces him [[ImpossibleTaskInstantlyAccomplished 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, [[DeathIsCheap Eek wakes up from all this lying in the backyard]], and gets chased by Sharky once again.
* [[OncePerEpisode Every single episode]] of the French animated short WesternAnimation/ErnestLeVampire ends with the title vampire waking up from a CatapultNightmare.
* ''WesternAnimation/FamilyGuy'':
** The absurd (even for them) [=Y2K=] episode, "Da Boom", ends in live-action with Pam Ewing of ''Series/{{Dallas}}'' waking to Bobby in the shower and relating the episode ([[NeverLiveItDown 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 the episode "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 [[LampshadeHanging 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 ''[[Series/TheSopranos Sopranos]]''-[[SmashToBlack style]] [[RuleOfFunny just to shove salt in the hypothetical wound.]]
* WesternAnimation/FelixTheCat:
** [[WesternAnimation/FelixTheCatClassic The classic era short]] ''WesternAnimation/FelixDinesAndPines'' uses this after Felix enters a nightmarish vision after eating an old boot for dinner.
** The [[WesternAnimation/JoeOrioloFelixTheCat TV-era episode]] ''Stone Age Felix'' starts off as a time travel episode, but it turns out to be just a dream in the end.
* The ''WesternAnimation/FishHooks'' episode "Pool Party Panic" turns out to be one, and becomes a plot point in the second and third acts of the episode.
* ''WesternAnimation/{{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 [[SanitySlippage slowly descends into insanity]], going through one DreamWithinADream after another, one of which includes a musical number in which the other characters serenade her with the song "Don't Worry, Be([[JustForPun e]]) Happy." stopping with Leela [[AxCrazy 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 another episode, 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, [[BigLippedAlligatorMoment he ends off skipping merrily away in a]] SugarBowl at the end.
** In the first "Anthology of Interest" episode 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, [[CallForward because he is]] [[MyOwnGrampa his own grandpa]]. And the second Anthology of Interest 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 ForWantOfANail than All Just a Dream.
* The episode "The Binky Show" of ''WesternAnimation/GarfieldAndFriends'' 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 ''WesternAnimation/GIJoeRenegades'': TheStinger of the final episode cuts to the original 1980s ''WesternAnimation/GIJoeARealAmericanHero'' cartoon and reveals that ''Renegades'' was just [[http://www.youtube.com/watch?v=CAznMVCdBcg 80s!Duke's dream]].
* The ''{{WesternAnimation/Gargoyles}}'' episode "Future Tense" takes place in a BadFuture, 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 [[ItMakesSenseInContext and trick him into giving Puck]] [[TimeTravel the Phoenix Gate artifact]]. Though Puck does try to pull the OrWasItADream card, claiming (unconvincingly) that maybe it was a prophecy.
* The ''WesternAnimation/IAmWeasel'' episode "I.R. Wild Baboon" turns out be a dream by WesternAnimation/{{Cow|AndChicken}}.
* In the ''WesternAnimation/InvaderZim'' 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 ''WesternAnimation/JimmyTwoShoes'' episode "[[PandaingToTheAudience Panda-Monium]]".
* In the ''WesternAnimation/JuliusJr'' episode ''Box Fort of Oz'', although the audience get to see Julius doze off and thus is fully aware of the situation.
* The ''WesternAnimation/{{Kaeloo}}'' episode "Let's Play Astronauts" turns out to be a dream of Stumpy's, which he is narrating to Kaeloo.
* ''WesternAnimation/KimPossible'':
** The episode "Rewriting History" repeatedly {{lampshade|Hanging}}d the increasingly unlikely coincidence that [[GenerationXerox 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 GenerationXerox plot seemed pretty cool. Though, oddly, the episode did end with an even more absurd GenerationXerox being canon. Though WordOfGod is that Kim and Ron's ancestors from the dream actually existed.
** The PostScriptSeason began with a scene of Kim and Ron at the prom from the [[SeriesFauxnale "finale"]] [[WesternAnimation/KimPossibleMovieSoTheDrama 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 [[CatapultNightmare wakes up screaming]].
* In the ''ComicStrip/LittleLulu'' cartoon "[[http://www.imdb.com/title/tt0151675/ 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, [[KangarooCourt 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.
* ''WesternAnimation/LooneyTunes'':
** Subverted in ''Water, Water Every Hare''. At the end of the cartoon, WesternAnimation/BugsBunny 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 WesternAnimation/{{Daffy|Duck}} 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 ''WesternAnimation/TheLooneyTunesShow'', "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.
* ''WesternAnimation/TheMrMenShow'' has Mr. Nervous, who goes on wacky (and scary for him) adventures that turn out to be just his imagination.
* ''WesternAnimation/MyLittlePonyFriendshipIsMagic.'' 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 ''WesternAnimation/TheNewMrPeabodyAndShermanShow'', 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 ''WesternAnimation/PBAndJOtter'', 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.
* ''WesternAnimation/OverTheGardenWall'': [[spoiler:The entire series turns out to be a hallucination of Wirt as he was drowning. [[OrWasItADream Maybe.]] ]].
* ''WesternAnimation/PhineasAndFerb'':
** 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, which results in them 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 [[DreamWithinADream 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 [[Film/TheWizardOfOz the film it's parodying]], "Wizard of Odd" is a dream.
** Subverted in the ChristmasEpisode: Phineas [[CatapultNightmare sits up in bed]] and exclaims, "It was all a bad dream! [[SavingChristmas Christmas isn't cancelled]] after all!" -- only for [[RevealShot the camera to pan out]] to Isabella, who says that no matter how many times he tries that, [[ThisIsReality it's not going to change anything]].
* This happens a couple of times on ''WesternAnimation/PinkyAndTheBrain'': 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 ExecutiveMeddling. The latter, though, ends in an {{Or Was It|ADream}}? moment.
* There is an ''WesternAnimation/{{Animaniacs}}'' segment where Brain dreams that he is the Rockefeller family baby, but the DeliveryStork mistakenly brings him to the Hip Hippos instead.
* Several of the ''WesternAnimation/PrivateSnafu'' 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.
* ''WesternAnimation/ReBoot'' episode "Number 7". A MindScrew episode which directly parodies ''Series/ThePrisoner'', including a version of that shows opening sequence. Given what happens during the MindScrew, this trope is a [[TropesAreNotBad welcome sight]].
* An episode of ''WesternAnimation/RockosModernLife'' deals with Heffer choking to death on a chicken ribcage and ends up going to Heck to be punished for the [[SevenDeadlySins deadly sin]] of Gluttony; the entire episode turns out to be a dream ([[DreamWithinADream within a dream within a dream]], no less).
* ''WesternAnimation/{{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, [[http://www.youtube.com/watch?v=91TKa2133vQ 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 [[http://www.youtube.com/watch?v=-RNmINEsN6U the final scene of the episode.]]
* In the episode "On the Run" of ''WesternAnimation/SagwaTheChineseSiameseCat''. 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 ''Franchise/ScoobyDoo'':
** Scooby has several such episodes in the 80s series ''WesternAnimation/TheScoobyDooAndScrappyDooShow''. One time he dreams they are in Wonderland, Another time that they go to Pleasure Island from Pinocchio, and so forth...
** The ''WesternAnimation/ScoobyDooMysteryIncorporated'' episode "Mystery Solver State Club Finals" (where Scooby team-up with other sidekick of similar Creator/HannaBarbera show) turns out to be this.
** The second half of ''WesternAnimation/ScoobyDooAndKISSRockAndRollMystery'' turns out to be a mass hallucination caused by the main villain. This is a bit of a ForegoneConclusion because the movie is part of the [[WesternAnimation/ScoobyDooDirectToVideoFilmSeries fourth era Scooby-Doo movies]], which drop the "monsters are real" angle from the previous movies.
* Lampshaded in an episode of ''WesternAnimation/SheepInTheBigCity'' where two scenes turns out to be dream sequences -- much to the annoyance of the {{narrator}}, who complains about this being "[[RageAgainstTheAuthor lazy writing]]!"
* Naturally, ''WesternAnimation/TheSimpsons'' 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 the episode after Mr. Burns is shot, Smithers wakes up in his apartment to find [[ShoutOut 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 one episode, Moe lands a role on [[SoapWithinAShow a soap called]] ''[[SoapWithinAShow 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 [[AdventuresInComaland coma fantasies]]!
** Happens in "WesternAnimation/TreehouseOfHorror" episodes which are already {{Bizarro Episode}}s. In [=TOH=] 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 [=TOH=] 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 [=TOH=] 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 episode "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 ''WesternAnimation/TheSmurfs'', 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 ''WesternAnimation/SonicBoom'' 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.
* ''WesternAnimation/SouthPark'':
** First appeared in the episode "Flashbacks", which twisted the conventional ClipShow by having each clip end with a completely different situation from its original episode, ending every time with [[RunningGag a reference to ice cream]] among other things. This was all {{fram|ingDevice}}ed with the kids telling stories while the bus lies on the edge of a cliff. At separate points, they flash back on a [[Series/HappyDays 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 -- [[IHaveManyNames 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 [[IKnowYouKnowIKnow 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. [[AbusiveParents 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. [[ArsonMurderAndJaywalking 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!
* ''WesternAnimation/SpongeBobSquarePants'':
** 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, [[LeftHanging and the episode ends]].
** The episode "The Main Drain" ends like this.
* ''WesternAnimation/{{Squidbillies}}'' plays with this trope in the first episode. It first portrays Rusty spending his childhood being [[RaisedByWolves 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 ''WesternAnimation/TheSylvesterAndTweetyMysteries'', 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 in 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 hate 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 ''{{WesternAnimation/Teenage Mutant Ninja Turtles|1987}}'' episode "Shredderville" had the Turtles supposedly taken to an alternate world where [[ItsAWonderfulPlot 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 ''[[WesternAnimation/TeenageMutantNinjaTurtles2003 TMNT]]'' episode "Bad Day" are simply a form of MindRape conjured by the Foot Mystics.
* ''WesternAnimation/TomAndJerry'' 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 ''WesternAnimation/TransformersBeastWars'' 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.
* ''WesternAnimation/TheTwistedTalesOfFelixTheCat'' episode "Gross Ghost" ends with the revelation that Felix and Roscoe only dreamed the events of the episode.
* ''WesternAnimation/TheVentureBrothers'':
** Subverted when Billy Quizboy wakes from having a dream, he's all ready to launch into an AndYouWereThere 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.
%%** But played straight several times in the Christmas special episode.
* The better part of episode 20 in ''WesternAnimation/{{Wakfu}}'', which thoroughly confused the non-French-speaking people watching it without subtitles, though it could only have been [[DisneyAcidSequence one other trope]] if not this one.
* The Creator/VanBeurenStudios 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|Trope}} in the ''WesternAnimation/YoungJustice'' episode "Failsafe." The whole episode turned out to be an UnwinnableTrainingSimulation the characters were undergoing while in a psychic trance. However, partway through the exercise, M'gann's PsychicPowers [[HolodeckMalfunction turned off the safety features]], essentially brainwashing herself and everyone else to forget that it was fake. ComicBook/MartianManhunter was eventually able to perform an [[RescuedFromTheUnderworld 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.

[[folder: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. [[http://www.simulation-argument.com/ 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 [[http://en.wikipedia.org/wiki/Simulated_reality#Relativity_of_reality "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. SugarWiki/HeartwarmingMoments may follow along with a LOT of relief.
* {{Subver|tedTrope}}sion: After Creator/DanielRadcliffe learned that he had gotten the part of Film/HarryPotter, 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 ''Film/TheMatrix'' 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: [[http://www.cracked.com/article_18704_5-mind-blowing-ways-your-memory-plays-tricks-you.html 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! [[TVTropesWillRuinYourLife I was on this horrible website that listed different tropes of media and spent all day there.]]