You served the notice, filed the case and expected a default. Instead, a written answer arrived, and with it a list of defenses, a trial date to request and another month of rent that may not come. Two questions follow: what the court will actually test, and what could send the case back to the start. This page explains both from the owner's side only.

What a Contested Eviction Is Under California Law

An unlawful detainer is the court case a California owner files to recover possession of property from a tenant or occupant who stays without the right to do so. Its procedure is set out in the Code of Civil Procedure, and it moves faster than ordinary civil litigation.

A case becomes contested when the tenant responds instead of letting the deadline pass. The California Courts Self-Help Guide page What happens if your tenant files a response explains what the owner does once a response is filed. Under Code of Civil Procedure section 1170, on or before the day fixed for appearance the defendant may answer, demur, or move to strike any portion of the complaint.

The two paths differ sharply for the owner. A default means the tenant did not respond; that same Self-Help Guide page says the owner may then ask for a default judgment, which means the judge can decide the case without a trial. An answer means, in that page's words, the tenant will participate and have the chance to tell their side at trial. The owner then requests a trial date and must prove the case with evidence.

Residential and commercial tenancies do not follow identical rules. Which rules govern depends on the kind of property and, for residential property, on the conditions in Civil Code section 1946.2 described below.

For an owner, the difference between a default and a contested case is the difference between asking for a judgment and having to prove one.

Which Grounds Hold Up When Tested at Trial

Every contested unlawful detainer turns on one question: did the tenant's conduct fit a ground the statute recognizes, and did the notice match it? Code of Civil Procedure section 1161 sets out when a tenant is guilty of unlawful detainer, including:

  • Holdover. A holdover tenant is one who stays after the tenancy has ended. The section covers a tenant who remains after the term expires without the landlord's permission, and a tenancy at will must first be terminated by notice as the Civil Code prescribes.
  • Nonpayment of rent. This requires a written three-day notice, excluding Saturdays, Sundays and other judicial holidays, stating the amount due and how and to whom payment may be made, among other contents the section lists. The notice may be served at any time within one year after the rent becomes due.
  • Breach of another lease condition. Again a three-day notice, counted the same way, requiring performance or possession. To cure means to fix the breach within the notice period; the tenant, a subtenant in occupation, a mortgagee of the term or another interested person may cure and save the lease. No cure notice is needed if the broken covenant cannot afterward be performed.
  • Assigning or subletting or committing waste contrary to the lease, maintaining a nuisance, or using the premises for an unlawful purpose. Under the section, these terminate the lease, and the owner may serve a three-day notice to quit, a notice demanding possession with no chance to cure.
  • A tenant's own written notice to leave or accepted written offer to surrender, followed by failure to deliver possession at the stated time.

The section also bars a landlord or agent from charging the tenant a fee for serving a notice. At trial, the notice's contents, its service and the ground are each tested against this text.

For residential property, Civil Code section 1946.2 adds a layer. After a tenant has continuously and lawfully occupied the property for 12 months, the owner may not terminate without just cause stated in the written notice, with a separate rule when adult tenants are added before 24 months. The section lists at-fault causes, such as nonpayment, material lease breach, nuisance and waste, and no-fault causes, such as owner move-in or withdrawal from the rental market, and it lists exemptions. One exemption covers separately alienable property, such as a single-family home or condominium, only when the owner is not a real estate investment trust, a corporation, or an LLC with a corporate member, and the tenants were given the exact written exemption notice the section sets out (required in the rental agreement for tenancies commenced or renewed on or after July 1, 2020). For a curable violation, the owner must first give notice to cure before a three-day notice to quit. A city's own rules may add further requirements.

For an owner, the notice and the ground it states are the foundation the trial is built on.

Defenses in the Answer: What an Owner Is Up Against

An owner who receives an answer is receiving a preview of the trial. The Judicial Council's optional UD-105 Answer—Unlawful Detainer (Rev. January 1, 2026) lists defenses a tenant can check, including:

  • that the owner served the notice or filed the complaint to retaliate;
  • that the owner is arbitrarily discriminating against the defendant;
  • that the owner accepted rent covering a period after the notice expired;
  • that the demand for possession violates a local rent control or eviction control ordinance;
  • that the owner did not comply with the Tenant Protection Act, for example by failing to state just cause in the notice, failing to give an opportunity to cure, or failing to meet the relocation requirements;
  • that the owner refused to accept rent from a third party.

The form also carries general or specific denials of the complaint's statements, which put the notice, its service and the ground directly in issue.

For the owner, each item points to evidence to have ready: the rent ledger and what was accepted after the notice, the notice itself and the proof of service, the lease, and for a covered residential tenancy the just-cause and relocation paperwork. Civil Code section 1946.2 states that an owner's failure to strictly comply with its relocation subdivision renders a no-fault termination notice void, so that paperwork matters as much as the notice.

Possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession; this page addresses no other route.

What Happens at Trial After a Tenant Answers

Once an answer is on file, the owner sets the case for trial. The Self-Help Guide page on tenant responses says the owner files a Request to Set Case for Trial on form UD-150, mails a copy to the tenant with a completed proof of service, and the clerk mails a notice with the trial date. Under Code of Civil Procedure section 1170.5, trial is held not later than the 20th day following the date the request to set trial is made. The court may extend that period on agreement of all parties; otherwise only after a hearing, and if trial is not held in time, the court, on finding a reasonable probability the owner will prevail, orders the tenant to pay the damages from the extension into court or an escrow as rent would have come due.

Either side may ask for a jury. The Judicial Council's UD-150 Request/Counter-Request to Set Case for Trial (New January 1, 2005) says $150 must be deposited with the court 5 days before trial if a jury is requested.

Before trial, the schedule stays compressed. A demurrer or motion to strike is heard not less than five nor more than seven court days after the notice of motion is filed under Code of Civil Procedure section 1170, subject to later dates on stipulation or good cause. Interrogatories must be answered within five days of service under Code of Civil Procedure section 2030.260, unless the court shortens or extends that time. Discovery motions may be made on five days' notice under Code of Civil Procedure section 1170.8, and summary judgment on five days' notice after the answer under Code of Civil Procedure section 1170.7.

The court may find for the owner or the tenant, depending on the evidence. Under Code of Civil Procedure section 1174, a finding for the owner means a judgment for possession, the court's order establishing the owner's right to recover the property. In a nonpayment or lease-breach case, the judgment also declares the lease forfeited only if the notice stated the landlord's election to declare forfeiture. The court assesses damages, finds rent due in a nonpayment case, and may award statutory damages of up to $600 where malice is shown.

A writ of possession is the court-issued enforcement document that directs the levying officer to return the property to the owner. In a nonpayment case where the lease has not expired by its terms and the notice did not elect forfeiture, Code of Civil Procedure section 1174(c) lets the court order that no writ issue for five days after judgment, and requires it if the lease is written, for more than one year and has no forfeiture clause. During those five days, the tenant, a subtenant, a mortgagee of the term or another interested party may pay the rent found due with interest, the damages and costs, which satisfies the judgment and restores the tenancy. Otherwise the judgment may be enforced immediately. For one county's courthouse and lockout steps, see the San Diego eviction lawyer page.

Residential vs. Commercial Evictions: Key Differences in a Contested Case

The kind of property decides which rules a contested case runs under. Civil Code section 1946.2 applies to residential real property; its just-cause, cure-first and relocation requirements are not commercial rules and do not reach a commercial lease. A commercial owner's case rests on the lease and the Code of Civil Procedure section 1161 grounds already described, and the notice must still match the ground and be served correctly.

The procedure itself sometimes splits. Under Code of Civil Procedure section 1170, a court may continue a demurrer hearing in a residential tenancy for good cause on notice the court prescribes, while in a commercial tenancy any good-cause continuance may not exceed 10 court days after the first hearing date.

The defenses an owner meets also differ. The Tenant Protection Act items on the UD-105 answer form address residential tenancies, while a commercial dispute centers on what the lease says and whether the notice tracks it. Local rules may affect either kind of property, and a commercial owner faces the same question of whether any local rule reaches the property. A separate page covers commercial eviction procedure in more depth.

How California Landlord Rights Group Approaches a Contested Eviction

California Landlord Rights Group represents only landlords, property owners, investors and authorized property managers in California eviction and unlawful detainer matters. A contested case is the point where the notice, the service and the ground stop being assumptions and become proof, and that is the focus of the practice's work.

In a contested case, our eviction attorney's work centers on the record the trial will test: the lease, the notice and its proof of service, the rent ledger, any just-cause or relocation documents for a residential tenancy, and the defenses the answer raised. It also includes the motions that may come first, such as a demurrer, and the steps after judgment toward a writ of possession.

What this practice does not do matters too. California Landlord Rights Group does not represent tenants. It does not handle lease drafting, rent increases, security deposit disputes, habitability claims or property management as standalone matters, and this page does not cover the separate steps of a default case or an occupant after foreclosure.

Private consultation

You Don’t Have to Work This Out Alone

If you’re dealing with a contested eviction, 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 when a tenant files an answer to an eviction in California?

The case becomes contested. The owner requests a trial date, and Code of Civil Procedure section 1170.5 sets trial no later than the 20th day after that request, subject to the extensions described above. At trial, the owner proves the ground, the notice and its service.

What defenses can a tenant raise in a California eviction case?

The UD-105 answer form lists defenses an owner should expect, including retaliation, discrimination, acceptance of rent after the notice expired, local ordinance violations and Tenant Protection Act noncompliance, alongside denials that challenge the notice, its service and the ground.

How long does a contested eviction take in California?

No fixed length applies. The statute sets trial within 20 days of the request to set it, with exceptions, and pretrial steps run on short periods. The overall time depends on the court's calendar, any motions filed, the defenses raised and the facts.

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

It depends on the property and tenancy. Civil Code section 1946.2 applies to residential property after 12 months of continuous, lawful occupancy, subject to its listed exemptions; the single-family home or condominium exemption requires the written notice that section specifies. A city's rules may add more.

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

It is the enforcement document issued after a judgment for possession, directing the levying officer to restore the property to the owner. In some nonpayment cases, Code of Civil Procedure section 1174(c) delays it for five days so the judgment can be paid.

Can a landlord evict a commercial tenant in California without just cause?

Civil Code section 1946.2's just-cause rules apply to residential property, not commercial tenancies. A commercial eviction rests on the lease and the Code of Civil Procedure section 1161 grounds, with a notice that matches the ground and is served correctly.