California Code of Civil Procedure Section 1170.5 sets the trial timeline for unlawful detainer cases: the court must hold trial no later than 20 days after either party files a request to set the case for trial. If that deadline slips without both sides agreeing, the statute lets the court extend the date only after finding the landlord will probably win, and only if the tenant deposits rent into a court-supervised escrow account while the case continues.
When the 20-Day Clock Actually Starts
The countdown does not begin when the landlord files the complaint. Under Section 1170.5(a), it starts when either side files a request to set the case for trial. In most California courts that filing is called an At-Issue Memorandum, and it signals that the pleadings are complete.
Before anyone can file that request, the tenant has to answer the complaint. California gives unlawful detainer defendants 10 court days (excluding weekends and judicial holidays) to file a response after being served. If service was by mail, the tenant gets an additional five court days. Once the response is on file and the at-issue memorandum is submitted, the court has 20 days to bring the case to trial.
Clerks prioritize unlawful detainer matters on the active calendar. When scheduling conflicts make the exact deadline impossible, courts aim for the closest available date.
The Two Ways Trial Can Be Pushed Past 20 Days
Section 1170.5(b) offers two routes to an extension, and they work very differently.
The easy route is mutual agreement. If the landlord and tenant both consent to a later date, the court grants the extension without a hearing and without imposing financial conditions. This is common when the parties are close to settlement or need time to gather evidence.
The contested route is harder. If only one side wants more time, the court must hold a hearing and follow the procedures in subdivision (c). The requesting party cannot get by on the ordinary “good cause” standard. Instead, the statute triggers a rent deposit mechanism that protects the landlord during any delay, and that mechanism does most of the work of pressuring the parties either to settle or to go forward on schedule.
The Rent Deposit Requirement
Before ordering any contested extension, Section 1170.5(c) requires the court to make a preliminary assessment: it must find a “reasonable probability that the plaintiff will prevail.” That threshold matters. If the landlord’s case looks weak at this early stage, the court has no basis to order a deposit at all.
If the court does find the landlord likely to win, it calculates the damages the landlord will suffer from the delay and orders the tenant to deposit that amount. The money goes into the court or into a court-designated escrow account. The tenant must keep making payments as rent would otherwise come due, for as long as the tenant remains in possession while the case is pending. This is an ongoing obligation tied to the lease payment schedule, not a single lump sum covering the extension.
How the Deposit Amount Gets Set
The court does not simply take the landlord’s number. Section 1170.5(c) sets out a specific evidentiary process. The landlord files a verified statement showing the contract rent. The tenant can file a verified objection disputing it. Both sides can present oral testimony or documentary evidence at the hearing.
The statute requires the court to consider two categories of evidence that can reduce the deposit:
- Diminution of value. If the property has problems that reduce its rental value, such as broken appliances, pest infestations, or habitability issues, the tenant can argue the deposit should reflect the property’s actual condition rather than the contract rent.
- Legal set-offs. If the tenant has claims against the landlord that would offset rent owed, such as unreturned security deposit credits or expenses the tenant paid for repairs the landlord neglected, those amounts can reduce the ordered payment.
This hearing is one of the few chances a tenant gets to raise habitability defenses before the full trial. A tenant paying $2,500 per month in contract rent but living in a unit with serious code violations may convince the court to set the deposit well below that figure. The deposit is meant to reflect the landlord’s actual damages from delay, not to mirror the lease.
What Happens if the Tenant Misses a Payment
The penalty for missing a court-ordered deposit is fast. Under Section 1170.5(d), if the tenant does not pay on time, the court must hold trial within 15 days of the date the payment was due. That is a new, compressed deadline that accelerates the case beyond even the standard 20-day rule.
A missed payment essentially cancels the extension. There is no cure period, and the 15-day clock runs automatically. Tenants who asked for more time to build a defense and then cannot keep up with the ordered payments end up worse off than if they had never requested the extension.
What Happens to the Money After Trial
Funds sitting in the escrow account do not automatically go to the landlord. Under Section 1170.5(f), the court decides how to distribute the deposit only after trial ends. If the landlord wins and is owed back rent, the court can apply the escrowed money toward the judgment. If the tenant wins, the money is returned.
The court can order the deposit invested in an insured interest-bearing account while the case is pending. Under subdivision (g), any interest earned is split between the parties in the same proportion as the principal.
Administrative costs matter here too. Under subdivision (e), the fees for maintaining the escrow account are recoverable by whichever party wins the case, so neither side absorbs those expenses unless they lose.
No Cushion After a Landlord Win
The speed of an unlawful detainer case does not stop at judgment. Section 1170.5(a) provides that if the landlord prevails, a writ of execution issues immediately upon request. In an ordinary civil case, the losing party has time before enforcement begins. Eviction cases remove that gap. Tenants who plan to appeal or negotiate after losing at trial often find enforcement underway before they can act.
Federal Rules That Can Slow the Timeline
Active-duty military members have a federal shield that can override the state timeline. Under the Servicemembers Civil Relief Act, a court must stay eviction proceedings for at least 90 days if the servicemember’s ability to pay rent has been materially affected by military service. The court can extend the stay if justice requires it, or adjust the lease obligation to balance both parties’ interests. This protection applies to residences where the monthly rent falls below a threshold that is adjusted each year for housing price inflation.
Tenants with disabilities may also request additional time as a reasonable accommodation under the Fair Housing Act. That federal law does not explicitly override state trial deadlines, but courts have recognized that refusing a reasonable procedural accommodation to a tenant with a disability could violate federal housing protections.
When Criminal Cases Bump the Trial
Even with its compressed timeline, an unlawful detainer trial does not take priority over everything on the court’s calendar. Section 1170.5(i) preserves the rule that criminal cases take precedence over civil matters. If a courtroom or judge is needed for a criminal proceeding, the eviction trial can be pushed back. This is one of the practical reasons courts sometimes cannot hit the exact 20-day mark despite the statute’s clear command.