
Does Your NYC Landlord Get a Key to Your Apartment?
New York City's Housing Maintenance Code does not require you to hand your landlord a key to your apartment, and nothing in it stops the landlord from keeping the key they already have to the lock they installed. What the law regulates is entry: when the owner may come in, with how much notice, and for what. Keys are mostly a matter of the lease.
The two places a key does become a legal question are a lock you add yourself, where state law requires you to give the landlord a duplicate if they ask, and an emergency, where the notice rules do not apply. This guide covers each.
What the Housing Maintenance Code says about entry
Section 27-2008 of the Administrative Code deals with the owner's right of access. A tenant may not refuse to let the owner, or the owner's agent or employee, into the unit to make repairs or improvements the code or other law requires, or to inspect for compliance, as long as the entry is at a reasonable time and in a reasonable manner.
That is a duty to permit access. It says nothing about keys. A tenant can meet it by being home and opening the door, and the owner cannot treat it as a right to a copy of your key.
How much notice the owner has to give
HPD's rule on access, 28 RCNY §25-101, sets the notice. For an inspection to check code compliance, the owner or their representative has to give the tenant at least twenty-four hours' notice. For non-urgent repairs or improvements, written notice is required at least a week before the work starts, and the notice has to be dated and describe what the work is.
A representative who is not the owner needs written authorization from the owner and must show it to the tenant when asking for access. If a person says they are from management and has nothing in writing, you can ask to see it.
The exceptions: urgent repairs and emergencies
The notice requirement does not apply to repairs that are urgently needed, such as one tied to a class C violation, or to an emergency where repairs are immediately necessary to prevent damage to property or injury to people. A burst pipe or a gas smell is the example.
Even then the owner is expected to try to reach the tenant by another route, such as a call or knocking on the door. This is the real reason a landlord or super wants a key: not for routine entry, but for the pipe that bursts while you are at work. It is a fair concern, and it is also the reason the lock rules below exist.
Your own lock and the duplicate key
Multiple Dwelling Law §51-c is the provision that does involve a key. A tenant in a multiple dwelling has the right to install and maintain a lock, separate from the owner's lock, not more than three inches in circumference, provided that a duplicate key is supplied to the landlord or agent upon request.
Two points in that language matter. The right is to add a lock, not to replace the owner's lock. And the duty to give a duplicate arises "upon request," so you are not required to hand one over in advance. When a request comes, the answer is yes, and refusing puts you outside the protection the statute gives you. The details are in can a tenant change the locks in NYC.
What the lease can add
A lease can say more than the statute. Some leases require tenants to give the owner a key to the unit, others prohibit changing locks without consent, and others are silent. A lease clause cannot take away a right the law gives you, such as the §51-c right to add a lock, but it can govern the rest.
Read yours before you rekey or change anything. If the lease requires a key and you rekey the primary lock, you owe the owner a new copy, which is routine. A rekey at move-in is the standard way to end the question of who holds old keys. The reasons are laid out in change locks when moving into an apartment.
The super and the building key
In most buildings the super holds a key to every apartment, either directly or through a master system. That key belongs to the owner's lock, and a rekey of that lock changes who holds a working copy.
If you rekey the primary lock with the owner's agreement, give the super a new key. If you do not, the super will have a key that no longer opens your door, and in an emergency they may have to force it. Building-wide master systems work the other way: the master key opens every unit while each tenant's key opens only their own, as set out in master key systems for NYC buildings.
What to do if the landlord enters without notice
Unannounced entry that is not an emergency does not meet the notice rule. Write down the date, the time and who came in, and ask for the reason in writing. A single mistaken visit is a conversation. A pattern is something to raise with HPD or a tenant attorney.
Do not change the lock to keep the landlord out of a repair they are required to make. Refusing access to required repairs can be treated as a violation of the code, and it can be grounds for the owner to go to court. Keep the evidence and escalate through the proper channel instead. If the owner has locked you out, the rules are different and are covered in NYC tenant lockout law.
How to answer a landlord who asks for a key
The cleanest response depends on which lock the request is about.
If it is the owner's lock, the one that came with the apartment, the owner already has the key and there is nothing to hand over. If it is a lock you added under §51-c, give a duplicate when asked and keep a record of the date. If you rekeyed the primary lock with the owner's agreement, give the owner and the super a copy of the new key, which is ordinary courtesy and usually what the lease requires.
If it is a lease demand you disagree with, ask for the clause in writing. A lease can require things the statute does not, and it can also contain terms that are unenforceable. A tenant attorney or a legal aid clinic can read a specific clause in minutes, which is cheaper than guessing.
Owners, co-ops and condos are different
Everything above is about renters. If you own your apartment, the unit and its lock are yours, and no landlord holds a key by right. A co-op or condo board can still set rules, covered in co-op door lock rules in NYC: many require the managing agent to hold an emergency key, and some restrict which hardware you can install.
For an owner the practical question is emergency access. A building that cannot get into a unit during a leak may have to force the door, and the repair bill follows the unit. Giving the managing agent a key in a sealed envelope, logged, is the usual way to avoid that. Buildings with doormen often keep such keys in a key log, and asking how yours is stored and who can sign it out is a reasonable request.
When you rekey, what changes for the building
Rekeying the primary lock changes the key that opens it. That is the point, and it is also why the super's old key stops working. Before the visit, ask the owner whether they want a copy of the new key and who should receive it, and get the answer in writing. A rekey takes well under an hour, and giving the owner the new key at the end of it settles the matter. If the door needs more than a rekey, a lock installation or repair visit handles the hardware.
Frequently Asked Questions
Does my NYC landlord have a right to a key to my apartment? The Housing Maintenance Code does not require you to give one. It regulates entry, not keys. The landlord has the key to the lock they installed. If you add your own lock under Multiple Dwelling Law §51-c, you must supply a duplicate key if they ask.
How much notice does a landlord need to enter my apartment in NYC? Twenty-four hours for a code inspection and at least a week in writing for non-urgent repairs. Urgent repairs and emergencies are exempt from the notice rule.
Can my landlord enter in an emergency without notice? Yes, when repairs are immediately necessary to prevent damage to property or injury to people. The owner is still expected to try to contact you another way.
Can I rekey my apartment door lock? With the owner's agreement, yes, and you should give them and the super a new key. Check your lease first, because some require consent or a copy.
What if my landlord enters without notice? Document it with the date, time and who entered, and ask for the reason in writing. A repeated pattern can be raised with HPD or a tenant attorney.
Need Expert Help?
If you have questions about any of the security solutions discussed in this article, our team is ready to provide expert guidance.
Call us at (844) 912-1908 for a free consultation or to schedule a service.