Lohan was led out of the courtroom in handcuffs, and was released a short time later from Airport Courthouse after $100,000 bail was posted, according to her spokesman Steve Honig.
Superior Court Judge Stephanie Sautner hammered Lohan during the tense hearing, and said that the actress getting ousted from a community service assignment at a women's shelter constituted a violation of her probation.
Lohan had been ordered in April to serve 360 hours at the Downtown Women's Center, an agency that helps homeless women. Nine of Lohan's appointments at the center were "just blown off" and she "showed up once and left after an hour," Sautner said.
Lohan has since started serving hours with the American Red Cross, but Sautner said that would not count because it was not part of her sentence.
Sautner urged her to complete a minimum of 16 hours of her community service at the county morgue before her next scheduled hearing Nov. 2. At that time, Sautner will decide whether Lohan should serve her fifth stint behind bars. Lohan was released early due to jail overcrowding four previous times.
The judge also admonished Lohan for failing to show up for her four-hour appointments at the women's center and for taking six months to complete a court-ordered Shoplifters Anonymous course. Sautner also questioned how Lohan could have complied with her court-ordered weekly psychological counseling when she was traveling in Europe from Sept. 9 to Oct. 5.
The development marked the latest legal problem for the 25-year-old Lohan, who was given probation for a 2007 drunken driving case and a misdemeanor theft case this year.
"Lindsay is hoping this matter will be resolved on Nov. 2 and the court will reinstate probation and allow her to continue fulfilling her community service," Honig said.
The actress has been in perpetual trouble since May 2010, when another judge determined she violated her probation in the drunken driving case and sentenced her to jail and rehab. She faltered after being released early from a rehab facility early and was sent to the Betty Ford Center, where she got in an altercation with a rehab worker who later sued.
Within weeks of her release from Betty Ford, Lohan was accused of taking a $2,500 necklace without permission from an upscale jewelry store near her home in the Venice neighborhood of Los Angeles.
Sautner determined the January incident constituted a probation violation, and Lohan was ordered to undergo psychological counseling and perform 480 hours of community service, with 120 hours to be spent at the morgue.
Lohan later pleaded no contest to a misdemeanor charge in the theft case and served 35 days of a four-month sentenced on house arrest.