Kesha says she "almost died" before seeking help in a rehab clinic for an eating disorder in 2014.
The Tik Tok hitmaker, 30, says a lack of self-confidence can lead people into a spiral of negative feelings and that's just what happened to her, according to the Daily Mail.
"If you feel a certain way about yourself, your body - it can kill you. I almost died. I came closer than I ever knew," she revealed during Refinery 29's Reclaiming the Internet SXSW panel in Austin, Texas.
Read more:
• Schumer: Trolls make me 'powerful'
• Fans go wild about Sheeran's dirty-sounding hashtag
She continued: "By the time I entered rehab, they were surprised I hadn't had a stroke - because I hadn't consumed enough. I'm not ashamed anymore. It's emotional because it's a deep-rooted disease. It can really affect your self-worth."