The script, a slimmed-down version of Dickens' novel – inspired after David Lean witnessed an abridged 1939 stage version of the novel, in which Guinness (responsible for the adaptation) had played Herbert Pocket, and Martita Hunt was Miss Havisham – was written by David Lean, Anthony Havelock-Allan, Cecil McGivern, Ronald Neame and Kay Walsh. Guinness and Hunt reprised their roles in the film, but it was not a strict adaptation of the stage version. The film was produced by Ronald Neame and photographed by Guy Green. It was the first of two films Lean directed based on Dickens' novels, the other being his 1948 adaptation of "Oliver Twist".