Miley Cyrus shared her decision to get sober a few months back, but now she's speaking out again and explaining how vocal surgery caused her to want to stop drinking and smoking.

In a recent interview on The Joe Rogan Experience, Miley said that vocal surgery that she had last year "was a gift because I was able to understand my instrument.” She had surgery after being diagnosed with Reinke's edema, which is a swelling of the vocal folds that can be caused, in part, by overuse of the voice and by smoking.

Miley said after 15 years of touring on and off, her voice was affected, not necessarily by the singing, but rather what happens after the show. She said that "afterwards, you're totally on and then it's really hard to get that sleep. You stay up, talking all night. Later, the talking all night turned into smoking all night. And now, this is kinda where we're at.”

When she got the surgery, Miley said she learned more about how to obtain more longevity in her voice, which included off days, vocal rest, and, for her, getting sober. She said she wants to be able to sing for many more years to come.

"I don't smoke anymore and I'm sober," she said: "The vocal surgery kind of did it for me because I just learned so much about the effects, which again, you're just not taught. It's not really the drinking, it's staying up all night. Once you have your drink, you end up smoking."

However, Miley said that she didn't give up drinking necessarily because she had a problem with alcohol specifically and could see herself having a drink or two later in life.

"Alcohol was never my problem," she continued. "There was other things that I end up, you know, I like to go up. So, I now just avoid really drinking because I like to wake up at 110 percent. But it's never really been my problem...but I get so fucking hungover now that I'm like 'why would I celebrate with just feeling like a volcano's erupted in my brain?'"