2010s
In 2010, Madison starred in her first leading role in the supernatural horror film Don't Be Afraid of the Dark. She starred alongside Katie Holmes and Guy Pearce, portraying the role of Sally Hurst, a lonely withdrawn child who is sent to live with her father and his new girlfriend. Roger Ebert of the Chicago Sun-Times gave the film 3+1⁄2 stars out of 4, calling it "a very good haunted house film" and adding that it "milks our frustration deliciously."
In 2011, Madison portrayed Maxine Russo in some episodes of Wizards of Waverly Place at the time when Max Russo was turned into a girl.
In 2013, Madison began playing Hillary on the TV sitcom Trophy Wife, replacing Gianna LePera who played the character in the pilot.
In 2014, she began playing the recurring role of Sophia Quinn in the ABC Family drama The Fosters.
In 2015, she began playing Grace Russell, the daughter of Cassie Nightingale, in the Hallmark series Good Witch. Madison continued in the role until the end of the fifth season in 2019.
In 2017, it was announced that Madison would star in an adaptation of Rachel Bateman's novel Someone Else's Summer.
In 2018, Madison portrayed the role of Kinsey, a rebellious child in the slasher film The Strangers: Prey at Night. She starred alongside Christina Hendricks and Martin Henderson, as her parents. Although the film received a mixed response from critics, Madison's performance was praised and was relatively successful at the box office.