Kid Cudi has checked himself into rehab for "depression and suicidal urges".
The musician and actor shared the news with fans on Facebook, saying he felt ashamed as he felt he had been living a lie, and that it had been "difficult" to find the words to write the post.
He wrote: "Yesterday I checked myself into rehab for depression and suicidal urges.
"I am not at peace. I haven't been since you've known me. If I didn't come here, I would've done something to myself. I simply am a damaged human swimming in a pool of emotions every day of my life."
Kid said his mental health problems had been ruling his life.
"Theres a ragin violent storm inside of my heart at all times," he said.
"Idk what peace feels like. Idk how to relax. My anxiety and depression have ruled my life for as long as I can remember and I never leave the house because of it. I cant make new friends because of it.
"I dont trust anyone because of it and Im tired of being held back in my life.
"I deserve to have peace. I deserve to be happy and smiling. Why not me?
"I guess I give so much of myself to others I forgot that I need to show myself some love too. I think I never really knew how. Im scared, im sad, I feel like I let a lot of people down and again, Im sorry. Its time I fix me. Im nervous but ima get through this."
Kid, whose real name is Scott Mescudi, said he would not be around much to promote his music, but that his manager and Republic Records would tell fans about any upcoming releases.
The star said he hoped to be better in time for the ComplexCon festival in November, where he is due to perform.
He ended by saying: "Love and light to everyone who has love for me and I am sorry if I let anyone down. I really am sorry.
"Ill be back, stronger, better. Reborn. I feel like shit, I feel so ashamed. Im sorry. I love you."