Skip to content

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.

City 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.

Fair housing & discrimination

FEHA and the Civil Rights Department's housing regulations — source of income, assistance animals, accommodations, criminal history.

Accessory 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.

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.

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.

Other property law, by subject

Rules that are not about renting each have their own shelf in the Code Library.

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.

Minimal illustration of a statute document with a § heading and one clause highlighted in near-black, connected by a line to a house — the clause that reaches the home
Usually one clause — an exemption, a date, a unit count — decides whether a statute reaches your property.

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.