The actor-director turned himself in on Wednesday in connection to a criminal battery case stemming from a 2010 fight with his now ex-girlfriend Oksana Grigorieva.
The 55-year-old arrived at the police station at about 9:30 p.m. and was released a short time later after posting bail.
On Friday, Gibson pleaded no contest to a misdemeanor charge in exchange for 36 months of probation and 52 weeks in a domestic violence counseling program.
Judge Stephanie Sautner also directed him to complete 16 hours of community service with Mending Kids International, which provides surgical care to children. Gibson's estranged wife is on the nonprofit group's board of directors.
Gibson and his attorney emphasized during the court hearing that Gibson was entering the plea to resolve the case, but he was not admitting guilt.
Grigorieva claimed the actor punched her in the face and verbally abused her during a dispute at his Malibu home in January 2010.
City News Service contributed to this report.