Rekeying and Reprogramming Door Locks Safely

How to Reprogram Door Lock Safely

“Reprogramming” a door lock can mean two different things: rekeying a regular lock so new keys work, or changing the code on an electronic or smart lock. Both are doable, but each has a few traps. Here’s how to do it safely.

Regular locks: rekeying

Rekeying swaps the pins inside the cylinder so old keys stop working. Some locks have a “smart key” rekey feature where you can do it yourself with the working key and a tool. Traditional locks need to be taken apart, and the small springs and pins are easy to lose.

Electronic and smart locks

  • Change codes from the lock’s admin settings or app, not by guessing button sequences.
  • Keep the master or admin code somewhere safe. Losing it can mean a factory reset, which erases all codes.
  • Replace batteries on a schedule. A dead lock with no key backup means a lockout.

Car door locks

On cars, the remote and keys are programmed to the car, not the door lock itself. If a key is lost or stolen, the fix is to program new keys and erase the old one. If the door lock cylinder is worn, it can be rekeyed or replaced to match your key.

When to call a locksmith

  • You’re locked out because of a dead battery or lost code
  • The lock is damaged or worn
  • A car key was lost or stolen and you want it erased

See rekey vs. replace and door lock repair.

Need help in the Phoenix area?

Call 602-586-5999. Eric comes to you and gives you the price on the phone first. Hours: Sun 9 AM–2 PM, Mon–Thu 7 AM–7 PM, Fri 7 AM–4 PM.

Helpful Questions

Can I rekey a lock myself?

Some locks have a self-rekey feature. Others need to be taken apart, which is easier for a locksmith.

What if I forget my smart lock’s admin code?

You may need a factory reset. Use a physical key or call a locksmith if you’re locked out.

How do I stop a lost car key from working?

Have new keys programmed and the old one erased from the car.