This guide shows how to change code on keypad door lock models from Schlage, Kwikset and Yale, with the exact button sequence for each. In short, you put the lock into programming mode with your master or programming code, enter the new code twice, and wait for the confirmation beep and light. What follows is brand by brand, then the fixes for codes that refuse to save.
People usually land here in one of three situations. A guest, tenant or contractor still knows the old code, the lock is running its factory code, or nobody remembers the master code. Each one takes a few minutes to fix, and none of them needs a locksmith.
Programming sequences are strict. A wrong key press can leave the lock waiting for input, and some Kwikset models give up after about 20 seconds. Stand at the open door with fresh batteries, read the section for your brand once, then follow it step by step.
How to change code on keypad door lock models: what to prepare
- Check the brand name on the keypad. The model number is in the manual or on a sticker inside the battery compartment, and it decides which steps apply.
- Install fresh batteries. A weak battery is a common reason a lock ignores a programming sequence, and the reset procedures below are even less forgiving.
- Stay inside with the door open while you program, so a bad sequence cannot lock you out.
- Have your current master or programming code ready. If you do not have it, jump to the reset steps for your brand.
- Decide the new code first. Pick something you can remember that nobody else could guess.
- Test the new code from outside, with the door still open, before you rely on it.
Which steps apply to your lock
Keypad locks fall into two groups. Older models are programmed on the lock itself, with a master code and a short key sequence. Newer connected models are managed in the maker’s app and may not accept code changes from the keypad at all. This table shows where each common model sits, so you know how to change code on keypad door lock hardware like yours.
| Brand and model | Where you change codes | Code length and capacity |
|---|---|---|
| Schlage BE365, FE575, FE595 | On the keypad, with a 6-digit programming code | 4-digit user codes, up to 19 |
| Schlage Encode and other connected models | In the Schlage Home app | Set in the app |
| Kwikset SmartCode 914 and 888 | On the keypad, with the Program button | 4 to 8 digits, 30 codes |
| Kwikset Powerbolt 2 | On the keypad, with the master code | 16 codes |
| Kwikset Halo and Aura | In the Kwikset app | Halo supports up to 250 codes through the app |
| Yale Assure YRD216, YRD226, YRD256 | On the keypad, with the master entry code | 4 to 8 digits, 25 codes without a smart module (12 on some models), 250 with one |
| Yale Assure Lock 2 | In the Yale Access app | Set in the app |
If your model is not listed, the printed programming guide that came with the lock is the authority. Brands change button labels between generations, and some older Yale models use a # key where newer ones have a gear key.
How to change the code on a Schlage keypad lock (BE365, FE575, FE595)
These three models use two kinds of code. The programming code has six digits and puts the lock into programming mode. User codes have four digits, and the lock stores up to 19 of them. The Schlage button on the keypad doubles as a status light: orange means the lock is in programming mode, green means a code was accepted or the process finished, and red means a wrong code was entered.
The lock ships with default codes. The default programming code and the preset user codes are printed on the front of the programming guide and on the back of the keypad assembly, so keep both. Schlage cannot recover lost default codes, and you need them for a reset.

Add a new user code
- Enter the 6-digit programming code. Wait for three orange lights and three beeps.
- Press the Schlage button. The keypad turns blue.
- Press 1. Wait for three orange lights and three beeps again.
- Enter the new 4-digit user code, then enter it a second time.
- One green light and a long beep confirm the code was added.
The new user code cannot share its first four digits with the programming code, which is easy to forget when both are similar. Schlage locks have no edit function. To replace a code, delete the old one first, then add the new one.
Delete one user code
- Enter the programming code, then press the Schlage button.
- Press 2.
- Enter the 4-digit code you want to remove, then enter it again.
- One green light and a long beep confirm the deletion.
Delete all user codes
Use this after a tenant moves out, or when you no longer know who has which code.
- Enter the programming code, then press the Schlage button.
- Press 6, then enter the programming code again to confirm.
- One green light and a long beep mean every user code is gone.
Add at least one new user code before you close the door, since the old ones no longer work.
Change the programming code
- Enter the current 6-digit programming code, then press the Schlage button twice.
- Enter the new 6-digit programming code, then enter it again.
- One green light and a long beep confirm the change.
The first four digits of the new programming code cannot match any user code already stored in the lock. If you slip in the middle of a sequence, press the Schlage button repeatedly until the keypad turns blue, then start over.
If you forgot the programming code
Look for the defaults first. If you never changed them, they are in the guide and on the keypad assembly. If you changed the programming code and lost it, a factory reset restores the defaults and erases everything else.
- Find the default programming code and default user codes before you start. Without them, the reset leaves you with a lock you cannot program.
- Disconnect the battery.
- Press and release the Schlage button once.
- Within 10 seconds, reconnect the battery. The Schlage button lights green for about a second.
- Right away, press and hold the Schlage button until it lights green and the lock beeps.
- Test with a default user code. If the lock does not unlock, repeat from step 3.
- Change the programming code immediately, using the steps above.
Schlage’s support article describes more than one press in step 3, while the printed guide shows a single press. If one version fails, try the other and keep to the 10-second window. These models have no reset hole or hold-to-reset button, so there is nothing to look for on the lock body.
What the red flashes mean
- Two red flashes mean the code is invalid, or the second entry did not match the first.
- One low red flash means vacation mode is on or too many wrong codes were entered. Wait 30 seconds and try again.
- A blinking red light with no input means the battery is critically low. Replace it before you try anything else.
Connected Schlage locks, including the Encode models in our guide to the best smart locks for Airbnb, work differently. You add, edit and delete codes in the Schlage Home app instead of on the keypad. Schlage also publishes programming guides and videos for each model on the Allegion support site.
How to change the code on a Kwikset SmartCode lock
Kwikset locks use a Program button on the interior battery pack, and user codes run from 4 to 8 digits. Most models ship with a master code of 0000, and most guides advise changing it right after setup. The steps below cover the SmartCode 914 and 888, which share a procedure, and the Powerbolt 2.
The SmartCode 909, 910 and 916 differ in one way that matters. On the 916 touchscreen, you must use the master code whenever you add or delete codes. On the 909, the master code is optional and adds security. Check the guide for your model before you begin.

Add or replace a user code (SmartCode 914 and 888)
- With the door open, press the Program button once.
- Press the lock button.
- Enter the new code.
- Press the lock button again.
- One beep and a green flash mean it worked. Three beeps and a red flash mean it failed.
Duplicate codes are the usual cause of a failure, because every user code must be unique. There is no separate edit function. To change a code, enter a new one in the same slot and it overwrites the old one. Some Kwikset guides pick the slot by the number of times you press Program, so check yours if the new code seems to land in the wrong place.
Delete one user code (SmartCode 914 and 888)
- Press the Program button once.
- Press the lock button.
- Press 3, then press the lock button.
- Enter the code you want to delete.
- One beep confirms the deletion.
Change the master code (SmartCode 914 and 888)
- Press the Program button once.
- Press the lock button.
- Press 0, then press the lock button.
- Enter the new master code, then confirm it.
Powerbolt 2
- To add or replace a code, enter the master code, press 1, enter the new code, then enter it again to confirm.
- Single codes cannot be deleted. Enter the master code, press 5 and confirm. Two beeps mean every user code is gone.
- To change the master code, enter the current master code, press 0, then enter and confirm the new one.
Factory reset a Kwikset lock
- SmartCode 914 and 888: remove the battery pack, hold Program while you reinsert it, release when the lock flashes and beeps, then press Program once more. The lock runs its door handing process automatically.
- Powerbolt 2: open the battery cover with no batteries in it, insert the batteries, then hold the interior reset button for 10 seconds until you hear three beeps.
Halo and Aura locks are managed in the Kwikset app, where you edit codes in the access codes section. Halo also accepts codes from the keypad using the SmartCode 914 steps above. Kwikset keeps model-specific answers on its support site, including how to delete a single code on the 909, 910, 911 and 912.
How to change the code on a Yale Assure lock
Yale Assure keypads use a master entry code to unlock the settings menu. It takes 4 to 8 digits. Yale’s installation guides suggest a master code of six or more digits, kept separate from the code you use every day. Entry codes use the same 4 to 8 digit range. Without a smart module the lock holds 25 entry codes (12 on some models), and with one it holds up to 250.
The steps below cover the first-generation Assure models YRD216, YRD226 and YRD256. Older units may have a # key where newer ones have a gear key.

Add an entry code
- Wake the keypad by touching it, then enter the master code.
- Press the gear key, then 2, then the gear key again, then 1, then the gear key.
- Enter the new entry code, 4 to 8 digits, and press the gear key.
- Repeat for each extra code, then exit with the checkmark button.
Delete entry codes
- Wake the keypad and enter the master code.
- Press 2, then the gear key, then 3, then the gear key.
- To delete one code, enter it and press the gear key. You must know the code you want to remove.
- To delete every entry code, press 0 twice, then press the gear key twice. This does not delete the master code.
Change the master code
- Enter the current master code, then press the gear key to open menu mode.
- Press 1, then the gear key.
- Enter the new master code and press the gear key to confirm.
The Assure Lock 2, like the Nest x Yale and Yale Linus, is reported to accept code changes only through the Yale Access app, not from the keypad. If you own one, open the app, select the lock and manage entry codes there. We cover that lock in our Airbnb smart lock guide because it syncs with Airbnb listings. Factory reset steps vary by model, so use the manual for yours.
Why the new code will not work
Most failed code changes come down to a short list of causes. Work through them in this order.
- Weak batteries. Replace them before you try again, since low power produces beeps, red flashes and ignored key presses that look like a programming error.
- Duplicate or overlapping codes. Kwikset requires every user code to be unique, and Schlage rejects a code whose first four digits match the programming code.
- A timeout. Some Kwikset models give up after about 20 seconds, so enter the code at a steady pace.
- A lockout. On Schlage locks, vacation mode or too many wrong attempts produces a single low red flash. Wait 30 seconds.
- An overwritten slot. Kwikset replaces whatever code sits in the slot you program, so a new code can quietly erase an old one.
- A reset you forgot about. After a factory reset, every custom code is gone and the defaults are back, so re-add the codes you need.
Choosing a code you will not regret
Once you know how to change code on keypad door lock settings, the code you pick matters as much as the process. 0000 and 1234 are the first things anyone tries, and birth years and repeated digits are close behind. Where the lock allows it, use more digits: Kwikset and Yale accept up to eight, while Schlage user codes stay at four, so Schlage owners should rotate codes more often.
Give yourself a master code that you never use at the door, and a separate everyday code. If the everyday code leaks, you can delete it without touching the master code.
Change codes when the situation changes: a tenant leaves, a contractor finishes, a guest checks out, a phone with the code in it goes missing, or you have reset the lock. Beyond those events, Schlage’s user guide recommends changing user codes periodically so the buttons wear evenly, which also keeps worn keys from hinting at the digits.

If you change codes all the time
Manual programming is fine for a family front door. It gets tedious for a rental, an office or a house with regular visitors. In those cases a lock that issues time-limited codes from an app saves the sequence entirely, and our guide to smart locks for Airbnb compares the ones that generate a fresh guest code for each booking. If you only need a sturdier keypad, the best keypad door locks and the best fingerprint door locks are the better places to start. Sliding patio doors need their own hardware, covered in our guide to smart locks for sliding doors.
Frequently asked questions
How do I change the code on a keypad door lock if I forgot the master code?
You cannot enter programming mode without it, so you reset the lock to factory settings instead. A reset restores the default programming or master code and erases your custom codes. Check the defaults first, since Schlage prints them in the guide and on the keypad assembly. The reset steps for Schlage and Kwikset are in the sections above, and Yale publishes the procedure for each model in its manual.
Can I change the code on my keypad door lock from my phone?
Only on connected models. Schlage connected locks use the Schlage Home app, Kwikset Halo and Aura use the Kwikset app, and the Yale Assure Lock 2 uses the Yale Access app. Older keypad-only models, such as the Schlage BE365, are programmed on the lock itself.
How often should I change my door code?
Change it whenever someone who knew it should no longer have access: a tenant moves out, a contractor finishes, a guest checks out. Beyond those events, Schlage’s user guide recommends changing user codes periodically so the buttons wear evenly. For rentals, rotating the code after every stay is common practice, and some smart locks do it automatically.
Will changing the code lock me out?
It can if a sequence goes wrong, which is why the steps say to stay inside with the door open and test the new code before you close it. If your lock has a physical key, keep it with you until the new code works.
Why does my lock flash red or beep three times when I program a code?
The lock rejected the entry. On a Schlage, two red flashes mean an invalid code or entries that did not match, and one low red flash means vacation mode or too many wrong attempts. On a Kwikset, three beeps and a red flash mean programming failed, often because the code duplicates an existing one or the sequence timed out. Low batteries produce the same symptoms, so replace them first.
Do I have to reset the lock to change the code?
No. A reset is only for a lost master or programming code. If you know the current code, changing it takes one short sequence, and the lock keeps your other codes.
The short version
Learning how to change code on keypad door lock hardware is mostly learning one pattern, and it repeats on every brand: enter programming mode, key in the new code twice, and wait for the lock to confirm. Schlage BE365, FE575 and FE595 use a 6-digit programming code and 4-digit user codes. Kwikset SmartCode locks use the Program button and accept 4 to 8 digits. Yale Assure keypads use a master entry code and the gear key, and the Assure Lock 2 moves all of it into the app.
Work at the open door with fresh batteries, test the new code before you walk away, and keep your default codes somewhere safe. If your lock is old or the keypad is worn, the best keypad door locks list has replacements worth installing.






