TMZ has learned ... Judge Marsha Revel has removed herself from the Lindsay Lohan case after allegations the judge improperly contacted people involved in the case.
Sources tell us ... lawyers in the case had a conference call with Judge Revel last Friday at 3:30 PM. Lawyers complained that Judge Revel had contacted "participants and experts" in the case without notifying the lawyers in advance.
We're told one of the issues -- Judge Revel took it upon herself to make contact with people from the Morningside Recovery rehab facility and then selected Morningside, even though it was not on the list of recommended facilities by her own court-appointed experts. Ultimately, Lindsay's lawyer convinced Judge Revel to send LiLo to UCLA. But the issue was raised on Friday.
Judge Elden Fox -- who also presides in Bev Hills -- is the new judge on the case.
UPDATE: Sources in the D.A.'s Office tell TMZ ... prosecutor Danette Meyers was the one who raised the objection with Judge Revel on Friday. We're told Judge Revel voluntarily recused herself before Meyers filed legal papers to have her removed.
UPDATE: We're told among the prosecutor's complaints -- Judge Revel spoke with Morningside reps at least twice, medical experts at least twice, and Robert Shapiro in chambers without the lawyers being notified in advance.