How to Change Code on Door Lock? | New PIN, Step by Step

Changing a door lock code means entering programming mode, then entering a new PIN—but the exact steps depend on the lock type.

Knowing how to change code on door lock is a practical skill every homeowner should have. A code you can update yourself means you can revoke access for a former houseguest, a contractor, or a lost key fob without replacing the whole lock. The process varies by lock class—electronic keypad, smart app-connected, or mechanical—but each follows a clear sequence.

Below are the verified methods for each type, plus the common mistakes that lock people out of their own homes.

Electronic Keypad Locks: The Universal Sequence

Most electronic keypad locks follow the same programming pattern. Keep the door open while you work, so a failed code never traps you outside.

  1. Unlock and open the door.
  2. Enter the master or programming code on the keypad.
  3. Press the Lock button.
  4. Press 1 to enter user-code mode.
  5. Type the new user code.
  6. Press Lock again to save.

Two beeps confirm the new code is stored. Three beeps means it was rejected—check the digit length and try again.

Some locks, like the Yale Keyless series, use a slightly different rhythm: open with the existing personal code followed by #, press *, enter the new code, then press #. The administrator code changes the same way, using the admin PIN instead.

Smart Locks: Changing Codes in the App

App-connected locks skip the keypad entirely. In the Yale app, for example, open Settings > Lock settings > Lock user code settings. Pick a user slot (1–10), assign a name, and issue a new PIN. Choose Save for a permanent code or Schedule to limit access to certain days and times.

To remove a code, repeat the flow and delete or disable the slot. You must be signed into the administrator account to make changes.

For RV-style locks, a physical button often handles resets.

Mechanical Code Locks: Internal Tumblers

Mechanical push-button locks (like the CL100/CL200 series) have no electronics. Instead, you physically rearrange internal components:

  1. Remove the lock from the door.
  2. Remove the back cover or plate.
  3. Press the C button to reset the chamber.
  4. Remove the code chamber plate.
  5. Reposition the red-tipped and blue-tipped tumblers to match the new combination.
  6. Replace the plate, test the code, then reinstall the lock.

If the lock uses colored chips instead of tumblers, the logic is identical: move the blue and red chips to their new positions, reassemble, and test before reinstalling.

Factory-reset options vary.

Common Mistakes That Cause Lockouts

Mistakes here cost time and sometimes a locksmith call. The main offenders:

  • Entering the new code before the lock is in programming mode. The sequence matters—type the master code first.
  • Closing the door during setup. Always test the new PIN before shutting yourself out.
  • Using the wrong code length. Verify your model’s spec: some take 4 digits, others accept 4–10, still others allow 6–12.
  • Assuming the factory default is universal. Defaults include 1234, 123456, 0123, and 12345678 depending on the brand. Check your manual.
  • Skipping the admin-code requirement. Many locks won’t let you change a user code without entering the master code first.

If you’re comparing models for a new install, our roundup of the best code door locks covers which types are easiest to reprogram at home. The right lock makes code changes a two-minute job instead of a research project.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.