<P> In June 2015, Emily Blunt was offered for the title role, the lonely and alcoholic divorcee Rachel . The studio had eyed Kate Mara for another of the three lead roles . In August, Rebecca Ferguson was confirmed to play Anna and Haley Bennett was added to the cast to play the third female lead role, Megan . </P> <P> Jared Leto and Chris Evans were in talks to join the film, where Evans would play Tom, Rachel's ex-husband, and Leto would play the neighbor's husband . However, Justin Theroux replaced Evans and Luke Evans replaced Leto, who both left the film due to scheduling issues . In October, Édgar Ramírez joined the film to play Dr. Kamal Abdic, who is in an affair with the married Megan, and becomes a suspect in her disappearance . Allison Janney also joined the cast to play a police detective . The next month, Lisa Kudrow was cast as Martha, the wife of Tom's former boss . Laura Prepon joined the cast as Cathy, the landlord, roommate, and college friend of Rachel Watson . </P> <P> Principal photography on the film began on November 4, 2015, in New York City . In late November 2015, filming also took place in White Plains, as well as in Hastings - on - Hudson and Irvington, New York . Filming wrapped up on January 30, 2016 . </P> <P> During post-production on the film, a cameo appearance by Paula Hawkins was cut from the film . </P>

Where did they film girl on a train