Back to all articles

No, your landlord cannot legally change the locks on your apartment without a court order. In New York City, changing a tenant's locks without authorization is an illegal lockout under NYC Administrative Code 26-521. It does not matter if you are behind on rent, in a dispute, or at the end of a lease. The landlord must go through Housing Court. If you come home to a changed lock in a prewar walk-up in East Harlem or a doorman building on the Upper East Side, you have immediate legal remedies.

What counts as an illegal lockout, and what can you do right now?

An illegal lockout happens when a landlord, super, or anyone acting on the landlord's behalf physically prevents you from entering your home without a court order. This includes changing the cylinder, adding a new lock you have no key to, blocking the door, or disabling your buzzer access so you cannot get into the building at all.

If this happens to you, take these steps in order:

  1. Call 311 and report an illegal lockout. HPD will log the complaint.
  2. Go to Housing Court at 111 Centre Street. Clerks there handle emergency orders to restore access, even on short notice.
  3. Document everything. Photograph the lock, the door, and any notice left behind. Save texts or voicemails from the landlord.
  4. If it is after hours, NYPD can respond to illegal lockout calls and, in some cases, compel re-entry on the spot.

New York's warranty of habitability also means that your landlord is required to keep the building secure. A broken lock on a street-level door in a Spanish Harlem brownstone is not just an inconvenience. It is a habitability violation. You can file an HPD complaint for that too. If HPD issues a violation and the landlord still does not fix it, you may have grounds for a rent-reduction order or a repair-and-deduct remedy under certain conditions.

What are your rights when it comes to your locks, keys, and building access?

New York law gives tenants the right to install an additional lock on their apartment door, even if the landlord objects, as long as you provide the landlord or super with a copy of the key when requested. This right is spelled out in Multiple Dwelling Law 51-c. If you live in a rent-stabilized building in Harlem or Yorkville, this right is the same as in any other unit.

When it comes to rekeying after move-in, landlords are not automatically required by law to rekey between tenants, but many leases and good building management practice call for it. If your landlord has not rekeyed and you want a fresh cylinder, you can request it in writing. If they refuse, you can install a new lock yourself and hand over a key. A solid and affordable choice for a standard apartment door is the Schlage B60N, which accepts standard keyways. If you want higher security, the Medeco Maxum deadbolt is a pricier option that uses a restricted keyway that makes unauthorized key duplication much harder.

Mailbox locks are a separate issue. Your landlord is responsible for maintaining mailbox locks in a functioning state. A broken mailbox lock in a Yorkville walk-up is a federal issue as well as a local one. Report it to HPD and to the US Postal Service if mail is being compromised.

Roommate situations add a layer of complication. If a roommate changes the lock and locks you out, that is also an illegal lockout under the same code. The roommate does not have more rights than you if both names are on the lease. If only one name is on the lease, the leaseholder has more standing, but the resolution still goes through Housing Court, not through a unilateral lock change.

For emergency access by a super or landlord, the law requires reasonable notice except in a genuine emergency like a fire or flood. A super entering your East Harlem apartment without notice to check a faucet is not a genuine emergency. If a landlord or super is entering without notice repeatedly, document each instance and consult a tenant attorney.

What should landlords and building owners know about managing locks legally?

If you own or manage rental units in upper Manhattan, the rules around locks are straightforward but easy to get wrong under pressure. You cannot do a self-help lock change to force out a non-paying tenant. That path leads to court penalties and potential liability. The legal route is a Housing Court proceeding.

What you can and should do between tenancies is rekey every unit. A standard rekey on a Kwikset or Schlage cylinder is an affordable service at most locksmiths. Replacing the cylinder entirely with a higher-security option like a Mul-T-Lock MT5+ costs more per door installed, but it gives you a restricted keyway that prevents tenants from duplicating keys without your authorization.

Lease lock clauses vary. Some leases require tenants to get written permission before changing any lock. Others simply require key handover. Know what your lease says, and enforce it consistently. If a tenant changes a lock and does not provide a key, address it in writing before the tenancy ends. At move-out, document the key handover with a dated receipt. If keys are not returned, a lock change can legitimately be charged against the security deposit.

For building owners managing multiple units in a prewar building in East Harlem or a co-op on the Upper East Side, a master key system makes super entry and emergency access manageable without compromising individual tenant security. Brands like Medeco and Mul-T-Lock both offer commercial master key systems with restricted duplication.

If you need a rekey, a new deadbolt, key cutting, or advice on a lock upgrade, stop by the store or call Morris Park Locksmith Hardware at (347) 717-7168. We carry hardware in stock and can cut keys on the spot.

Frequently asked questions

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

No. A landlord who changes your locks without a court order is committing an illegal lockout under NYC Admin Code 26-521. You can call 311, file with HPD, or go to Housing Court for an emergency order to restore access. This applies whether you are in a rent-stabilized unit in East Harlem or a market-rate apartment anywhere in Manhattan.

Do I have to hand over all my keys when I move out of my apartment?

Yes. You are required to return all keys at move-out, including mailbox keys and any copies you had made. Failure to return keys can result in a lock change being deducted from your security deposit. Returning keys and documenting it in writing protects you from that charge.

Can I change my own locks in a NYC rental apartment?

You can install an additional lock or replace an existing one, but your lease may require you to give the landlord a copy of the new key. Check your lease lock clause. If you do change the locks, use a quality deadbolt like a Schlage B60N or Medeco Maxum and provide the key promptly to avoid a lease violation.

Need a locksmith in Manhattan? Call or visit one of our two locations.

(347) 717-7168 - Call Now