✓ Law Verified August 2026
California landlord retaliation law exists because rights you cannot safely use are not rights at all. This guide covers the two ugliest moves a landlord can make, punishing you for complaining, and forcing you out without a court, what each one costs the landlord in California, and exactly what to do when it happens to you. Verified against official California sources as of August 2026.
In This California Guide:
California Landlord Retaliation and Lockout Law at a Glance
| Retaliation law | California Civil Code 1942.5 (statutory, not just case law). It works alongside Civil Code 1940.2 (tenant harassment/influence-to-vacate) and the just-cause eviction rules of the Tenant Protection Act, Civil Code 1946.2. |
| Presumption window | 180 days. If the landlord recovers or tries to recover possession, raises rent, or cuts services within 180 days of the protected act, California law treats that as retaliation and the landlord must show a lawful, non-retaliatory reason. The 180 days runs from the latest applicable triggering date, and the tenant must not be in default on rent to use this subdivision. The 1942.5(d) protection for lawful exercise of rights generally is not limited to 180 days. |
| What retaliation costs the landlord | Actual damages, plus punitive damages of not less than 100 and not more than 2000 for each retaliatory act where the court finds the landlord acted with fraud, oppression, or malice. The court shall award reasonable attorney fees to the prevailing party if either side requests fees at the start of the action. Retaliation is also an affirmative defense to an unlawful detainer (CACI 4321), so many tenants can use it to defeat the eviction itself. Separately, Civil Code 1940.2 allows a civil penalty up to 2000 per violation for landlord conduct meant to influence a tenant to vacate. |
| Lockout law | California Civil Code 789.3. Related: Code of Civil Procedure 1159-1160 (forcible entry and forcible detainer) and Penal Code 418, which makes a forcible entry or forcible detainer a misdemeanor. |
| What a lockout costs the landlord | Under 789.3(c) the tenant may recover actual damages plus statutory damages of up to 100 for each day or part of a day the landlord stays in violation, with a floor of 250 minimum awarded per separate cause of action. Repeated violations not committed at the same time as the first are separate causes of action with separate damage awards. Under 789.3(d) the court shall award reasonable attorney fees to the prevailing party. A tenant may also seek an injunction restoring possession, and punitive damages may be available where conduct was malicious. |
Recognizing California Landlord Retaliation When It Happens
Retaliation rarely announces itself. It looks like a sudden rent increase the month after you called the housing inspector, a non-renewal notice days after you asked for repairs in writing, new rules that only seem to apply to you, or an eviction filing right after you joined other tenants in a complaint.
The law does not require the landlord to admit anything, California landlord retaliation cases are won on timing and paper.
That is why the habit that protects you most is boring: put every request and complaint in writing, date it, and keep a copy from day one.
Retaliation law does not make you eviction-proof, and it does not excuse unpaid rent. What it does is take away the landlord’s power to punish you for using rights California gave you, and when the timeline shows punishment, judges notice.
What You Are Protected For
Under 1942.5(a) and 1942.5(d), California protects a tenant who: uses the repair-and-deduct remedy under Civil Code 1942 or gives the landlord notice of the intent to do so; complains orally or in writing to the landlord about untenantable conditions; complains to a government agency such as a city or county code enforcement, building, health, or fire department about habitability;
files or testifies in a lawsuit or administrative proceeding about the tenancy; is party to a judgment or arbitration award over habitability;
joins, forms, or participates in a tenant association or tenants’ rights organization; or otherwise lawfully exercises any right under the law. The landlord may not respond by recovering possession, raising rent, decreasing services, or threatening to do any of those.
The timing presumption: 180 days. If the landlord recovers or tries to recover possession, raises rent, or cuts services within 180 days of the protected act, California law treats that as retaliation and the landlord must show a lawful, non-retaliatory reason. The 180 days runs from the latest applicable triggering date, and the tenant must not be in default on rent to use this subdivision.
The 1942.5(d) protection for lawful exercise of rights generally is not limited to 180 days.
Locked Out or Utilities Cut? Do This Today
Call the police or sheriff today and tell them this is an illegal lockout under Civil Code 789.3 and a forcible entry/detainer under Penal Code 418, and ask them to stand by while you regain access. Photograph the changed lock, removed door, dark meter, or your property outside, and save the timestamp.
Go to your county Superior Court self-help center or a legal aid office the same day and file a civil complaint against the landlord together with an ex parte application for a temporary restraining order under Code of Civil Procedure 527 asking the judge to order the landlord to restore your keys and utilities;
you will generally need a summons (SUM-100) and a civil case cover sheet (CM-010) with your complaint, and your court may have its own local ex parte forms.
Ask the clerk for the earliest ex parte hearing, since some courts hear these the same or next business day. Statewide court guidance is at selfhelp.courts.ca.gov/eviction-tenant, and you can report the landlord to the AG at oag.ca.gov/report.
Utility shutoffs: Yes, illegal. Civil Code 789.3(a) bars a landlord, with intent to terminate occupancy, from willfully causing the interruption or termination of any utility service furnished to the tenant, including water, heat, light, electricity, gas, telephone, elevator, or refrigeration, whether or not the landlord is the one who pays for it.
Same remedy as a lockout: actual damages, up to 100 per day with a 250 minimum per cause of action, and attorney fees to the prevailing party.
Whatever the details in California, one rule holds everywhere in the country: a landlord cannot be the judge. Changing the locks, hauling your belongings to the curb, or cutting the power to force you out skips the court process every state requires, which is exactly why the law puts money penalties on it.
Do not respond in kind and do not break back in; document everything with photos and timestamps, keep receipts for every night of housing and every meal the lockout forces on you, and let the court hand the landlord the bill.
Ask the court clerk for the emergency form that restores possession, every state has one, most clerks will point you to it the same day, and judges hear these motions fast precisely because the law treats a lockout as an emergency.
How to Respond to California Landlord Retaliation
Put every repair request and habitability complaint in writing, date it, and keep proof of delivery such as email, text, or certified mail, so you can pin down when the 180-day clock started. Report the conditions to your local code enforcement or health department and get a copy of the inspection report or case number.
📨 Get Free Tenant Rights Guides Alerts
Free · No spam · Unsubscribe anytime
If you are served with a notice or an unlawful detainer summons, do not move out and do not ignore it: file a written Answer (Judicial Council form UD-105) within the deadline stated on the summons and check the retaliation affirmative defense, and consider a separate affirmative claim or cross-complaint for damages under 1942.5.
Request attorney fees at the initiation of the action, since 1942.5 only awards them if a party asks up front.
Contact a local legal aid provider or your court’s self-help center quickly, because unlawful detainer deadlines in California are short.
The Paper Trail Playbook Every California Tenant Should Run
Start a single folder, paper or phone, the first day anything feels off. Every repair request goes in writing, even if you also called: a short text or email saying what is broken and when you reported it is enough. Photograph problems with the date visible, save every reply, and after any phone call that matters, send a one-line follow-up confirming what was said.
None of this is aggressive; it is just memory that a court can read.
If pressure starts, write a timeline while events are fresh: the date of your complaint, the date of the landlord’s response, and every step after. Retaliation cases in California are decided on exactly this sequence, and the tenant who can hand a judge a clean dated timeline almost always outperforms the one relying on memory.
Keep paying rent the lawful way while the dispute runs, withholding without following the proper procedure hands the landlord the very eviction ground retaliation law took away. And if you feel unsafe at any point, involve the police and local legal aid the same day; retaliation that crosses into intimidation is more than a housing matter.
The Evidence That Wins These Cases
A dated written repair request or habitability complaint, the code enforcement or health department inspection report and citation, and a tight timeline showing the landlord’s notice, rent increase, or service cutoff landed within 180 days of that complaint. Photos and video with visible timestamps of the defect, the changed lock, the removed door, or the dead utility.
Texts, emails, voicemails, or letters where the landlord links the action to your complaint. Utility company records or shutoff notices showing who ordered the disconnection.
Witness declarations from neighbors, other tenants, or the responding officer, plus the police report or incident number. Rent payment records proving you were not in default, receipts for hotel, food, and replacement property after a lockout, and a day-by-day log of how long the lockout or shutoff lasted, since the 789.3 award is calculated per day.
Worth knowing in California: Several California cities layer stronger tenant anti-harassment and anti-retaliation ordinances on top of state law, including Los Angeles, San Francisco, Oakland, and Berkeley, and those local rules often carry higher per-violation penalties and their own rent board complaint process, so check your city’s rent board or housing department.
Statewide, the Tenant Protection Act (Civil Code 1946.2) separately requires just cause to evict most tenants after 12 months, which many tenants raise alongside a 1942.5 retaliation defense.
The 180-day presumption in 1942.5(a) is unavailable if you are in default on rent, so keep paying or depositing rent where you can while the dispute is pending.
California Landlord Retaliation: Quick Answers
Can I be evicted for complaining? Not lawfully. California landlord retaliation law protects complaints to inspectors and to the landlord, and the timeline you document is your proof.
What if I am locked out today? A lockout without a court order is illegal. Call the police non-emergency line, then the court; the California landlord retaliation and lockout rules above list the penalties.
Do I need a lawyer? Many California landlord retaliation claims run through small claims or work as an eviction defense, and legal aid handles lockouts free.
Your landlord’s insurance won’t cover your stuff
Renters insurance protects your belongings for a few dollars a month.
You May Also Like
Official California Sources & Resources
- California Attorney General: oag.ca.gov/tenants
- California Statute: leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?…
- U.S. Department of Housing and Urban Development: hud.gov
- Cornell Legal Information Institute: law.cornell.edu/wex
Standing Up Without Getting Burned: California Landlord Retaliation Law
The whole point of California landlord retaliation law is that you should never have to choose between a safe apartment and keeping your housing. Use your rights calmly and in writing, a repair request, a code complaint, a question about a fee, and the law walks beside you. If the landlord answers with pressure, the California landlord retaliation timeline you documented becomes your shield and, in many cases, your counterclaim.
Tenants who understand California landlord retaliation rules act earlier, keep better records, and settle from strength. When it escalates, local legal aid handles these cases every week and usually knows the judge’s expectations to the letter.
This California landlord retaliation and lockout guide was last verified against official sources in August 2026. If you are locked out right now, act today, these remedies reward speed.
More California Tenant Rights Guides
- California Tenant Rights
- California Eviction Process
- California Security Deposit Law
- California Rent Increase Laws
- California Repairs & Habitability
- Breaking a Lease in California
- Eviction Timeline Calculator
- All 50 States
Disclaimer: This guide is informational only and is not legal advice. Landlord-tenant laws change and vary by city and county within a state. Verify current rules with your state, your local court, or a free legal-aid office before acting. If you are facing eviction, contact a local tenant attorney or legal-aid organization right away.