- How much notice does a California landlord have to give before entering my apartment? California law generally requires at least 24 hours' written notice before a landlord can enter for most reasons, including repairs and inspections. Emergency situations are an exception, but they must be genuine emergencies, not just convenience.
- Can my landlord enter while I'm not home? Yes, a landlord can enter with proper 24 hours' written notice even if you're not present, as long as entry happens during normal business hours unless you've agreed otherwise. They're not required to wait for you to be there.
- What counts as a legitimate emergency that lets a landlord enter without notice? Genuine emergencies under California law typically mean situations where delay could cause serious property damage or harm, such as a gas leak, flooding, or fire. A landlord's desire to do a quick check or drop something off doesn't qualify.
- Can I change my locks to keep my landlord out? Changing locks without your landlord's knowledge or consent can violate your lease and create its own legal complications. If you're concerned about unauthorized entries, document the incidents and pursue the formal complaint and legal channels described above rather than changing locks unilaterally.
- If my landlord keeps entering without notice, can I break my lease? A repeated pattern of unauthorized entries can support a claim that your landlord has breached the implied warranty of quiet enjoyment, which in serious cases may give you grounds to terminate the lease. This is fact-specific and rarely applies to a single incident, so consult a local tenants' rights organization or a self-help legal center before taking that step.

California law is specific about when and how a landlord can enter a rental unit, and "I needed to check on something" doesn't cut it. If your landlord walked in without proper notice, you have rights - and depending on how it happened, options ranging from a formal written complaint to a rent reduction in housing court.
Related: What California HOAs Can and Can't Do About Your Solar Panels and Drought-Tolerant Landscaping · Earthquake Near Corona, Orange County: What We Know About Today's Shaker
What the Law Actually Requires

Under California Civil Code Section 1954, a landlord must give at least 24 hours' written notice before entering a rental for most purposes: repairs, inspections, showing the unit to prospective tenants or buyers, and similar situations. The entry also has to happen during normal business hours, generally defined as 8 a.m. to 5 p.m. on weekdays, unless you've agreed to something different in writing.
There are narrow exceptions. A landlord can enter without notice if there's a genuine emergency - a gas leak, a burst pipe flooding the unit, something along those lines. They can also enter without 24 hours' notice if you've abandoned the property or if a court order specifically allows it. But "I was in the neighborhood" or "I didn't think you'd mind" doesn't qualify as an emergency under the statute.
Notice can be delivered in person, left at the unit (posted on the door or in a similar conspicuous location), sent by email if you've previously agreed to electronic communication, or mailed - though mailed notice is presumed to need extra time for delivery. A text message may count if your lease or a prior written agreement establishes that as an accepted method. When in doubt, "written" means something you can point to later.
If It Just Happened: What to Do Right Now

Write down everything while it's fresh. Date, time, what the landlord said about why they entered, how long they stayed, what they accessed or touched, and whether anyone else was present. If anything in your unit was moved, photographed, or disturbed, note that too. If you have a smart lock log, a security camera, or any other timestamped record of when the door opened, preserve it.
Send your landlord a written message - email is fine, since it creates a dated record - stating the facts plainly: that they entered on a specific date and time without the required 24 hours' written notice, and that you expect them to follow the law going forward. Keep the tone direct and unemotional. You're creating documentation, not venting. Keep a copy of everything you send.
This matters later. If this becomes a pattern, California courts treat repeated unauthorized entries as evidence of harassment. A single well-documented violation is also relevant if you ever need to pursue remedies in housing court.
What You Can Do About It
California law gives renters a few avenues when a landlord repeatedly violates entry rules or does so in a way that amounts to harassment or interference with your right to quiet enjoyment.
You can file a complaint with your city or county's code enforcement office or housing department. Many cities, especially those with rent control ordinances, have tenant protection offices that handle landlord harassment complaints. Los Angeles, San Francisco, Oakland, San Jose, and a number of other California cities have specific tenant services offices - check your city's official website to find the right local office, since names and procedures vary.
You can also file a complaint with the California Department of Consumer Affairs or, if the landlord's conduct rises to the level of harassment intended to push you out, a complaint with the California Department of Fair Employment and Housing (now operating as the Civil Rights Department) if protected characteristics are involved.
See also: Your California Go-Bag Checklist: What Emergency Officials Actually Recommend You Pack · Jalapeño Salmonella Outbreak Spreads to California: What to Know About the Recall
In housing court, a pattern of unauthorized entries can support a claim that the landlord has breached the implied warranty of quiet enjoyment. If a judge agrees, remedies can include a rent reduction for the period of disruption or, in the most serious cases, grounds to break your lease without penalty. For a single incident, you're unlikely to win a court reduction, but documentation positions you well if the behavior continues.
For straightforward violations where the landlord owes you money damages, small claims court is an option. California's small claims court currently handles cases up to $12,500 for individuals. The Judicial Council of California's website at courts.ca.gov has forms and instructions for filing.
When It Might Be Something More Serious
If you believe your landlord is entering your unit repeatedly in order to pressure you to move out, especially if you're in a rent-controlled unit or have recently made a complaint about habitability, that can constitute tenant harassment under California law. Cities with their own tenant protection ordinances sometimes have their own harassment definitions that are broader than state law. Document every incident and contact a local tenants' rights organization. Bay Area Legal Aid, Bet Tzedek in Los Angeles, and the Centro Legal de la Raza in Oakland are among the nonprofit legal organizations in California that provide free or low-cost help to renters. A county Self-Help Legal Access Center (available at most California superior courts) can also help you understand your options without requiring you to hire an attorney.
If you feel physically unsafe because of a landlord's unauthorized entry, that's a separate concern. An unauthorized entry that constitutes trespassing can be reported to local law enforcement. Whether police will treat it as a criminal matter depends on the circumstances and jurisdiction, but a police report creates an additional official record.
This is general information, not legal advice - check California Civil Code Section 1954, your local city or county tenant services office, and courts.ca.gov for guidance on your specific situation.