Brief Encounter as Source The Apartment (1960)
The seed of The Apartment came from David Lean's Brief Encounter (1945), the British romantic drama starring Celia Johnson and Trevor Howard as two married strangers who meet at a railway station and conduct a brief, chaste affair. Wilder saw the film during its initial release and the detail that lodged in his mind was not the doomed lovers but a peripheral character — the friend whose flat the married man borrows for the affair. The friend never appears on screen. The Apartment is the film that gives that friend a name, a desk number, and a moral arc.
What Wilder noticed
In Brief Encounter, Trevor Howard's character, Alec Harvey, attempts to take Celia Johnson's character, Laura Jesson, to a friend's flat for a sexual consummation that ends in farce when the friend, Stephen, comes home unexpectedly. Laura flees down the back stairs. The friend's flat is a plot device that sets up a single comic-shameful scene; the friend himself is an offscreen presence whose name is mentioned twice and whose moral position is never examined.
Wilder was uninterested in Alec and Laura. He was interested in Stephen.
"I had this idea for The Apartment for many years. I saw a picture made by David Lean called Brief Encounter . . . and the man had a friend, and they go to the friend's apartment. And I always thought, 'Now there's a movie — what about the friend who has to crawl into the warm bed left by two lovers?' But it was a censorable idea in those days, you couldn't do a movie like that." — Billy Wilder, Cinephilia & Beyond (interview reprint)
The Wilder question — what does it cost the friend? — is the question Brief Encounter declines to ask. Lean's film is interested in Laura's interior life and the moral cost of the affair to the lovers. Wilder asked: who pays the rent on the room? Whose bed gets made afterward? Whose neighbors are listening through the wall?
Fifteen years on the shelf
Wilder kept the idea in a small notebook of unrealized projects from 1945 to 1959. The reason it stayed there for fifteen years was the Production Code, which would not have permitted a film whose protagonist enables adultery for career advancement. The Code required "compensating moral values" — the adulterer had to suffer, and the enabler would have to be punished as well.
By 1959, the Code's grip had loosened. Some Like It Hot (1959) had been released without a Production Code seal of approval and become Wilder's biggest commercial success. The Catholic Legion of Decency was losing influence. Wilder pulled the idea out of the notebook and started writing with I.A.L. Diamond.
"The censors were tired by 1960. They had been beaten by Some Like It Hot and they didn't have the fight in them anymore. The Apartment would not have been possible in 1948. By 1960 it was possible. By 1965 it would have been a different movie altogether — too late, too easy." — Billy Wilder, American Film Institute (1986)
What changed in translation
The two films share a structural premise — adultery conducted in borrowed lodgings — but they are operating in different registers. Brief Encounter is interior, restrained, suffused with Rachmaninoff and the romantic anguish of two essentially decent people doing one bad thing. The Apartment is satirical, structural, mechanical. The cost of the affair is not measured in private guilt but in observable damage — a stomach pump, a broken compact, a fired secretary, a junior clerk sleeping on a park bench.
Both films are about the moral cost of adultery. Brief Encounter locates the cost in the lovers. The Apartment locates the cost in everyone else.
"Lean was interested in the conscience of the adulterer. Wilder was interested in the conscience of the bystander. The two films are arguing about who actually pays for an affair, and they reach opposite conclusions. Brief Encounter says: the lovers pay, and they pay alone. The Apartment says: the lovers don't pay much; the people they use pay everything." — Neil Sinyard, The Films of Billy Wilder (1980) (book, not available online)
Fran is not Laura
The other inversion is in the woman's role. Celia Johnson's Laura is the protagonist of Brief Encounter — the film is told in her flashback, voiced by her interior monologue, structured around her marriage and her decision to return to it. Trevor Howard's Alec is the catalyst but the film belongs to Laura.
In The Apartment, Fran Kubelik is the other woman, not the wife. She is the one Sheldrake takes to the borrowed flat. She is Laura's structural opposite — the unmarried young woman whose life the affair is ruining, rather than the married woman whose marriage the affair is testing. Wilder's interest in the other woman was a deliberate inversion of the Brief Encounter perspective.
Shirley MacLaine's Fran is given an interior life that Brief Encounter's Laura would have recognized — the same self-aware, articulate consciousness watching itself fail to leave — but Fran is positioned in the affair the way Laura never was. Laura goes home to her husband. Fran has nowhere to go. The escape that Brief Encounter offers Laura is not available to Fran, which is why Fran ends up in Baxter's bed with an empty pill bottle.
The corporate framing
The largest difference between the two films is the corporate context. Brief Encounter takes place in a small English town with no organizational architecture. The affair is between a country doctor and a suburban housewife, conducted in railway tearooms and at the cinema. There is no boss. There is no firm.
The Apartment sets the affair inside Consolidated Life of New York, with 31,259 employees on its books, where the apartment-borrower is the personnel director and the apartment-lender is a clerk in Premium Accounting. The Wilder transposition runs the Brief Encounter premise through the actuarial culture of mid-century corporate America, and that transposition is the entire film.
What Brief Encounter could treat as a private moral matter, The Apartment must treat as an organizational problem. The film's argument that office politics and personal corruption are the same thing depends on this framing. See Office Politics in 1960.
Lean acknowledged the influence
David Lean was reportedly aware of and amused by The Apartment's debt to Brief Encounter. The two directors knew each other socially in the 1960s — both were members of a generation of postwar filmmakers operating between Britain and Hollywood — and Lean is said to have told Wilder he had given the offscreen friend a better life than Lean ever had.
The historical record on the encounter is thin (no published Lean interview directly addresses it), but the line has been repeated in multiple Wilder retrospectives and is consistent with what is known of the two directors' friendship.
"Lean made Brief Encounter into a great film about two people. Wilder made The Apartment into a great film about everyone the two people forgot." — David Thomson, The New Biographical Dictionary of Film (2014) (book, not available online)