What you're replacing and why it matters

A lock cylinder is the part of your door lock that you insert your key into. It's a metal tube that rotates when the correct key turns it, and that rotation triggers the bolt to lock or unlock. When a cylinder stops working—the key sticks, won't turn, or turns without locking the door—you can replace just that part instead of replacing the entire lock mechanism.

Replacing a cylinder is one of the simplest lock repairs a homeowner can do. You don't need special tools, and the job takes 10 to 15 minutes. The cylinder itself costs between $15 and $40 for a standard residential lock. If you're not comfortable doing it, a locksmith will charge $75 to $150 for the same work, so this is a good candidate for a DIY fix.

The one thing you need before you start: a cylinder that matches your lock brand and type. If you don't know what you have, take a photo of your lock and bring it to a hardware store, or call a locksmith for a 5-minute identification over the phone.

Key Takeaways

  • A lock cylinder is the rotating metal tube you insert your key into; replacing it is faster and cheaper than replacing the whole lock.
  • You need the correct cylinder for your lock brand and type—take a photo to the hardware store if you're unsure.
  • The job requires only a screwdriver and takes about 15 minutes; no special tools or skills are needed.
  • If the cylinder is stuck or damaged, you may need to remove the entire lock body from the door first.
  • A locksmith can do this in minutes if you prefer not to attempt it yourself.

Gather your tools and the replacement cylinder

Before you touch your door, have everything in front of you. You need a screwdriver (usually Phillips head, but check your lock first), the new cylinder, and your old key. That's it. Some locks have a small retaining pin or set screw that holds the cylinder in place; if yours does, you'll need a screwdriver small enough to fit it.

The replacement cylinder must match your lock. Look at the brand name stamped on the lock body—Kwikset, Schlage, Master Lock, or another brand. The cylinder for a Kwikset lock won't fit a Schlage lock. If you're not sure, take a close-up photo of the lock face and the side of the lock body to the hardware store, or call a local locksmith and describe it over the phone. They can tell you in seconds what you need.

Test the new cylinder with your key before you install it. Insert your key and turn it smoothly in both directions. If it sticks or doesn't turn, it's the wrong cylinder or it's defective—return it and get the right one.

Remove the lock body from the door (if needed)

Some cylinders can be removed without taking the lock off the door. Others require you to remove the entire lock body first. Check by looking at the inside of your door. If you can see a small retaining pin or set screw on the side of the lock body, you can remove the cylinder without removing the lock. If you can't see one, or if the cylinder is stuck, you'll need to remove the lock body.

To remove the lock body, locate the screws on the inside of the door that hold the lock in place. There are usually two—one above and one below the lock. Remove both screws and pull the lock body straight out toward you. The cylinder will come with it. Set the lock body on a flat surface where you can work on it.

If you're uncomfortable removing the lock body, or if it's stuck, stop here and call a locksmith. Forcing a stuck lock can damage the door or the lock mechanism, and a locksmith will charge less than the cost of repairing that damage.

Push out the old cylinder

Insert your old key into the cylinder and turn it a quarter turn to the right (about 90 degrees). This positions the internal pins so the cylinder can slide out. Do not force the key or turn it more than a quarter turn—you're just positioning the pins, not unlocking anything.

Look for a small retaining pin on the side of the lock body, usually near the cylinder. If you see one, use a small screwdriver to push it in while you gently pull the cylinder toward you. The cylinder should slide out smoothly. If there's no visible pin, try pulling the cylinder straight out with steady pressure. It should come free without much force.

If the cylinder won't budge, it may be stuck due to rust or debris. Spray a small amount of penetrating oil (like WD-40) around the edge where the cylinder meets the lock body, wait 10 minutes, and try again. Do not hammer or pry—that will damage the lock body.

Insert the new cylinder

Before you insert the new cylinder, turn your new key a quarter turn to the right, just as you did with the old one. This positions the pins inside the new cylinder so it will slide in smoothly. Insert the cylinder straight into the opening, pushing it in with steady, even pressure until you hear or feel a click. The cylinder should sit flush with the lock body—no part of it should stick out.

If the cylinder won't go in all the way, stop and check two things: first, make sure your key is still turned a quarter turn to the right; second, make sure you have the correct cylinder for your lock brand. If both are correct and it still won't fit, the cylinder may be slightly misaligned. Withdraw it, turn your key back to center, and try again.

Once the cylinder is fully inserted, look for the retaining pin hole on the side of the lock body. If your lock has one, push the retaining pin back in to lock the cylinder in place. You should hear a small click.

Test the new cylinder and reinstall the lock

Turn your key in the new cylinder in both directions. It should turn smoothly without sticking. If it does stick, the cylinder may not be fully seated. Remove it and try again, making sure it's pushed all the way in.

Once the cylinder turns freely, turn your key back to the center position (straight up and down) and remove it. This is the neutral position and the safest way to reinstall the lock.

If you removed the lock body from the door, slide it back into the opening and replace the two screws that hold it in place. Tighten them firmly but don't over-tighten—you can crack the lock body. Test the lock from both sides of the door with your key to make sure everything works.

What to do if the cylinder is stuck or damaged

If the old cylinder won't come out, or if you can see visible damage to the lock body, stop and call a locksmith. Trying to force a stuck cylinder can break the retaining pin, crack the lock body, or damage the door. A locksmith has tools to remove stuck cylinders without damage and can tell you whether the lock body itself needs to be replaced.

If you've removed the lock body and can see that the cylinder opening is cracked, corroded, or misshapen, the lock body will need to be replaced, not just the cylinder. This is a job for a locksmith or a full lock replacement.

If the new cylinder turns but the bolt doesn't lock or unlock, the lock body itself may be broken. Again, a locksmith can diagnose this in minutes and tell you whether repair or replacement is the right move.

Frequently Asked Questions

Can I replace a cylinder if I don't have the original key?

Yes. You can remove the cylinder without turning a key—it will be harder to push out, but it will come. Once the old cylinder is out, insert the new one the same way. You'll use the new key that comes with the replacement cylinder.

What if I have a deadbolt and a handle lock on the same door?

Each lock has its own cylinder, and you replace them separately using the same steps. The deadbolt cylinder is usually above the handle lock cylinder. Make sure you buy the correct replacement for each one.

Do I need to rekey the new cylinder to match my other keys?

No. Replacement cylinders come with their own key. If you want the new lock to use the same key as your other doors, you'll need to have a locksmith rekey it, which costs $15 to $30 per lock. Otherwise, you'll have two different keys.

What if the lock is a smart lock or electronic?

Smart locks and electronic locks have different internal mechanisms and are not a DIY cylinder replacement job. Call the manufacturer or a locksmith who specializes in that brand.

How do I know if I need to replace the cylinder or the whole lock?

If the key turns but the bolt doesn't move, or if the lock is cracked or visibly damaged, the lock body needs to be replaced. If the key sticks, won't turn, or turns without locking, the cylinder alone usually needs to be replaced. When in doubt, a locksmith can tell you in one phone call.