Doctor Sleep is based on the
2013 horror novel of the same name by
Stephen King. The novel is a sequel to King's 1977 novel
The Shining. The 1977 novel was adapted into
a 1980 horror film of the same name by director
Stanley Kubrick. King was critical of Kubrick's film adaptation to the point of writing and executive-producing a new adaptation with
the 1997 television miniseries.
[14] While the film
Doctor Sleep is intended to be a direct adaptation of the 2013 sequel novel, director Mike Flanagan said
Doctor Sleep would still "acknowledge Kubrick's
The Shining in some way".
[15] Flanagan said, "It is an adaptation of the novel
Doctor Sleep, which is Stephen King's sequel to his novel,
The Shining. But this also exists very much in the same cinematic universe that Kubrick established in his adaptation of
The Shining." He explained working with both
The Shiningnovel and film, "Reconciling those three, at times very different, sources has been the most challenging and thrilling part of this creatively for us." He first visited the novel then had a conversation with King to work out adapting both sources. As part of the process, Flanagan recreated flashback scenes from
The Shining with the exception of the elevator lobby scene where blood poured out of an elevator.