The Ghost and Mr. Chicken is a 1966 American Universal Pictures feature film starring Don Knotts as Luther Heggs, a newspaper typesetter who spends a night in a haunted house. Knotts was best known at the time of the film's production for his Emmy Award-winning five seasons on the sitcom The Andy Griffith Show as small town deputy sheriff Barney Fife. Knotts left the television show at the end of the 1964-1965 season in order to pursue a film career with The Shakiest Gun In The West and The Apple Dumpling Gang being two of the many films that followed his departure from the series. The Ghost and Mr. Chicken was directed by Alan Rafkin with a screenplay by Jim Fritzell and Everett Greenbaum; all three men had been associated with the success of The Andy Griffith Show. Several players from the television show also appear in the film including Burt Mustin, Hal Smith, and Hope Summers.