Lori Loughlin is preparing for a life behind bars.

RELATED: Lori Loughlin Plans To Spend Her Christmas Ahead Of Upcoming Trial

Loughlin is hoping for a best-case scenario in her court case regarding the U.S. college admissions scandal, but she is getting ready for a worst-case outcome. The “Fuller House” actress has hired a prison expert to teach her all she needs to know for prison life, says a source.

“She has someone who is advising her what to do in case she loses her case and goes to prison,” the source told People. “The advisor is there to help her learn the ropes. That’s not to be construed that she thinks she’s going to lose her case.”

“Lori is a planner, and she is doing what she needs to do for all contingencies,” the source added.

RELATED: Lori Loughlin Accuses Prosecutors Of Concealing Evidence

Loughlin, 55, faces up to 45 years in prison for her alleged role in the scandal.

ET Canada reached out to Loughlin’s rep for comment who could not confirm the report.