In documents obtained by ET, a judge signed the final divorce papers on Wednesday that the exes filed to the L.A. County Superior Court last week.
The docs state that both Garner and Affleck will share legal custody of their three children, Violet, 12, Seraphina, 9, and Samuel, 6.
The parents will have to consult with one another on all major decisions relating to their kids' health, education and welfare.
TMZ was first to report the news.
They will also share physical custody of their children, and "meet and confer and work with a mutually agreeable therapist to determine a physical custody schedule that is in the best interests of the minor children," per the documents.
They will also meet with a co-parenting therapist on a monthly basis for a minimum of six months.
Affleck and Garner announced their separation in 2015 and filed for divorce last April.
The pair -- who don't have a prenup -- filed "pro per," without legal representation, and filed both the petition and response, which mirror each other exactly, together.
This final signature that they needed from the judge comes a month after Affleck completed a 40-day stay in rehab.