Plot summary
Outside of "the Dancers," a club in Los Angeles, private detective Philip Marlowe meets Terry Lennox, a drunk with scars on one side of his face. They forge an uneasy friendship over the next few months, having drinks, especially gimlets, together at bars. In June, Lennox shows up late one night at Marlowe's home in "a great deal of trouble" and needing a ride to the airport across the border in Tijuana. Marlowe agrees as long as Lennox does not tell him any details of why he is running. He later finds five $100 bills left to him by Terry.
On his return to Los Angeles, Marlowe learns that Lennox's wife Sylvia was found dead; she had died before Lennox fled. Marlowe is arrested for aiding a suspected murderer after refusing to cooperate with police detectives, who want him to confess he helped Lennox flee. Sylvia's murder was particularly violent, and Marlowe cannot believe that the man he had befriended would have done that. After three days of antagonizing his interrogators, Marlowe is released, the police explaining that Lennox has been reported to have committed suicide in a small Mexican town with a written confession by his side. Marlowe gets home to find a cryptic letter from Lennox containing a "portrait of Madison" (a $5,000 bill).
Marlowe gets a call from New York publisher Howard Spencer, who asks him to investigate a case. One of Spencer's best writers, Roger Wade, has a drinking problem and has been missing for three days. Marlowe initially refuses, but after Wade's wife, Eileen, also asks for Marlowe's help, he consents. Marlowe finds Wade in a makeshift detox facility in an isolated and soon-to-be-abandoned ranch. He takes his fee, but the Wades' stories do not match.
The Wades each try to persuade Marlowe to stay at their house to keep Roger writing instead of drinking. Despite refusing, he makes further trips to the house at their behest. Marlowe is invited to an awkward cocktail party, where Dr. Edward Loring threatens Wade, telling him to leave his wife Linda alone. Marlowe accidentally met Mrs. Loring previously at a bar, where they were drinking gimlets together in memory of Lennox. Linda Loring is actually Sylvia Lennox's sister, and knew Terry well.
After being called by a drunk and disoriented Roger, Marlowe arrives to find Wade passed out in the grass with a cut on his head and Mrs. Wade oddly uninterested in her husband's welfare. He is put to bed with a head wound from a likely fall. Dr. Loring is called and examines Wade, not hiding his contempt. Wade wakes up and begs Marlowe to remove and destroy typewritten pages in his study he wrote while drunk, not wanting his wife to read them.
Marlowe reads the pages, finding a cryptic self-analysis by Wade which hints at repressed trauma he does not quite understand alongside a clear statement that "once a good man died" for him. Marlowe keeps this evidence. Hearing a shot, he rushes to find the couple struggling over a gun in Roger's bedroom. Marlowe sits with Roger until the latter has taken sleeping pills. As he is leaving, a distraught half-naked Eileen enters a sort of trance and attempts to seduce Marlowe, apparently thinking him to be a former lover who died in the Second World War. Marlowe refuses and crashes on their couch, getting drunk and passing out to not be tempted by Eileen. The Wades' houseboy, Candy, makes threats against Marlowe. The next morning, Eileen behaves normally and Marlowe leaves.
Marlowe is repeatedly threatened and told to cease his investigation of the Lennox case, first by a gangster friend of Lennox's named Mendy Menendez, then by Lennox's wealthy father-in-law Harlan Potter, by his old friend Bernie Ohls from the LAPD, by Candy and by Mrs. Wade. Through his own hunches and inquiries, Marlowe learns that Terry Lennox had previously lived as Paul Marston, who had married and spent some time in England.
Roger calls Marlowe again, inviting him to the Wades' for lunch. After indulging in self-pity over his writing difficulties, he posits that he is an alcoholic because he is trying to find answers to the trauma in his past, offers Marlowe a check of $1,000, then proceeds to drink himself into a stupor. Marlowe asks him if he ever knew someone named Paul Marston, and with an effort Roger says no. Marlowe takes a walk outside. When he returns, Eileen is ringing the doorbell, having forgotten her key. Marlowe finds Roger dead on the couch, apparently from suicide, but Eileen accuses Marlowe of killing him. Candy fabricates a story of Marlowe sleeping with Mrs. Wade to implicate Marlowe, believing him to be guilty, but his claims are undermined in an interrogation. The police do not hold Marlowe.
Marlowe receives a call from Spencer regarding Wade's death and bullies Spencer into accompanying him to see Mrs. Wade. Once there, with Spencer as witness, Marlowe grills her on the death of Sylvia Lennox. Eileen first tries to blame it all on Roger but Marlowe pokes holes in her story, arguing that she killed both Mrs. Lennox and Roger Wade and that Lennox was her first husband, presumed killed while serving with the British Commandos in Norway during the war. (It transpires that Marlowe is correct: Lennox was indeed Paul Marston, who was in fact not killed in Norway but, in spite of brutal maltreatment by his German captors, had survived; not realising that he was still alive, his wife Eileen had remarried: hence both their despair, and Roger Wade's torment.) Eileen flees to her room, but Marlowe convinces Spencer not to call the police. The next morning, Marlowe learns that she has killed herself by overdosing on painkillers, leaving a note describing the affair Mrs. Lennox was having with her husband and confessing to killing them both in a jealous rage.
Marlowe refuses to let the story lie, and when the authorities decide to forgo an inquest because it will show them up, he steals a duplicate photostat of Eileen's confession from the police. Marlowe contacts a reporter he knows in order to make sure the confession is printed, even though the reporter warns him that he'll make numerous enemies by doing so. Marlowe replies that he has been trying to say goodbye to Terry Lennox for "a long, long time." A few days later Marlowe is assaulted by Menendez, who is then arrested by Ohls in a setup. Ohls explains that Marlowe was intentionally left in a position to take the photostat because the police wanted to trap Menendez in a felony, and Ohls knew that Marlowe's scruples and stubbornness would lead him to do the best he could to clear Lennox's name.
Mrs. Linda Loring has called Marlowe previously, informing him that she is getting a divorce from her husband Dr. Loring, who has written prescriptions for massive doses of Demerol to the late Mrs. Wade, allowing her to overdose. Linda pays a visit to Marlowe's house with an overnight bag, and they drink champagne together. She stays for the night and even proposes marriage to Marlowe. In the morning they part amicably, Linda leaving for Paris.
Later, Marlowe is visited by a Mexican man who claims to have been present when Lennox was killed in his hotel room. Marlowe listens to his story but rejects it and offers his own version, ending with the revelation the Mexican man is none other than Lennox himself, who has had cosmetic surgery after his elaborately faked suicide. Lennox attempts to make amends for the trouble he has caused Marlowe but is rebuffed. While Marlowe claims that he doesn't judge him for what he did, he returns the $5,000 bill and says Lennox is "not here anymore." Lennox is hurt by this and leaves after saying goodbye. The novel ends with Marlowe listening to Lennox leave and faintly hoping he might return but instead explaining that he never saw him again.