California Code of Civil Procedure 1161: Notices and Defenses

The California unlawful detainer process is the court procedure a landlord must follow to evict a tenant, and it runs on a compressed timeline. Before filing anything in court, the landlord must serve you a written notice matching the reason for the eviction. If you don’t comply, the landlord files a complaint, and you have as few as 10 days after being served to file a written response. A trial can be set within 20 days after that. Miss the response deadline and the landlord can win by default without you ever appearing.

When a Landlord Can File

A landlord needs a legally recognized reason to start an unlawful detainer case. The most common is nonpayment of rent. If you fall behind, the landlord serves a written three-day notice demanding payment. Those three days exclude weekends and court holidays, which usually means five or six calendar days. The notice must state the exact amount owed and the name, phone number, and address of the person who can accept payment. Pay everything within that window and the landlord must accept it.1California Legislative Information. California Code CCP 11612California Courts. Types of Eviction Notices Tenants

Violating a material lease term is another ground. Unauthorized subletting is a typical example. You get a three-day notice to fix the problem, and if you correct it in time the landlord cannot proceed.

Some conduct is treated as non-curable, meaning the three-day notice tells you to leave with no chance to fix anything. Nuisance, waste, and using the unit for illegal purposes fall into this category.1California Legislative Information. California Code CCP 1161 Because there is no cure period, courts scrutinize these notices closely, and vague allegations of “nuisance” without specifics are a weak basis for eviction.

Finally, if your lease has expired and you stay without consent, the landlord can serve a notice to quit. Tenants who have lived in the unit less than a year get 30 days; those there a year or more get 60 days.3California Legislative Information. California Code CIV 1946.1 For many tenants, a simple holdover notice is not enough on its own; just cause rules layer on top.

Just Cause Under the Tenant Protection Act

Since 2020, the Tenant Protection Act has required landlords to have just cause before terminating the tenancy of anyone who has lived in a rental for 12 months or more. A landlord cannot simply let your lease expire and tell you to leave without a legally recognized reason.4California Legislative Information. California Code CIV 1946.2

Just cause splits in two. At-fault reasons cover tenant conduct: not paying rent, breaching a material lease term, criminal activity on the property, refusing authorized entry, or using the unit for illegal purposes. No-fault reasons have nothing to do with what you did. They include the owner or an immediate family member moving in, withdrawal of the property from the rental market, compliance with a government habitability order, or a substantial renovation requiring the unit to be vacant.4California Legislative Information. California Code CIV 1946.2

When the landlord uses a no-fault reason, they owe you relocation assistance equal to one month’s rent, paid within 15 calendar days of the termination notice, or they can waive the final month’s rent instead. Failing to pay relocation assistance defeats the eviction.

Not every rental is covered. Certain single-family homes (where the owner is not a corporation or REIT and has given the tenant written notice of the exemption), housing built within the last 15 years, and some other property types are exempt. If the landlord claims an exemption, check whether the required written notice was actually given. Missing that notice can invalidate the exemption.

Notice Requirements

The notice is the foundation of every unlawful detainer case. A defective notice can sink the entire lawsuit.

Three-Day Notice to Pay Rent or Quit

The notice must state the exact rent owed and the name, phone number, and address for payment. If in-person payment is accepted, it must also list the days and hours the person is available. The three-day count excludes weekends and judicial holidays, and no fee can be charged for serving the notice.1California Legislative Information. California Code CCP 1161

Three-Day Notice to Perform or Quit

For lease violations other than nonpayment, the notice must describe the specific breach clearly enough that you know what to fix. “You violated your lease” is not enough. The notice must identify the provision allegedly broken and what you must do to correct it.

Three-Day Notice to Quit

For nuisance, waste, or illegal activity, the notice gives no chance to cure. It simply tells you to leave in three days. Because there’s no cure period, you can challenge whether the alleged conduct actually happened or meets the legal threshold.1California Legislative Information. California Code CCP 1161

30 or 60-Day Notice to Quit

For terminating a month-to-month tenancy, the length of your occupancy sets the notice period: less than a year is 30 days, a year or more is 60 days.3California Legislative Information. California Code CIV 1946.1 Where just cause applies, the notice must also state a qualifying reason.

How the Notice Reaches You

California requires personal delivery, substituted service on a competent person at your home or workplace along with mailing, or posting on the property along with mailing. A notice that was never properly served gives you a strong basis to get the case dismissed.

The Court Process

Once you ignore or dispute a valid notice, the landlord files an unlawful detainer complaint in court, and the case moves faster than a normal civil lawsuit.

Your Response Deadline

After you’re served the summons and complaint, you have 10 days to file a written response if served in person, or 20 days if served another way. People served through the Secretary of State’s address confidentiality program get an additional five court days.5California Courts. What Happens if Your Tenant Files a Response6California Legislative Information. California Code CCP 1167 Miss it and the landlord can request a default judgment. The judge then decides the case without hearing your side.

Getting to Trial

Unlawful detainer cases are summary proceedings, prioritized over most other civil matters. Once either side requests a trial date, the court must schedule it within 20 days.7California Legislative Information. California Code of Civil Procedure 1170.5 Busy counties sometimes run longer, but the framework is designed to move fast. You can request a jury trial. It costs $150 plus daily juror fees, and a fee waiver is available if you cannot afford it.8California Courts. What to Expect at an Eviction Trial Tenant

Defenses That Can Stop the Case

Defective Notice

Most cases that fall apart for landlords fall apart here. Wrong rent amount, missing contact information, no proper payment method, defective service. Courts treat these technical requirements seriously because the notice is a prerequisite to the lawsuit itself. No valid notice, no valid case.

Retaliation

California law presumes retaliation if the landlord tries to evict you, raise rent, or reduce services within 180 days of you exercising certain rights. Those rights include complaining to the landlord about habitability, reporting health or safety violations to a government agency, participating in a tenants’ association, or complaining about bed bugs. The 180-day presumption shifts the burden to the landlord to prove the action wasn’t retaliatory. Threatening to report a tenant to immigration authorities is also classified as retaliation under the same statute.9California Legislative Information. California Code CIV 1942.5

Habitability

If you withheld rent because the landlord ignored serious habitability problems, that can defend against a nonpayment eviction. Two specific remedies exist. You can hire someone to repair the problem and deduct the cost from rent, as long as it costs no more than one month’s rent, usable up to twice in a 12-month period. Or you can vacate and stop paying rent as of the date you leave. A 30-day wait after notifying the landlord is presumed reasonable, though shorter periods can be justified in urgent situations. The remedy is unavailable if you caused the condition through your own neglect or misuse.10California Legislative Information. California Code CIV 1942 Raising habitability in court requires evidence: photos, written repair requests, inspection reports, communication with the landlord. Without documentation, the defense rarely works.

No Just Cause

If the Tenant Protection Act covers your tenancy and the landlord’s notice stated no qualifying reason, or claimed a no-fault reason without paying the required relocation assistance, that is a complete defense.4California Legislative Information. California Code CIV 1946.2

After Judgment

If the court rules against you, enforcement usually starts right away. The landlord can request a writ of possession immediately after judgment in most cases. A common myth says you always get five days after judgment to pay and stay. That five-day redemption window applies only when the eviction is for nonpayment, the lease hasn’t expired by its own terms, the lease is written, runs for more than one year, and contains no forfeiture clause. In that narrow situation, paying all rent owed plus damages and court costs within five days cancels the judgment and preserves your tenancy. Outside that scenario, no automatic grace period exists.11California Legislative Information. California Code of Civil Procedure 1174

Once the writ issues, the sheriff posts a notice to vacate at the property. You can ask the court for a stay of execution. A granted stay can add up to 40 days, though judges frequently approve less. You must file the request at least one court day before the sheriff’s move-out date, give the landlord at least 24 hours’ notice of the hearing, and bring money to cover each extra day you’re requesting. Skipping any step means automatic denial.12California Courts. Ask for a Stay of Execution in an Eviction Case

Eviction Records and Credit

California restricts access to unlawful detainer records more than most people know. For the first 60 days after the complaint is filed, only parties to the case, their attorneys, and people who already know both a party’s name and the property address can see the file. The public gains access only if the landlord wins a judgment within those 60 days, and even then only after the 60-day mark passes. If the case is dismissed, settled, or the tenant wins, the records stay restricted.13California Legislative Information. California Code of Civil Procedure 1161.2

A judgment in the landlord’s favor does eventually become visible. Future landlords run background checks and treat any eviction history as a red flag. The judgment can also appear alongside related debt collection activity on your credit report, hurting your score and your ability to secure new housing. If you have any viable defense, fighting the case matters beyond the current apartment.

Military Servicemember Protections

Active-duty military personnel and their dependents get additional protection under the federal Servicemembers Civil Relief Act. A landlord cannot evict a servicemember without a court order when the monthly rent is below a federal threshold that adjusts annually. The threshold was $10,239.63 per month as of January 2025, which covers nearly all California rentals.14Office of the Law Revision Counsel. 50 USC 3951 – Evictions and Distress

If military service materially affects a servicemember’s ability to pay rent, the court must grant a stay of at least 90 days, and may grant longer. The court can also adjust the lease obligations to balance both parties’ interests. Knowingly evicting a protected servicemember without a court order is a federal misdemeanor punishable by up to one year in jail.14Office of the Law Revision Counsel. 50 USC 3951 – Evictions and Distress These protections aren’t automatic. The servicemember or a representative has to raise them with the court.