How to Change a Door Lock Cylinder: Steps, Tools and When to Rekey Instead
Yes, you can change a door lock cylinder yourself with a screwdriver in under an hour on most standard residential locks. Remove the lock parts that hold the cylinder, swap in a cylinder that matches your lock's brand, size and tailpiece, then reassemble and test with the door open. If you only need new keys, rekeying is often simpler than replacing anything.
Can you change a door lock cylinder yourself?
For most homeowners, yes. Standard knob locks, lever locks and deadbolts are built to be serviced with basic hand tools, and the cylinder is usually the easiest part to swap. You do not need special training for a common residential lock.
Some situations call for a locksmith instead. High-security locks, mortise locks set deep in older doors, and smart locks with wired parts can be harder to work on. The same goes for a lock that is damaged or jammed so the key will not turn at all.
If you rent, read the apartment section below before you touch anything. Your lease may decide who is allowed to change the lock.
Cylinder, rekey or whole lock: which job do you need?
Before you start, decide what you are really fixing. The cylinder is the part your key slides into. The rest of the lock, such as the latch, bolt and trim, can stay in place when you only replace the cylinder.
Rekeying changes the inside of the cylinder so a new key works and the old key does not. People often ask whether you can get door locks rekeyed, and the answer is yes. A locksmith can do it, and many lock brands sell rekey kits for their own models.
| Option | Best for | Effort | Watch out for |
|---|---|---|---|
| Rekey the existing cylinder | Lost keys, new home, old keys held by others | Low to medium | Needs a kit made for your lock brand |
| Replace the cylinder only | Worn, sticky or damaged cylinder | Medium | New cylinder must fit your lock model |
| Replace the whole lock | Loose hardware, bad finish, upgrade wanted | Medium | Check door prep, bore size and backset |
What to check before you buy a replacement
Cylinders are not universal. A mismatch is the most common reason a swap fails, so take a few minutes to confirm the details. Photographing the old lock before you remove it helps when you compare parts.
- Brand and model: Look for a name on the lock face or latch edge. Many brands use their own keyway and cylinder shape.
- Type: Knob cylinders, deadbolt cylinders and mortise cylinders are different parts.
- Length: The cylinder has to be long enough to reach through your door thickness and engage the lock.
- Tailpiece: This is the small bar or cam on the back of the cylinder. It must match your lock so it can move the bolt or latch.
- Keying: Decide whether you want a single new key or several locks that share one key. Buy cylinders keyed alike if you do.
How to change a deadbolt cylinder, step by step
The steps below fit the common deadbolt with a thumb turn on the inside. Work with the door open, and keep it open the whole time. Never remove the only working lock while you are outside the house.
Wear safety glasses. Small springs and pins can pop out when parts come apart, and eye protection is a cheap precaution.
- Extend the bolt by turning the key, then take off the interior thumb turn. It is usually held by two screws.
- Remove the mounting screws that hold the interior and exterior sides together. Pull the exterior cylinder out through the door.
- Compare the old cylinder to the new one. Lay them side by side and check length and tailpiece shape.
- Set the new cylinder in place with the tailpiece in the same position as the old one. Many deadbolts need the tailpiece horizontal or vertical before you insert it.
- Reattach the interior assembly and tighten the screws evenly. Do not overtighten, or the bolt may bind.
- Test the key and the thumb turn several times with the door open. The bolt should move smoothly all the way in and out.
How to change a knob or lever cylinder
Knob and lever sets work a little differently. In many designs, the cylinder sits inside the outer knob or lever and is held by a small clip, a retaining pin or a cap. Look closely for a tiny slot or hole near the base of the handle.
Insert the key and turn it slightly, as the lock's instructions describe, to release the catch. Then slide the cap or cylinder out. Fit the new cylinder in the same orientation, push it until it seats, and check that the handle still turns the latch.
Because the release method varies by brand, find the instructions for your model. Brand sites often post them, and matching the instructions to your exact lock saves you from forcing parts that were never meant to be forced.
Changing a door lock in an apartment
Can you change the door lock on an apartment? Often you can, but not always on your own say-so. Many leases require written permission from the landlord, and some rules differ by state, so check your lease and local tenant rules first.
A good compromise is rekeying instead of replacing, since the original hardware stays in the door. Whatever you do, keep the old cylinder. If you move out, you may need to put the original back, and your landlord may need a working key.
Do not drill or cut a lock on a door you do not own. If the lock is broken, tell the landlord and let them arrange the repair.
Safety notes and final checks
Keep your work area stable. If the door is a heavy exterior door, support it with a wedge so it does not swing while you are leaning in. Use a ladder only if the lock is truly high, and keep both feet on the steps.
Smart locks and keypad locks run on batteries or low-voltage wiring. Remove batteries first, and turn off power at the breaker if the lock is wired into your home's system.
When you finish, test the lock with the door open, then closed, and have a spare key ready before you go outside to try it. If you are shopping for new hardware at the same time, our best door lock page compares models side by side. For a gate rather than a door, see best gate lock. Most latches there accept a padlock rather than a keyed cylinder.
Frequently asked questions
How long does it take to change a lock cylinder?
A first-timer should plan for about an hour for one deadbolt, mostly for checking parts and test fitting. A second lock usually goes faster once you know the layout.
Do I need to change the whole lock if the key is stuck?
Not always. A stuck key may come from dirt, a worn key or a failing cylinder. Try a graphite-based lock lubricant and a fresh key copy first. If that fails, replace the cylinder.
Will a new cylinder work with my old keys?
No, unless it is keyed to match them. A new cylinder comes with its own keys, so ask for a keyed-alike set if you want several locks on one key.
Should I call a locksmith for a lockout?
Yes. Do not take apart a lock to get in unless you can fix it afterward. A locksmith can open the door and often rekey the lock on the same visit.
National Hardware N184-861Best overall
HTHOOOOOME N-Gate Latch-1Flexible swing and mounting
HILLMASTER 0011Full-size with 12 screws