Overview
In ghostlore, a ghost train is a phantom vehicle in the form of a locomotive or train. The ghost train differs from other traditional forms of haunting in that rather than being a static location where ghosts are claimed to be present, "the apparition is the entire train".
Geographical distribution
Ghost trains are reported in many different parts of the world where trains have at some point been prevalent forms of transportation. Accounts of ghost trains have been reported in Canada, Japan, Sweden, the United Kingdom, and in many states of the United States.
Japan: Tanuki versus steam trains
In Japan, the or is a folk tale of a phantom/counterfeit/ghost steam train involving the tanuki. Such tales were widespread by 1910, and folklorist Kizen Sasaki commented in 1926 that "probably everybody has heard this story somewhere at least once". The earliest instance of the tale that he had been able to trace was from some time between 1879 and 1887, but it had spread as the railways, first arriving in Japan only a few years earlier, had themselves spread across the country.
According to Sasaki, the tales of ghost steam trains are rather humorous, unlike the Japanese folk tales of ghost ships which are more mystical in character.
The essence of the folk tale is that steam train drivers would hear the noise of a steam train coming towards them along the track, and they would initially stop to avoid a collision; but they would eventually carry on, when no train arrived, later to find a dead tanuki lying across the tracks.
The tale would conclude with a humorous observation such as that "of course the tanuki really enjoy imitating things".
From Wikipedia (CC BY-SA 4.0).