Renting: Tenants & Landlords · During a tenancy
Repairs, living conditions and landlord entry
In this guide
- California requires rentals to meet basic habitability standards, such as working plumbing, heat, and weatherproofing.
- State law includes a limited “repair and deduct” remedy and protections against retaliation.
- Landlords generally must give 24 hours’ written notice before entering.
Basic standards
California law requires residential rentals to be fit to live in. The standards include effective weatherproofing, hot and cold running water, heating, safe electrical wiring, working plumbing and gas, clean and sanitary conditions free of pests, garbage receptacles, and working locks on doors and windows. For leases made, amended, or renewed on or after January 1, 2026, the standards generally also include a working stove and refrigerator. Local housing codes add more detail.
Repair requests
Tenants usually report problems to the landlord in writing and keep a copy. Local code enforcement or health departments can inspect a unit and order repairs.
California’s repair and deduct law allows a tenant, after giving reasonable notice and time, to pay for certain repairs and deduct the cost from rent, up to one month’s rent, no more than twice in 12 months. The rules are specific, and the Attorney General’s guide explains the conditions.
Landlord entry
Landlords may enter for repairs, inspections, showings, and emergencies. Except in emergencies, they generally must give 24 hours’ written notice and enter during normal business hours.
Retaliation
State law prohibits landlords from retaliating against tenants for complaining about conditions or exercising their rights, for example by raising rent or starting an eviction. See Discrimination and retaliation.
Figures and time frames
- Repair and deduct: up to 1 month’s rent, no more than twice in 12 months
- Entry notice: generally 24 hours in writing
Common questions
Can rent be withheld for bad conditions?
California courts recognize rent withholding in some situations, but it carries risk of an eviction case. The Attorney General’s guide and local legal aid programs explain how it works.
Official sources for this guide
Keep reading