Your landlord may own the building, but the apartment is your home, and the law treats it that way. In most places a landlord cannot simply let themselves in whenever they please. They generally have to give reasonable notice, come for a legitimate reason, and respect your right to live without unwanted intrusion. When a landlord ignores those limits, you usually have real options, from a firm letter to a lawsuit.

The catch is that the details depend heavily on where you live. How much notice counts as reasonable, what hours are allowed, and what you can recover when a landlord crosses the line all vary by state and sometimes by city, and the rules change over time. The articles in this section walk through both the general principles and the state-specific answers for places like California, Texas, Pennsylvania, and Virginia.

When a landlord can (and cannot) come in

Most states recognize a handful of legitimate reasons a landlord may enter, almost always with advance notice except in a true emergency. The core idea behind these rules is your right to quiet enjoyment, the long-standing principle that you get to use your home in peace.

  • With proper notice: routine inspections, repairs, showing the unit to prospective tenants or buyers, and similar non-urgent reasons.
  • Without notice: genuine emergencies, like a fire, a serious water leak, or a gas smell, where waiting could cause real harm.
  • Not allowed: dropping by to snoop, entering repeatedly to harass you, or using a key for reasons that have nothing to do with maintaining the property.

An inspection or a so-called repair visit does not erase the notice requirement. If a landlord shows up unannounced and it was not a real emergency, that is often the line between lawful access and illegal entry.

Lockouts, forced entry, and self-help

Even when you owe rent or the landlord wants you out, they generally cannot take matters into their own hands. Changing the locks, removing your belongings, or shutting off utilities to push you out is known as a self-help eviction, and it is illegal in most states. To remove a tenant, a landlord typically must go through the courts, often called an unlawful detainer or summary process action, and have an officer carry out a writ of possession. A locked-out tenant frequently has the right to get back in and to recover damages.

Cameras, harassment, and when to get help

Privacy problems are not always about someone walking through the door. Cameras pointed at your private spaces, a landlord who enters again and again, or one who uses access to intimidate you can all amount to an invasion of privacy or a breach of quiet enjoyment. Where the conduct targets you because of a protected characteristic, the Fair Housing Act may also come into play.

  • Keep a written record of dates, times, and what happened.
  • Put your objection in writing and keep a copy.
  • Save photos, texts, and any notice (or lack of notice) you received.

You can handle many of these situations on your own, but talking to a tenant lawyer or a local legal aid office is worth it when the entries keep happening, when you have been locked out, or when you are weighing a lawsuit. They can tell you what your specific state allows and what your case may realistically be worth.