Every renter in California has a right to a safe, decent home. The law calls this the warranty of habitability. It means your landlord must keep your unit fit to live in from the day you move in until the day you leave.
Many tenants still live with leaks, pests, or broken heat for months. Some are not sure what counts as a real problem. Others fear that a complaint will cost them their home. This guide walks through the basics, from what the law requires to the steps you can take. It also covers when it makes sense to call a tenant lawyer about your options.
This article shares general facts only. Each case is different, so talk with a licensed lawyer about your own.
What the Law Requires
California Civil Code section 1941.1 lists the basic features a rental must have. A unit may be unfit to live in if it lacks one of them in a serious way. The roof, walls, windows, and doors must keep out rain and wind.
Plumbing and gas must work and be in good repair. There must be hot and cold running water tied to a sewer, plus heat that works and safe wiring and lights.
The building and grounds must be clean and free of trash, rats, and bugs, with enough trash cans for the unit. Floors, stairs, and railings must be safe. For most leases signed, renewed, or changed on or after January 1, 2026, the unit must also have a working stove and fridge.
Other state rules add more. The Health and Safety Code treats things like mold, lead hazards, and heavy dampness as signs of substandard housing. Many cities and counties add their own rules on top of that.
Common Problems Tenants Face
Some issues show up again and again. Roach and bed bug problems are among the most common. Rats and mice can ruin food, chew wires, and leave droppings that spread disease.
Leaks and poor drainage lead to mold, which can set off asthma and allergies. In older buildings, chipping paint may hold lead, a serious risk for young children. Broken heaters, gas leaks, and missing carbon monoxide alarms can put lives at risk.
A scuffed wall or a slow drain is a routine repair. The key question is whether the problem affects your health, your safety, or your basic use of the home.
Steps to Take When Something Goes Wrong
Start by telling your landlord in writing. Describe the problem, where it is, and when it started. Keep a copy of your letter, email, or text. Take dated photos and videos. If the problem affects your health, keep notes on symptoms and doctor visits.
Give the landlord a fair amount of time to fix it. The law often treats 30 days as fair for routine repairs. Urgent hazards, such as no heat in winter or a gas leak, call for much faster action.
If the landlord does not respond, you can contact your local code enforcement office or health department. An inspector can visit, write up the problem, and order repairs. An official report can carry weight later if you need to take further steps.
Repair and Deduct, and Rent Withholding
California law gives tenants a few self-help tools, and each one carries risk. Under Civil Code section 1942, a tenant may pay for a needed repair and take the cost out of the rent. The cost cannot be more than one month’s rent.
You can use this step no more than twice in any 12-month period, and you must give notice and a fair amount of time first.
Some tenants hold back rent when serious problems go unfixed. In some cases, that can be a valid defense. It can also lead to an eviction case if the court finds the home was fit to live in after all. Talk with a lawyer before you take either step.
Protection From Payback
Many renters stay quiet because they fear the landlord will strike back. Civil Code section 1942.5 offers protection. Say you make a good-faith complaint or repair request. If the landlord then raises rent, cuts services, or tries to evict within 180 days, the law presumes the move may be retaliation. Keep records of every complaint, since dates matter.
When to Talk With a Lawyer
Some cases call for legal help. Think of pest problems that keep coming back, mold or lead that affects your family’s health, injuries caused by unsafe conditions, eviction threats after a complaint, or a landlord who ignores an inspector’s orders. A lawyer can review your records, explain your rights, and help you seek repairs, rent refunds, or money for harm you suffered.
Many tenant lawyers in California offer free case reviews. Many also work on contingency, which means they get paid only if they win or settle your case. If you speak Spanish or another language, look for a firm that can work with you in that language.
California law treats a safe home as a basic right. Know that right, keep good records, and you will be in a much stronger place to protect it.
