
Changing Locks After Buying a House in NYC: Where to Start
Yes, change or rekey every exterior lock in the first week after closing, and reset every code while you are at it. The keys handed over at the closing table are almost never all the keys. Rekeying keeps the hardware you have and costs $85 to $150 per door; replacing a lock runs $125 to $450 per opening, and only some doors need it.
That is the short version. The rest of this guide covers who still has keys to a house you just bought, the doors people forget, the codes that work like keys, and the one situation where a new owner may not change a lock at all.
Who still has a key to your new house
Think about how many people needed to get in over the last few years, and how few of them handed a key back.
- The sellers and their family. Adult children, a parent, an ex, the neighbor who watered the plants.
- Help. Dog walkers, cleaners, home aides, babysitters.
- Contractors. Anyone who renovated, painted or fixed the boiler, plus whoever they gave a copy to for a day. The contractor key control guide explains why one key handed to a contractor is rarely one key.
- The sale itself. Agents, inspectors, appraisers and the lockbox that held a key for weeks.
- Former tenants. Many houses in Queens, Brooklyn and the Bronx had a rented unit at some point, and tenant keys are the least likely to have been collected.
You cannot track down all of them, and you do not need to. Changing the pins makes every one of those keys useless at once.
Rekey or replace, door by door
For most doors, rekeying is the right job. The locksmith changes the pins inside your existing cylinders, cuts new keys, and the old keys stop working. The hardware stays, so the cost stays low.
Replace instead when the hardware itself is the problem: a deadbolt that was forced at some point, a worn cylinder that drags, builder-grade hardware on the front door, or a lock that cannot be rekeyed at all. The post on which locks can be rekeyed covers how to tell. Replacement is also the moment to move up a grade, add a longer strike plate, or switch the front door to a high-security cylinder.
If the house has a mix of brands, ask for everything keyed alike. Locks that share a keyway can run on one key; an odd one out may need a new cylinder first.
The doors people forget
The front door gets rekeyed. These often do not.
- The back and side doors, including the door from the yard into the kitchen that nobody locks.
- The basement or cellar door, inside and out. Row houses often have an exterior cellar door or an entrance under the stoop with its own key.
- The door between the garage and the house. If the garage opens, this door is the house's front door.
- Gates. A side gate or front gate with a keyed lock, often on a different key from everything else.
- Sliding and patio doors. Their built-in latches are weak; a secondary lock is worth adding.
- The mailbox. A house with a locking mailbox has one more key in circulation. Mailbox lock replacement starts at $95.
- Storage, sheds and the boiler room, if they lock.
Walk the house once with a pad and write down every keyhole. That list is the job.
Codes are keys too
A house bought in the last decade probably has more codes than keys.
Garage door openers. Most openers store the remotes and keypad codes they have learned. Clearing that memory, usually by holding the opener's learn button until its light changes, removes every old remote at once; then re-pair your own. The opener's manual has the exact steps for your model.
Keypad and smart locks. Reset them to factory settings, set new codes, and make sure the previous owner's account no longer controls the lock in its app. A smart lock still registered to someone else is a key you did not get handed. If it also has a keyhole, rekey that cylinder like any other.
The alarm. Change the master code and user codes, and transfer the monitoring account into your name. The installer or monitoring company can tell you whether the seller still has access to the system remotely.
Building or community access. Fobs and gate codes for a shared driveway or a townhouse complex are controlled by whoever runs them. Ask for old credentials to be turned off.
A two-family house with a tenant: their door is not yours to change
Many NYC buyers buy a two-family house with a tenant already in place. You inherit the tenancy, and you may not change the tenant's locks or lock them out of their unit, even though you now own the building.
The size of the building does not get you out of this. New York's Multiple Dwelling Law, with its tenant lock rules, starts at "three or more families living independently of each other" (§4(7)), but the city's unlawful eviction law covers any dwelling unit. NYC Administrative Code §26-521 makes it unlawful to evict or try to evict "an occupant of a dwelling unit who has lawfully occupied the dwelling unit for thirty consecutive days or longer" without a court order, and it names the lock specifically: "changing the lock on such entrance door without supplying the occupant with a key." Under §26-523 a violation is a class A misdemeanor, with civil penalties of $1,000 to $10,000 for each violation.
The Housing Maintenance Code points the same way. It requires the owner of a dwelling to "provide a key lock in the entrance door to each dwelling unit and at least one key" (§27-2043). The tenant's lock is now yours to maintain, not yours to take away.
What you can do is rekey the doors that belong to you: your own unit, the basement if it is not part of the lease, and any common entrance, provided the tenant gets a working key to every door they are entitled to use. The guide to illegal lockouts in NYC covers what happens when an owner gets this wrong, and it is expensive.
Bought a co-op or condo instead
An apartment purchase is a smaller job: your unit door, possibly a storage cage and a mailbox. The building controls the front door, the fobs and often the rules about who must hold a key to your unit. Before rekeying, read the board's rules on locks, which the co-op door lock guide summarizes, so the super's copy works on the new cylinder.
What it costs for a typical NYC house
Rekeying is priced per door, and one visit covers the whole house, so the service call is paid once.
| House | Typical NYC price |
|---|---|
| Three exterior doors, knob and deadbolt each, rekeyed | $255 to $450, plus one service call |
| Add a new front deadbolt instead of rekeying it | $125 to $450 for that opening |
| Front door upgraded to a high-security cylinder | $225 to $500 for that opening |
| Smart lock installed on the front door | $275 to $500 |
| Locking mailbox replaced | From $95 |
The service call depends on the hour: $60 from 8 a.m. to 6 p.m., $90 from 6 p.m. to 10 p.m., and $125 from 10 p.m. to 8 a.m. A closing date is known weeks ahead, so book the visit in business hours. Spare keys cost $30 to $85 each depending on the key, and the key copy price guide explains the spread.
The order to do it in
- Closing day or the next morning: rekey the front and back doors, so the keys you were handed stop being the only working ones.
- The same week: clear the garage opener, reset keypad and smart lock codes, and change the alarm codes.
- The same visit, ideally: the side, basement, garage-entry and gate locks, so everything runs on as few keys as possible.
- Then decide on upgrades: a better front deadbolt, a reinforced strike, or a high-security cylinder. The door reinforcement guide covers what a strike plate and long screws add.
- Count your keys: cut the spares you need, label nothing with the address, and know exactly who holds each one.
Frequently Asked Questions
Should I change the locks after buying a house? Yes. You cannot know how many keys the previous owners, their family, contractors and agents still hold. Rekeying every exterior door makes all of those keys useless for $85 to $150 a door.
Is it better to rekey or replace locks on a new house? Rekey when the hardware works well; it is cheaper and the security result is the same for the key question. Replace when a lock is worn, damaged, builder-grade or cannot be rekeyed.
How much does it cost to change all the locks in a house? For a house with three exterior doors, rekeying runs $255 to $450 plus one service call, which is $60 during business hours. Replacing hardware or adding a high-security front door adds to that per opening.
Do I need to change the garage door code after buying a house? Yes. Clear the opener's stored remotes and keypad codes, then pair your own. Old remotes are keys to the garage, and often to the house through the inside door.
Can I change the locks on the tenant in my new two-family house? No. You inherit the tenancy, and locking a tenant out of their unit is an illegal eviction in New York City. You can rekey your own doors and shared entrances as long as the tenant gets working keys.
Can I rekey the locks myself? On a house you own, you can swap hardware yourself. The post on whether you need a locksmith to change locks covers what is a DIY job and what is not.
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.