The origin of ghosts is revealing of human nature. For centuries, communities have called up ghosts not just to frighten each other, but as a way of dealing with the things they couldn't quite make sense of: grief, the suddenness of death, guilt, and the unknown of what comes after we die.


As science progressed, the ghosts didn't just go out of fashion. Instead, they evolved. As the societies changed, ghosts, too, went through a whole series of metamorphoses. Ghosts went from being a moral guardian, reminding people to follow society’s rules, respect traditions, and fulfill their responsibilities, to a Victorian tool of legal justice, a ghost of the mind, representing people’s inner fears, anxiety, and guilt, a ghost of psychological trauma, and finally a ghost in the digital age.


In older times and in early farming societies, ghost stories were a way of teaching people the importance of adhering to the rules of society and of respecting tradition. As Daniel Ogden, Professor of Ancient History at the University of Exeter, says: “in the ancient Mesopotamian, Greek, and Roman worlds, ghosts would appear if someone neglected a key duty. This could be the proper burial of the dead, justice being done to a murder victim, or respect being paid to the ancestors.”


In these communities, ghost stories sometimes taught clear moral lessons. Ruth Robbins, Professor of English Literature at Leeds Beckett University, explains that early ghost stories were focused on teaching people how to behave: “In more oral traditions, the focus was on the moral or practical lesson that could be derived from the ghost story: ‘Don't offend the spirits; lead a well-regulated life. If you don't, you will be haunted.’” At a time when formal systems of defense and support were constrained, ghost stories reminded people that their actions could have deadly consequences. These stories encouraged people to respect their elders and ancestors, be responsible, and follow the set values of their community.

Ghost stories became even more popular during the nineteenth century, when Britain and other Western countries were experiencing rapid industrialization and the development of cities. As societies and communities changed, ghost stories also began to serve a different purpose.


According to Robbins, ghost stories from the early and middle Victorian period were often “consolatory fictions,” meaning stories that offered comfort. During this time period, criminal investigations were far less advanced. As a result, many crimes remained unsolved, and criminals sometimes escaped accountability. Against that backdrop, ghost stories offered readers a sense of justice that wasn't always possible in real life.


Robbin comments, “in a world where temporal forms of justice (the criminal law which had no forensic science to speak of for example) were uncertain to produce fair results, ghost stories gave audiences narratives in which justice could be done by supernatural means. Thus, the criminal who stole property, committed murder or forged a will, could be brought to book in the stories in a way that didn’t really happen in the real world.”


By the end of the 19th century, the ghost story underwent another transformation as science and technology progressed and traditional religions lost their grip. Counterintuitively, advances in science and technology actually stimulated greater interest in the supernatural and in life after death. Consequently, interest in spiritualism increased. New technology also offered new ways to show ghosts. Spirit photography was the first, with photographers using many camera tricks to create images that purported to show spirits. 


Radio and film later offered further ways to tell ghost stories to the public and make the ghostly experience feel more real. For example, the 1944 film The Uninvited used visual effects and sound to create ghostly appearances and supernatural experiences, letting audiences see and hear ghosts on screen.


On the other hand, as the modern detective story came into its own and crimes were solved more effectively, ghosts consistently lost their place as an imagined realization of justice. For example, Arthur Conan Doyle’s Sherlock Holmes stories, beginning in 1887, showed how crimes could be solved through logical reasoning and physical evidence rather than supernatural intervention. Instead, ghosts became devices for exploring characters’ minds, thoughts and emotions, guilt, and pasts. The story was no longer about whether a criminal would be held accountable; it became about the terror of the mind. The reader was left to wonder whether the ghost was real or simply a symbol of the characters’ imagination or mental state.


That brings us to today. Ghost stories are not as popular in literature as they used to be, but they are far from dead (pun intended). They continue to evolve consistently in line with the anxiety and passions of the times. They are not confined to old houses and abandoned buildings. Ghosts can now be found in the modern world as haunted mobile apps, websites, and online records. “What bothers us at any given time is going to get turned into a ghost by someone,” says Robbins. 


Throughout history, ghost stories have changed to reflect the beliefs and concerns of their societies. In ancient communities, they helped teach moral responsibilities. During the Victorian era, some ghost stories offered a sense of justice when the legal system could not. Later, writers used ghosts to explore the human mind, while modern filmmakers brought supernatural stories into the digital age. Although different in forms and purposes, ghost stories continue to reveal what people fear and believe.