If you’re struggling to do something, nothing can give you more satisfaction then success. That’s why thinking you’ve succeeded at something when you really haven’t, can be really annoying or even downright torturous. Considering that, you have to wonder why the minds of people, both real and fictional, insist on forcing them to experience visions of such things as having dead relatives come back to life, marrying lost loves, escaping life-threatening situations, becoming rich/famous and even just getting out of bed when we’re tired in the morning, even though they all have to inevitably end with the rug being pulled out from under you. Basically, if you don't know the meaning of "I can take the despair, It's the hope I can't stand," this clearly has never happened to you. Often in fictional works, the audience is led to believe along with the character that the hallucination/dream is real. We learn it wasn't real only in usually very creepy and ominous reveals, a reveal that usually involves somebody saying something like, “But you never really got out!!!” Compare: All Just a Dream, Daydream Surprise.
- The Big Bad's Eye Of The Moon Plan in Naruto involves shrouding the world in an "Infinite Tsukuyomi". This would trap every living person in a permanent illusion, ceasing all conflict by purging free will itself from the world, so everyone could live in a reality without war or suffering.
- In Fate/Zero, Matou Karia hallucinates that he was able to save Sakura as he dies right in front of her.
- In Yu-Gi-Oh! GX, Atticus/Fubuki hallucinates that he is able to finish his duel with Fujiwara in a draw. Moments later, it turns out Fujiwara landed the winning blow a couple turns ago.
- In one of the earliest installments of the original Yu-Gi-Oh! manga and anime, Yami Yugi challenges a would-be psychic to a Yami no Game. When the fake psychic is clearly going to lose, he starts imagining himself having real psychic powers and winning the game, even as he winds up bitterly losing in reality.
- Weaponized by the Big Bad in Bleach. In an infamous scene, the Big Bad is apparently impaled and killed by another character. The illusion then drops to reveal that the Big Bad switched places with the character's close friend.
- In Dragon Ball Z Abridged, Goku battles Vegeta in his Oozaru transformation. When Goku fires a blast in Vegeta's eye he declares it time to make his cunning escape, while avoiding all of Vegeta's attacks... Goku unfortunately cannot move his body but thought it would have been awesome.
- in 127 Hours, when a sudden storm comes, Aron moves the boulder under the flooding waters, and imagines running off to meet his girlfriend. Instead, he realizes at the last moment that he’s still in the canyon.
- In the end of Brazil, the hero seems to be able to escape from the government torture chamber, but it's revealed that he's just hallucinating.
- Requiem for a Dream ends with Harry's mother Sara living in a fantasy world where she won a game show's grand prize and Harry and Marion are happy and successful together, while in reality, all three of them have become drug addicts with zero prospects for the future.
- The ending of Inception is a heated debate on whether this is the case or not. Cobb leaving his totum spinning while he chooses to see his children's faces for the first time, not actually confirming whether he's still dreaming before the film ends.
- In Harold & Kumar Go to White Castle, Harold imagines himself finally working up the nerve to flirt with his attractive neighbor Maria in the elevator. In actuality, he and Maria ride the elevator in awkward silence.
- Dr. House hallucinates sleeping with Dr. Cuddy and getting over his Vicodin addiction. It takes him a full day to figure out that it didn’t really happen .
- in the season six finale of Cold Case, Detective Lilly Rush’s car gets run off the road and into a river. She hallucinates escaping and solving the case of who did it. Weirdly, she apparently guesses right, going by the shots of arrests in the real world at the end of the episode.
- In the Star Trek: Deep Space Nine episode "Hard Time". Chief O'Brien said he frequently dreamed about flying back to the station during his 20-year prison sentence. The irony is that the 20-year sentence turned out to be an artificial dream.
- In How I Met Your Mother, Barney goes to the brunch to tell Nora about his feelings, but stops at the door, seeing Nora and her family. He enters the restaurant, making a heartfelt apology. Nora forgives him, and introduces him to her parents, for whom Barney performs a magic trick. However, the scene turns out to be a figment of Barney's imagination, and he leaves before Nora sees him.
- Subverted in Malcolm in the Middle. A whole episode revolves around Lois imagining that she had daughters instead of sons (interspersed with the reality of trying to handle three boys). At the end, the imaginary daughters turn out to be lying and manipulative, with problems ranging from eating disorders to teenage pregnancy.
- The Order of the Stick: Girard's Gate traps would-be intruders by giving them hallucinations of success.
- In The Simpsons episode "King of the Hill", Homer has one when he's climbing Springfield's tallest mountain and starts noticing the change in air pressure, to make the climb easier he decides to take the escalator up the mountain while a Yeti carries him further then finally using a bubble to float the rest of the way. He's actually sliding down the mountain while hallucinating.
- In some episodes of The Drinky Crow Show, the titular character gets drunk and thinks that he's doing something well when in reality he's doing it horribly. In one episode, Drinky is trying to perform surgery on a physically deformed man. In his mind, Drinky made the patient normal-looking, when in reality he smashed the man to a bloody pulp.
- In the Family Guy episode "Deep Throats", Peter and Lois enter a talent show and start taking pot to help their creative process. The night of the show, they imagine they're singing a duet about God accepting all people despite their appearance, when in reality they're just making a whole bunch of loud noises.
Peter: I can’t believe we lost the talent show! What’d we do wrong?
Chris: Well, I think I can shed a little light on that. You guys were so baked, you didn't sound anywhere near as good as you thought you were. I was in the audience.
(Flashback to Peter and Lois on stage yelling into the mic)
- In a Christmas-themed episode of The Looney Tunes Show when Daffy and Foghorn Leghorn are looking for a power outlet in the North Pole to plug a giant fan into, Daffy suffers hypothermia and hallucinates that he finds Santa's workshop. When they play the recording from the camera attached to his helmet it shows that in reality he found a cave and Santa and his elves were a polar bear and its cubs.
- In the Regular Show episode "Return of Mordecai and the Rigbys" the gang accidentally destroy their instruments before competing in a Battle of the Bands, so they sing their song as an a cappella until the music within them generates new instruments and they win the competition. In reality, they passed out from heat stroke before competing and got last place, then woke up in the hospital.
- The Justice League episode "For the Man Who Has Everything", as part of his plan to conquer Earth, Mongul sent a Black Mercy to Superman due to believing the Man of Steel was the only real threat to his hopes to conquering the planet. Once attached, the Black Mercy fed Superman a reality where Krypton never exploded, he was a simple farmer with a wife and son, and his father is a disgraced old man. Batman attempted fruitlessly to several different means to remove the plant but was only able to succeed when Superman himself realized that the reality was a fake. Unfortunately, the Black Mercy then attached itself to Batman and fed the Dark Knight a reality where his father and mother survived the night of their deaths and his father fought off the gunman that killed them. Wonder Woman managed to get through to Batman and remove the plant, barely getting caught herself. Wonder Woman then threw the plant at Mongul, incapacitating the former warlord. His dream state is unknown but Batman stated that whatever it is was "too good for him".
- Similar to the Looney Tunes example above, in the SpongeBob SquarePants special "It's a SpongeBob Christmas!", Patchy the Pirate hallucinates that he's meeting Santa in a cave, when it's also a polar bear that chases him out after it starts salting him and he sees his error.
- All Just a Dream but in real life.