Rachel McAdams is said to be locking down a lead role in season 2 of HBO’s “True Detective.”

Sources tell Variety HBO has offered McAdams the part opposite Colin Farrell and Vince Vaughn. Taylor Kitsch is expected to land the role of the fourth lead.

Though HBO recently announced Farrell and Vaughn as the show’s leads, sources say fans could have a similar response to the female lead as they did to Matthew McConaughey’s part as Rust Cohle in season 1.

Several other actresses have been considered for the part, including Jessica Biel and Malin Akerman, but McAdams has been seen as the front-runner for the past few weeks. HBO could not immediately be reached for comment.

It came down to scheduling, as insiders tell Variety McAdams was about to start filming “Spotlight,” the drama revolving around the Catholic Church sex scandal uncovered by the Boston Globe, and it was unknown whether dates could be worked out for McAdams to do that film and “True Detective.” Sources say that in the past 24 hours, a deal was worked out where the actress could do both projects.

Justin Lin is set to direct the first two episodes of season 2. “True Detective” creator Nic Pizzolatto has been busy writing the second season, which is set in California and revolves around three police officers and a career criminal who navigate a web of conspiracy in the aftermath of a murder.

McAdams and Kitsch are expected to play cops alongside Farrell, while Vaughn plays the crime boss whose empire is threatened when his partner is murdered.

McAdams, repped by WME and Magnolia Entertainment, is already set to have a busy 2015 with the untitled Cameron Crowe pic and the Jake Gyllenhaal boxing pic “Southpaw” both bowing next year. She was most recently seen opposite Philip Seymour Hoffman in “A Most Wanted Man.”