• WARNING: Spoilers

    In 1971, Carolyn and Roger Perron move into a dilapidated, old farmhouse in Harrisville, Rhode Island with their five daughters. During the first day, the family moves in smoothly except for the dog, who refuses to come into the house. That night, the children play a game called hide-and-clap; while playing, one of the daughters finds the boarded up entrance to a cellar. After Roger inspects the basement with a match, the family goes to bed. Carolyn expresses concern because the dog is barking outside, and one of the daughters feels someone pulling at her feet.

    In the morning, Carolyn wakes up with a mysterious bruise and their dog Sadie, is found dead. Over the next couple of days, various paranormal activities occur; doors open and close seemingly by themselves and Carolyn hears clapping when nobody is there. At night, their young daughter Cindy sleepwalks into the eldest daughter's bedroom, where she bangs her head repeatedly against an old wardrobe. The activity culminates in the eldest daughter being attacked by a spirit that looks like an elderly woman. Carolyn seeks the help of Ed and Lorraine Warren, noted paranormal investigators, to validate their concerns. Lorraine senses that a particular malevolent spirit has latched on to the family. They conduct an initial investigation, and conclude they should get involved, explaining to the Perron family that the house may require an exorcism. However, this cannot be done without further evidence and authorization from the Catholic Church.

    During the process of researching the house's history, Ed and Lorraine find out that the house belonged to an accused witch, Bathsheba. When Bathsheba's husband caught her sacrificing their week-old infant, she climbed to the top of a tree on the property, cursed all those who would take her land, and proclaimed her love for Satan before committing suicide. This is followed by reports found of numerous murders and suicides in houses that have since been built upon the property.

    Ed and Lorraine return to the house with a police officer, and another paranormal investigator, Drew. They set up thermal cameras, and alarm systems throughout the house in an attempt to prove the spirit of Bathsheba is inhabiting the house and receive authorization from the Catholic Church. For the first night, nothing happens, and the clocks do not stop at 3:07AM. The next day, they all eat breakfast together and Roger Perron thanks Ed Warren for doing what they can to help. Ed explains that with every exorcism they do, a little piece of his wife Lorraine is taken, but he promises they will do what they can to help them.

    During another night of investigation, nothing seems to happen until nightfall, when Cindy begins to sleepwalk again. While walking upstairs, thermal cameras observe a temperature drop around her as she enters into the wardrobe, whereupon the door slams shut behind her. The others force their way into the room and find a secret passage behind the wardrobe. After Cindy is taken out, Lorraine enters the wardrobe and falls through the floor boards down into the cellar. There, she sees the spirits of people whom Bathsheba has possessed, and realizes Bathsheba's purpose: to possess mothers and use them to kill their children.

    After Lorraine escapes the cellar, she and Ed take their evidence to Father Gordan to organize an exorcism while the Perron family takes refuge at a hotel. Their relief is interrupted when Carolyn suddenly drives back to the house with two of the daughters. Ed and Lorraine rush to the house, where they find Roger and the police officer struggling with Carolyn as she tries to stab one of her daughters with a pair of scissors. Ed suggests they call the priest, but Lorraine reminds him that the priest is too far away, forcing Ed to perform the exorcism himself. While the others hold the tormented Carolyn down, Ed continues the exorcism.

    Carolyn seemingly stops struggling, and for a brief moment it seems the excorism was successful. Suddenly, her chairs flips over end and she is held upside down. Ed yells for the demon to put her down, and after a few tense moments, she is released onto the ground. Ed rushes over to Carolyn, and tells the demon to leave her body. Carolyn slowly turns to Ed and says, "She's already gone.".

    Meanwhile, Drew finds April hiding under the floorboards in the kitchen. He yells down the cellar that he found her, and this alerts the Demon inside Carolyn and she dashes up cellar stairs to find April, in order to complete the sacrifice. Ed and Lorraine Warren, along with Roger, rush up the stairs after her in order to stop her from going through with it. The possessed Carolyn chases after April thru a tunnel underneath the floorboards. Carolyn grabs a hold of April, but at the same time, Lorraine reaches down through the floor and grabs Carolyns head. She tells Carolyn to remember how much her family means to her, and to remember what she told her about how special they were to her and that they mean the world to her, and what she would leave behind if she went through with it. This seems to get through to Carolyn, as her face relaxes, and her breathing returns to normal. The demonic presence in her eyes seems to fade, and she puts April down.

    The scene changes to Carolyn being helped out of the front door, to a now sunny morning. As she crosses from threshold of the door into the sunlight, the bruises on her skin fade away and she returns to her normal self. Roger and Carolyn rejoice with their family in the front yard, embracing one another, knowing that it's finally over.

    After they ward off the demon at the Perron household, the Warrens return to their home. The scene cuts to Ed Warren entering his room of possessed objects and artifacts. He places the old music box from the house on an empty space on a shelf. Lorraine enters the room, and they leave together. After a few seconds, the music box starts to play on its own, and the camera slowly pans back to the music box. The camera zooms in on the mirror of the open music box, and the music slowly comes to a stop. The screen cuts to black, and the credits roll.