You may be a landlord whose tenant stopped paying months ago. You may be an investor whose commercial tenant stayed after the lease ran out, or a property manager who just received a written answer and a trial request. Each month without rent or possession costs you money. Behind the search is a practical worry: that a flaw in the notice or the filing will send you back to the beginning. This page walks through the case from the owner's side, in the order the case unfolds.

What Eviction Litigation Means Under California Law

An unlawful detainer is a summary court proceeding. It is a streamlined case in which a landlord asks the court to restore possession of real property from a tenant or other occupant who no longer has a legal right to stay. It differs from an ordinary civil lawsuit. The central question is who has the right to possession, and the statutes set short, fixed windows for many steps. One example is Code of Civil Procedure section 1170. It requires a hearing on a tenant's demurrer or motion to strike to be held not less than five court days and not more than seven court days after the notice of motion is filed, subject to the exceptions in that section. In California, possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession, not through anything the owner does on their own.

Litigation counsel matters most in two phases:

  • Before filing. This covers the notice, its service and the ground. The complaint rests on all three.
  • After the tenant answers. The case is now contested, and the tenant is fighting it.

Code of Civil Procedure section 1161 defines when a tenant is guilty of unlawful detainer. It also lists the breaches that support a three-day notice to quit with no chance to cure. How long a case takes depends on whether the tenant responds, what they file and the court's calendar.

The Notice: What It Must Establish for Each Ground

The notice is the foundation of the case. A notice to quit is a written notice telling the tenant to leave, or to fix a problem or leave. Under Code of Civil Procedure section 1161, the main types are these:

  • Three-day notice to pay rent or quit. This notice is for default in rent. It gives three days, excluding Saturdays, Sundays and other judicial holidays. It must state the amount due and the name, telephone number and address of the person to whom rent is paid. If rent may be paid in person, it must give the usual days and hours that person is available. Alternatively, it may give a financial-institution account and the institution's name and street address, if the institution is within five miles of the property, or it may refer to an electronic funds transfer procedure that was set up earlier. It may be served within one year after the rent becomes due. The 3-day notice to pay rent page covers this notice in more detail.
  • Three-day notice to perform covenant or quit. This notice is for breach of a lease condition other than rent, including a covenant not to assign or sublet. It uses the same day count. If the violated covenant cannot be performed afterward, no notice demanding performance is needed.
  • Three-day notice to quit. This notice gives no chance to cure. It applies when the tenant assigns or sublets, or commits waste, contrary to the lease. It also applies when the tenant maintains, commits or permits a nuisance on the premises, or uses the premises for an unlawful purpose.
  • Notice to terminate tenancy. This notice ends a tenancy without alleging a breach. For example, a tenancy at will must first be terminated by notice as the Civil Code prescribes.

To "cure" means the tenant fixes the breach within the notice period instead of leaving. Under section 1161, the tenant, a subtenant in actual occupation, a mortgagee of the term or another interested person may cure and save the lease from forfeiture. Where a subtenant is in actual occupation, the rent and covenant notices must also be served on that subtenant. Section 1161 also bars a landlord from charging a fee for serving a notice.

A notice with the wrong ground, the wrong parties, the wrong amount or improper service is a defense an owner can expect to see raised in a contested case. The rules that apply also depend on whether the tenancy is residential or commercial.

For an owner, the notice is where the case is won or lost before it ever reaches a courtroom.

When a Tenant Answers and Contests the Eviction

A filed answer changes the case. An answer is the written response a tenant files with the court to contest the eviction. The California Courts self-help guide, What happens if your tenant files a response, says an Answer means the tenant will take part in the case and have a chance to tell their side at a trial. The same page says the landlord then files a Request to Set Case for Trial and the court clerk mails a notice with the trial date. The Judicial Council's Request/Counter-Request to Set Case for Trial form (New January 1, 2005) states that if a jury is requested, $150 must be deposited with the court five days before trial.

Default is what happens when the tenant does not respond in time. The self-help page says the landlord can then ask for a default judgment, which means the judge can decide the case without a trial. The same page describes two other filings a tenant may make: a motion to quash service and a demurrer.

The Judicial Council's Answer—Unlawful Detainer form (Rev. January 1, 2026) lists defenses an owner should expect to see. They include the following:

  • retaliation
  • arbitrary discrimination
  • acceptance of rent for a period after the notice expired
  • violation of a local rent or eviction control ordinance
  • noncompliance with Civil Code section 1946.2

The form's list continues beyond these. In every contested case, the notice, its service and the ground are tested against what the statute requires.

Contested cases also have their own short procedural windows:

  • Summary judgment. Under Code of Civil Procedure section 1170.7, a motion for summary judgment may be made at any time after the answer is filed, on five days' notice.
  • Discovery motions. Under Code of Civil Procedure section 1170.8, a discovery motion may be made at any time on five days' notice.
  • Interrogatories. Under Code of Civil Procedure section 2030.260(b), interrogatories must be answered within five days from the date of service, unless the court shortens or extends that time on motion.

A city's or county's own rules may add requirements. The contested eviction cases page goes further into trial.

Once a tenant files an answer, the procedural windows are short and the defenses on the table are real.

Getting Possession Back: Judgment and Writ of Possession

At the end of the case, the court decides who has the right to the property. A judgment for possession is the court's order establishing the landlord's right to recover the premises.

Code of Civil Procedure section 1174 sets out what the judgment covers:

  • Forfeiture of the lease. In a rent or covenant case, the judgment also declares the lease forfeited, but only if the notice stated the landlord's election to declare the forfeiture.
  • Damages and rent. The court or jury assesses damages, finds any rent due and may award statutory damages of up to $600, in addition to actual damages, where malice is shown.

A writ of possession is the court-issued document that directs the levying officer to enforce the judgment and restore possession to the owner. Possession is restored through the levying officer's enforcement of that writ. The writ of possession and lockout page covers that step.

In a nonpayment case, the writ does not always issue immediately. Section 1174(c) applies when three conditions are all met:

  • the case is for default in rent,
  • the lease has not expired by its terms, and
  • the notice did not state the election to declare forfeiture.

In that situation, the court may order that no writ issue until five days after entry of judgment. The court must make that order if the lease is in writing, is for a term of 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 into court the rent found due with interest, the damages and the costs. That payment satisfies the judgment and restores the tenant to the tenancy. If no payment is made within five days, the judgment may be enforced in full, including for possession. In all other cases, the judgment may be enforced immediately.

Section 1174 also governs personal property left behind, including the duty to store it until it is released or disposed of as that section provides.

Possession is restored through the levying officer, not through anything the owner does directly.

Residential vs. Commercial: The Rules Are Not the Same

Residential and commercial tenancies are governed by different rules. A rule that applies to one does not automatically apply to the other. Code of Civil Procedure section 1170 is an example. In a residential case, the court may move a demurrer hearing to a later date for good cause, on notice the court prescribes. In a commercial case, the later date may not exceed 10 court days after the first hearing date set.

Civil Code section 1946.2, California's statewide just-cause rule, applies only to residential property. It does not reach a commercial lease. Whether it covers a particular residential tenancy depends on several conditions:

  • Length of occupancy. It applies once a tenant has continuously and lawfully occupied the property for 12 months. If adult tenants were added before an existing tenant reached 24 months, it applies only if all tenants have reached 12 months or at least one has reached 24 months.
  • Exemptions. It does not apply to the property types the section exempts. These include transient hotel occupancy, housing less than 15 years past its certificate of occupancy (unless the housing is a mobilehome) and certain owner-occupied homes, and the list continues.
  • Earlier local ordinances. It does not apply where a qualifying local just-cause ordinance applies instead.

The exemption for a single-family home or condominium that can be sold separately has two requirements. The owner must not be a real estate investment trust, a corporation or an LLC with a corporate member. The tenants must also have received the written exemption notice in the statement Civil Code section 1946.2 requires. For tenancies that began or renewed on or after July 1, 2020, that notice must be in the rental agreement.

Where the statute applies, it adds several requirements:

  • Just cause in the notice. The notice must state the just cause.
  • A chance to cure first. A curable lease violation must first be noticed with an opportunity to cure.
  • Relocation for no-fault grounds. A no-fault termination requires relocation assistance or a rent waiver equal to one month's rent. Any relocation payment is due within 15 calendar days of service of the notice.

An owner's failure to comply with the section voids the termination notice. A commercial landlord faces none of these residential requirements, but has its own path, described on the commercial eviction page.

Whether a tenancy is residential or commercial shapes which rules apply from the notice forward.

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

This practice works on one side of the case. California Landlord Rights Group represents only landlords, property owners, investors and authorized property managers in eviction and unlawful detainer matters, and only in California. The matters include:

  • nonpayment of rent evictions
  • holdover tenancies
  • lease breaches
  • nuisance, waste and unlawful use
  • unauthorized occupants and subtenants
  • contested cases in which the tenant has filed an answer

A holdover is a tenant who stays in possession after the lease or rental agreement has ended. Code of Civil Procedure section 1161 treats continued possession after the term expires without the landlord's permission as unlawful detainer. It also covers an employee, agent or licensee whose right to occupy has ended, and a tenant who gave written notice to leave but did not deliver possession on the date stated.

If your matter is about getting a property back, it belongs here. If it is not, this page is not where it is answered. California Landlord Rights Group does not take tenant-side matters. Lease drafting as a standalone service, rent increases, security-deposit claims, habitability litigation and general property-management questions are separate subjects outside this eviction practice.

Private consultation

You Don’t Have to Work This Out Alone

If you’re dealing with eviction litigation, 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 kind of lawyer do I need for an eviction in California?

You need an eviction litigation attorney who handles unlawful detainer cases. That work runs from the notice and its service through the complaint and, if the tenant answers, the motions and trial described above.

What is the longest an eviction can take in California?

No statute supplies a single maximum. The length depends on whether the tenant answers or defaults, whether a demurrer or motion to quash is filed, what defenses are raised, the court's calendar and whether a local rule adds requirements.

What happens if a tenant fights the eviction?

The tenant files an answer, and the case moves toward trial. An owner can expect defenses such as retaliation, discrimination or acceptance of rent after the notice expired. The notice, its service and the ground are tested against what the statute requires.

What is a writ of possession?

A writ of possession is the court-issued document that directs the levying officer to enforce a judgment for possession. Possession is restored through the levying officer's enforcement of the writ. In some nonpayment cases, Code of Civil Procedure section 1174(c) delays its issuance, as described above.

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

It depends on the facts. The questions are whether the property is residential, how long the tenants have lived there, whether an exemption applies and whether a local ordinance governs instead. The single-family home and condominium exemption also requires that the tenants received the written notice Civil Code section 1946.2 requires.

Can a landlord remove a tenant without going to court in California?

No. In California, possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession, which requires a court case.

What is an unlawful detainer case?

An unlawful detainer case is the summary court proceeding a landlord uses to recover possession from a tenant or occupant with no right to stay. It focuses on possession and runs on short statutory windows. Code of Civil Procedure section 1161 defines when a tenant is guilty of unlawful detainer.