Renting a home is the most common legal relationship most Californians ever enter, and it is also one of the most heavily regulated. California protects residential tenants more strongly than almost any area of consumer law in the state, and over the past several years the Legislature has layered on a statewide rent cap, statewide just-cause eviction rules, and tighter limits on security deposits. At the same time, California law gives landlords clear, enforceable tools to collect rent, recover possession of their property, and protect their investment — as long as they follow the rules. This guide explains how California landlord-tenant law works in plain English, with the specific statutes you can look up yourself, so that whether you are a tenant trying to understand your rights or a small landlord trying to stay compliant, you start from the same accurate baseline.

This guide is general legal information, not legal advice. Landlord-tenant law changes frequently, local ordinances vary widely, and the outcome of any dispute depends on its specific facts. Before you act on anything you read here — signing a lease, serving a notice, withholding rent, or going to court — consult an attorney licensed by the State Bar of California.

California landlord-tenant law at a glance

QuestionCalifornia answer
How much can rent be raised each year?For most older buildings, the statewide cap under the Tenant Protection Act (AB 1482) is 5% plus regional CPI, never more than 10% in any 12-month period (Civ. Code § 1947.12). The exact ceiling depends on your region — recent annual caps have run roughly 6% to 9%. Stricter local rent control can apply lower limits.
Can a landlord evict for any reason?Generally no, once AB 1482 applies. After a tenant has lived in a covered unit 12 months, the landlord needs a “just cause” to terminate (Civ. Code § 1946.2). No-fault terminations usually require relocation assistance equal to one month’s rent.
How big can a security deposit be?As of July 1, 2024, most landlords may charge no more than one month’s rent (AB 12, amending Civ. Code § 1950.5). A small-landlord exception allows up to two months’ rent in limited cases.
When must a deposit be returned?Within 21 days after move-out, with an itemized statement of any deductions (Civ. Code § 1950.5).
Can a landlord lock a tenant out?No. “Self-help” eviction — lockouts, removing doors, shutting off utilities, seizing belongings — is illegal and carries damages of at least $100 per day (Civ. Code § 789.3). Only a sheriff acting on a court order can remove a tenant.
Does a rental have to be livable?Yes. Every residential lease carries an implied warranty of habitability (Civ. Code §§ 1941, 1941.1). Tenants have remedies including repair-and-deduct (Civ. Code § 1942) and rent withholding.
How much notice before a landlord enters?Reasonable written notice — 24 hours is presumed reasonable — during normal business hours, for a permitted reason (Civ. Code § 1954).
Can a landlord retaliate for a complaint?No. Retaliation within 180 days of a tenant exercising a protected right is presumed unlawful (Civ. Code § 1942.5).

Leases, tenancies, and what kind of renter you are

California recognizes several kinds of residential tenancies, and the type controls many of your rights. A fixed-term lease runs for a set period — usually six months or a year — at a set rent. Neither side can change the terms or end the arrangement early without cause unless the lease allows it. A month-to-month tenancy (a periodic tenancy) continues indefinitely until one side gives proper written notice. Many leases automatically convert to month-to-month when the fixed term ends.

Most lease terms can be written, but California requires a written agreement for any lease longer than one year. Even with a handshake deal, an oral month-to-month tenancy is fully enforceable, and the tenant still gets every statutory protection described in this guide. A lease cannot waive rights the law guarantees: a clause saying the tenant gives up the warranty of habitability, the right to a 21-day deposit accounting, or the protections of Civil Code § 1954 is void no matter what the tenant signed.

Rent is due as the lease states — typically the first of the month. California does not set a statewide grace period, but a lease may provide one. Late fees must be a reasonable estimate of the landlord’s actual costs, not a penalty; courts have struck down late fees that function as disguised penalties.

The statewide rent cap under the Tenant Protection Act of 2019

The Tenant Protection Act of 2019, commonly called AB 1482, created California’s first statewide rent cap. Codified at Civil Code § 1947.12, it limits how much rent on a covered unit can rise in any 12-month period to 5% plus the percentage change in the regional Consumer Price Index (CPI), but never more than 10% total. Because CPI varies by metropolitan region and is recalculated each year, the actual ceiling is different across California and changes annually. In recent years the cap has typically landed in the range of roughly 6% to 9%, depending on the region and the date the increase takes effect. Always check the current figure for your specific area before relying on a number, because the regional CPI is the moving piece.

The cap limits the size of increases, not the number: a landlord generally cannot raise rent more than twice in 12 months, and the combined increases still cannot exceed the annual cap. The cap follows the unit, not the tenant — when a covered unit is re-rented to a new tenant, the landlord can reset the starting rent (this is “vacancy decontrol,” discussed below), but once the new tenancy begins the annual cap applies again. For the full formula, exemptions, and worked examples, see our companion guide on California’s rent control law (AB 1482).

Just-cause eviction protections

AB 1482 did more than cap rent. It also requires “just cause” to terminate most tenancies once a tenant has continuously occupied the unit for 12 months (or where at least one tenant has occupied it for 24 months). Just cause comes in two flavors under Civil Code § 1946.2.

At-fault just cause covers conduct by the tenant: failing to pay rent, materially breaching the lease, committing or permitting a nuisance, criminal activity on the premises, refusing to sign a similar new lease, and similar grounds. For many curable lease violations, the landlord must first give the tenant a chance to fix the problem before terminating.

No-fault just cause covers reasons unrelated to the tenant’s conduct: the owner or a close family member moving in, withdrawal of the unit from the rental market, a substantial remodel or demolition, or compliance with a government order. For a no-fault termination, the landlord must provide relocation assistance equal to one month’s rent — paid directly or waived as the final month’s rent — within the deadlines the statute sets. We walk through at-fault versus no-fault grounds and relocation assistance in detail in the AB 1482 guide.

Local rent control and the Costa-Hawkins Act

AB 1482 is a statewide floor, not a ceiling. Many California cities have their own rent control and just-cause ordinances that are stricter than state law — with lower annual increase caps, stronger eviction protections, or relocation payments larger than one month’s rent. Where a local ordinance is stricter, it generally controls, and AB 1482 fills the gap only where local law is silent or weaker.

The reach of local rent control is itself limited by a separate state law, the Costa-Hawkins Rental Housing Act (Civ. Code §§ 1954.50 and following), enacted in 1995. Costa-Hawkins does two main things. First, it exempts certain housing from local rent control: single-family homes and condominiums (separately alienable units) and any housing with a certificate of occupancy issued after February 1, 1995. Second, it guarantees vacancy decontrol — the right to set a new market rent when a unit becomes vacant. Importantly, exemption from local rent control under Costa-Hawkins does not necessarily exempt a unit from AB 1482; the two laws have different scopes. We untangle how AB 1482, local ordinances, and Costa-Hawkins fit together in the rent control guide.

The eviction process — called “unlawful detainer”

In California, the only lawful way to remove a tenant who will not leave is a court lawsuit called an unlawful detainer. The landlord cannot simply change the locks or order the tenant out. The process begins with a written notice — commonly a 3-day notice to pay rent or quit, a 3-day notice to cure a lease violation or quit, or a 30-, 60-, or 90-day termination notice depending on the situation. If the tenant does not comply or move, the landlord files an unlawful detainer complaint under Code of Civil Procedure § 1161. The tenant typically has a short window — often five days — to file a written response, after which the case proceeds to a trial that courts are required to hear on an expedited basis.

If the landlord wins, the court issues a judgment for possession and the clerk issues a writ. Only then does the county sheriff post a notice (commonly a 5-day notice to vacate) and, if the tenant still has not left, physically perform the lockout. For the full step-by-step timeline, the notice types, and the response deadlines, see our dedicated guide on the California eviction (unlawful detainer) process.

The ban on self-help eviction

Because eviction must go through the courts, California flatly prohibits “self-help” eviction. Under Civil Code § 789.3, a landlord may not, with the goal of forcing a tenant out, shut off or interrupt utilities, change the locks, remove doors or windows, or take the tenant’s belongings. A landlord who violates this section is liable for the tenant’s actual damages plus $100 for each day the violation continues, with a statutory minimum of $250 per violation, plus the tenant’s attorney’s fees. These penalties are among the strongest tenant remedies in California law, and they apply even when the landlord otherwise has a valid reason to want the tenant gone. The lesson for landlords is simple: never take possession into your own hands — use the unlawful detainer process.

Security deposits and the AB 12 change

Security deposits are governed by Civil Code § 1950.5. The single biggest recent change came from AB 12, effective July 1, 2024, which capped most residential security deposits at one month’s rent, whether the unit is furnished or unfurnished. This replaced the older rule that allowed up to two months’ rent for an unfurnished unit and up to three for a furnished one.

There is a narrow small-landlord exception: an owner who is a natural person (or an LLC owned entirely by natural persons), and who owns no more than two residential rental properties that collectively contain no more than four dwelling units, may collect up to two months’ rent. After move-out, a landlord must return the deposit or send an itemized statement of deductions within 21 days, may deduct only for unpaid rent, cleaning to the move-in condition, and repair of damage beyond ordinary wear and tear, and faces penalties up to twice the deposit for bad-faith retention. The mechanics — including the optional pre-move-out walk-through inspection — are covered in our security deposit guide.

The implied warranty of habitability

Every residential lease in California includes an implied warranty of habitability — a promise, which the landlord cannot waive away, that the home will be fit to live in. The California Supreme Court established this principle in Green v. Superior Court (1974), and Civil Code §§ 1941 and 1941.1 spell out what a habitable dwelling must have: effective weatherproofing and waterproofing; working plumbing, gas, heat, and electrical systems; hot and cold running water; clean and sanitary premises free of rodents and vermin; adequate trash receptacles; safe floors, stairs, and railings; and working locks. When a landlord fails to maintain these conditions after notice, the tenant has remedies including repair-and-deduct under Civil Code § 1942 (spend up to one month’s rent on the repair and deduct it, no more than twice in 12 months) and, in serious cases, rent withholding. We explain how to document defects, demand repairs, and use each remedy safely in our guide to habitability and repairs.

Landlord entry and tenant privacy

A tenant’s home is private even though someone else owns it. Civil Code § 1954 lets a landlord enter only for specific reasons — in an emergency, to make agreed or necessary repairs, to show the unit to prospective tenants, buyers, or contractors, or to conduct the pre-move-out inspection — and only after giving reasonable written notice, with 24 hours presumed reasonable, during normal business hours. Emergencies and situations where the tenant consents at the time are exceptions. A landlord who repeatedly enters without notice, or who uses entry to harass, violates the statute and may owe the tenant damages.

Retaliation is illegal

California protects tenants who stand up for their rights. Under Civil Code § 1942.5, a landlord may not retaliate — by raising rent, cutting services, or serving a termination or eviction notice — because a tenant complained about conditions, contacted a code-enforcement agency, organized with other tenants, or used a lawful remedy like repair-and-deduct. If the landlord takes an adverse action within 180 days of the tenant’s protected activity, the law presumes the action was retaliatory, and the landlord bears the burden of proving a legitimate, non-retaliatory reason. A tenant who proves retaliation can recover actual damages, punitive damages, and attorney’s fees.

Discrimination and source-of-income protections

California’s Fair Employment and Housing Act prohibits housing discrimination based on race, color, religion, national origin, sex, gender, sexual orientation, gender identity, marital status, disability, familial status, and other protected characteristics. State law also makes source of income a protected category, which means a landlord generally may not refuse to rent to someone simply because they would pay part of the rent with a housing voucher (such as a Section 8 voucher). Landlords must also make reasonable accommodations for tenants with disabilities, including allowing service and assistance animals despite a no-pets policy.

Rent increases: notice and timing

Beyond the AB 1482 cap on the size of an increase, California regulates how a landlord must announce one. For a month-to-month tenancy, an increase generally requires advance written notice — 30 days’ notice for increases of 10% or less in a 12-month period, and 90 days’ notice for larger increases (though for AB 1482-covered units the cap usually keeps increases under the 10% threshold anyway). The notice must be properly served, and the increase cannot take effect before the notice period runs. A rent increase that exceeds the AB 1482 cap is not just unenforceable as to the excess — the tenant may have a claim to recover overpayments. If you receive an increase that looks too high, compare it against the current regional cap and any local ordinance before you pay it, and keep the written notice.

Subleases, roommates, and assignment

Many California renters share their homes. Whether a tenant may bring in a roommate, sublet a room, or assign the lease usually depends on the lease itself. Most written leases require the landlord’s consent before a tenant sublets or assigns, and an unauthorized sublet can be a curable lease violation. A “sublease” is when the original tenant rents part or all of the unit to someone else while remaining responsible to the landlord; an “assignment” transfers the tenancy entirely. In either case, the original tenant generally remains liable to the landlord unless the landlord agrees otherwise in writing. Roommates who are all named on the lease are typically “jointly and severally” liable, meaning the landlord can pursue any one of them for the full rent. These arrangements interact with rent control and just-cause rules in technical ways, so get advice before relying on a roommate to cover rent or before subletting.

Ending a tenancy the right way

A tenancy can end in several ways, and each has its own rules. A fixed-term lease simply expires on its end date, though many convert to month-to-month. A tenant ending a month-to-month tenancy must usually give the landlord at least 30 days’ written notice. A landlord ending a month-to-month tenancy must give 30 days if the tenant has lived there under a year, or 60 days if a year or more (Civ. Code § 1946.1) — and, where AB 1482’s just-cause rule applies, must also have a valid just cause and provide relocation assistance for a no-fault termination. Abandoning a unit, or being constructively evicted because the landlord made it uninhabitable, raises separate issues. However a tenancy ends, the security deposit rules still apply: the landlord owes an accounting and any refund within 21 days of the tenant giving up possession.

What small landlords should keep in mind

This guide is written to be useful to both sides. For small landlords, the practical takeaways are straightforward: put the lease in writing; serve written notices that match the statute exactly; never resort to lockouts or utility shutoffs; keep the unit habitable and respond to repair requests promptly; respect the 24-hour entry rule; calculate rent increases against the current AB 1482 cap and any local ordinance; collect no more than the law allows for a deposit; and return that deposit, with an itemized accounting, within 21 days. Most landlord-tenant litigation arises not from bad intentions but from a missed notice requirement or a deposit dispute — both avoidable with care.

Late fees, returned-check charges, and other rent issues

California treats fees attached to rent with care. A late fee must be a reasonable estimate of the landlord’s actual costs from a late payment, not a punishment — courts have invalidated late fees that operate as penalties or that bear no relationship to real costs. The lease must spell out any late fee, and an undisclosed fee is generally not enforceable. Returned-check charges are likewise limited by statute to a modest amount. None of these fees can be treated as “rent” for purposes of a 3-day notice to pay rent or quit; a notice that bundles late fees or other charges into the rent demand can be defective. The practical takeaway for both sides is to keep rent, late fees, and other charges clearly separated and disclosed.

Frequently asked questions

Can my landlord raise the rent as much as they want?

Usually not. If AB 1482 applies to your unit, the increase in any 12-month period is capped at 5% plus regional CPI, never above 10% (Civ. Code § 1947.12). Stricter local rent control may cap it even lower. Some units are exempt — for example, newer construction and certain owner-occupied or single-family situations — but the landlord generally must have given you proper written notice of the exemption. Check the current cap for your region and whether your unit is covered.

How much can my landlord charge for a security deposit now?

Since July 1, 2024, most landlords are limited to one month’s rent (Civ. Code § 1950.5, as amended by AB 12). A qualifying small landlord — a natural person or person-owned LLC with no more than two rental properties totaling no more than four units — may charge up to two months. The landlord must return the deposit, or an itemized statement, within 21 days of move-out.

My landlord changed the locks while I was out. Is that legal?

No. That is self-help eviction, which is illegal under Civil Code § 789.3 regardless of whether you owe rent. The landlord can be liable for your actual damages plus at least $100 per day, a minimum of $250, and your attorney’s fees. Only a sheriff acting on a court order may remove a tenant. If you have been locked out, contact an attorney or your local court’s self-help center promptly.

The heater is broken and my landlord won’t fix it. What can I do?

Heat is a habitability requirement (Civ. Code § 1941.1). After giving the landlord reasonable written notice and a reasonable time to act, you may have remedies including repair-and-deduct (Civ. Code § 1942) up to one month’s rent, or rent withholding in serious cases. These remedies have strict requirements and risks, so document everything and consider getting advice first. See our habitability guide.

How long does an eviction take in California?

It varies. An uncontested unlawful detainer often resolves in roughly five to eight weeks from the notice; a contested case can take several months. The process is front-loaded with strict notice rules, and a single defective notice can require the landlord to start over. See our eviction process guide for the timeline.

Can my landlord evict me for complaining about conditions?

No. Retaliation is presumed unlawful if the landlord acts within 180 days of your protected activity, such as reporting code violations or requesting repairs (Civ. Code § 1942.5). The landlord must prove a legitimate, non-retaliatory reason. Keep written records of your complaints and the landlord’s response.

Does my landlord need a reason to end my month-to-month tenancy?

If AB 1482’s just-cause rules apply and you have lived there at least 12 months, yes — the landlord generally needs just cause and, for no-fault terminations, must pay relocation assistance equal to one month’s rent (Civ. Code § 1946.2). If your unit is exempt and properly noticed as such, the landlord may end a month-to-month tenancy with statutory notice (30 days if you have lived there under a year, 60 days if a year or more).

Local ordinances can add protections

One theme runs through every part of California landlord-tenant law: the state sets a floor, and cities can build above it. Many California municipalities have local rent-control and just-cause ordinances, relocation-assistance requirements, security-deposit interest rules, tenant-harassment protections, and notice requirements that go beyond what state law demands. Where a local ordinance is more protective, it generally controls. This means two tenants in identical apartments a few miles apart can have meaningfully different rights. Before relying on the statewide rules described here — the AB 1482 cap, the 60-day notice, the deposit cap — check whether the city where the property sits has its own ordinance that changes the analysis. When state and local rules both apply, the safest assumption is that the stricter, more tenant-protective rule governs, and the only way to be sure is to read the local ordinance or ask a California attorney who knows the area.

Find a California landlord-tenant attorney

Landlord-tenant disputes move fast, deadlines are short, and a small mistake — a defective notice, a missed 21-day deadline, an improper rent increase — can cost either side the case. If you are facing an eviction, fighting over a deposit, dealing with unsafe conditions, or trying to make sure your notices comply, talk to a lawyer who handles these cases every day. Our directory connects you with attorneys licensed by the State Bar of California across all 58 counties. Browsing and contacting attorneys through the directory is free and comes with no obligation.