This film came out in 1944, the same year David O. Selznick released Since You Went Away (1944). Part of the campaign for the latter film were major ads that declared, "'Since You Went Away' are the four most important words in movies since 'Gone With the Wind'!" which Selznick had also produced. Billy Wilder hated the ads and decided to counter by personally buying his own trade paper ads which read, "'Double Indemnity' are the two most important words in movies since 'Broken Blossoms'!" referring to the 1919 D.W. Griffith classic. Selznick was not amused and even considered legal action against Wilder. Alfred Hitchcock (who had his own rocky relationship with Selznick) took out his own ads which read, "The two most important words in movies today are 'Billy Wilder'!"
Author James M. Cain later admitted that if he had come up with some of the solutions to the plot that screenwriters Billy Wilder and Raymond Chandler did, he would have employed them in his original novel.
In the scene where Phyllis is listening at Neff's door as he talks with Keyes, Keyes exits into the hallway and Phyllis hides behind the door. The door opens into the hallway which isn't allowed by building codes, even back then, but it does give Phyllis something to hide behind and increases the tension.
Billy Wilder and Raymond Chandler did not get along while writing the script, a process that was apparently filled with arguments. Wilder claimed that he flaunted his womanizing ability at the time just to torment the sexually-repressed Chandler.
Barbara Stanwyck was the first choice to play Phyllis, but she was unnerved when seeing the role was of a ruthless killer. When she expressed her concern to Billy Wilder, he asked her, "Are you a mouse or an actress?"
One day during production Raymond Chandler failed to show up at work and was tracked down at his home; he went through a litany of reasons why he could no longer work with director Billy Wilder. 'Mr. Wilder frequently interrupts our work to take phone calls from women" . . . " Mr. Wilder ordered me to open up the window. He did not say please" . . . "He sticks his baton in my eyes" . . . "I can't work with a man who wears a hat in the office. I feel he is about to leave momentarily". Unless Wilder apologized, Chandler threatened to resign. Wilder surprised himself by apologizing. "It was the first--and probably only--time on record in which a producer and director ate humble pie, in which the screenwriter humiliated the big shots."
The blonde wig that Barbara Stanwyck is wearing throughout the movie was the idea of Billy Wilder. A month into shooting Wilder suddenly realized how bad it looked, but by then it was too late to re-shoot the earlier scenes. To rationalize this mistake, in later interviews Wilder claimed that the bad-looking wig was intentional.
Raymond Chandler hated the experience of writing the script with Billy Wilder so much that he actually walked out and would not return unless a list of demands was met. The studio acceded to his demands and he returned to finish the script with Wilder, even though the two detested each other.
When approached about adapting the novel to the screen, Raymond Chandler told Billy Wilder that he had to get at least $150 a week in salary and was surprised when Joseph Sistrom told the writer that they had planned to give him $750 a week.
When "Double Indemnity" was first published in 1935, offers of up to $25,000 were tendered, but nothing came of it at the time because the Hays Office considered the novel unsuitable for filming. James M. Cain was ultimately offered $15,000 by Paramount. He was to get half on signing and the other half if the script was approved by the Hays Office.
Edward G. Robinson's initial reluctance to sign on largely stemmed from the fact he wasn't keen on being demoted to third lead. Eventually, he realized that he was at a transitional phase of his career, plus the fact that he was getting paid the same as Barbara Stanwyck and Fred MacMurray for doing less work.
The character Walter Neff was originally named Walter Ness, but director/writer Billy Wilder found out that there was a man living in Beverly Hills named Walter Ness who was actually an insurance salesman. To avoid being sued for defamation of character, they changed the name. In the novel, his name is Walter Huff, and Dietrichson is Nirdlinger
The film was nominated for seven Academy Awards, but lost out to Going My Way (1944). Billy Wilder was so seriously annoyed at Leo McCarey's sweep that when McCarey's name was called for Best Director, Wilder stuck his foot out into the aisle, tripping McCarey up. Wilder would get his revenge the following year when The Lost Weekend (1945) won four Oscars, while McCarey's The Bells of St. Mary's (1945) only picked up one.
Due to strict wartime food rationing, policemen were stationed in the store where a scene with Fred MacMurray and Barbara Stanwyck was filmed, to make sure nobody on the film crew was tempted to take away any of the food. Paramount released publicity stills showing four policemen in the store with MacMurray and Stanwyck.
Raymond Chandler, who knew nothing about screenwriting or filmmaking and had never been in a studio before this film, did not care for Billy Wilder. He thought the director spoke too fast, was too jumpy and was disrespectful because he wore a baseball cap indoors.
Until recently nobody noticed Raymond Chandler's cameo in the film. As Walter Neff comes out of Keyes office (around 16min into the film), Neff walks by Raymond Chandler sitting in the hallway, reading a paperback. There is very little footage of Chandler at all, amazing it took this long to notice him, Chandler did the screenplay for Cain's novel.
In 1942 Raymond Chandler said that Cain was "a [Marcel Proust] in greasy overalls, a dirty little boy with a piece of chalk and a board fence and nobody looking . . . everything he touches smells like a billygoat".
The script was co-written by Raymond Chandler and Billy Wilder. Wilder didn't get on with the famous novelist, whose constant drinking irritated him. Wilder effectively exorcised his demons about dealing with alcoholics with his next film, The Lost Weekend (1945).
Raymond Chandler was kept on a writer's retainer during the film's eight-week shooting period. This was a highly unusual occurrence for any writer at any studio at the time, signifying the high regard that Chandler was held in by Paramount and Billy Wilder.
In 2001 singer Durrell Babbs (a.k.a. "Tank") released his debut album. One of the songs, "Kill 4 U", tells a story that almost perfectly expresses the plot of "Double Indemnity", told from the perspective of the lover Neff's character, though it is unlikely that the song was written with any connection to the film or novel.
Raymond Chandler: About 16 minutes into this movie, Chandler is sitting outside an office as Fred MacMurray walks past. Chandler glances up at MacMurray from a paperback he is reading, a great clue of his identity.
The trivia items below may give away important plot points.
A different ending was shot, with Neff being caught by the police and executed, while Keyes looks on in despair. Billy Wilder decided it would be poignant and fitting for both characters if, instead, Neff were to die in his office, with Keyes by his side as he expressed his regret.
The part of Walter Neff was originally offered to George Raft. He insisted that he would only take on the role if his character turned out to be an FBI agent at the end, entrapping Barbara Stanwyck's character. As this ran completely counter to James M. Cain's original novel, he naturally didn't get the part.