The 44-year-old actor was set to star in the upcoming Netflix film, Triple Frontier, but is now departing the feature to "take some time to focus on his wellness and his family," according to Deadline.
The thriller, directed by JC Chandor, will replace the actor and continue without him. No word on what specifically made Affleck drop out, but he is still expected to make an appearance at Comic-Con this week to promote part one of Justice League, out in November.
In March, Affleck revealed in an intimate Facebook post that he had completed rehab and was taking the necessary steps for a "positive recovery."
"I have completed treatment for alcohol addiction; something I've dealt with in the past and will continue to confront. I want to live life to the fullest and be the best father I can be," he wrote. "I want my kids to know there is no shame in getting help when you need it, and to be a source of strength for anyone out there who needs help but is afraid to take the first step."