A code enforcement complaint california tenants file is a report that brings a city or county inspector to look at unsafe conditions in your home, such as mold, no heat, leaks, broken locks, or pests. You report the problem, an inspector visits, and the landlord can get an official order to fix it. A code enforcement complaint california renters file also creates a paper trail. As a result, you get extra legal protection if your landlord tries to punish you for speaking up.
When and Why to Use a Code Enforcement Complaint California
Use this when your landlord ignores a request to fix a serious problem. California’s Health and Safety Code Section 17920.3 lists what makes a home “substandard.” The list includes no hot water, faulty wiring, leaking roofs, mold, rodents, and broken plumbing. In most cases, you should tell your landlord in writing first. However, if the danger is urgent, like a gas leak or no heat in winter, call the city right away.
A code enforcement complaint california inspectors follow up on does three things. First, it brings in a neutral inspector who can issue citations. Second, it can start deadlines under state law. For example, under Civil Code 1942.4, a landlord generally cannot demand rent if an inspector cited the unit and the problems were not fixed within 35 days. Third, it protects you from retaliation.
Under Civil Code 1942.5, your landlord may raise your rent, cut services, or try to evict you within 180 days after your code enforcement complaint california officials received. If so, the law typically presumes the landlord is retaliating. This protection usually applies only if your rent is paid up. If you already have eviction papers, contact a local legal-aid office right away.
What to Include in a Code Enforcement Complaint California (and What to Leave Out)
A strong code enforcement complaint california inspectors can use is short and specific. Include your name, address, and unit number, plus the best way to reach you. Then list each problem. Say where it is, when it started, and how it affects your health or safety. Also include the dates you told your landlord and what they said, if anything.
Leave out insults, guesses, and long stories about the landlord’s character. Stick to facts an inspector can see. For example, write “black mold on bathroom ceiling, about 2 feet wide, since June 2026.” Don’t just write “the place is disgusting.” Attach dated photos and copies of your repair requests. A clear code enforcement complaint california officials can check quickly is more likely to lead to a citation.
These California rules have exact deadlines and dollar amounts that matter after you file:
| California rule | Exact figure | Law |
|---|---|---|
| Retaliation presumed after a complaint | 180 days | Civil Code 1942.5 |
| Penalty for malicious retaliation | $100 to $2,000 per retaliatory act, plus actual damages | Civil Code 1942.5 |
| Landlord cannot collect rent after a citation if the problem is not fixed | 35 days after notice | Civil Code 1942.4 |
| Damages if landlord violates 1942.4 | $100 to $5,000, plus actual damages and attorney fees | Civil Code 1942.4 |
| Repair-and-deduct limit | Up to 1 month’s rent, 2 times in 12 months | Civil Code 1942 |
| Landlord’s notice before entering to make repairs | 24 hours written notice (presumed reasonable) | Civil Code 1954 |
Sample Template You Can Adapt
Many cities have online forms. If yours doesn’t, or you want a written record, use this code enforcement complaint california sample as a starting point. You can also paste it into an online form’s comment box.
Sample template – adapt to your state and your situation. This is an informational sample, not legal advice.
[Your Name]
[Your Street Address, Unit #]
[City], CA [ZIP]
[Phone] | [Email]
[Date]
[City or County] Code Enforcement / Housing Inspection Division
[Agency Address or Email]
Re: Code enforcement complaint california – request for inspection of rental unit at [Your Address, Unit #]
Dear Inspector:
I rent the unit listed above. My landlord is [Landlord or Property Manager Name], [Landlord Phone/Address]. I am asking for an inspection. I believe these conditions violate Health and Safety Code 17920.3 and local housing codes:
1. [Problem #1 – location, size, date it started, health or safety effect]
2. [Problem #2 – location, size, date it started, health or safety effect]
3. [Problem #3 – location, size, date it started, health or safety effect]
I notified my landlord in writing on [Date(s)] by [text / email / certified mail]. As of today, [the problems have not been repaired / only partial repairs were made]. Copies of my requests and dated photos are attached.
The best times to inspect are [Days/Times]. Please contact me at [Phone/Email] to schedule. Please send me a copy of any inspection report or notice of violation.
📨 Get Free Tenant Rights Guides Alerts
Free · No spam · Unsubscribe anytime
Sincerely,
[Your Signature]
[Your Printed Name]
Attachments: [Photos, dated] | [Copies of repair requests] | [Any medical notes, if relevant]
How to Send a Code Enforcement Complaint California So It Counts
Use whatever method your city offers. Then make sure you can prove the date. If you file online, save the confirmation page and case number. If you email it, keep the sent email. If you mail it, use certified mail with a return receipt. Your code enforcement complaint california filing date matters, because it starts the 180-day retaliation protection.
Keep a folder with your complaint, photos, repair requests, and the inspector’s report. Write down every call and visit, with dates and names. Typically, the inspector will send the landlord a notice of violation with a deadline to fix things. If that deadline passes, call the agency and ask for a re-inspection. Keep paying rent on time unless a lawyer tells you otherwise.
If your landlord files an eviction after you complain, don’t ignore the court papers. In California, you usually have only 10 court days to respond. Contact a legal-aid office through LawHelpCA or use the California Courts Self-Help Guide right away.
Frequently Asked Questions
Can I file a code enforcement complaint california inspectors will take anonymously?
Many cities accept anonymous complaints. However, an inspector usually needs to get into your unit. An anonymous report also makes it harder to prove the landlord knew you complained. That proof matters if you ever need retaliation protection.
Can my landlord evict me for filing?
Retaliation is illegal under Civil Code 1942.5. If your landlord acts against you within 180 days of your code enforcement complaint california officials received, the law typically presumes retaliation if your rent is current. You may be able to raise it as a defense or sue for damages. Check with a tenant attorney or legal-aid office.
Does filing cost anything?
No. Filing a housing code complaint with your city or county is typically free for tenants. Some cities charge landlords re-inspection fees if violations aren’t fixed. That can push them to act faster.
Protect your stuff while you sort this out
A landlord’s insurance does not cover your belongings — renters insurance does, often for a few dollars a month. Compare options before your next move.
Find Your State’s Exact Rules
Notice periods, deposit caps, and the eviction timeline all change from state to state. Pick your state to see the exact days, dollar limits, and steps that apply where you live.
See Tenant Rights in All 50 States →
Sources & How to Verify
The rules on this page are drawn from official government and legal-aid sources. Tenant law changes, so always confirm the exact rule with your state’s statute or a local legal-aid office.
- HUD: hud.gov — federal renter protections and fair housing
- Legal Services Corporation: lsc.gov — find free legal aid in your state
- Cornell Legal Information Institute: law.cornell.edu/wex — plain-English legal definitions
- Your state statute & court self-help portal: search “[your state] landlord tenant act” and “[your state] court self-help eviction” for the exact law and forms
Content last reviewed September 2026. If you notice outdated information, please contact us.
California Renter Guides
- California Eviction Process
- California Tenant Rights
- California Security Deposit Law
- California Rent Increase Laws
- California Repairs and Habitability
- Breaking a Lease in California
Related Guides
- Tenant Rights by State (50-State Guide)
- More in This Category
- Tenant Scenarios — What to Do When…
- Notices, Letters & Documents
- Comparison Guides
- Tenant Rights Legal Glossary
Informational only — not legal advice. Tenant Rights Info is an independent educational resource, not a law firm, and this page does not provide legal advice. Landlord-tenant law varies by state and city and changes over time, so always verify the exact rule with your state’s statute, your local court’s self-help portal, or a legal-aid office. For urgent situations like an active eviction, contact a local legal-aid office or a licensed tenant attorney in your state right away.