The R&B star, 20, had been charged with assault and making criminal threats regarding the incident that happened in the early hours of February 8. He had faced up to four years behind bars if convicted.
It is reported that by pleading guilty to the felony charge he will now have to complete five years of supervised probation and six months of community labour in his home state of Virginia.
According to People, the judge said: "I want Mr Brown to be treated the same as any other defendant who would come into this court.
"That means something like Caltrans [rubbish pickup] or graffiti removal, and a two-week domestic violence programme."
He was also ordered to stay at least 50 yards away from Rihanna for the next five years, except at public events where the distance was reduced to 10 yards.
Brown will have to return to the California court for a progress update every three months.
Rihanna, 21, had been expected to testify at the preliminary hearing later today. She was photographed arriving at the courthouse but was reportedly not present in the courtroom when the plea deal was announced.