What the law says about landlord entry
In most states, a landlord cannot enter your rental unit without permission, even if they own the building. The law requires advance notice — usually 24 to 48 hours — and a legitimate reason. The reasons that count as legitimate are narrow: making repairs, showing the unit to prospective tenants or buyers, inspecting for damage, or responding to an emergency.
The exact notice period and the list of valid reasons vary by state. Some states allow 24 hours' notice; others require 48 hours or more. A few states specify that notice must be in writing. Emergency entry — to stop a fire, gas leak, or active break-in — is the only situation where a landlord can skip the notice requirement and enter when ready.
If your landlord enters without proper notice and without an emergency, that is considered an illegal entry or an illegal search, depending on your state's language. You may have grounds to break your lease, withhold rent, or file a complaint with your local housing authority.
Key Takeaways
- Landlords must give advance notice — usually 24 to 48 hours — before entering, except in genuine emergencies like fire or gas leaks.
- Valid reasons for entry are repairs, inspections, showing the unit to future tenants or buyers, and emergencies; entry for other reasons is illegal.
- Notice requirements and valid entry reasons are set by state law, not federal law, so the rules in your state may differ from a neighboring state.
- If a landlord enters illegally, you can document it and report it to your local housing authority or tenant rights organization.
How much notice your landlord must give
Most states require 24 to 48 hours' written notice before a non-emergency entry. California, for example, requires 24 hours' notice in writing. New York requires 24 hours' notice, also in writing. Some states allow notice by email or text; others require a physical notice posted on your door or delivered by hand.
A few states have longer notice periods. Some require notice to be given during business hours on a weekday. Others allow the landlord to enter during "reasonable hours" — typically 9 a.m. to 5 p.m. on a weekday — without specifying an exact notice window, though they still must give advance notice.
If your lease says the landlord can enter with less notice than state law allows, the lease clause is void. State law sets the minimum; a lease cannot shrink it. If your lease says nothing about notice, state law applies automatically.
What counts as a valid reason for entry
A landlord can enter to make repairs or perform maintenance that you have requested or that the landlord is legally required to do. This includes fixing a broken heater, patching a leak, replacing a broken window, or treating for pests. The landlord cannot use a repair as a cover story to inspect the unit for other reasons or to harass you.
A landlord can also enter to show the unit to prospective tenants if your lease is ending, or to prospective buyers if the building is for sale. In some states, the landlord must give you the option to be present during the showing. In others, the landlord can show the unit while you are away, provided notice was given.
Inspections for damage or code violations are another valid reason, though the rules vary. Some states allow routine inspections only if the lease permits them; others require the landlord to have a specific reason to suspect a problem. An inspection cannot be a pretext for snooping through your belongings or checking whether you have a pet if the lease forbids it.
Emergency entry and when it applies
An emergency is the only situation where a landlord can enter without advance notice. A genuine emergency is a situation that poses an when ready threat to health, safety, or the property itself: a fire, a gas leak, a burst pipe flooding the unit, an active break-in, or a serious injury inside the unit.
A landlord cannot claim an emergency to avoid the notice requirement for routine repairs. A slow leak under the sink is not an emergency. A tenant complaint about mold is not an emergency unless the mold is actively spreading or causing when ready respiratory distress. If you are unsure whether a situation is truly an emergency, ask the landlord to explain why they believe entry cannot wait for the required notice period.
If a landlord enters claiming an emergency, they should document what the emergency was and what they did to address it. If you believe the entry was not actually an emergency, you can ask for that documentation and report the entry to your local housing authority if you think it was pretextual.
What to do if your landlord enters illegally
If your landlord enters without proper notice and without a valid reason, document it. Write down the date, time, and what you observed — whether the door was unlocked when you returned, whether anything was moved, whether you have security camera footage, or whether a neighbor saw the landlord entering. Keep this record in case you need to file a complaint or defend yourself in a dispute.
Contact your local tenant rights organization or housing authority and describe what happened. Many areas have free tenant advocacy groups that can tell you whether the entry was illegal under your state's law and what your options are. Some states allow tenants to break the lease and move out if a landlord repeatedly enters illegally; others allow you to withhold rent or sue for damages.
If the illegal entry is part of a pattern of harassment — repeated entries without notice, entries at odd hours, or entries that seem designed to intimidate — that may violate your state's tenant harassment laws. Document each incident with the same detail and report the pattern to your housing authority.
Your right to refuse entry
You have the right to refuse entry if the landlord does not give proper notice or does not have a valid reason. If a landlord shows up at your door without notice and without claiming an emergency, you can tell them to leave. You do not have to let them in.
If the landlord claims a valid reason but you believe the notice was improper, you can still refuse entry and ask them to reschedule with proper notice. The landlord cannot retaliate against you for refusing an illegal entry — that is, they cannot raise your rent, threaten eviction, or reduce services because you stood your ground.
If the landlord persists and tries to force entry, do not physically resist. Call the police and report a trespassing attempt. Keep a record of the incident and report it to your housing authority.
State-by-state differences in entry rules
Entry laws are set by state, not by federal law, so the rules depend on where you live. Some states are strict: California, New York, and Illinois all require 24 hours' written notice and limit entry to specific reasons. Other states are more permissive and may allow entry with less notice or for broader reasons.
A few states do not have a statewide law on landlord entry; instead, local ordinances or case law set the rules. If you live in a city with strong tenant protections, the local rules may be stricter than the state default. If you live in a rural area or a state with weak tenant laws, the rules may be looser.
The best way to find out what applies to you is to search "[your state] landlord entry law" or contact your local housing authority, tenant rights organization, or legal aid office. They can tell you the exact notice period, valid reasons, and your rights if a landlord violates the law.
Frequently Asked Questions
Can my landlord enter if I do not answer the door?
No. If you do not answer the door, the landlord cannot use a key to enter without your permission, even if they gave notice. The notice gives them the right to enter at a specific time; it does not override your right to refuse. If you are not home or do not want to let them in, they must reschedule.
What if my landlord says they need to show the unit to a buyer?
Showing to a prospective buyer is a valid reason for entry, but the landlord must still give proper notice — usually 24 to 48 hours. You have the right to be present during the showing in some states. You can also ask the landlord to schedule showings at times that work for you, though the landlord does not have to agree to every request.
Can my landlord enter to check if I have a pet if my lease forbids pets?
A landlord can enter to inspect for lease violations, but only if they have a legitimate reason to suspect a violation — not just to snoop. If the landlord has received a complaint from a neighbor or has other evidence of a pet, an inspection may be valid. Random inspections to check for pets are not valid in most states.
What if my landlord enters during an emergency but I think it was not really an emergency?
Document what happened and ask the landlord to explain in writing why they believed it was an emergency. If you believe the entry was pretextual, report it to your housing authority or tenant rights organization. If it becomes a pattern, it may constitute harassment.
Can I change the locks to keep my landlord out?
No. Changing the locks without the landlord's permission is a lease violation and can be grounds for eviction in most states. If you are concerned about illegal entries, document them and report them to your housing authority instead of taking matters into your own hands.