Before Nikolas Cruz carried out his mass killing at a Florida high school this week, police responded to his home 39 times over a seven-year period, according to disturbing new documents.

Details about the calls to the Broward County Sheriff’s Office — obtained from police records by CNN — were not immediately available and it was impossible to determine if all involved Cruz.

But the nature of the emergencies at his Parkland home included “mentally ill person,” “child/elderly abuse,” “domestic disturbance” and “missing person,” KTLA reported.

And a schoolmate, Brody Speno, told the network that cops were called to Cruz’s home “almost every other week.”

“Something wasn’t right about him,” Speno told CNN. “He was off.”

Speno said he knew Cruz from elementary school and described him as “an evil kid” who was “always getting in trouble.”

Cruz — who posted images of himself on Instagram posing with guns and knives — has confessed to killing 17 people at Marjory Stoneman Douglas High School in Parkland and made an alarming online comment about a recent mass shooting.

“Man I can do so much better,” he wrote.