Back to all articles

If your landlord is ignoring a broken lock on your Upper West Side prewar walk-up, the short answer is this: a working lock is not optional. Under New York City's warranty of habitability, your landlord is legally required to keep locks and building security in safe working condition. That obligation does not disappear because your landlord is slow, dismissive, or trying to avoid a repair bill. You have several options, and they escalate quickly.

What does NYC law actually require my landlord to do about a broken lock?

The warranty of habitability covers security hardware. That means entrance doors, apartment door locks, mailbox locks, and intercom systems connected to building access all fall under your landlord's responsibility. This is not a courtesy. It is codified in the NYC Housing Maintenance Code.

If you live in a rent-stabilized building on Amsterdam Avenue, that obligation is even more clearly enforced because your lease automatically renews and the landlord's maintenance duties carry forward with it. A broken lock that goes unrepaired is a housing code violation you can report to the city.

Here is the process to follow:

  1. Put your repair request in writing by email or certified mail. Keep a copy.
  2. Give the landlord a reasonable window to respond, typically three to five business days for a lock issue.
  3. If there is no response, file a complaint with 311 and request an HPD inspection.
  4. If the condition is serious, file an HP action in NYC Housing Court. A judge can order repairs and may reduce your rent until the work is done.

The repair-and-deduct option is more limited in New York than in some other states, but for minor lock repairs it can apply. You pay a licensed locksmith to fix the problem and deduct the documented cost from your next rent payment, with receipts attached. Do this carefully and only after written notice has been ignored.

What are my rights around rekeying, duplicate keys, and lock changes after a new tenant moves in?

This is where a lot of disputes start. You move into a Morningside Heights co-op apartment and you have no idea how many duplicate keys the previous tenant handed out to friends, ex-roommates, or subletting guests. You ask your landlord to rekey the lock and the landlord refuses or ignores you.

You have the right to rekey your own apartment. NYC law allows tenants to change or rekey their locks as long as a copy of the new key is provided to the landlord. The landlord cannot prohibit this. If you choose to rekey, a standard cylinder swap on a Medeco M3 or a Schlage B60N deadbolt takes a locksmith under half an hour. If you want higher security, upgrading to a Medeco Maxum or a Mul-T-Lock MT5+ at the same time is worth considering. These are pick-resistant and drill-resistant cylinders with patented keyways that prevent unauthorized key duplication at any hardware store.

Roommate disputes over locks are a separate situation. If a roommate leaves and you want to change the lock, you generally can if your name is on the lease. A roommate who is not a named leaseholder does not have the same right to demand a key. However, if both names are on the lease, neither tenant can legally lock the other out without a court order. An illegal lockout by a landlord or by a roommate acting with the landlord's approval is a serious violation and can be reported to the NYC Sheriff's Office.

At move-out, key handover matters. Withholding keys can be used by a landlord as grounds to claim damages against your security deposit. Return all copies, including any you had made, and get written confirmation of the handover date.

When can a landlord legally enter my apartment to deal with a lock issue, and what if they lock me out?

Your right to privacy is protected under NYC law. Your landlord must give you at least 24 hours of advance notice before entering your apartment for a non-emergency repair, including lock work. They cannot show up unannounced to replace a lock, install a new deadbolt, or inspect the door hardware. If they do, that is a violation.

Emergency access is different. If a lock malfunction is causing an immediate safety hazard, such as a door that cannot be secured at all, the landlord may have justification to enter without prior notice. But that window is narrow and the situation must be genuinely urgent.

A landlord lock change carried out without a court order is an illegal lockout under NYC Admin Code 26-521. It does not matter if you owe back rent. It does not matter if your lease is in dispute. If your landlord changes your locks to force you out, that is a class A misdemeanor. Call 911, call 311, and document everything with photos and timestamps. You are entitled to re-entry and you may be owed damages.

For gate locks on a ground-floor apartment or a small storefront in Lincoln Square, the same rules apply. A landlord cannot swap out a gate lock to deny you access to your business or residence without due process.

If you need a locksmith who understands these situations and works throughout the Upper West Side and the rest of Manhattan, call Amsterdam Locksmith at (917) 200-2978. We handle emergency lockouts, lock changes, rekeying, and security upgrades for tenants, building owners, and small businesses.

Frequently asked questions

Can my landlord change my lock without telling me in NYC?

No. A landlord who changes your lock without notice and without a court order is committing an illegal lockout under NYC law. You have the right to re-entry immediately. Call 911, then 311, and document the situation before contacting a locksmith to regain access.

Do I have the right to rekey my apartment after moving in?

Yes. NYC tenants have the right to rekey their unit, especially when a landlord cannot prove all duplicate keys have been collected from prior tenants. You pay for the rekeying and are required to give your landlord one copy of the new key once the work is done.

Can my landlord enter my apartment without notice to fix a lock?

No, except in a genuine emergency. NYC law requires at least 24 hours of advance notice for non-emergency repairs. If your landlord enters without notice to perform lock work, that is a violation of your right to privacy and grounds for an HP action in Housing Court.

Need a locksmith on the Upper West Side? We come to you - 24/7.

(917) 200-2978 - Call Now