"The Signal-Man" is a horror mystery story by Charles Dickens, first published as part of the Mugby Junction collection in the 1866 Christmas edition of All the Year Round. The story is told from a fictional first-person perspective.
The railway signal-man of the title tells the narrator of an apparition that has been haunting him. Each spectral appearance precedes a tragic event on the railway on which the signalman works. The signalman's work is at a signal-box in a deep cutting near a tunnel entrance on a lonely stretch of the railway line, and he controls the movements of passing trains. When there is danger, his fellow signalmen alert him by telegraph and alarms. Three times, he receives phantom warnings of danger when his bell rings in a fashion that only he can hear. Each warning is followed by the appearance of the spectre, and then by a terrible accident.
The first accident involves a terrible collision between two trains in the tunnel. Dickens may have based this incident on the Clayton Tunnel crash[1] that occurred in 1861, five years before he wrote the story. Readers in 1866 would have been familiar with this major disaster. The second warning involves the mysterious death of a young woman on a passing train. The final warning is a premonition of the signalman's own death.