Mel B will undergo random drug and alcohol testing as part of the custody arrangement for the daughter she shares with her ex-husband.
The Spice Girl, real name Melanie Brown, is involved in an ongoing legal battle with Stephen Belafonte over custody of seven-year-old Madison.
On Friday, a former childminder alleged Brown, 43, was an unfit mother. In court papers, Russell Updegraff, who looked after Madison and Brown’s other daughter, 11-year-old Angel, argued her children were at risk due to her drinking, an accusation the singer denies.
At Los Angeles Superior Court on Tuesday, Judge Mark Juhas said Brown will undergo random drug and alcohol testing for four months as part of the joint custody agreement.
As part of the agreement, neither Brown nor Belafonte can take drugs or alcohol eight hours before they have custody of Madison, or during their time with the child.
The judge said Madison will remain with Belafonte until Thursday.
Mr Juhas also ordered a “full-scale evaluation” of the joint custody arrangement.
Lawyers for both Leeds-born Brown and American Belafonte declined to comment following the hearing.
Brown is due to appear on America’s Got Talent on Tuesday evening, where she acts as a judge alongside Simon Cowell, Heidi Klum and Howie Mandel.