The Resident is a 2011 British/American thriller film directed by Antti Jokinen starring Hilary Swank, Jeffrey Dean Morgan and Christopher Lee. The original music score is composed by John Ottman.
Juliet Devereau (Hilary Swank), an emergency room surgeon, rents an apartment in New York City from Max (Jeffrey Dean Morgan). Juliet has recently broken up with her boyfriend Jack (Lee Pace) after she caught him having an affair, but she still has feelings for him. Unbeknownst to Juliet, someone is stalking her, observing her from across the street and even apparently entering her apartment
At a party, Juliet bumps into Max and flirts with him. As they walk home, Jack follows them from across the street. Juliet and Max kiss, and later go on a date together. A flashback reveals that Max is the one stalking Juliet. He has rebuilt her apartment to include secret passageways and a two way mirror which he can use to watch her.
Juliet breaks off her romantic relationship with Max because of her feelings for Jack. Max continues to observe Juliet secretly and sees her and Jack have sex. Afterwards he begins drugging Juliet’s wine so he can be closer to her while she is unconscious. After oversleeping for the third time in two weeks, Juliet becomes suspicious that she may have been drugged and has security cameras installed in her room.
After a date with Juliet, Jack is attacked and injured by Max. That night, Max drugs Juliet and attempts to rape her, but she awakens and he flees after giving her an injection. The next morning Juliet finds the cap from the hypodermic. At work she has her blood and urine analyzed and discovers high levels of Demerol and other drugs. She rushes back home and finds Jack’s belonging there but no sign of him. A nightshirt of hers is in a location where she did not leave it. She checks the security camera footage and sees Max assaulting her.
Max enters her apartment and tries to get her to drink some wine, but she refuses. He then assaults her, attempting to stab her with a hypodermic. She gets away and locks herself in the bathroom, but Max breaks in and pulls her into one of the secret passageways. There she sees the body of Jack, who has been murdered by Max. Juliet shoots Max with a nail gun and escapes.