"I have always been transparent about my journey with addiction. What I've learned is that this illness is not something disappears or fades with time. It is something I must continue to overcome and have not done yet," she wrote.
"I want to thank God for keeping me alive and well."
The singer left rehab last week and was spotted with friend and fashion designer Henry Levy at a Los Angeles restaurant on Saturday, People reports.
In July, Lovato was rushed to hospital after a suspected drug overdose, with TMZ reporting at the time the situation was so dire the singer's assistant initially thought she had died.
Lovato celebrated six years of sobriety in March but admitted that she had relapsed when she released single Sober in June.
The singer's mother Dianna De La Garza last month confirmed Lovato was now 90 days sober after going to rehab.
"Yes, she has 90 days and I couldn't be more thankful or more proud of her because addiction being a disease, it's work," she told US radio station Sirius XM.