An Astral Projection, Not a Ghost

A character who looks, feels, and talks like a ghost turns out to be a living person's out-of-body experience. Common variations include:


 * The "ghost's" body "merely" lies in a Convenient Coma, but they don't know that and fervently believe themselves to be actually dead (especially if they Never Found the Body). A soul-body reunion in the end can help avoid what would otherwise become a Downer Ending.
 * A Haunted House turns out to be the one a character always sees in their dreams... because they are the one haunting it.

A Sub-Trope of The Reveal and an Inverted Trope of sorts to Dead All Along. As this is a revelatory trope, spoilers will be found ahead.

Anime and Manga

 * In Kara no Kyoukai,.
 * In Natsuneko's Blue Line,.
 * Happens to Ash Ketchum and Pikachu in the Pokémon episode "The Tower of Terror" (which infamously spent a few years off the airwaves due to its title alone) after getting struck by a falling chandelier. As the three Ghost Pokemon show them what it's like to be ghosts, Ash befriends Haunter and, after being reunited with his body, asks him to help him against Sabrina back at Saffron City.
 * A girl in Seirei no Moribito ends up this way after drinking wine with a magical flower in it.
 * In the midst of all the actual ghosts in Psychic Detective Yakumo, one apparent ghost turns out to be the projected spirit of a terminally ill but still-living girl, whose anxiety about her impending death causes her to project her spirit to other people at night while she's sleeping.
 * Psycho Busters: The hero initially mistakes the astral projection of one of his soon to be allies for a ghost. A sexy naked ghost.
 * A minor character in Kurosagi Corpse Delivery Service uses her astral form to impersonate a ghost to make the inhabitants of an apartment think it's haunted.

Comics

 * Given how often Doctor Strange uses Astral Projection, this sort of thing is inevitable. As a master of the art, he never mistakes himself for deceased, though others (even the ones in the know) will comment on his 'creepy ghost.'

Film

 * In Just Like Heaven, it turns out that Elizabeth (Lauren in the book) is actually in a coma, and the protagonists have to get her 'ghost' back into her body before the hospital takes her off life support.
 * Ghost Dad involves Bill Cosby's character, apparently a ghost, actually being in a coma at the end.

Literature

 * In The Dresden Files,.
 * André Maurois' short story "The House". A woman repeatedly dreams of a house. One day she finds the house she's been dreaming of but the people who live there are frightened of her. When she dreamed of the house she appeared there as a ghost. The story was made into a segment of the Night Gallery show.
 * This is the plot of James Herbert's Nobody True.
 * Poledra in The Belgariad appears occasionally as a ghost to aid the main characters, having died in childbirth some three thousand years previously. At the end of the Malloreon, she reveals she never really died at all, but faked it in order to carry out a vague plan to help uphold The Prophecy.
 * The ghost in The Time of the Ghost by Diana Wynne Jones turns out to be one of these.
 * For part of Sean Williams' Changeling trilogy, the protagonist is assisted by the ghost of a friend who he thinks he saw die; later, he learns that she survived, but has been in a coma ever since, and is able to restore her.
 * Neal Shusterman's  has this as a plot point.

Live Action TV
"Lead woman: You can't come in here! Benny: Why not? Woman: This place is haunted! Benny: dismissive Who by? Woman: YOU!"
 * Soap ended with many plot threads hanging, including Jessica about to be shot by a firing squad in Central America. Next season, she shows up on spinoff Benson as a ghost which only Benson can see. But then she finds out she's not really dead, she's just in a coma in a Central American hospital.
 * In the Doctor Who serial "Day of the Daleks", the ghosts the Doctor is asked to investigate turn out to be projections of time travellers from the future. In "Army of Ghosts," the ghosts appearing all over the world are actually an army of Cybermen trying to come to Earth from their home dimension.
 * In a sketch on The Benny Hill Show Benny plays a man who literally dreams of going out partying at night, getting away from his harridan of a wife. Then one day he's out in the daytime he happens by the very same place he goes in his dreams. Amazed, he knocks on the door. A bunch of women answer.


 * One of the hauntings dealt with in Supernatural some time in season three turns out to not be a spirit, but the projection of a girl in a coma.
 * At least one episode of Ghost Whisperer featured this; a "ghost" turns out to be a hiker who was in a coma and occasionally flatlining, during which times he was able to appear to Melinda. Eventually he prevents the doctors from reviving him so that he could become a full ghost in order to help Melinda save his brother.

Mythology

 * In Japanese folklore, a person with intense feelings of hatred towards another could succumb to a spiritual affliction known as iki-ryou, the dreaded "ghost of the living", where their soul would leave their body and torment the hated person with curses and such. (The soulless body would weaken and eventually die if left in this condition too long.)

Urban Legend

 * In a famous Urban Legend, a woman has a recurring dream where she is wandering around a strange house. One day while she is driving she sees that house with a for-sale sign out front. She goes in to look at and finds out that it is extremely underpriced. When she asks the realtor why, the realtor says the house is haunted, but she doesn't have to worry about that, because she is the one who is haunting it!