If you own a rental where a tenant has stopped paying rent and you are still covering the mortgage, taxes and insurance on that unit, or if a commercial space sits occupied by a tenant whose lease has ended, the situation is familiar to this practice. If the person living there was never on the lease at all, or the tenant has filed an answer and turned a routine case into a fight, that too falls within this work. Underneath the money is a narrower worry: that one wrong word in a notice, or one missed step at the courthouse, will send you back to the beginning. This page walks through each stage from the owner's side, in the order a case moves.

What Unlawful Detainer Means Under California Law

An unlawful detainer is a civil lawsuit an owner files in California Superior Court to recover possession of real property from a tenant or occupant who no longer has a legal right to stay. It is a summary proceeding: the deadlines are short and set by statute, and Code of Civil Procedure section 1179a directs courts to give these cases precedence over other civil actions, except those given special precedence by law, in setting and hearing them, "to the end that all such actions shall be quickly heard and determined."

Code of Civil Procedure section 1161 lists when a tenant is guilty of unlawful detainer, including staying after the term ends, staying after default in rent and a proper notice, staying after failing to perform another lease covenant and a proper notice, assigning or subletting or committing waste contrary to the lease, maintaining a nuisance or using the premises for an unlawful purpose, and failing to leave after the tenant's own written notice of termination. A holdover tenant is one who stays after the term ends or after a valid termination notice expires.

Residential and commercial tenancies follow different rules at several points, and this page says which is which where the statutes draw the line. For residential property, Civil Code section 1946.2 requires just cause, stated in the written termination notice, once a tenant has continuously and lawfully occupied the property for 12 months (with a different test when adult tenants are added before 24 months), unless an exemption applies. Its exemption for a separately alienable home, such as a single-family house or condominium, holds only if the owner is not a real estate investment trust, a corporation or an LLC with a corporate member, and the tenants received the written exemption notice that section requires.

The Notice to Quit: Where Every Eviction Begins

Nothing gets filed until the right notice has been served and its period has run. A notice to quit is a written demand served on the tenant before suit, giving a stated period to pay, cure or leave. To cure means to fix the breach within the notice period and keep the tenancy.

Code of Civil Procedure section 1161 sets the three-day notices, and in each the three days exclude Saturdays, Sundays and other judicial holidays:

  • Notice to pay rent or quit. For default in rent, it must state the amount due; the name, telephone number and address of the person to be paid; and, if payment may be made in person, the usual days and hours that person is available. It may instead give a financial-institution account within five miles of the property, or an established electronic funds transfer procedure. It may be served within one year after the rent becomes due. The 3-day notice to pay rent has its own page.
  • Notice to perform covenant or quit. For a breached lease condition other than rent, it requires performance or possession. If the violated covenant cannot afterward be performed, no notice demanding performance is needed.
  • Notice to quit without cure. For assigning or subletting or committing waste contrary to the lease, maintaining a nuisance, or using the premises for an unlawful purpose, the statute says the tenant "thereby terminates the lease," and a three-day notice to quit follows.

Where a subtenant is in actual occupation, the pay-rent and perform-covenant notices must be served on the subtenant too. Longer 30- or 60-day notices end other tenancies; the California Courts Self-Help Guide page "Fill out forms to start an eviction case" says to count every day for those and for a notice to quit, and to skip weekends and court holidays for a notice to pay or perform. For a covered residential tenancy, Civil Code section 1946.2 requires a curable violation to get a notice to cure first; only if it is not cured may a three-day notice to quit follow.

Service matters as much as wording. The Judicial Council's complaint form marks certified or registered mail as "Not for 3-day notice" and service in the manner a written commercial lease specifies as "Not for residential tenancies." A notice with the wrong amount, wrong payee details or defective service is tested against what the statute requires, and a city's own rules may add requirements beyond state law.

For an owner, the notice is the foundation the rest of the case rests on.

Filing the Complaint and What Happens at the Courthouse

Once the notice period ends without payment, cure or move-out, the owner files. The Self-Help Guide page cited above lists the Summons (SUM-130), the Complaint (UD-100) and the Civil Case Cover Sheet (CM-010), filed in the superior court for the county where the rental is located, and warns to list every tenant and occupant, "even if not on the lease," or they "can stop the eviction later." The California Courts Self-Help Guide page "Serve the Summons and Complaint forms" says the owner cannot serve the papers personally and must use another adult.

Under Code of Civil Procedure section 1167, the tenant's response is due within 10 days, excluding Saturdays, Sundays and other judicial holidays, after service; service through the Secretary of State's address confidentiality program adds five court days. A tenant may instead demur or move to strike under Code of Civil Procedure section 1170, with the hearing set five to seven court days after the motion is filed.

Default is what happens when no response arrives in time. Under Code of Civil Procedure section 1169, on the owner's written application and proof of service, the clerk enters the default and, if requested, judgment for restitution of the premises. A judgment for possession is the court's order establishing the owner's right to recover the property. The California Courts Self-Help Guide page "Ask for a default judgment" adds that a tenant can still file an answer at any point before the owner asks for entry of default.

If the tenant answers, the owner requests a trial setting. Code of Civil Procedure section 1170.5 requires trial no later than the 20th day after the request is made, unless all parties agree to extend it or the court holds the hearing that section describes. In a contested eviction case, the notice, its service and the ground are tested against the statute; the California Courts Self-Help Guide page "What happens if your tenant files a response" also notes a Motion to Quash Service, which, if granted, requires re-service. The court decides possession on the evidence.

The Writ of Possession: Turning a Judgment Into Keys

A judgment is a right; the writ is what turns it into keys. A writ of possession is a court order directing the levying officer, the county sheriff or marshal, to remove the occupants and restore possession to the owner. Code of Civil Procedure section 1174 says a judgment for the owner is entered for possession, and in a rent or covenant case also declares the lease forfeited if the notice stated the landlord's election to forfeit. The court finds any rent due and assesses damages, and where malice is shown may add statutory damages of up to $600.

Enforcement can wait in one setting. Under Code of Civil Procedure section 1174(c), in a nonpayment case where the lease has not expired and the notice did not elect forfeiture, the court may order that no writ issue for five days after judgment, and must do so if the lease is written, for more than one year, and has no forfeiture clause. In that window 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.

The California Courts Self-Help Guide page "After the eviction trial decision" says the sheriff gives the tenant a Notice to Vacate with 5 days to move, and returns to remove and lock out anyone who stays. The writ and sheriff lockout are covered on their own page.

A prejudgment claim of right to possession is a form, CP10.5 on the California Courts Self-Help Guide "Eviction forms" page, that the sheriff or a process server can deliver with the summons and complaint so unknown adult occupants learn of the case and their right to join it.

Possession comes back only through the judgment and the levying officer. Code of Civil Procedure section 1159 makes it forcible entry to enter by breaking open doors, windows or other parts of a house, or by violence or terror, or, after entering peaceably, to turn out the party in possession by force, threats or menacing conduct.

For an owner, possession returns only through the judgment and the levying officer, not before.

Residential Versus Commercial Unlawful Detainer in California

Several rules in the statutes apply to one kind of tenancy and not the other. Civil Code section 1946.2 governs residential real property only, subject to the occupancy test and exemptions described above, and its no-fault terminations carry a duty, at the owner's option, to pay relocation assistance or waive the final month's rent, equal to one month's rent, with any payment made within 15 calendar days of service of the notice. An owner's failure to strictly comply voids the notice. None of that reaches a commercial tenancy.

Commercial matters turn heavily on the lease itself, alongside the Code of Civil Procedure. The lease may specify how notices are served, which the Judicial Council's complaint form recognizes only for commercial tenancies. On the residential side, the same form requires attaching the written agreement and the notice. Hearing delays also differ: under Code of Civil Procedure section 1170, a court may postpone a demurrer hearing in a residential case for good cause on notice it prescribes, while in a commercial case the postponement may not exceed 10 court days after the first date set.

The three-day notices, the response period, the trial-setting rule and the writ apply to both. The commercial eviction page goes further into lease-driven issues. California Landlord Rights Group represents owners in both residential and commercial unlawful detainer matters.

What This Practice Handles and What It Does Not

California Landlord Rights Group is a California law practice that represents only landlords, property owners, investors and authorized property managers in eviction and unlawful detainer matters. If your problem is a tenant behind on rent, a holdover after the term or a termination notice, a lease breach, a nuisance or unlawful use of the premises, waste, an unauthorized occupant or subtenant, or a case the tenant has answered and is contesting, it falls within that work. The nonpayment of rent eviction page covers that case in detail.

The limits are deliberate. The practice does not represent tenants. It does not offer lease drafting as a standalone service, advice on rent increases, security deposit disputes, habitability claims or general property management. Those topics matter, but they belong elsewhere, and this page leaves them there.

Within its lane, our eviction attorney works on residential and commercial matters alike, from the notice through the writ.

Private consultation

You Don’t Have to Work This Out Alone

If you’re dealing with an unlawful detainer case in California, 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 is an unlawful detainer in California?

It is a civil lawsuit an owner files in California Superior Court to recover possession from a tenant or occupant with no legal right to stay. It is a summary proceeding with short statutory deadlines, and Code of Civil Procedure section 1179a gives it precedence over most other civil actions.

What are the grounds for filing an unlawful detainer in California?

Code of Civil Procedure section 1161 lists them, including holdover after the term, nonpayment after notice, breach of another covenant after notice, subletting or waste contrary to the lease, nuisance, unlawful use, and failing to leave after the tenant's own termination notice. Covered residential tenancies also need just cause under Civil Code section 1946.2.

What notice does a landlord have to give before filing an unlawful detainer?

It depends on the ground: a three-day notice to pay rent or quit, a three-day notice to perform or quit, a three-day notice to quit with no cure for the grounds that end the lease outright, or a 30- or 60-day notice. The notice section above explains how each period is counted.

How long does an unlawful detainer case take in California?

No fixed length applies. The statutes set pieces of it: the notice period, a response due within 10 days excluding weekends and judicial holidays, and trial within 20 days of a request. Whether the tenant answers or files motions, and any five-day stay under Code of Civil Procedure section 1174(c), affects the total.

How much does it cost to hire a lawyer for an unlawful detainer lawsuit?

This page states no attorney fees. For court costs, the California Courts Self-Help Guide page on filing the eviction forms says the filing fee is usually between $240 and $450, depending on the amount claimed. Total cost depends on whether the case is contested and how far it goes.

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

No. Possession comes back through a judgment for possession and the levying officer's enforcement of a writ of possession. Code of Civil Procedure section 1159 makes forcible entry of breaking in, or of turning out the person in possession by force, threats or menacing conduct.

What happens if the tenant does not respond to the unlawful detainer complaint?

The owner may apply for default. Under Code of Civil Procedure section 1169, with proof of service, the clerk enters the default and, if requested, judgment for restitution of the premises. A tenant can still answer until the owner asks for the default to be entered.

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

Civil Code section 1946.2 covers residential property after 12 months of continuous, lawful occupancy, unless an exemption applies, such as recent construction, certain owner-occupied homes, or a separately alienable home owned by someone other than a REIT, corporation or corporate-member LLC whose tenants received the required written notice. It does not cover commercial tenancies.

What defenses can a tenant raise in an unlawful detainer case?

An owner should expect the notice, its service and the ground to be tested against what Code of Civil Procedure section 1161 requires. The court's self-help guide also describes a Motion to Quash Service and a Demurrer, and notes that a judge who rules for the tenant may order the landlord to make repairs.

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

It is a court order directing the sheriff or marshal to remove the occupants and return the property to the owner. It issues after a judgment for possession. The court's self-help guide says the sheriff serves a Notice to Vacate giving 5 days, then returns to remove and lock out anyone remaining.