Ben Affleck thanked family, friends and fans for support while he finished 40 days in a treatment center for alcohol addiction.
"Battling any addiction is lifelong and difficult struggle," he said.
"Because of that, one is never really in or out of treatment. It is a full-time commitment. I am fighting for myself and my family."
The 46-year-old actor also thanked those who reached out on social media and shared their own experiences with addiction.
"As I've had to remind myself, if you have a problem, getting help is a sign of courage, not weakness or failure."
People reported that Affleck entered rehab in late August, with the help of ex-wife Jennifer Garner.