There are few things more unsettling than the feeling that someone can walk into your home whenever they please. You come back to find a maintenance worker has been inside, or a text that says “I’ll be by in an hour,” or you simply hear a key in the lock. In California, your rental is your private space — and your landlord gave up the right to come and go the moment they handed you the keys. They kept only a narrow, carefully limited right to enter, and almost always, they have to warn you first.
For the vast majority of entries, your landlord cannot come in without notice. Under Civil Code §1954, they must give you at least 24 hours’ written notice and enter only during normal business hours. No notice is required in just three situations: a genuine emergency, when you’re present and consent on the spot, or after you’ve moved out or abandoned the unit. A lease clause letting them “enter anytime” is void — it changes nothing.
The 24-Hour Rule
California’s central entry law is Civil Code §1954. It does two things at once: it limits why a landlord may enter, and it controls how they have to do it. The core requirement is simple to remember — for any non-emergency entry, your landlord must:
- Give you reasonable written notice, with 24 hours presumed reasonable; and
- Enter only during normal business hours, unless you agree otherwise at the time.
“Normal business hours” isn’t spelled out to the minute in the statute, but it generally means standard weekday daytime hours. A landlord can’t show up at 9 p.m., on a holiday, or at dawn and call it routine. (Courts have allowed limited weekend access in one narrow situation — real-estate open houses when a property is being sold — but everyday repairs and inspections stay within ordinary weekday hours.)
The Only Reasons They Can Enter
This is where many tenants — and plenty of landlords — get it wrong. Section 1954 contains an exhaustive list of reasons a landlord may enter. If the reason isn’t on that list, the entry isn’t legal, period. The permitted reasons are:
- To make necessary or agreed repairs, decorations, alterations, or improvements, or to supply necessary or agreed services.
- To show the unit to prospective or actual buyers, new tenants, lenders, workers, or contractors.
- To carry out a legally required safety inspection — for example, smoke and carbon-monoxide alarms, or the structural balcony and deck inspections now required for many multi-unit buildings.
- To do a pre-move-out inspection you’ve requested, so you have a chance to fix things before deposit deductions (this one requires 48 hours’ notice).
- Under a court order, or when you’ve abandoned or surrendered the unit.
One of the most common myths in property management is that a landlord can do “annual,” “routine,” or “general” inspections to check your housekeeping or hunt for lease violations. California law does not allow this. Entry has to be tied to a specific, listed purpose — a real repair, an agreed service, a showing, or a required safety inspection. A demand to come in for a vague “general inspection” is not a valid reason, and you can say no.
Even when the reason is legitimate, the law adds a guardrail: a landlord may not abuse the right of access or use it to harass you. A “repair” that somehow requires three visits a week, or showings scheduled to make your life miserable, can cross from lawful entry into something the law treats very differently — more on that below.
When No Notice Is Actually Required
The exceptions to the 24-hour rule are narrow and specific. Don’t let a landlord stretch them. No advance notice is required only when:
- There’s a genuine emergency. This means an immediate threat to life, health, or property that can’t wait — an active fire, a burst pipe flooding the unit, a gas leak. A slow drip, a hunch about a lease violation, or a “quick check” is not an emergency. And once the emergency is handled, the right to be inside without notice ends.
- You’re there and you say yes. If your landlord knocks and you voluntarily agree to let them in right then, that’s fine — no written notice needed. The key word is voluntarily; consent under pressure isn’t real consent.
- You’ve moved out or abandoned the unit. Once you’ve genuinely surrendered the place — returned the keys, given up possession — the notice rule no longer applies. A landlord can’t declare your home “abandoned” just because you’re away on a trip; abandonment is a specific legal status with its own requirements.
There’s also a practical middle ground: you and your landlord can simply agree out loud to a repair visit at a set date and time within the next week. That’s not the landlord entering “without notice” — it’s the two of you scheduling it together.
What Counts as Proper Notice
A defective notice is legally no better than no notice at all — and you’re not required to let anyone in on one. To be valid, the written notice must clearly state three things:
- The date of the entry;
- An approximate time (a reasonable window, not “sometime this week”); and
- The purpose — a real, permitted reason from the list above.
Vague notices like “we may enter anytime between Monday and Friday” generally don’t cut it, because they don’t give you a meaningful heads-up. How the notice gets to you also matters:
- Handed to you, left with someone at home, or posted on your door: at least 24 hours ahead.
- Mailed: the law presumes it’s reasonable only if mailed at least 6 days before the entry, to account for delivery time. A notice mailed Monday for a Wednesday entry isn’t enough.
Probably not, on its own. Section 1954 calls for written notice delivered in specific ways, and a text or casual email usually doesn’t satisfy it unless you’ve agreed in writing (often in the lease) to accept legal notices electronically. Even then, relying only on a text is legally shaky. If a landlord “notified” you by text an hour before showing up, that’s a problem — not your problem.
When Entry Becomes Harassment
A single botched notice is one thing. A pattern — repeated unannounced entries, “inspections” that never end, access used to intimidate — is something the law takes far more seriously. And here’s the part landlords hope you don’t know: Section 1954 itself carries no automatic cash penalty. If you sued on §1954 alone, you’d generally recover only your provable out-of-pocket losses (say, a lock they broke) plus a court order to stop. The real leverage comes from the laws that sit alongside it:
- Tenant harassment (Civil Code §1940.2). If a landlord commits a significant, intentional violation of the entry rules in order to pressure you to move out, they can be on the hook for a civil penalty of up to $2,000 per violation, on top of your actual damages.
- Breach of the covenant of quiet enjoyment (Civil Code §1927). Every California lease includes an implied promise that you can use and enjoy your home in peace. Repeated illegal entries can break that promise — and you can sue for it without moving out, recovering a reduction in rent for the period and your other damages. Our guide to breach of quiet enjoyment walks through how this works.
- Retaliation (Civil Code §1942.5). If you assert your entry rights and the landlord answers with an eviction, a rent hike, or cut services within 180 days, the law presumes it’s retaliation — and this statute does award attorney’s fees. See our page on landlord retaliation.
- Trespass. Because you hold the right to exclusive possession, a landlord who forces entry without legal justification can be a trespasser — and if they go further by changing your locks or shutting off utilities, that’s an illegal self-help lockout with steep penalties of its own.
It doesn’t matter. Under Civil Code §1953, any lease clause that tries to waive your entry and privacy rights is void as against public policy. So a “Landlord may enter at any time for inspections” clause has zero legal effect, even with your signature on it. If a landlord forces their way in citing that clause, they’re still liable. You cannot sign away these protections, and no landlord can make you.
Many California cities — Los Angeles, San Francisco, Oakland, Berkeley and others — go further still, with local anti-harassment ordinances that treat abuse of entry as its own offense and often carry stronger penalties than state law. If you’re in one of those cities, your protections may be even greater. Our overview of landlord harassment covers the broader pattern.
Before You Hit Record
Here’s the instinct almost everyone has: “Next time he walks in, I’ll get it on video.” Documenting an illegal entry is smart — but in California, how you record can quietly turn you from the victim into the one breaking the law. This is one of the most important and least understood traps for tenants.
California is a two-party-consent state. It’s a crime to secretly record a confidential conversation without everyone’s consent. A face-to-face argument with your landlord inside your living room is exactly that kind of private conversation. If you pull out your phone and secretly audio-record the confrontation, the consequences can land on you:
- Your recording gets thrown out. An illegally made recording is generally inadmissible — so the very “proof” you wanted can’t be used in court.
- You can face criminal and civil liability. Secret audio recording can be charged as a crime, and the other person can even sue you for statutory damages.
Silent video is your friend. A doorbell or security camera that captures video only is generally fine — it’s the secret audio of private conversations that gets tenants in trouble. To stay on the right side of the line: turn audio off, or post clear, visible signage that recording is in progress (which removes any expectation of privacy), and don’t point cameras into a neighbor’s space. Then back it up with a written log: date, time, who entered, and why. That combination — lawful footage plus a paper trail — is what actually wins these cases.
What to Do If Your Landlord Won’t Stop
If unannounced entries have become a pattern, here’s how to push back without handing your landlord ammunition:
- Document every entry. Keep a running log — date, time, how long, who came in, and the reason they gave. Save any notices they leave and screenshot any texts. This record is the foundation of any later claim.
- Put your boundaries in writing. Send a calm, firm letter or email stating that going forward you expect strict compliance with the 24-hour written-notice rule, and that “routine” or surprise entries must stop. Keep a copy.
- Use lawful, silent documentation. Set up video-only cameras or post recording notice as described above — never secretly audio-record an argument.
- Refuse unlawful entry — safely. You have the right to deny entry at the door when there’s no proper notice and no emergency. Don’t physically fight anyone. If a landlord forces their way in, you can call the police and request a report to document the trespass.
- Escalate to a tenant attorney. When entries are persistent or designed to push you out, a lawyer can demand they stop, seek a court order, and pursue damages — including that up-to-$2,000-per-violation harassment penalty and, where it applies, your attorney’s fees.
Frequently Asked Questions
Usually no. Under Civil Code §1954, a landlord must give at least 24 hours’ written notice and enter only during normal business hours for most reasons, like repairs or showings. The only real exceptions are a genuine emergency (fire, flood, gas leak), when you’re present and consent on the spot, or after you’ve moved out or abandoned the unit. A lease clause saying they can enter “anytime” is void.
At least 24 hours, in writing, with entry during normal business hours. The notice must state the date, an approximate time, and the reason. If it’s mailed instead of handed to you or posted on your door, it has to be mailed at least 6 days ahead. A pre-move-out inspection requires 48 hours’ notice.
No. California gives landlords no general right to “routine,” “annual,” or surprise inspections to check housekeeping or look for lease violations. Entry must be tied to a specific listed reason — a needed repair, an agreed service, a showing, or a required safety inspection — and even then they generally owe you 24 hours’ written notice.
Log every entry (date, time, who, and why) and keep any notices. Send a written demand insisting future entries follow the 24-hour rule. If the entries continue and are meant to pressure you to move, they can become unlawful harassment — up to $2,000 per violation plus your actual damages. A tenant attorney can review the pattern for free.
Carefully. California is a two-party-consent state, so secretly audio-recording a conversation with your landlord can be a crime and can get your evidence excluded. Silent video from a security or doorbell camera is generally allowed, as long as it doesn’t capture audio of private conversations or point into someone else’s private space. Disable audio or post clear recording notice, and talk to an attorney before relying on any recording.
You have a right to be left in peace.
If your landlord walks in unannounced, ignores the 24-hour rule, or uses “inspections” to pressure you — that may be unlawful entry or harassment. Talk to us. Reviews are free, and when a landlord crosses the line, the law can put real penalties on them and money back with you.
Get Your Free Case ReviewThis guide is general information about California law, not legal advice, and it doesn’t create an attorney-client relationship. Entry rules, local ordinances, and recording laws have important exceptions and change over time — for advice about your specific situation, talk to a tenant attorney licensed in California.
