Lindsay Lohan has been ordered to undergo a rigorous outpatient programme including frequent counselling.

The star will be able to continue working under the programme, which includes psychotherapy and addiction counselling sessions several times a week until November.

Los Angeles Superior Court Judge Elden S Fox also ordered the 24-year-old to submit to random drug and alcohol testing at least twice a week and to continue living in the Los Angeles area. He said Li-Lo could be sent back to jail for up to 30 days if she doesn't comply or if she fails the drug and alcohol screenings.

Fox laid out the terms of the actress' early release from an inpatient rehab centre during a 10 minute hearing, which Li-Lo did not attend.

He gave Li-Lo some incentives and rewards. He dismissed two drug counts that the actress pleaded guilty to in 2007. He also said she would be taken off supervised probation in November if she complies with his orders, passes all drug and alcohol tests and does not miss any of her counselling sessions.

Li-Lo's attorney, Shawn Chapman Holley, said the actress is eager to prove that she can comply with Fox's orders.