Howard Hawks had bet Ernest Hemingway that he (Hawks) could make a good film even out of Hemingway's worst novel. Hawks chose "To Have..." and proceeded to win the bet by deleting most of the story, including the class references that had justified the book title, and shifting to an earlier point in the lives of the lead characters.
At the funeral for her husband, Humphrey Bogart, Lauren Bacall put a whistle in his coffin. It was a reference to the famous line she says to him in their first film together To Have and Have Not (1944): "You know how to whistle, don't you? You just put your lips together and blow.".
Humphrey Bogart and Lauren Bacall fell in love during production. Director Howard Hawks afterward said that it was actually Bacall's character Marie that Bogart had fallen for, "so she had to keep playing it the rest of her life." However, it has also been said that Hawks - who was something of a womanizer, and who had a fling with Dolores Moran during the shooting of the film - was jealous and frustrated that Bacall had fallen for Bogart and not for Hawks himself.
Many of aspects of Lauren Bacall's screen persona in her film debut To Have and Have Not (1944) were based on director Howard Hawks' wife at that time, Slim, including her name, glamorous dresses, long blonde hair, smoky voice and demure, mysterious demeanor.
The most famous scene in To Have and Have Not (1944) is undoubtedly the "you know how to whistle" dialog sequence. It was not written by Ernest Hemingway, Jules Furthman or William Faulkner, but by Howard Hawks. Hawks wrote the scene as a screen test for Bacall, with no real intention that it would necessarily end up in the film. The test was shot with Warner Bros. contract player John Ridgely acting opposite Bacall. The Warners staff, of course, agreed to star Bacall in the film based on the test, and Hawks thought the scene was so strong he asked Faulkner to work it into one of his later drafts of the shooting script.
Howard Hawks gave John Huston the climax (a shootout on a boat) that he was unable to fit into the end of this film. Huston used this in Key Largo (1948) as he had been having difficulties coming up with a satisfactory ending.
The film debut of Lauren Bacall. The DVD sleeve notes state that she was nineteen years of age at the time whilst her dialogue in the film indicates that she was playing a character (Marie 'Slim' Browning) which was aged twenty-two years of age.
Hoagy Carmichael played most of his scenes with a matchstick in his teeth. Seeing this on the set at the start of shooting, Humphrey Bogart gave kudos to Carmichael, telling him that the matchstick was a nice touch and would make him stand out in the film. Carmichael was surprised afterward to see a scene being filmed with Bogart and Walter Brennan, both of them chewing matchsticks throughout the shot. They finally revealed that they were having a bit of fun at Hoagy's expense.
Andy Williams states in his biography that his voice (at age 14) is the one actually used for Lauren Bacall singing "How Little We Know". But according to author Eric Lax, Bacall did her own singing, after researching studio call sheets.