Ghosts in Mesopotamian religions
There are many references to ghosts in Mesopotamian religions - the religions of Sumer, Babylon, Assyria and other early states in Mesopotamia. Traces of these beliefs survive in the later Abrahamic religions that came to dominate the region.
The concept of ghosts or spirits in the religions of the Ancient Near East is comparable to the shades of the deceased in the Underworld in the mythology of Classical Antiquity. The shades or spirits of the deceased were known as gidim (GIDIM 𒄇) in Sumerian, and as eṭemmu in Akkadian. The Sumerian word is analyzed as a compound of either gig "to be sick" and dim3 "a demon", or gi6 "black" + dim4 "to approach".
Gidim were thought to be created at time of death, taking on the memory and personality of the dead person. They traveled to the netherworld, where they were assigned a position, and led an existence similar in some ways to that of the living. Relatives of the dead were expected to make offerings of food and drink to the dead to ease their conditions. If they did not, the ghosts could inflict misfortune and illness on the living. Traditional healing practices ascribed a variety of illnesses to the action of ghosts, while others were caused by gods or demons.
The Mesopotamian people believed that the shade or spirit (Sumerian gidim) of the deceased was created at the time of death, and then left the body and descended to the netherworld, Irkalla. Some sources[clarification needed] say the spirit was "inherited from the slain god whose body was used in creating man".[dubious ]
In Babylonian mythology Irkalla is ruled by the goddess Ereshkigal and her consort Nergal or Ninazu. Ghosts spent some time travelling to the netherworld, often having to overcome obstacles along the way. The Anunnaki, the court of the netherworld, welcomed each ghost and received their offerings. The court explained the rules and assigned the ghost his fate or place. Another court was presided over by the sun god Shamash, who visited the netherworlds on his daily round, Shamash might punish ghosts who harassed the living, and might award a share of funerary offerings to forgotten ghosts.
The Babylonian netherworld was populated by an array of monsters and demons. However, within the netherworld the ghosts existed in a manner similar to the living. They had houses and could meet with deceased family members and associates.
The Epic of Gilgamesh revolves around a relationship between the hero-king Gilgamesh and his close companion, Enkidu. It may loosely refer to a real king of the 27th century BCE. Part of the story relates Endiku's death, the adventures of his ghost in the underworld, and the eventual return to the world when Gilgamesh breaks a hole in the earth.
Interaction with the living
The Babylonians believed that life in the underworld could be made more tolerable if the surviving relatives made regular ancestor worship offerings of food and drink. The ghosts of people without children to make these offerings would suffer more, while people who died in fire or whose body lies in the desert would have no ghost at all. If the relatives failed to make offerings, the ghost could become restless and visit sickness and misfortune on them.
Physical ailments resulting from hearing or seeing a ghost included headaches, eye and ear problems, various intestinal pains, shortness of breath and dizziness, fever and neurological and mental disorders. Cures involved ritual performances with use of offerings, libations, figurines, ritual burial and dispatch, encirclement, amulets, fumigants, bandages, salves, potions, washes, and suppositories. Other Mesopotamian diseases were blamed on gods or ghosts, each causing a particularly sickness. 
- Thorkild Jacobsen (1978). The treasures of darkness: a history of Mesopotamian religion. Yale University Press. ISBN 0-300-02291-3.
- John A. Halloran, Sumerian Lexicon Version 3.0, sumerian.org
- Jeremy A. Black, Jeremy Black, Anthony Green, Tessa Rickards (1992). Gods, demons, and symbols of ancient Mesopotamia: an illustrated dictionary. University of Texas Press. ISBN 0-292-70794-0. s.v. "gidim".
- Karen Rhea Nemet-Nejat (1998). Daily life in ancient Mesopotamia. Greenwood Publishing Group. pp. 141–145. ISBN 0-313-29497-6.
- Dalley, Stephanie, trans. (1991). Myths from Mesopotamia: Creation, the Flood, Gilgamesh, and Others. England: Oxford University Press. ISBN 0-19-281789-2.
- JoAnn Scurlock (2006). Magico-Medical Means of Treating Ghost-Induced Illnesses in Ancient Mesopotamia. Brill/Styx. ISBN 90-04-12397-0.
- Massoume Price (October 2001). "History of ancient Medicine in Mesopotamia & Iran". Iran Chamber Society. Retrieved 2010-03-13.
- Jo Ann Scurlock, Burton R. Andersen, Diagnoses in Assyrian and Babylonian medicine: ancient sources, translations, and modern medical analyses, University of Illinois Press, 2005, ISBN 978-0-252-02956-1, 495-503.
- Reginald Campbell Thompson, The devils and evil spirits of Babylonia : being Babylonian and Assyrian incantations against the demons, ghouls, vampires, hobgoblins, ghosts, and kindred evil spirits, which attack mankind, tr. from the original Cuneiform texts, with transliterations, vocabulary, notes, etc. (1903)
- "gidim" at the Electronic Text Corpus of Sumerian Literature