In San Francisco, homicide detective Nick Curran investigates the murder of retired rock star Johnny Boz, who has been stabbed to death with an ice pick during sex with a mysterious blonde woman. Nick's only suspect is Boz's bisexual girlfriend, crime novelist Catherine Tramell, who has written a novel that mirrors the crime. It is concluded that either Catherine is the murderer or someone is attempting to frame her. Catherine is uncooperative and taunting during the investigation, smoking and exposing herself during her interrogation. She passes a lie detector test and is released. Nick discovers Catherine has a history of befriending murderers, including her girlfriend Roxy, who impulsively killed her two younger brothers when she was sixteen years of age, and Hazel Dobkins, who killed her husband and children for no apparent reason. Nick, who accidentally shot two tourists while high on cocaine during an undercover assignment, attends counseling sessions with police psychologist Dr. Beth Garner, with whom he has an on-and-off affair. Nick discovers that Catherine is basing the protagonist of her latest book on him, wherein his character is murdered after falling for the wrong woman. Nick suspects that Catherine has bribed Lt. Marty Nielsen of Internal Affairs for information from Nick's psychiatric file and that Beth had previously given it to Nielsen after he threatened to recommend Nick's termination. Nick assaults Nielsen in his office, and later becomes a prime suspect when Nielsen is killed. Nick suspects Catherine, and when his behavior deteriorates, he is put on leave. Nick and Catherine begin a torrid affair with the air of a cat-and-mouse game. Nick arrives at a club and witnesses Catherine doing cocaine with Roxy and another man. Nick and Catherine dance and make out, and are later observed by Roxy, having violent sex in Catherine's bed. Catherine ties Nick to the headboard with a white silk scarf, just as Boz was tied by the mystery blonde, but does not kill him. Roxy, jealous of Nick, attempts to run him over with Catherine's car, but dies when the car crashes. Catherine grieves over Roxy's death and tells Nick about a previous lesbian encounter at college that went awry. She claims that the girl became obsessed with her, causing Nick to believe that Catherine may not have killed Boz. Nick identifies the girl as Beth, who acknowledges the encounter, but she claims it was Catherine who became obsessed. Additionally, Nick discovers that a college professor of Beth and Catherine's was also killed with an ice pick in an unsolved homicide, and that the events inspired one of Catherine's early novels.