California housing & tenant law
California housing & tenant laws, explained
Rent caps, evictions, deposits, repairs, who may enter and when, fair housing, and ADU rights in California come from a stack of overlapping state laws and local ordinances. These guides explain each one in plain English and link the statute text — then ask GoCodebook how they apply to a specific property.
Rent caps & eviction
The statewide cap and just-cause rules, the laws that limit local rent control, and the one lawful exit from the rental business.
California Rent Control
How rent control works in California — statewide caps, local ordinances, and what's exempt.
Learn moreAB 1482 — Tenant Protection Act of 2019
Statewide rent caps and just-cause eviction protections for most California rentals.
Learn moreCosta-Hawkins Rental Housing Act
The state law that limits local rent control on newer units and vacant apartments.
Learn moreEllis Act
The law letting landlords exit the rental business and withdraw units from the market.
Learn moreSB 567 — Homelessness Prevention Act
The 2024 amendments that tightened AB 1482's just-cause and rent-cap rules.
Learn moreJust Cause Eviction (Civil Code § 1946.2)
When a landlord must have a valid reason to end a tenancy in California.
Learn moreStatewide Rent Cap (Civil Code § 1947.12)
How much rent can legally increase each year under California's statewide cap.
Learn moreCity ordinances on top of the state floor: Los Angeles, San Francisco — or compare rent control by city.
Deposits, repairs, entry & the lease
The Civil Code sections every California tenancy runs on — what a landlord may charge, must fix, may enter for, and may recover.
Security Deposits (Civil Code § 1950.5)
How much a landlord may collect, what it may be used for, and the deadline and itemization for returning it.
Learn moreHabitability & Repair-and-Deduct (§§ 1941–1942)
What makes a rental untenantable, the locks a landlord must provide, and when a tenant may repair and deduct.
Learn moreRetaliatory Eviction (Civil Code § 1942.5)
The protection against being evicted or penalized for complaining about conditions or exercising a tenant right.
Learn moreLandlord Entry & Notice (Civil Code § 1954)
When a landlord may enter a rental, the notice it takes, and the exceptions.
Learn moreBreaking a Lease — Damages (§§ 1951.2, 1951.4)
What a landlord may recover when a tenant leaves early, and the duty to mitigate that limits it.
Learn moreTenant Harassment, Lockouts & Owner Disclosure
The conduct a landlord may never use to push a tenant out, and the owner information every tenant is owed.
Learn moreFair housing & discrimination
FEHA and the Civil Rights Department's housing regulations — source of income, assistance animals, accommodations, criminal history.
California Fair Housing Law (FEHA & 2 CCR)
Who and what the Fair Employment and Housing Act reaches, and how intentional discrimination and discriminatory effect are proved.
Learn moreSource of Income Discrimination (Section 8)
Why a voucher is income, what a landlord may verify, and how income screens must treat the tenant's share of rent.
Learn moreAssistance Animals in Rental Housing
Service and support animals — what a housing provider may ask, may not charge, and when it may say no.
Learn moreReasonable Accommodations & Modifications
The interactive process, the documentation a provider may request, the grounds for denial, and who pays for a physical change.
Learn moreCriminal History in Tenant Screening
What criminal history a housing provider may consider, the individualized assessment it owes, and what it may never use.
Learn moreAccessory dwelling units
The state ADU floor that limits what a city may require.
Read the statute text
The enacted renting, eviction and fair-housing sections behind these guides, verbatim in the Code Library — 105 sections.
See them by subject on the Renting & eviction shelf of the Code Library.
Landlord–tenant, rent & habitability
AB 1482 and the statewide rent cap, just cause, Costa-Hawkins and the Ellis Act, with the Civil Code sections on deposits, habitability, repair-and-deduct, entry, retaliation, lockouts and utility shutoffs, and the Health & Safety Code housing standards. Selected sections, not the whole Civil Code.
- AB 1482 — Tenant Protection Act of 2019
- California Civil Code § 789.3
- California Civil Code § 1940
- California Civil Code § 1940.2
- California Civil Code § 1941.1
- California Civil Code § 1941.3
- California Civil Code § 1942
- California Civil Code § 1942.4
- California Civil Code § 1942.5
- California Civil Code § 1946
- California Civil Code § 1946.1
- California Civil Code § 1950.5
- California Civil Code § 1950.6
- California Civil Code § 1951.2
- California Civil Code § 1951.4
- California Civil Code § 1954
- California Civil Code § 1954.05
- California Civil Code § 1962
- California Health and Safety Code § 17920.3
- California Health and Safety Code § 17980
- Costa-Hawkins Rental Housing Act
- Ellis Act (Gov. Code §§ 7060–7060.7)
- SB 567 — Homelessness Prevention Act (2023)
Eviction lawsuits (unlawful detainer)
Code of Civil Procedure §§ 1159–1179a — the notices that start an eviction, the summary court case, the judgment, and the relief a tenant may ask for.
- California Code of Civil Procedure § 1159
- California Code of Civil Procedure § 1160
- California Code of Civil Procedure § 1161
- California Code of Civil Procedure § 1161.1
- California Code of Civil Procedure § 1161.2
- California Code of Civil Procedure § 1161.2.5
- California Code of Civil Procedure § 1161.3
- California Code of Civil Procedure § 1161.4
- California Code of Civil Procedure § 1161.5
- California Code of Civil Procedure § 1161a
- California Code of Civil Procedure § 1161b
- California Code of Civil Procedure § 1162
- California Code of Civil Procedure § 1162a
- California Code of Civil Procedure § 1164
- California Code of Civil Procedure § 1165
- California Code of Civil Procedure § 1166
- California Code of Civil Procedure § 1166a
- California Code of Civil Procedure § 1167
- California Code of Civil Procedure § 1167.1
- California Code of Civil Procedure § 1167.3
- California Code of Civil Procedure § 1167.4
- California Code of Civil Procedure § 1167.5
- California Code of Civil Procedure § 1169
- California Code of Civil Procedure § 1170
- California Code of Civil Procedure § 1170.5
- California Code of Civil Procedure § 1170.7
- California Code of Civil Procedure § 1170.8
- California Code of Civil Procedure § 1170.9
- California Code of Civil Procedure § 1171
- California Code of Civil Procedure § 1172
- California Code of Civil Procedure § 1173
- California Code of Civil Procedure § 1174
- California Code of Civil Procedure § 1174.2
- California Code of Civil Procedure § 1174.3
- California Code of Civil Procedure § 1174.5
- California Code of Civil Procedure § 1174.21
- California Code of Civil Procedure § 1174.25
- California Code of Civil Procedure § 1174.27
- California Code of Civil Procedure § 1176
- California Code of Civil Procedure § 1177
- California Code of Civil Procedure § 1178
- California Code of Civil Procedure § 1179
- California Code of Civil Procedure § 1179a
Fair housing (FEHA & 2 CCR)
Government Code § 12955 and the Civil Rights Department's housing regulations — discrimination, source of income, reasonable accommodation, assistance animals, criminal history.
- California 2 CCR § 12005. Definitions.
- California 2 CCR § 12010. Liability for Discriminatory Housing Practices.
- California 2 CCR § 12040. Definitions.
- California 2 CCR § 12041. Intentional Discrimination Practices.
- California 2 CCR § 12042. Burdens of Proof and Types of Evidence in Intentional Discrimination Cases.
- California 2 CCR § 12050. Discriminatory Practices Regarding Notices, Statements, and Advertisements.
- California 2 CCR § 12051. Exceptions.
- California 2 CCR § 12052. Qualifying for Exemption.
- California 2 CCR § 12060. Practices with a Discriminatory Effect.
- California 2 CCR § 12061. Burdens of Proof in Discriminatory Effect Cases.
- California 2 CCR § 12062. Legally Sufficient Justification.
- California 2 CCR § 12063. NO Legally Sufficient Justification for Intentional Discrimination.
- California 2 CCR § 12100. Financial Assistance Practices with Discriminatory Effect.
- California 2 CCR § 12120. Harassment.
- California 2 CCR § 12130. Retaliation.
- California 2 CCR § 12140. Definitions.
- California 2 CCR § 12140.1. Source of Income Discrimination in Housing Other than Rental Housing Covered by Section § 12141.
- California 2 CCR § 12141. Source of Income Discrimination in Rental Housing.
- California 2 CCR § 12142. Aggregate Income.
- California 2 CCR § 12143. Financial and Income Standards Where There is a Government Rent Subsidy.
- California 2 CCR § 12155. Residential Real Estate—Related Practices with Discriminatory Effect.
- California 2 CCR § 12161. Discrimination in Land Use Practices and Housing Programs Prohibited.
- California 2 CCR § 12162. Specific Practices Related to Land Use Practices.
- California 2 CCR § 12176: Reasonable Accommodations and Reasonable Modifications.
- California 2 CCR § 12177. The Interactive Process.
- California 2 CCR § 12178. Establishing that a Requested Accommodation or Modification is Necessary.
- California 2 CCR § 12179. Denial of Reasonable Accommodation or Reasonable Modification.
- California 2 CCR § 12180. Other Requirements or Limitations in the Provision of Reasonable Accommodations and Modifications; and Examples.
- California 2 CCR § 12181. Other Requirements or Limitations in the Provision of Reasonable Modifications; and Examples.
- California 2 CCR § 12185: Assistance Animals.
- California 2 CCR § 12264. Definitions.
- California 2 CCR § 12265. Prohibited Uses of Criminal History Information.
- California 2 CCR § 12266. Establishing a Legally Sufficient Justification Relating to Criminal History Information.
- California 2 CCR § 12267. Intentional Discrimination and the Use of Criminal History Information.
- California 2 CCR § 12268. Discriminatory Statements Regarding Criminal History Information.
- California 2 CCR § 12269. Specific Practices Related to Criminal History Information.
- California 2 CCR § 12270. Compliance with Federal OR State Laws, Regulations, or Licensing Requirements Permitting or Requiring Consideration of Criminal History.
- California 2 CCR § 12271. Local Laws or Ordinances.
- California Government Code § 12955
Other property law, by subject
Rules that are not about renting each have their own shelf in the Code Library.
Buying & selling
Real estate licensing & brokerage · Seller disclosure forms
Open the shelf →
Owning & HOAs
Common interest developments & HOAs (Davis-Stirling Act) · Property insurance (Insurance Code) · Trusts & estates (Probate Code)
Open the shelf →
Foreclosure & auctions
Mortgages & foreclosure (Civil Code § 2924 series)
Open the shelf →
Property taxes
Property tax rules & BOE guidance (18 CCR)
Open the shelf →
How to read these against your city
Almost every wrong answer in California housing law comes from mixing up which layer is speaking. Four rules keep it straight.
State law sets the floor
Statewide protections apply everywhere. A city may add to them, but it can't take them away — a tenant in a city with no local ordinance is still covered by state law.
A cap on cities isn't a rule for you
Language like "a city shall not require more than X" limits what the city may demand. It doesn't mean X is required. Read it as a ceiling on local regulation, not the standard itself.
Local ordinances layer on top
Rent stabilization, just-cause rules and ADU standards often exist locally as well. Where both apply, the more protective provision usually governs — but the interaction is specific to the ordinance.
Exemptions decide most outcomes
Whether a statute reaches a given property usually turns on build date, ownership and unit count. Costa-Hawkins and AB 1482's exemptions do more work than the headline rules do.

Where to start
The same statute reads differently depending on which side of it you're on.
Renting out a property
Start with the statewide rent cap and just-cause rules, then check whether your building is exempt and whether your city has its own stabilization ordinance.
Adding a unit or ADU
State ADU law limits what a city can require on size, setbacks, parking and review time. The local ordinance fills in the rest — and can't undercut the state floor.
Renting a home
Check whether your tenancy is covered by the statewide cap or a local ordinance, and what notice and cause your landlord needs before ending it.
Local rules live on each city page — state law here, the ordinance there.
Developing or repositioning a building?
These tenant-law pages cover the landlord–tenant layer. For the development side — density bonus math, streamlined approvals, demolition and replacement duties, impact fees, CEQA and affordable financing — the developer guides walk the underwriting angle, with every rule linked to the verbatim statute.
Common questions
Does the statewide rent cap apply to my building?
It depends on the building's age and ownership. California's statewide cap exempts newer construction on a rolling basis and certain single-family and owner-occupied situations, and units already under a stricter local rent-stabilization ordinance are governed by that ordinance instead. The exemption tests are where nearly every dispute lands, so check them against the specific property.
My city has rent control. Does state law still matter?
Yes. State law sets protections that apply regardless, constrains what local ordinances may cover, and governs anything the local ordinance is silent on. Local and state rules are read together — the local ordinance doesn't replace the state layer.
Can my city just say no to an ADU?
Not outright. State ADU law requires ministerial approval of qualifying units and caps what cities can impose on size, setbacks, parking and review timelines. Cities set local standards within those limits, so the practical answer is usually about which standards apply, not whether an ADU is allowed at all.
Where do I read the actual statute?
Each guide here links to the controlling code sections, and the Code Library holds the enacted text so you can read the operative language and its exemptions directly rather than relying on a summary.
These are general information, not legal advice — read the enacted text in the Code Library and confirm anything you rely on.