When can a landlord enter your apartment in NYC?
NYC landlords need written notice to enter: 24 hours for inspections, one week for repairs, weekdays 9 to 5. Emergencies excepted. Showings and harassment too.
7 min read · Updated
In New York City a landlord can enter your apartment only for a legitimate reason, such as repairs, inspections required by law, or an emergency, and outside emergencies they must tell you in writing first. City rules call for at least 24 hours' notice for an inspection and at least one week for repairs or improvements, with visits on weekdays between 9am and 5pm unless you agree otherwise.
You, in turn, can't unreasonably refuse access for repairs the law requires. Refusing can become grounds for an eviction case. Here is how the rules fit together, what changes for rent-stabilized apartments and showings, and what to do when a landlord keeps letting themselves in.
At a glance
- Inspection notice
- 24 hours
- 28 RCNY § 25-101, in writing and dated
- Repair / improvement notice
- 1 week
- Written notice describing the work
- Allowed hours
- Mon–Fri, 9am–5pm
- Unless you agree to another time
- Emergency or urgent repair
- No written notice
- Must still try to reach you by phone, email or knocking
- Rent-stabilized showing
- 5 days (10 by mail)
- 9 NYCRR 2524.3(e)
The basic rule: access for a reason, at a reasonable time
Housing Maintenance Code § 27-2008 says a tenant can't refuse to let the owner, their agent or employee in to make repairs or improvements the law requires, or to inspect for code compliance, as long as entry happens "at a reasonable time and in a reasonable manner." The city's rule on how that works, 28 RCNY § 25-101, fills in the details, and HPD repeats them in its ABCs of Housing guides:
- The owner must notify you in advance and in writing of the day and time they want to come in.
- The appointment must be between 9am and 5pm, Monday through Friday, unless you agree to something else or there is a condition that must be dealt with immediately.
- Any contractor or agent must be able to show written authorization from the owner to enter and do the work.
The Attorney General's tenants guide puts it the same way statewide: entry with reasonable prior notice, at a reasonable time, with your consent for routine or agreed repairs. If a tenant unreasonably refuses, the landlord's remedy is a court order, not a locksmith.
How much notice for each kind of visit
| Reason | Notice | Source |
|---|---|---|
| Inspection for code compliance (for example, an annual lead paint or window guard check) | At least 24 hours, written | 28 RCNY § 25-101 |
| Repairs or improvements required by law | At least one week, written, describing the work | 28 RCNY § 25-101; NY Courts law library |
| Emergency repairs (gas leak, water leak, stopped-up drain, leaking roof, broken and dangerous ceiling) or urgent repairs where a Class C violation was issued (other than for lead paint) | No advance written notice, but the owner must notify you by phone, email or knocking at a reasonable time | 28 RCNY § 25-101(a)(3); HPD ABCs of Housing |
| Showing a rent-stabilized unit to buyers, lenders or others with a legitimate interest | At least 5 days (10 if mailed), at a mutually convenient time | 9 NYCRR 2524.3(e) |
| Showing a market-rate unit to future tenants or buyers | No specific city rule; follow your lease and the reasonableness standard | Your lease; AG tenants guide |
| Repair work that will interrupt heat, hot or cold water, gas or electricity for 2+ hours | Notice posted in a prominent place at least 24 hours ahead (rule also requires one on each floor) | HMC § 27-2005(e); 28 RCNY § 25-101(a)(4) |
Emergencies: when no notice is needed
When repairs are urgently needed to prevent damage to property or injury to people, no advance written notice is required. HPD's examples are gas leaks, water leaks, stopped-up or defective drains, leaking roofs and broken, dangerous ceilings. The rule also covers urgent repairs where HPD has issued a Class C (immediately hazardous) violation, except a lead paint violation. Even then, the owner must try to tell you by phone, email or knocking on your door at a reasonable time. If the super had to come in while you were out, it's reasonable to ask for a note saying when, who, and what was done.
Showings: market-rate vs rent-stabilized
| Market-rate | Rent-stabilized | |
|---|---|---|
| Specific notice rule in law | No | Yes, 5 days (10 by mail) |
| Lease terms on showings apply | ||
| Time must suit both sides | Reasonable time | Mutual convenience |
| Unreasonable refusal can be grounds for eviction | Depends on lease |
If your lease has a showing clause, read it closely. A reasonable plan is to offer two or three windows a week with a day's notice each time, and to ask that an agent, not a stranger with a lockbox code, be present.
Do you have to let them in?
For repairs the law requires, generally yes. Under Housing Maintenance Code § 27-2009, if a tenant is convicted of a code violation for unreasonably refusing access for required repairs, that conviction is a ground for a summary eviction proceeding. For rent-stabilized tenants, the Rent Stabilization Code lists unreasonable refusal of access as an eviction ground too. Refusing can also undercut your own case: the NY Courts law library notes that an owner can cite a tenant's refusal of access when responding to a rent-reduction complaint with the state. The practical approach is to offer alternative dates in writing rather than say no.
When entry becomes harassment
Under NYC's harassment law (Housing Maintenance Code § 27-2004(a)(48)), these count as harassment when done to push you out or make you give up rights:
- Repeatedly contacting or visiting you on Saturdays, Sundays or legal holidays, outside 9am to 5pm, or in a way that can reasonably be expected to abuse or harass you, unless you agreed in writing to those times.
- Other repeated acts that substantially interfere with your comfort, peace or quiet, which can include repeated unannounced entries.
- Removing your belongings, or changing the lock without giving you a key.
HPD's harassment page also lists repeatedly contacting or visiting a tenant during non-business hours when the tenant hasn't indicated a willingness to have that contact. See Tenant harassment in NYC for the full list and how to file.
What to do about unannounced entry
- 1
Write it down every time
Date, time, who came in, how they entered, what they did, and whether you had any notice. Keep photos, doorbell or camera footage, and witness names. - 2
Send a written request
Email or certified mail to the owner and managing agent: cite HMC § 27-2008 and 28 RCNY § 25-101, ask for written notice and weekday 9–5 appointments, and offer specific times for any pending repair. - 3
Report it
Call 311 and say you believe you are being harassed; HPD’s Anti-Harassment Unit receives those referrals. Rent-stabilized tenants can also contact NYS HCR (718-739-6400). - 4
Call the police for anything criminal
If someone enters and removes your things, threatens you, or changes the lock, call 911. Lockouts have their own process. - 5
Consider Housing Court
Tenants can bring a harassment claim (an HP action) in Housing Court and ask for an order stopping the conduct. Legal services providers can help you prepare it.
If the landlord is entering to do repairs you asked for, the better route is usually to schedule them. Unfixed conditions are covered in the warranty of habitability and HPD complaints. For keys and the extra lock you're allowed to add, see locks, keys and peepholes.
Independent re-check 2026-10-12. Replaced the law-firm copy of 28 RCNY § 25-101 with the official HPD Notice of Adoption on rules.cityofnewyork.us, which restates the full current rule: 24-hour inspection notice, one-week written notice for repairs, written and dated notices, written authorization for agents, 9am–5pm access with no Saturday/Sunday/holiday access unless agreed, no written notice for emergencies or Class C (non-lead) urgent repairs but other notice required, 24-hour posting for 2+ hour service interruptions. Fixed: HMC § 27-2009 eviction ground requires a conviction for unreasonable refusal; emergency exception expanded to Class C urgent repairs; removed an inexact quotation from the HPD harassment page. RSC 9 NYCRR 2524.3(e) 5/10-day showing notice confirmed on LII. HMC §§ 27-2004(a)(48)(f-4), (g), 27-2005(e), 27-2008 read in the nyc.gov HMC PDF dated April 17, 2026. AG privacy wording and NY Courts law library FAQ confirmed.
Sources
- NYC Housing Maintenance Code §§ 27-2004(a)(48), 27-2008, 27-2009 · City of New York (accessed October 12, 2026)
- ABCs of Housing: Tenants Guide · NYC HPD (accessed October 12, 2026)
- ABCs of Housing: Owners Guide (Owner Entry to an Apartment) · NYC HPD (accessed October 12, 2026)
- Ask a Law Librarian: Do I have to let my landlord into my apartment to make repairs? · NY State Courts Law Libraries (accessed October 12, 2026)
- 9 NYCRR § 2524.3 (Rent Stabilization Code, grounds for eviction) · Legal Information Institute (NYCRR text) (accessed October 12, 2026)
- Notice of Adoption amending 28 RCNY § 25-101 (full current text of the owner’s right of access rule) · NYC HPD via NYC Rules (accessed October 12, 2026)
- Residential Tenants’ Rights Guide · New York State Attorney General (accessed October 12, 2026)
- Tenant Harassment · NYC HPD (accessed October 12, 2026)
General information, not legal, tax or financial advice. Rules change; confirm with the agency or a professional before you act.