What can I do when my landlord, or my tenant, breaks the lease or the law?
In California, a tenant can sue a landlord who refuses repairs, retaliates, discriminates, locks the tenant out or wrongly keeps a deposit. A landlord may not discriminate against or harass a tenant because of sexual orientation, gender identity or gender expression (Government Code § 12955). A landlord can go to court to recover the unit and unpaid rent from a tenant who does not pay or seriously violates the lease, but only by following the notice and court process exactly.
Landlords have duties, and so do tenants. This page covers what California law requires of each side, and what you can do when the other side does not meet its duties.
We represent tenants, and we represent landlords. Never both sides of the same dispute.
What a landlord owes a tenant
- A home fit to live in. Every rental must have working plumbing, heat, hot and cold water and electricity, a sound roof and walls, and be free of vermin and garbage (Civil Code § 1941.1). A landlord who is told about a serious problem has to fix it within a reasonable time.
- No retaliation. A landlord may not raise the rent, cut services or try to evict you because you asked for repairs or complained to the city (Civil Code § 1942.5).
- No lockouts or utility shutoffs. A landlord cannot change the locks, remove your belongings or shut off utilities to force you out (Civil Code § 789.3). Only a court can order an eviction.
- No harassment meant to push you out of your home.
- Limits on evictions and rent increases. California’s Tenant Protection Act limits terminations and rent increases for covered tenancies (Civil Code §§ 1946.2, 1947.12). After a tenant has lived in a home for 12 months, the Act requires just cause to end the tenancy. Some homes are exempt, and local ordinances can add protections.
- The deposit back. Generally within 21 days after you move out, with an itemized statement of any deductions (Civil Code § 1950.5). A landlord who keeps a deposit in bad faith can owe up to twice the deposit in addition to actual damages.
Discrimination in housing
California’s Fair Employment and Housing Act makes it unlawful for the owner of housing to discriminate against or harass any person because of sexual orientation, gender identity or gender expression (Government Code § 12955). Marital status is on the same list.
- Who must follow it. “Owner” includes a managing agent and a real estate broker or salesperson (Government Code § 12927).
- What it covers. Refusing to rent, offering worse terms or services, harassment, and ending a rental agreement (Government Code § 12927).
- Perception is enough. The law applies when someone perceives you to be LGBTQ+, and when you are treated worse because of a person you are associated with (Government Code § 12955).
- A couple’s income. A landlord’s income standard must count the combined income of people who live together, or plan to, on the same basis as the combined income of a married couple (Government Code § 12955).
- Disability. The Act requires reasonable accommodations in housing rules and policies.
The Act has a few narrow exceptions. One is for an owner who rents a room in the single-family home the owner lives in to one roomer or boarder (Government Code § 12927).
What a tenant owes a landlord
A landlord has grounds to act when a tenant:
- does not pay the rent;
- seriously violates the lease, for example through unauthorized occupants, illegal subletting or illegal use of the property;
- creates a nuisance, or disturbs or endangers other residents;
- damages the property beyond normal wear and tear;
- stays after the tenancy has lawfully ended; or
- defaults on a commercial lease.
A landlord can recover the unit and unpaid rent, but only by following the notice and court process exactly. Only a levying officer, such as the sheriff, can remove a tenant, and only after a court judgment (Code of Civil Procedure § 715.010).
What you can recover
Tenants may recover a reduction in rent for the time a unit was unlivable, actual damages, and penalties set by statute. Some laws also award attorney’s fees. In a housing discrimination case, a court may award actual and punitive damages and may order the discrimination to stop (Government Code § 12989.2).
Landlords may recover possession of the unit, unpaid rent, and the cost of damage to the property.
If the lease has an attorney’s fees clause, the winning side can recover fees, whichever side that is (Civil Code § 1717).
Deadlines
- Eviction papers: 10 court days. If you are served with an unlawful detainer summons and complaint, you generally have 10 court days to file a written response (Code of Civil Procedure § 1167). If you miss the deadline, you can lose by default without ever seeing a judge.
- Housing discrimination: one year or two. A complaint to the California Civil Rights Department must be filed within one year (Government Code § 12980). A lawsuit must be filed within two years, and you do not have to go to the Department first (Government Code § 12989.1).
- Other claims have their own deadlines.
What to do now
If you are a tenant:
- Put every repair request in writing, and keep a copy.
- Take dated photos and video of the problem.
- Keep proof of every rent payment.
- Keep every notice you receive, and the envelope it came in.
- Do not stop paying rent before you get advice.
- If you get court papers, respond on time.
- If you were treated differently because of who you are, write down what was said, who said it and when.
If you are a landlord:
- Keep the lease, the rent ledger and every message between you and the tenant.
- Document the condition of the property with dated photos.
- Never change the locks, remove belongings or shut off utilities.
- Have the notice prepared correctly before you serve it.
How we handle these cases
We start by asking what a good outcome would be for you: staying in your home, leaving with money in your pocket, getting your property back, getting paid. Then we prepare the case as if it will be tried.
Related: discrimination, real estate disputes and dispute resolution.
Common questions
Can a landlord refuse to rent to me, or treat me worse, because I am LGBTQ+?
No. California makes it unlawful for the owner of housing to discriminate against or harass any person because of sexual orientation, gender identity or gender expression (Government Code § 12955). The rule reaches managing agents and real estate brokers as well as owners, and it applies when you are perceived to be LGBTQ+ or are associated with someone who is. You have one year to file a complaint with the California Civil Rights Department (Government Code § 12980), or two years to file a lawsuit (Government Code § 12989.1).
My partner and I are not married. Does a landlord have to count both of our incomes?
A landlord’s income standard must count the combined income of people who live together, or plan to, on the same basis as the combined income of a married couple (Government Code § 12955). Housing discrimination because of marital status is also unlawful.
Can my landlord evict me without a reason?
Not always. After a tenant has lived in a home for 12 months, the Tenant Protection Act requires just cause to end a tenancy (Civil Code § 1946.2). Local ordinances can add protections. Some homes are exempt, so the answer depends on the building and the lease.
Can I stop paying rent if my landlord will not make repairs?
Be careful. California law allows withholding or repair-and-deduct only in limited situations, and a landlord can respond with an eviction case. Get advice before you withhold rent.
How long does a landlord have to return a security deposit?
Generally 21 days after you move out, with an itemized statement of any deductions (Civil Code § 1950.5). A landlord who keeps a deposit in bad faith can owe up to twice the deposit in addition to actual damages.
Can a landlord lock out a tenant who has not paid rent?
No. Changing the locks, removing a tenant’s belongings or shutting off utilities to force a tenant out is illegal in California (Civil Code § 789.3). Only a levying officer, such as the sheriff, can remove a tenant, and only after a court judgment (Code of Civil Procedure § 715.010).
I was served with eviction papers. How long do I have to respond?
Generally 10 court days after you are served, to file a written response with the court (Code of Civil Procedure § 1167). Court days leave out Saturdays, Sundays and court holidays. If you miss the deadline, you can lose by default without ever seeing a judge.
Do you represent landlords or tenants?
Both, but never both sides of the same dispute. What matters to us is who kept their side of the lease and who did not.

