Billy Wilder claimed that he and I.A.L. Diamond already had Jack Lemmon in mind to play Baxter when they wrote the screenplay. In an interview years later, Lemmon confirmed this.
Billy Wilder originally thought of the idea for the film after seeing Brief Encounter and wondering about the plight of a character unseen in that film. Shirley MacLaine was only given forty pages of the script because Wilder didn't want her to know how the story would turn out. She thought it was because the script wasn't finished.
Billy Wilder wrote the role of "Dr. Dreyfuss" for Lou Jacobi. But the producers of Jacobi's Broadway play wouldn't release him to make the film. So Jack Kruschen played the role and received an Oscar nomination. Wilder made it up to Jacobi by casting him as "Moustache" in Irma la Douce after the previously announced Charles Laughton died.
Billy Wilder: [Sheldrake] Wilder also used the character name Sheldrake in Sunset Blvd., Ace in the Hole, and Kiss Me, Stupid.
Paul Douglas was cast as Sheldrake but died before filming began.
According to Shirley MacLaine on her official web site, much of the movie was written as filming progressed. The gin rummy game was added because at the time she was learning how to play the game from her friends in the Rat Pack. Likewise, when she started philosophizing about love during a lunch break one day, this was also added to the script.
Although Adolph Deutsch received sole screen credit for the music score, the very popular "Theme from The Apartment" was actually a pre-existing piece of music (originally "Jealous Lover", 1949) by British composer Charles Williams, who was known for his scores for British films and BBC radio dramas.
In 1968, playwright Neil Simon adapted the screenplay as the book for the Broadway musical "Promises, Promises". It spawned the hit song "I'll Never Fall in Love Again", composed by Burt Bacharach and Hal David. "Promises, Promises" opened at the Shubert Theater on December 1, 1968 and ran for 1281 performances. The first Broadway revival opened at the Broadway Theater April 25, 2010 starring Kristin Chenoweth.
In 2007, the American Film Institute ranked this as the #80 Greatest Movie of All Time.
It was said that while filming the scene where C.C. Baxter sleeps in Central Park in the rain, Billy Wilder had to spray Jack Lemmon with anti-freeze to keep him from freezing.
Premiere voted this movie as one of "The 50 Greatest Comedies Of All Time" in 2006.
The "C.C." in C.C. Baxter is short for Calvin Clifford
The film's classic last line was thought up by the writers at the last minute on-set.
The name on the door next to Baxter's office is T.W.Plews. Tom Plews was the prop master.
The nasal spray used by Jack Lemmon was actually milk. Real nasal spray would not have shown up on camera.
The office Christmas party scene was actually filmed on December 23, 1959, so as to catch everybody in the proper holiday mood. Billy Wilder filmed almost all of it on the first take, stating to an observer, "I wish it were always this easy. Today, I can just shout 'action' and stand back."
The studio wanted Groucho Marx for the role of Dr. Dreyfuss, but Billy Wilder said no, stating that he wanted an actor with more dramatic weight for the part.
The wool coat Fran wears in various scenes actually belonged to Audrey Young, the wife of Billy Wilder).
This is the first Best Picture Oscar winner to specifically refer to a previous winner, in this case two of them. First Grand Hotel, which Baxter attempts to watch on television but is too long delayed because of commercials. Bud's boss also refers to Bud and Fran having "a lost weekend" together in Bud's apartment, a reference to Billy Wilder's earlier Oscar winner, The Lost Weekend.