If a roommate has moved out and handed back their keys, rekeying the cylinder is usually the right move - it is faster and cheaper than replacing the lock and it kills every copy of the old key at once. Two things come first, though. Check what your lease says about changing locks and whether your landlord needs to be notified or given a key. And be certain the person has actually moved out rather than simply left for a while, because in New York City locking out someone who still lawfully occupies the apartment is a serious matter with its own law attached.

Rekey or Replace: What the Difference Actually Is

These get used interchangeably and they are not the same job. Rekeying means a locksmith opens the cylinder, changes the internal pins so the old key no longer works, and cuts you new keys. The lock stays on the door. Replacing means the hardware comes off and new hardware goes on.

For a roommate situation, rekeying is almost always the answer. The lock is not broken, you are not upgrading security, and the only thing you need to change is which key opens it. It is the cheaper job and in most apartments it is a short visit. See what rekeying actually involves and the full comparison of rekeying versus replacing.

Replacing makes sense in a narrower set of cases: the lock is worn, sticking or already failing, the cylinder is a cheap one you were going to upgrade anyway, you want a restricted keyway so keys cannot be copied, or you are moving to a keypad or smart lock. If the lock already gives you trouble - a key that needs jiggling, a bolt that catches - do the replacement now rather than paying for a rekey and then a replacement eight months later. See the signs a lock is due for replacement.

Disassembled lock cylinder beside its loose pins, wafers and springs, the parts a locksmith reconfigures when rekeying a lock

Before You Touch the Lock: Whose Door Is It?

This is the step New Yorkers skip, and it is the one that causes problems. The apartment entry door is rarely entirely yours to change on a whim.

  • If you rent, read the lease clause on locks. Many New York leases require the landlord's consent before altering locks, or require that the owner be given a key. Some say nothing at all. Rekeying is a smaller change than replacing hardware and is usually the easier conversation, but have it rather than assume.
  • If the departing roommate is still on the lease, talk to the landlord first. Their name on the lease is a relationship between them and the owner, and it does not end because they packed a van. Removing a leaseholder is paperwork between the tenants and the landlord, not something a lock change resolves.
  • In a co-op or condo, check the house rules too. Boards frequently have requirements about entry door hardware, and apartment entry doors are often fire-rated assemblies where not every lock is permitted - see changing locks in a co-op versus a condo.
  • Know who pays. A roommate change is a tenant-initiated request, so it is normally on you rather than the owner - see who pays for locksmith work, tenant or landlord.

The Situation Where You Should Stop and Get Advice

There is an important line here, and it is worth being plain about. If the person has genuinely moved out - belongings gone, keys returned, everyone agrees they are gone - changing the locks is routine housekeeping. If they have not, it is not.

New York City's unlawful eviction law protects people who lawfully occupy a dwelling, and the protection is not limited to whoever signed the lease. Someone who has lived in the apartment for 30 days or more generally cannot be put out by changing the locks, removing their property or cutting off services; that requires a court. A roommate in the middle of a dispute, a partner during a breakup, or someone who left most of their things behind is a situation to get advice on before calling a locksmith - not after. Our article on what to do when locks are changed on an occupant explains how that law reads from the other side.

This is general information rather than legal advice. If there is any disagreement about whether the person still lives there, speak to a tenant attorney or a housing advocate first. A reputable locksmith will also ask who lives in the apartment and will not help lock out a current occupant - that is a question we are supposed to ask, and a refusal to ask it is a warning sign about the company, not a convenience.

Roommate Moved Out and You Want the Keys Dead?

We rekey apartment cylinders across the five boroughs, usually in a single short visit, and we will tell you honestly when a rekey is enough and when the hardware should be replaced instead. Licensed NYC locksmith, NYC DCA #1362785-DCA.

The Apartment Door Is Not the Only Thing They Could Open

This is the part almost everyone forgets. In a New York building, the apartment key is one credential among several, and rekeying the entry cylinder does nothing to the rest.

  • The building front door key or fob. If they kept it, they can still get into the lobby, the hallway and anything else the fob opens. A fob can usually be deleted from the system without touching anyone else's - see handling a building fob that is out of your control.
  • The mailbox key. Separate lock, separate key, and often the one piece nobody asks for back - see mailbox lock replacement.
  • Storage, bike room, laundry, roof or garage keys. Anything issued by the building. Make a list and work through it rather than assuming the entry door covers you.
  • Smart lock codes and app access. If you run a keypad or smart lock, delete their code and remove them from the app - and check whether they were added as a user who can create codes of their own. A rekey means nothing to a lock that opens on a PIN - see keyless entry in NYC apartments.
  • A spare key somewhere outside the apartment. A lockbox in the hallway, a key with a neighbor, a key at a parent's place. If they know where it is, the rekey has not finished - see whether a key lockbox is safe to use.
  • Interior locks you forgot about. A locking bedroom door, a padlocked closet or a storage cage in the basement. Small, but easy to miss.

The Copies You Do Not Know About

The reason to rekey rather than simply collect keys is that you cannot count copies. A key that lived in a shared apartment for two years has likely been duplicated at least once - for a partner, a dog walker, a family member visiting, or just as a spare that ended up in a drawer. None of that is sinister. It is simply the reason a returned key is not the same as a closed door.

Rekeying resolves all of it in one step, because every copy of the old key stops working regardless of who holds it. If you want to stop the problem recurring, this is also the natural moment to move to a restricted keyway, where keys cannot be cut at a hardware counter without authorization - see restricted keyway locks and where keys can and cannot be copied in NYC. A "do not duplicate" stamp on an ordinary key is a request, not a control.

Timing, Cost and What a Visit Looks Like

Rekeying an apartment cylinder is a short, routine job. A locksmith checks the cylinder is a type that can be rekeyed, pulls it, re-pins it to a new key, refits it, and tests the key from both sides with the door open and closed. Ask for the number of keys you actually need at the time - cutting extras during the visit is simpler than making a second trip. For the detail on pricing, see what rekeying an apartment costs in NYC, and for choosing who does the work, how to choose a locksmith and how to verify a locksmith's license. New York City licenses locksmiths; ours is NYC DCA #1362785-DCA, and any legitimate company will give you theirs without being pushed.

On timing: do it when the move is actually finished, not mid-move. Rekeying while someone is still carrying boxes out produces an awkward situation and often a second visit. If the departure is sudden or the keys are simply gone, treat it as a lost-keys situation instead and act the same day - see what to do about lost apartment keys.

If the Move-Out Is the Whole Household

A roommate leaving and a lease ending are different problems. If everyone is moving out, the lock question becomes an end-of-tenancy question: restoring hardware, returning keys and handing the apartment back in the state the lease requires. That is covered separately in the end-of-lease lock guide and, for the next apartment, what to do about locks after moving in.

Common Questions

Should I change the locks when a roommate moves out?

In most cases you should rekey rather than replace. Rekeying changes the pins inside the existing cylinder so every copy of the old key stops working, which is the actual goal. Replacing the hardware only makes sense if the lock is worn, you are upgrading security, or you want a keyway whose keys cannot be copied.

Can I change the locks without telling my landlord in NYC?

Check your lease before you do. Many New York leases require consent to alter locks or require that the owner be given a key, and co-op and condo house rules often govern entry door hardware as well. Rekeying is usually an easier conversation than replacing hardware, but have it rather than assume.

My roommate is still on the lease. Can I lock them out?

No, and this is the situation to get advice on before calling anyone. New York City's unlawful eviction law protects people who lawfully occupy a dwelling, generally including anyone who has lived there 30 days or more, and removing a lawful occupant requires a court rather than a lock change. Speak to a tenant attorney or housing advocate first.

They gave the key back. Do I still need to rekey?

A returned key only accounts for the copies you know about. Keys that lived in a shared apartment for a year or two have usually been duplicated at some point, often for perfectly ordinary reasons. Rekeying ends every copy at once, which collecting keys cannot do.

What else should I change besides the apartment door?

The building key or fob, the mailbox key, any storage, bike room, laundry or roof keys, smart lock codes and app access, and any spare key held outside the apartment. The entry cylinder is one credential among several, and rekeying it does nothing to the others.

How long does rekeying an apartment lock take?

For a standard apartment cylinder it is a short visit rather than a project - the lock stays on the door and only the internals change. Ask for all the keys you need during that visit so a second trip is not required. Call (718) 412-1332 and we can tell you what your lock type needs.

Related Resources