What California Renters Can Legally Deduct From Rent - and When It's Actually Allowed
Can I withhold rent in California if my landlord won't make repairs?
California law allows rent withholding as a defense when a landlord materially violates the warranty of habitability, but it carries legal risk. A landlord will likely issue a three-day notice to pay or quit, and you'll need to prove the habitability defense in court. Consulting a local legal aid organization or your county's court self-help center before withholding is strongly advisable.
How much can a landlord charge for a security deposit in California?
Under AB 12, which took effect in July 2024, most California landlords are limited to a security deposit of one month's rent. Small landlords owning no more than two properties with four or fewer combined units may still collect up to two months under certain conditions. Verify how the rule applies to your specific lease at dca.ca.gov or with a local legal aid organization.
How long does a California landlord have to return a security deposit?
California law requires landlords to return a tenant's security deposit, along with an itemized statement of any deductions and copies of related invoices or receipts, within 21 days of the tenant vacating the unit. Deductions for normal wear and tear are not permitted. If a landlord misses the deadline or withholds funds improperly, a tenant may be entitled to the amount plus a statutory penalty.
What is California's repair and deduct remedy, and what are its limits?
California Civil Code Section 1942 lets a tenant arrange a repair for a habitability defect and deduct the cost from rent, but only after giving the landlord reasonable notice and time to act. The deduction is capped at one month's rent, and tenants may only use this remedy twice in a 12-month period. It applies to genuine habitability problems, not general inconveniences or cosmetic issues.
Can a landlord evict me in California for complaining about repairs?
California Civil Code Section 1942.5 prohibits retaliatory evictions. If a landlord raises rent, cuts services, or begins eviction proceedings within 180 days of a tenant reporting a housing code violation, requesting repairs, or taking other legally protected action, state law presumes the conduct is retaliatory. The landlord bears the burden of showing a legitimate reason. This protection applies statewide, and some cities add further local retaliation rules.

California law gives renters more tools than most realize when a landlord fails to maintain a habitable unit - but those tools come with strict procedural requirements that, if skipped, can leave a tenant holding the legal liability instead. Understanding exactly when and how "repair and deduct" works, and what other remedies exist alongside it, can be the difference between a resolved problem and an eviction notice.
Related: Your Landlord Just Sold the Building You Rent - Here's What California Law Actually Requires · What California Renters Need to Know About Security Deposits
The Implied Warranty of Habitability

Every residential rental in California comes with what courts call an implied warranty of habitability. Under California Civil Code Section 1941, landlords are required to maintain rental units in a condition fit for human occupation. This covers basics like weatherproofing, working plumbing and heating, adequate lighting, structural safety, and freedom from infestations. The requirement exists regardless of what a lease says - a lease clause purporting to waive it is unenforceable.
When a landlord fails to fix a condition that makes a unit uninhabitable, tenants generally have four recognized remedies under California law: repair and deduct, rent withholding, abandonment (constructive eviction), and a civil lawsuit. Each comes with different requirements and different risks, and they're not interchangeable.
How Repair and Deduct Actually Works
California Civil Code Section 1942 allows a tenant to have a repair made and deduct the cost from rent, but the conditions are specific. First, the problem must be a habitability defect - not just an inconvenience, but something that makes the unit substandard under Section 1941. Second, the tenant must give the landlord reasonable notice of the problem and a reasonable amount of time to fix it. Courts have generally treated 30 days as the baseline for "reasonable time," though the law doesn't set a hard number, and something like a broken heater in January could justify a shorter window.
If the landlord doesn't act, the tenant can hire someone to do the repair and subtract the actual cost from the next rent payment. California law caps that deduction at one month's rent, and a tenant may only use this remedy twice in any 12-month period. That cap is a real constraint - if a repair costs more than a month's rent, the tenant either has to cover the difference or pursue a different remedy.
Documentation matters here. Keep the written notice to the landlord (email works and creates a timestamp), the repair contractor's invoice, and any photos of the defect. If the landlord later tries to claim nonpayment of rent, that paper trail is what distinguishes a legitimate repair-and-deduct from a withheld rent dispute.
Rent Withholding: Higher Risk, Different Process
Rent withholding - stopping rent payments entirely until repairs are made - is a more aggressive step and carries real legal exposure. California courts have upheld it as a defense in eviction proceedings when a landlord has materially breached the warranty of habitability, but it's not a self-help remedy in the same clean way repair and deduct is. A tenant who withholds rent is likely to receive a three-day notice to pay or quit, and will then have to prove the habitability defense in unlawful detainer court.
Some tenants in this situation place withheld rent into a separate account rather than spending it, to demonstrate good faith and have the funds available if a court orders payment. That's not legally required, but it can help in front of a judge. This is an area where consulting a tenant attorney or a local legal aid organization before acting is worth the time - many counties have self-help centers at the superior courthouse that can walk through the specific facts.
See also: How to Qualify for PG&E, SCE, or SDG&E's CARE Discount - and What It Actually Saves You · Santa Rosa Rent Control: What Tenants and Landlords Need to Know About the City's Local Protections
Security Deposit Rules Under AB 12
California changed its security deposit law significantly with AB 12, which took effect in July 2024. For most residential tenancies, landlords are now limited to collecting a maximum security deposit equal to one month's rent - down from the previous two months (or three months for furnished units). The exception is small landlords who own no more than two residential rental properties with a combined total of four units or fewer; they may still collect up to two months' rent under certain conditions. As of this writing, the new one-month cap applies to most new tenancies formed after the law's effective date, but check the California Department of Consumer Affairs or consult a local legal aid organization for how the rules apply to any existing deposit held under a lease predating the change.
Regardless of the amount collected, the landlord's return obligations haven't changed. Within 21 days of a tenant moving out, the landlord must return the deposit, provide an itemized statement of any deductions, and include copies of invoices or receipts for any work claimed. Deductions are only permitted for unpaid rent, cleaning to restore the unit to its condition at move-in (minus normal wear and tear), damage beyond normal wear and tear, and restoration of personal property the tenant was specifically required to return. "Normal wear and tear" - the gradual deterioration expected from ordinary living - cannot be charged to a tenant, even if a landlord includes it on the itemization. If a landlord withholds more than is legally permitted, a tenant can sue in small claims court and may be entitled to the wrongfully withheld amount plus up to twice that amount as a statutory penalty.
Retaliation Protections
California Civil Code Section 1942.5 prohibits landlords from retaliating against tenants who exercise their legal rights - including complaining to a government agency, requesting repairs, or organizing with other tenants. If a landlord raises rent, reduces services, or initiates an eviction within 180 days of a tenant taking one of those protected actions, California law presumes the action was retaliatory. The landlord can try to rebut that presumption, but the burden shifts to them. Tenants who believe they're facing retaliatory eviction can raise it as an affirmative defense in unlawful detainer court and may also have grounds for a separate civil claim.
This is general information and not legal advice. California tenant law is detailed, and local ordinances in cities like Los Angeles, San Francisco, Oakland, and others can add protections beyond what state law provides. For current statutes, verify specifics with the California Department of Consumer Affairs at dca.ca.gov, or contact your county superior court's self-help center for free guidance on your specific situation.