What Happens at an Unlawful Detainer Trial in California?

An unlawful detainer trial in California is a fast-tracked court hearing where a judge, or occasionally a jury, decides whether your landlord has proven a legal right to evict you. Once either side asks for a trial date, the court must hold the hearing within 20 days, which makes this one of the quickest civil proceedings in the state.1California Legislative Information. California Code of Civil Procedure CCP 1170.5 The trial only happens if the tenant filed a written response to the lawsuit. If no response was filed, the landlord can ask the judge to decide the case without one.2California Courts. Eviction Cases in California

How Fast the Case Moves

California treats eviction cases differently from other civil lawsuits. The whole process is built for speed. The 20-day trial deadline drives everything else, and if the court can’t meet it, the judge decides whether the landlord is likely to win and can order the tenant to deposit ongoing rent with the court until the case is resolved.1California Legislative Information. California Code of Civil Procedure CCP 1170.5

Discovery is squeezed to match. Written questions and document requests get a five-day response window instead of the usual 30. Depositions must be set at least five days after notice and no later than five days before trial. In practical terms, both sides need to have their evidence collected before the lawsuit is even filed. Waiting until a trial date is on the calendar is waiting too long.

Judge or Jury

Most unlawful detainer trials are heard by a judge alone. Either side can request a jury, but the deadline is strict: the nonrefundable $150 jury fee must be paid at least five days before the trial date. Miss it and the right is waived.3California Courts. Nonrefundable Jury Fee FAQ

Tenants sometimes ask for a jury on the theory that fellow renters will be more sympathetic than a judge who hears eviction cases all week. Landlords often prefer the judge for the same reason. Courts have discretion to allow a late jury request, but counting on that discretion is a gamble.

What to Bring and How to Prepare

The landlord has to prove every element of the eviction: that a valid landlord-tenant relationship existed, that a legally sufficient notice was served, that the required waiting period expired, and that the tenant is still in the property. A defect in any link can sink the case.

If you’re the landlord, the core documents are the lease or rental agreement, proof of how the notice was served (a process server’s declaration or proof of mailing), and a ledger showing what rent went unpaid. If you’re the tenant, the key documents are the ones that undercut the landlord’s case: rent receipts, bank records of payments made, photographs of habitability problems, inspection reports, and any communications showing the landlord accepted rent after the notice period expired.

Organize everything in chronological order and prepare any witnesses in advance. A witness who rambles or contradicts your own documents hurts more than they help. Written evidence like emails, texts, and repair requests tends to be more persuasive than live testimony because the other side can’t easily argue around it.

What Happens at the Hearing

The landlord goes first. That usually means a brief opening statement, then testimony and documents walking the judge through the lease, the notice, proof of service, and the rent ledger.4California Courts. What to Expect at Your Eviction Trial

After each landlord witness, the tenant cross-examines. This is where weak spots get exposed: whether the landlord inspected the property, whether partial payment was offered or accepted, whether the notice amount included charges the lease doesn’t authorize. Good cross-examination questions are short, specific, and lead to answers the questioner already knows the shape of.

Once the landlord rests, the tenant puts on their defense in the same order: opening, evidence, witnesses. The landlord then cross-examines. Both sides make closing arguments. In a bench trial the judge often rules from the bench, sometimes immediately, sometimes within a few days.

Defenses a Tenant Can Raise

A tenant who shows up without a legal defense will almost certainly lose. California recognizes several, and the strongest usually fall into these categories.5California Courts. Eviction Defenses

Defective Notice

This is where most landlord cases fall apart. A three-day notice to pay rent or quit must state the exact amount due, the name and phone number of the person who can accept payment, and either a physical address for payment or a bank account for deposit. If the notice demands even a dollar more than what’s actually owed — for example, by tacking on late fees the lease doesn’t authorize — the whole notice can be invalid.6California Legislative Information. California Code of Civil Procedure CCP 1161

Uninhabitable Conditions

If the landlord failed to keep the property livable (broken plumbing, no heat, pest infestations, leaking roofs), the tenant can argue that rent was rightfully withheld or reduced. The defense doesn’t cover problems the tenant caused, and it can’t be raised for conditions that only appeared after the tenant stopped paying rent and received a notice.7Justia. CACI No. 4320 – Affirmative Defense – Implied Warranty of Habitability Photos, written repair requests, and any city or county inspection reports support this claim.8California Department of Justice. Consumer Alert – Know Your Rights as a California Tenant

Retaliation

California prohibits a landlord from evicting a tenant within 180 days of the tenant reporting code violations, filing a habitability complaint with a government agency, or exercising other legal rights. If the eviction falls within that window and the tenant wasn’t behind on rent when they complained, the timing alone creates a strong presumption that the eviction is retaliatory.9California Legislative Information. California Civil Code 1942.5

Discrimination and Waiver

A tenant can also defend by showing the landlord is targeting them because of race, sex, religion, disability, family status, or other protected characteristics. Separately, if the landlord accepted rent after the notice period expired, that acceptance can waive the right to evict. The waiver defense catches more landlords off guard than you’d expect.5California Courts. Eviction Defenses

The Ruling and What It Means

There are two possible outcomes. A judgment for the landlord grants possession of the property and typically includes money for unpaid rent, holdover damages (the value of occupancy after the notice expired), court costs, and attorney fees if the lease allows them.10Judicial Council of California. Judgment – Unlawful Detainer (Form UD-110)

A judgment for the tenant means the tenant stays. The landlord gets nothing: no possession, no money. The tenancy continues on its existing terms. Judges rule for tenants most often when the notice was defective, the landlord skipped a procedural step, or the tenant proved an affirmative defense like habitability or retaliation.

Pay and Stay After a Loss

Even after losing at trial, a tenant in a nonpayment case may have one last chance. If the lease hasn’t expired on its own and the landlord’s notice didn’t specifically declare a forfeiture, the court must give the tenant five days after judgment to pay the full amount owed: all back rent, damages, and court costs. Pay everything inside that window and the judgment is satisfied; the tenant stays as if the eviction never happened.11California Legislative Information. California Code of Civil Procedure CCP 1174

Landlords who want to prevent redemption usually include forfeiture language in their notices. Tenants who can gather the full amount should move immediately. Once the five days pass, the judgment is fully enforceable.

Settling Before Trial Instead

Many eviction cases never reach a verdict because the parties settle, usually on the Judicial Council’s UD-155 form. The type of stipulation matters.12California Courts. Unlawful Detainer Stipulation (Form UD-155)

A “stipulation and order” records the agreement without entering judgment immediately. It can give the tenant extra time to move or set up a payment plan. A “stipulated judgment” enters judgment against the tenant right away (the equivalent of losing at trial) but suspends enforcement as long as the tenant meets specific conditions. If any condition is broken, the landlord can request expedited enforcement, sometimes with same-day notice.

Read stipulations with care before signing. A stipulated judgment that waives post-judgment motions can make it almost impossible to challenge enforcement later, even if circumstances change. A few extra weeks to move isn’t always worth giving up the right to fight the case.

After a Landlord Judgment: The Writ and Lockout

A judgment for the landlord doesn’t mean the sheriff shows up the next day. The landlord has to request a writ of possession from the court clerk, which is the order directing the county sheriff or marshal to carry out the eviction. The levying officer serves the writ on the tenant or posts it on the door. From the date of service, the tenant has five days to leave voluntarily.13California Legislative Information. California Code of Civil Procedure CCP 715.010

If the tenant hasn’t moved by the end of those five days, the levying officer returns and physically removes the occupants, handing possession to the landlord. The eviction is complete at that point.

Extra Protection for Active-Duty Servicemembers

Active-duty servicemembers have additional federal protections under the Servicemembers Civil Relief Act. A landlord cannot evict a servicemember or their dependents from a primary residence without a court order, regardless of what the lease says. If the servicemember’s ability to pay rent has been materially affected by military service, the court must grant a 90-day stay of proceedings on request, with the possibility of further extensions.14Office of the Law Revision Counsel. 50 USC 3951 – Evictions and Distress

A landlord who knowingly evicts a servicemember without a court order faces criminal penalties, including up to a year in jail. Servicemembers facing eviction should ask for a copy of the final court order before vacating and contact their installation’s legal assistance office.