California’s repair and deduct law, codified at Civil Code Section 1942, lets a residential tenant pay to fix a serious habitability problem the landlord has ignored and then subtract the cost from the next rent payment, up to one month’s rent and no more than twice in any 12-month period.1California Legislative Information. California Code CIV 1942 The same statute also lets you vacate the unit and walk away from the lease if the landlord won’t act. Getting the steps right matters, because a sloppy process can turn a legitimate complaint into an eviction case.
What Kind of Problem Qualifies
Repair and deduct only applies to conditions that make the unit “untenantable” under Civil Code Section 1941.1. Cosmetic issues don’t count. The defect has to substantially undermine your health, safety, or ability to live in the unit.
Conditions that qualify when substantially lacking include:2California Legislative Information. California Code CIV 1941.1
- Weatherproofing failures, such as a leaking roof or broken window that lets in rain and wind
- Plumbing or gas systems that don’t work or don’t meet the code in effect when installed
- No hot or cold running water, or no connection to an approved sewage system
- No working heat
- Faulty or unsafe electrical wiring, outlets, or lighting
- Rodents, vermin, or garbage accumulation in areas the landlord controls
- Floors, stairways, or railings in disrepair
- Missing or broken trash receptacles
- For leases entered into, amended, or extended on or after January 1, 2026, a non-working stove or refrigerator (a recalled appliance does not count as “working”)
Security hardware is part of this picture too. Landlords must install and maintain dead bolt locks on main entry doors and locking devices on windows designed to open, so a broken dead bolt on your front door is a habitability defect, not just an annoyance.3California Legislative Information. California Code CIV 1941.3
How Much You Can Deduct and How Often
Section 1942 sets two hard limits. The repair cost you deduct cannot exceed one month’s rent, so if rent is $2,000 and the repair costs $2,500, you only recover $2,000 through deduction. And you can only use the remedy twice in any 12-month period.1California Legislative Information. California Code CIV 1942 A third deduction in the same year falls outside the statute, even for a real defect.
These caps mean the remedy fits moderate, discrete problems best: a dead water heater, a failed furnace, a plumbing leak. Larger jobs and chronic neglect call for different tools, covered further down.
When You Can’t Use It
You cannot use repair and deduct for conditions you or someone in your household caused. Section 1942 bars the remedy when the tenant has violated Section 1929 (damage from a lack of ordinary care)4California Legislative Information. California Code CIV 1929 or Section 1941.2, which lists tenant duties such as keeping the unit clean, disposing of trash properly, using fixtures correctly, preventing willful damage, and using rooms only for their intended purpose.5California Legislative Information. California Code CIV 1941.2 The violation has to “contribute substantially” to the problem. A messy kitchen doesn’t excuse a landlord from fixing a broken furnace, but if you clogged the plumbing by flushing construction debris, you can’t deduct the plumber’s bill.
Giving the Landlord Notice
Before you do anything else, give the landlord notice of the problem. The statute allows oral or written notice to the landlord or their designated agent.1California Legislative Information. California Code CIV 1942 Oral notice is legally sufficient, but if the landlord later denies hearing it, you have no proof. Written notice sent by certified mail with a return receipt is the smarter choice every time.
Describe the specific problem and where it is. “The hot water heater in the garage has not produced hot water since March 3” is far stronger than “the plumbing is bad.” Dated photos help.
How Long You Have to Wait
The statute says you must wait a “reasonable time” after notice. It doesn’t define that phrase, but it creates a rebuttable presumption: waiting at least 30 days is presumed reasonable.1California Legislative Information. California Code CIV 1942 The landlord can try to argue 30 days wasn’t long enough under the circumstances, but the burden shifts to them.
The same provision allows shorter notice “if all the circumstances require shorter notice.” No heat during a cold snap, a sewage backup, or a total loss of running water are situations where waiting a month would itself be unreasonable. In those cases, a few days after notice is likely enough. Document the urgency: photos, temperature readings, anything showing the health or safety threat was immediate.
Doing the Repair and Taking the Deduction
Once the waiting period passes without the landlord acting, hire a licensed professional to fix the problem. Get at least two written estimates before the work starts; this protects you if the landlord later claims the repair was overpriced. Keep the estimates, the contract, and the final itemized receipt showing the property address, the work performed, and the amount paid.
When your next rent payment is due, subtract the documented repair cost from the total and pay the balance through your normal method. Include a copy of the repair receipt with the partial payment so the landlord understands what happened and why. If you stayed within the statute, the landlord must accept that partial payment as full satisfaction of the month’s rent.
Save copies of everything: the check or payment confirmation, the receipt, proof of delivery, your original notice. If the landlord later files for eviction claiming unpaid rent, that paper trail is your defense. Tenants who skip the documentation sometimes win on the facts and still lose because they can’t prove they followed the process.
Protection Against Retaliation
Exercising these rights can sour the landlord relationship, and some landlords respond with rent hikes, service cuts, or eviction notices. Civil Code Section 1942.5 addresses that directly. For 180 days after you give repair-and-deduct notice, file a habitability complaint with a government agency, or exercise other tenant rights under this chapter, the landlord cannot evict you, raise your rent, or reduce services.6California Legislative Information. California Code CIV 1942.5 Any such action during that window is presumed retaliatory, and the landlord then has to prove a legitimate, non-retaliatory reason.
The same statute prohibits landlords from threatening to report tenants to immigration authorities as retaliation. If a court finds retaliation, you can recover actual damages, punitive damages between $100 and $2,000 per retaliatory act when the landlord acted with fraud or malice, and reasonable attorney’s fees.6California Legislative Information. California Code CIV 1942.5 One limitation: the 180-day presumption can only be invoked once in any 12-month period.
When the Repair Costs More Than One Month’s Rent
The one-month cap leaves a gap for expensive problems like a failed HVAC system or major plumbing work. Section 1942 states that the repair-and-deduct remedy exists “in addition to any other remedy provided by this chapter, the rental agreement, or other applicable statutory or common law.”1California Legislative Information. California Code CIV 1942 Several alternatives can fill the gap.
Vacate the Unit
Section 1942 also lets you move out and stop paying rent entirely if the landlord fails to act after notice. You are discharged from further rent and all other lease conditions as of the date you leave.1California Legislative Information. California Code CIV 1942 This fits situations where the repair cost would exceed one month’s rent, the unit is too deteriorated for a single fix, or you can’t safely live there while waiting. The risk: if a court later decides the unit wasn’t actually untenantable, you may owe the remaining lease term. Document conditions thoroughly before you go.
Rent Withholding
California courts recognize a separate right to withhold some or all of your rent when serious habitability defects go unrepaired. There is no fixed dollar cap. The amount withheld should reflect the reduced value of the unit in its defective state; if one of four rooms is unusable, withholding roughly 25 percent is a common approach. You can continue withholding until repairs are complete. Misjudging the amount carries real litigation risk, and many tenants consult a lawyer before using this option.
Small Claims Court
If you paid for repairs that exceeded what you could deduct, you can sue the landlord in small claims court for the difference. California small claims courts hear cases up to $12,500 for individuals.7California Courts. Small Claims in California You don’t need a lawyer. Bring your notice to the landlord, the estimates, the final receipt, and before-and-after photos.
Code Enforcement Complaints
Your local code enforcement office, building department, or health department can inspect the unit and order the landlord to make corrections. If you’re not sure which office to call, dialing 211 or 311 (available in many California cities) will route you to the right agency.8California Department of Justice. Know Your Rights as a California Tenant An agency complaint also creates an official government record of the condition, which strengthens any later legal claim.
When the stakes are high (big repair bills, an uncooperative landlord, or a pattern of neglect), a short consultation with a tenant rights attorney before you choose a path is usually worth the cost.