What the law says about landlord entry

In most states, a landlord cannot enter your home without permission, even though they own the building. The law treats your right to privacy inside a rental unit almost the same way it treats a homeowner's right — you have what is called quiet enjoyment of the space, and that means the landlord cannot straightforward walk in whenever they want.

However, landlords do have legal reasons to enter in certain situations. The catch is that they must follow specific rules: they usually need to give notice (often 24 hours, though this varies by state), they can only enter during business hours on a weekday, and they can only enter for a legitimate reason. What counts as legitimate is defined by state law, not by what the landlord decides.

If a landlord enters without following these rules, you may have grounds to break your lease, withhold rent (in some states), or file a complaint with your local housing authority. The exact remedy depends on where you live.

Key Takeaways

  • Landlords must give advance notice before entering — usually 24 hours — except in genuine emergencies like fire or gas leak.
  • Legal reasons for entry include repairs, inspections, showing the unit to future tenants, and pest control, but the landlord must state the reason in the notice.
  • Entry rules vary significantly by state; some require 48 hours' notice, and a few allow entry only with tenant consent or a court order.
  • If a landlord enters illegally, you can document it, send a written complaint, and contact your local housing authority or tenant rights organization.

When a landlord can legally enter

The most common legal reasons are repairs and maintenance. If the toilet is broken, the roof is leaking, or the heating system fails, the landlord can enter to fix it — but they still need to give notice unless it is an emergency that poses when ready danger.

Inspections are another standard reason. Landlords can conduct periodic inspections to check for damage, pest problems, or code violations, though they must announce this in advance. Showing the unit to prospective tenants or buyers is also legal, provided notice is given. Some states allow this only if you have already given notice that you are moving out.

Pest control treatments, smoke detector testing, and utility meter readings are all legitimate entry reasons. In some states, a landlord can also enter to show the unit to contractors who will be doing work. The key in every case is that the landlord must notify you beforehand and can only enter during reasonable hours — typically 8 a.m. to 5 p.m. on weekdays.

Emergency entry without notice

A landlord can enter without advance notice only if there is a genuine emergency: active fire, gas leak, break-in, or serious water damage happening right now. The entry must be to stop the emergency or call for help, not to inspect or repair something that can wait.

A burst pipe discovered during the day is an emergency. A tenant complaint about a small leak that has been there for a week is not. If a landlord claims emergency entry but the situation was not actually urgent, that entry was illegal, and you can document it and report it.

How notice requirements work by state

Most states require 24 hours' written notice, but some require 48 hours. A few states — including California and New York — have specific rules about what must be in the notice: the date, time, and reason for entry. Some states allow entry only if the tenant agrees or if a court has ordered it.

Notice must be delivered in writing. Texting, calling, or leaving a note on the door may not meet the legal standard in your state. Email counts as written notice in most places, but check your state's tenant handbook to be sure. The notice should arrive before the important date — if your state requires 24 hours and the landlord delivers notice at 5 p.m. on Monday, they cannot enter before 5 p.m. on Tuesday.

A few states allow a landlord to enter without notice only if you have abandoned the unit (stopped paying rent and moved out). Otherwise, notice is required. Look up your state's tenant rights online or contact your local housing authority to learn the exact rule where you live.

What to do if a landlord enters illegally

Document the entry. Write down the date, time, and what you noticed — an open door, moved items, or a note left behind. Take photos if anything is disturbed. If you have a doorbell camera or security camera, save the footage.

Send the landlord a written message (email or certified letter) stating that you did not consent to entry and that no notice was given. Keep a copy. This creates a record that you objected.

Contact your local housing authority, tenant rights organization, or legal aid office. Many areas have free tenant hotlines. Report the illegal entry and ask what your options are — in some states, repeated illegal entry is grounds to break the lease without penalty, and in others you may be able to withhold rent or sue for damages.

If the illegal entries continue, file a formal complaint with your city or county housing department. Some jurisdictions can fine landlords for repeated violations.

Your right to refuse entry

You can refuse entry if the landlord has not given proper notice or if the stated reason is not legitimate. You do not have to let them in just because they show up at the door. Saying "I did not receive notice" or "This is not an emergency" is a valid refusal.

However, refusing entry for a legitimate reason with proper notice can give the landlord grounds to pursue eviction in some states, though this is rare and usually requires the landlord to show a pattern of refusal. A single refusal to let in a repair person who showed up unannounced is not grounds for eviction.

If you refuse entry and the landlord claims it was an emergency, they may try to enter anyway or call police. If you believe the entry is illegal, you can tell the landlord to leave and contact your local tenant rights organization when ready. Do not physically block the door — instead, state clearly that you do not consent and document what happens.

Landlord entry during an eviction

Once an eviction case has been filed in court, the rules change slightly. A landlord may be able to enter with a court order or with a sheriff present, depending on the stage of the case. However, they still cannot straightforward walk in — they must follow the court process.

If you receive an eviction notice, contact a legal aid office or tenant rights organization when ready. They can tell you what entry rights the landlord has at each stage and what you can do to protect yourself.

Frequently Asked Questions

Can a landlord enter if I am not home?

Yes, if they have given proper notice and have a legal reason. You do not have to be present for the landlord to enter for repairs, inspections, or showings. However, some states require the landlord to leave proof of entry — a note or photo — so you know they were there.

What if my landlord changes the locks or installs a camera inside?

Changing locks to keep you out is illegal eviction in most states, even if the landlord claims it is temporary. A hidden camera inside your home is illegal in all states. If either happens, contact your local police and your housing authority. You may have grounds to break the lease and recover damages.

Can a landlord enter to show the apartment if I have not moved out yet?

Rules vary by state. Some allow it with notice once you have given notice that you are leaving. Others require your consent. A few states do not allow it at all while you are still living there. Check your state's tenant handbook or call your local housing authority to learn the rule where you live.

Do I have to let the landlord in for a showing if I am still renting?

This depends on your state and lease. Some states allow the landlord to show the unit only after you have given notice that you are moving. Others require your consent. If your lease says the landlord can show the unit anytime, that clause may not be enforceable in your state. Contact a tenant rights organization to learn what applies to you.

What if the landlord says it is an emergency but I do not think it is?

You can refuse entry and ask the landlord to explain. If they say the furnace is broken in winter or there is a gas smell, those are genuine emergencies. If they say they want to check on something that has been fine for months, it is not. If you are unsure, you can let them in and document what they do. If it was not actually an emergency, you have a record of an illegal entry.