Demi Lovato is opening up about her depression, addictions and suicide attempts … even revealing that school bullies sent around a “suicide petition” targeting her in elementary school.

The “Sorry Not Sorry” singer sat down with Dr. Phil to discuss overcoming demons from her past, and in doing so revealed she contemplated suicide at just seven years old.

“The very first time I was suicidal was when I was seven and I had this fascination with death,” admitted Lovato. “I have experienced things that I have not talked about and don’t know if I ever will talk about.”

Without elaborating the singer added, “At seven, I knew that if I were to take my own life, that the pain would end.”

Lovato also revealed her suicidal thoughts grew stronger as she got older due to bullying, depression and her bipolar disorder.

“It came back when I was bullied; it came back several times when I was struggling with depression, my bipolar disorder. I turned to cutting and there was a while there when my mom was afraid to wake me up in the morning, she didn’t know if I would be alive or not because every time I cut it got deeper and deeper,” she explained.

When Dr. Phil asked what Lovato could possibly be bullied for at the age of 10 (at the time, she was a regular on “Barney & Friends”), she responded, “A lot of it was the work I was doing. I got made fun of for being on Barney.”

Things got so bad a “suicide petition” began circulating at school.

“The thing that really hurt me is that friends turned on me. It was over petty drama that 12-year-olds have in the 7th grade,” she said. “The reaction was so much more extreme than what was normal, they had a suicide petition and they passed it around the school and got people to sign it. I was cyberbullied and they made fun of my weight.”