You served the notice, filed the case and expected it to end there. Instead the tenant answered, the case now has a trial date in its future, and the unit or the storefront is still occupied while rent is not coming in. The question is no longer only whether there is a good reason to want the property back. It is whether the notice, the paperwork and the evidence will hold up in front of a judge or a jury. This page walks through that stage from the owner's side: how the case reaches trial, what has to be proved, the defenses to expect, what the court may decide, and how residential and commercial trials differ.

How an Answered Unlawful Detainer Becomes a Trial

An unlawful detainer is the California court action a landlord files to recover possession of real property from a tenant or other occupant who has no legal right to remain. It begins with a summons and complaint served on the tenant.

The California Courts self-help guide, What happens if your tenant files a response, says the tenant has 10 days to file a response if served in person, or 20 days if not served in person. If the deadline passes with no response, the same guide says the owner's next step is to ask for a default judgment. A default is the tenant's failure to respond in time, and a default judgment is a decision the judge makes without a trial.

An answer changes the track. The guide says an Answer means the tenant will take part in the case and tell their side at a trial, and that the owner then files a Request to Set Case for Trial (form UD-150). The guide also notes that, instead of an answer, a tenant may file a motion to quash service or a demurrer, and that if the tenant wins a demurrer the owner may need to start over or serve a new notice.

The schedule after that is faster than ordinary civil litigation. Under Code of Civil Procedure section 1170.5, when the defendant appears, trial is to be held not later than the 20th day after the request to set the trial is made; the court may extend that period on the agreement of all parties, and any other extension requires a hearing. If trial is not held in that time, the court, on finding a reasonable probability that the owner will prevail, sets an amount the tenant must pay into court or escrow as rent would have come due while the tenant stays in possession. For an owner losing rent each month, that payment order matters.

What an Owner Must Prove at an Unlawful Detainer Trial

The owner carries the case. That means establishing that a tenancy existed, that the right notice was given, that it was served properly, that the ground for ending the tenancy is true, and that the tenant did not leave or cure. A notice to quit is the written notice telling the tenant to leave; to cure means to fix the problem, such as paying the rent or performing the lease term, within the time the notice allows.

Code of Civil Procedure section 1161 lists the situations in which a tenant is guilty of unlawful detainer, including:

  • Holdover after the term ends. A holdover is a tenant who stays after the lease term expires without the landlord's permission; a tenancy at will must first be ended by notice as the Civil Code prescribes.
  • Nonpayment of rent. The notice gives three days, excluding Saturdays, Sundays and other judicial holidays, to pay or deliver possession, and must state the amount due and the name, telephone number and address of the person to be paid, among other payment details the section lists.
  • Breach of another lease condition. The notice gives the same three days, excluding Saturdays, Sundays and judicial holidays, to perform or deliver possession; where the violated condition cannot afterward be performed, the section says no notice demanding performance is required.
  • Assigning or subletting, or committing waste, contrary to the lease, maintaining a nuisance, or using the premises for an unlawful purpose. These terminate the lease, and the landlord is entitled to possession on service of a three-day notice to quit, with no opportunity to cure.

The list continues, including a tenant who gives written notice of moving out and then does not deliver possession at the time specified. The details of nonpayment notices are covered on the page about the 3-day notice to pay rent.

At trial the notice itself is evidence. Its contents, the ground it states and the way it was served are tested against what Code of Civil Procedure section 1161 requires. A notice that misstates the amount due or leaves out a required detail is a weakness in the owner's case, whatever the tenant did.

Every element the owner must prove at trial traces back to the notice and how it was served.

Defenses a Tenant May Raise and What They Mean for the Owner

The owner's preparation starts from one assumption: in a contested case, the notice, its service and the ground will each be tested against what the statute requires. Any gap in one of those becomes the tenant's strongest point.

A habitability defense is one the statute addresses directly, and only for residential premises. Under Code of Civil Procedure section 1174.2, in a residential nonpayment case where the tenant raises a breach of the landlord's repair obligations or the warranty of habitability as an affirmative defense, the court determines whether a substantial breach occurred, defined as a failure to comply with building and housing code standards that materially affect health and safety. If the court finds one, it determines the reasonable rental value of the premises in their untenantable state, denies possession to the landlord conditioned on the tenant paying the adjusted rent within a period not exceeding five days from the judgment (or a longer time set by statute if the judgment is served by mail), may order repairs, limits the rent until repairs are done, and awards the tenant costs and fees where a statute or the contract provides. If the court finds no substantial breach, or the tenant does not pay as ordered, judgment is entered for the landlord.

For the owner, that means the condition of the property can become part of the trial record in a residential nonpayment case: repair requests, inspections and the state of the unit may all be in front of the court. A defense that arises from any other part of the relationship is weighed the same way, against the lease, the notice and the evidence.

In this process, possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession. The page on contested eviction cases covers the answered case more broadly.

For an owner of residential property, the condition of the unit can become part of the trial record alongside the notice and the ground for eviction.

Trial Procedure, Evidence, and What the Court Decides

Either side may ask for a jury. Code of Civil Procedure section 1171 says that whenever the pleadings present an issue of fact, it must be tried by a jury unless a jury is waived. The court self-help guide says both the owner and the tenant have the right to ask for a jury trial and that it costs $150 unless a fee waiver is filed, and the notice on UD-150 Request/Counter-Request to Set Case for Trial—Unlawful Detainer says the $150 must be deposited with the court 5 days before trial. Without a jury, the judge decides the facts in a bench trial.

The evidence follows the elements: the lease or rental agreement, the notice and its proof of service, the rent ledger, communications between the parties, and anything bearing on a defense the tenant has raised.

If the jury's verdict or the court's findings favor the owner, Code of Civil Procedure section 1174(a) says judgment is entered for possession of the premises. A judgment for possession is the court's order establishing the owner's right to recover the property. In a case for nonpayment or breach of a lease condition, the judgment also declares the lease forfeited, but only if the notice stated the landlord's election to declare the forfeiture. Under section 1174(b), the court or jury also assesses damages, finds the rent due in a nonpayment case and, if malice is shown, may award statutory damages of up to $600 in addition to actual damages.

Whether enforcement waits depends on Code of Civil Procedure section 1174(c). In a nonpayment case where the lease has not expired by its terms and the notice did not state an election of forfeiture, the court may order that no writ issue until five days after entry of judgment, and must so order if the lease is written, runs more than one year and has no forfeiture clause. Within those five days, the tenant, a subtenant, a mortgagee of the term or another interested party may pay into court the rent found due with interest, the damages and the costs, which satisfies the judgment and restores the tenancy. If no payment is made, the judgment may be enforced in full; in all other cases it may be enforced immediately.

A writ of possession is the court-issued order directing the levying officer, the public officer who enforces it, to restore possession to the owner. The court's guide, After the eviction trial decision, says the owner files the Writ of Execution (form EJ-130) with the clerk, takes it to the sheriff, and that the sheriff gives the tenant a Notice to Vacate allowing 5 days to move out before returning to remove and lock out the tenant. The writ of possession and lockout page covers that stage.

Residential and Commercial Eviction Trials: Where the Rules Differ

The trial procedure above applies to both kinds of tenancy, but what the owner must prove does not. Just cause, a reason the statute accepts for ending a tenancy, is a residential requirement under Civil Code section 1946.2, which addresses residential real property.

Under that section, after a tenant has continuously and lawfully occupied a residential property for 12 months, the owner may not end the tenancy without just cause, stated in the written notice. Where adult tenants are added before an existing tenant reaches 24 months, the rule applies only if all tenants have reached 12 months or one has reached 24. At-fault just cause includes nonpayment, breach of a material lease term, nuisance, waste and criminal activity, and the list continues; no-fault just cause includes owner move-in, withdrawal from the rental market and substantial remodel, among others. For a curable lease violation, the owner must first give notice with an opportunity to cure before a three-day notice to quit may be served. A no-fault termination requires relocation assistance or a final-month rent waiver equal to one month's rent, with any payment made within 15 calendar days of service, and a failure to strictly comply voids the notice.

Coverage depends on the property and the notices given. The section lists exemptions, including transient hotel occupancy, certain owner-occupied homes and duplexes, and housing with a certificate of occupancy issued within the previous 15 years. A single-family home or condominium that can be sold separately is exempt only if the owner is not a real estate investment trust, a corporation or a limited liability company with a corporate member, and the tenants were given the written exemption notice the section requires.

A commercial tenancy is not residential real property, so these residential rules do not carry over to it. Beyond state law, a city's own rules may add requirements. The commercial eviction page covers the commercial side.

What California Landlord Rights Group Handles — and What It Does Not

California Landlord Rights Group represents only landlords, property owners, investors and authorized property managers in eviction and unlawful detainer matters in California. Its work is the path from notice to possession, including the case a tenant has answered and the trial that follows.

That scope has edges. Lease drafting, rent increases, security deposits, habitability disputes and general property management are outside this practice, and so is any matter that is not about an owner recovering possession. The practice does not represent tenants.

Within that scope, our eviction attorney discusses contested and uncontested matters, residential and commercial, at whatever stage the owner's case has reached, from a notice not yet served to a judgment awaiting a writ. The nonpayment of rent eviction page covers the most direct of those paths before a case is contested.

Private consultation

You Don’t Have to Work This Out Alone

If you’re dealing with an eviction trial, we’re here to talk it through.

Every property problem has its own facts. When the rent stops coming in or a tenant won’t leave, it can weigh on you. Call or send us a message to request a consultation with our eviction attorney, and we’ll listen and help you understand the options in your situation.

California Landlord Rights Group

  • 100% Confidential

What happens next

  1. Call or send a messageWhichever feels easier.
  2. Tell us what’s going onIn confidence, in your own words.
  3. Talk through your optionsThen decide, in your own time, what comes next.

Frequently Asked Questions

What happens after a tenant files an answer to an eviction complaint in California?

The case moves to a trial track. The owner requests a trial date, and the court's guide says the clerk mails a notice with the date. Trial is set on the accelerated schedule described above, so the lease, the notice, the proof of service and the rent records need to be ready to present.

Does a landlord need a lawyer for an eviction trial in California?

The court's trial-setting form provides for a party without an attorney, so an owner may appear on their own. A contested trial still requires proving each element, answering any defense, handling a possible jury and preserving rights such as a forfeiture election, and the court's guide calls a motion to quash or a demurrer more complicated than an answer.

What defenses can a tenant raise at an eviction trial?

Expect the notice, its service and the ground to be tested against what Code of Civil Procedure section 1161 requires. In a residential nonpayment case, a habitability defense brings the property's condition into the trial record, and the court decides whether a substantial breach occurred, as described in the defenses section above.

What is a writ of possession and how does it work?

It is the court-issued order that lets the levying officer restore possession after a judgment for possession. The court's guide says the owner files it with the clerk and takes it to the sheriff, who serves a Notice to Vacate giving the tenant 5 days before returning to remove and lock out the tenant.

Does California's just-cause eviction law apply to every rental property?

No. Civil Code section 1946.2 depends on the kind of residential property, the tenant's 12 months of lawful occupancy and the exemptions it lists. A separately sellable single-family home or condominium is exempt only if the owner is not a listed entity and the tenants received the written exemption notice the section requires.

What is the difference between a residential and a commercial eviction trial in California?

The trial procedure is shared, but the proof is not. A covered residential tenancy requires just cause under Civil Code section 1946.2, and a residential nonpayment case may involve a habitability defense under Code of Civil Procedure section 1174.2. Those residential rules do not apply to a commercial tenancy.

Can a landlord change the locks or remove a tenant's belongings without going to court?

In this process, possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession. Code of Civil Procedure section 1174 sets out how the landlord stores, releases or disposes of personal property left on the premises after that point.