California law limits when a landlord can enter your home without your permission

In California, a landlord cannot straightforward walk into your rental whenever they want. The state has strict rules about entry rights, and landlords must follow them or face legal consequences. In most cases, your landlord must give you notice before entering, and they can only enter for specific reasons.

The rules come from California Civil Code Section 1954, which protects tenants from unwanted intrusions. Violating these rules can give you grounds to break your lease, withhold rent, or sue for damages. Understanding what your landlord can and cannot do helps you protect your rights.

Key Takeaways

  • California law requires landlords to give you 24 hours' written notice before entering, except in genuine emergencies.
  • Landlords can only enter for specific reasons: repairs, inspections, showing the unit to prospective tenants or buyers, and pest control.
  • Entry must happen during normal business hours (usually 8 a.m. to 5 p.m., Monday through Friday) unless you agree otherwise.
  • A landlord cannot enter to harass you, retaliate against you, or straightforward check on their property without a legitimate reason.
  • If your landlord enters illegally, you can document it and contact a local tenant rights organization or attorney for next steps.

The four legal reasons a landlord can enter your home

California law allows entry only for these specific purposes. A landlord cannot invent other reasons or use one of these as a cover for something else.

Repairs and maintenance: Your landlord can enter to fix things that are broken or need upkeep—a leaky faucet, a broken window, HVAC problems, or pest infestations. This is the most common reason for entry.

Inspections: Your landlord can enter to inspect the condition of the unit, but only if there is a legitimate reason to believe something needs attention. A routine "walk-through" without cause is not legal.

Showing the unit: If you are moving out or your landlord is selling the property, they can enter to show the unit to prospective tenants or buyers. This requires notice and can only happen during reasonable hours.

Pest control and other services: Your landlord can enter to arrange or perform pest control, fumigation, or other necessary services to the building or common areas.

How much notice your landlord must give you

In almost all cases, your landlord must give you 24 hours' written notice before entering. The notice must state the reason for entry and the date and time the landlord or their agent will arrive. A text message, email, or note on your door counts as written notice if it reaches you at least 24 hours before entry.

The 24-hour clock starts when you actually receive the notice, not when your landlord sends it. If your landlord slides a notice under your door on Monday at 5 p.m., they cannot enter until Tuesday at 5 p.m. or later.

Entry must happen during normal business hours. California law defines this as 8 a.m. to 5 p.m., Monday through Friday, unless you agree to a different time in writing. Your landlord cannot enter at 6 p.m., on a weekend, or at midnight, even with notice.

When a landlord can enter without notice: genuine emergencies only

The only time a landlord can enter without 24 hours' notice is during a genuine emergency. An emergency means an when ready threat to health, safety, or the property itself. Your landlord still cannot enter without permission—they must knock and identify themselves—but they do not have to wait 24 hours.

Real emergencies include a fire, a gas leak, a burst pipe flooding the unit, or a break-in. A landlord cannot claim an emergency to avoid giving notice for routine repairs. If your landlord enters claiming an emergency and there was no actual emergency, that entry was illegal.

Even in an emergency, your landlord should try to reach you first. If you are home, they must still ask permission to enter. If you are not home and there is a genuine threat, they can enter to stop the damage or danger, but they should document what they did and why.

What counts as harassment or retaliation

A landlord cannot use entry as a tool to harass or retaliate against you. If your landlord enters repeatedly without proper notice, enters for no stated reason, or enters right after you complained about repairs or exercised a legal right, that is illegal.

Retaliation is when a landlord punishes you for something you are legally allowed to do—filing a complaint with the health department, requesting repairs, joining a tenant organization, or reporting code violations. If your landlord retaliates by entering your home excessively, raising rent, or threatening eviction, California law protects you. You can sue for damages or use retaliation as a defense in an eviction case.

Harassment includes repeated unwanted entries, entries at unreasonable hours, or entries that disrupt your quiet enjoyment of the home. If this happens, document each entry with the date, time, and what your landlord did or said.

How to respond if your landlord enters illegally

If your landlord enters without proper notice, without a legal reason, or at an unreasonable time, document what happened. Write down the date, time, how they entered (did they use a key? knock?), and what they did inside. Take photos or video if possible. Keep copies of any notices they left or any communication about the entry.

Contact a local tenant rights organization. Many California cities and counties have free or low-cost legal aid for tenants. Organizations like the California Tenants Union or your city's housing rights hotline can tell you whether the entry was illegal and what your options are. Some can send a formal letter to your landlord warning them to stop.

If illegal entries continue, you may be able to break your lease without penalty, withhold rent (though this is risky and requires following specific steps), or sue your landlord for damages. An attorney can review your situation and advise you on the strongest move. Many tenant rights attorneys work on contingency, meaning you do not pay unless you win.

What your landlord can and cannot do during a legal entry

Even when your landlord has the right to enter, they cannot do whatever they want once inside. They can inspect the unit, make repairs, show it to prospective tenants, or arrange services. They cannot search your belongings, photograph your personal items, or enter areas you have locked off (like a storage closet you use as a bedroom).

Your landlord must leave the unit in the same condition they found it. If they damage something during entry, they are liable for repairs. If they break a window or scratch a wall, you can deduct the cost from rent or bill them directly.

Your landlord also cannot use entry as an excuse to intimidate you, inspect for lease violations unrelated to the stated reason, or gather evidence against you. If they enter to fix a leak and spend time photographing your furniture or looking through your closets, that is beyond the scope of legal entry.

Frequently Asked Questions

Can my landlord enter if I do not answer the door?

No. Your landlord must have your permission to enter, even with proper notice. If you do not answer, they cannot use a key to let themselves in. The only exception is a genuine emergency where there is when ready danger to the building or people inside. If your landlord enters anyway, that entry is illegal.

Does my landlord need a reason to inspect my apartment?

Yes. California law requires a legitimate reason for an inspection—not just a routine check. Your landlord cannot inspect straightforward because they own the property. They need a specific concern, like a report of damage, a pest problem, or preparation to show the unit to a buyer.

What if my landlord gives notice but enters at the wrong time?

If your landlord enters outside normal business hours (8 a.m. to 5 p.m., Monday through Friday) without your written agreement, that entry is illegal. You can refuse to let them in and contact a tenant rights organization. Document the attempt and keep any notice they left.

Can my landlord enter more than once a month?

There is no limit on how many times a landlord can enter if each entry has a legal reason and proper notice. However, if entries become excessive or happen right after you complained about something, that may be harassment or retaliation, which is illegal.

What should I do if my landlord threatens to enter illegally?

Take the threat seriously and document it. Save any text messages, emails, or notes. Contact a tenant rights organization or attorney right away. A lawyer can send a cease-and-desist letter, which often stops the behavior. If your landlord follows through with illegal entry, you have grounds to break your lease or pursue legal action.