Prosecutors dropped the domestic violence charges against him over a New Year's Eve incident with his wife.
He'll be sentenced to three years probation, 52 weeks domestic violence counseling and 100 hours of community service.
Mayor Ed Lee must now decide whether to file official misconduct charges against Mirkarimi, who says he will not resign.