 Will Hay, back in his role as a hapless teacher, is hired by a grim school in remotest Scotland. The school soon starts to be haunted by a legendary ghost, whose spectral bagpipes signal the death of one of the staff. Hay, assisted by Claude Hulbert and Charles Hawtrey, has to unravel the mystery before he becomes the next victim.