how to replace a door lock

How to Replace a Door Lock

How to replace a door lock is one of the easiest security upgrades a homeowner can make. On a door that already has standard holes drilled — which is almost every exterior door — the job is a screwdriver, a new lockset, and about 30 minutes. No drilling, no special tools, no locksmith bill.

This guide covers the three lock types you are likely to swap (a deadbolt, a keyed knob or lever, and a smart lock), how to remove the old lock and fit the new one step by step, what it costs DIY and pro, and the cheaper option many people miss: if the lock works fine and you only need the old keys to stop working, rekeying may be all you need. And if the door itself needs work first, that is covered in our guide to how to repair a screen door.

How to replace a door lock at a glance

  • Replacing a lock in existing holes takes about 30 minutes with a Phillips screwdriver — the new lock reuses the holes the old one came out of.
  • A new deadbolt costs $40–$120 (Angi, 2026); a keyed knob or lever runs $20–$100, and a smart lock $150–$400.
  • A locksmith charges $60–$350 per lock to replace it, averaging around $150 (Angi, 2026) — most of that is labor and the service call.
  • Rekeying is cheaper when the lock still works — a locksmith rekeys for $50–$130 per lock, making every old key stop working without new hardware.
  • Measure before you buy: backset (2-3/8 or 2-3/4 inches), door thickness, and the existing holes decide whether a lock fits.
  • Always test the new lock with the door open — never close a freshly fitted door until the key and thumb turn both throw the bolt smoothly.

Know your lock types before you buy

Locks look interchangeable on the store shelf, but they do different jobs. Buy the type your door actually needs.

door lock types

Deadbolt. The real security lock on an exterior door. A solid steel bolt extends about 1 inch into the door frame, and unlike a knob latch it cannot be pushed back with a credit card. It is operated by a key outside and a thumb turn inside.

Keyed knob or lever. The handle itself locks, with a spring latch bolt — but the latch can be slipped, so a knob lock alone is not real security, which is why exterior doors pair it with a deadbolt. Swapping a keyed-entry handle itself is covered separately in our guide to how to replace a door handle.

Smart lock. A deadbolt with a motor: it locks and unlocks by keypad code, fingerprint, phone app, or a normal key. Most replace the whole deadbolt or just its inside half, and they cost more ($150–$400) but end the spare-key problem — you change a code instead of a lock.

Single vs double cylinder. A single-cylinder deadbolt has a key outside and a thumb turn inside — right for most doors. A double-cylinder needs a key on both sides: it stops a burglar reaching through glass to turn the lock, but you also need a key to get out in a fire, and many local codes restrict them on entry doors. More in the FAQ below.

Rekey or replace? Decide before you spend

Rekeying and replacing solve different problems, and rekeying is often the smarter spend.

Rekeying changes the small pins inside the lock cylinder so it works with a new key and every old key stops working; the hardware on the door stays exactly the same. A locksmith charges $50–$130 per lock to rekey (Angi, 2026); locks with Kwikset SmartKey cylinders can be rekeyed at home in a minute with the tool in the box, and hardware stores sell rekey kits for about $10–$20.

Rekeying is enough when:

  • You just moved in and do not know how many copies of the old key are out there
  • A key was lost, or a roommate, tenant or contractor has moved on
  • The locks turn smoothly, are undamaged, and you are happy with their strength and look

Replace instead when:

  • The lock sticks, wobbles or was damaged — rekeying a worn lock gives you a worn lock with a new key
  • You want an upgrade — a stronger deadbolt grade, or a keypad or smart lock
  • Your locks are a mix of brands that cannot be keyed alike, and you want one key for the house

What you will need

  • A Phillips screwdriver (a drill/driver on a low clutch setting speeds it up, but hand-tighten the last turns)
  • The new lockset, with its latch bolt, strike plate and screws
  • A tape measure, for checking backset and door thickness before the old lock comes off
  • A flathead screwdriver, for prying off a stubborn faceplate or cover plate
  • Painter’s tape, to hold the exterior half in place while you start the screws
  • Graphite or dry Teflon lubricant for the keyway — never oil, which gums up the pins
  • 3-inch screws for the strike plate (usually not in the box — the cheapest security upgrade there is)

Buy the lock before you remove the old one, and keep the old hardware in a bag until the new lock is tested — if the new lock is the wrong fit, the old one goes back on in five minutes.

Step 1: Remove the old lock

Prop the door open and keep it open for the whole job — closing a half-finished door is how people lock themselves out with their tools on the wrong side.

how to remove an old door lock

On a deadbolt, remove the two mounting screws on the interior thumb turn plate. The inside and outside halves then pull apart, and the exterior cylinder slides straight out. Some models hide the screws under a snap-on cover plate — pry it off gently with the flathead screwdriver. On a keyed knob, the screws sit on the interior knob’s rosette, or behind a small slot you press with the tool supplied in the new lock’s box.

Then remove the latch bolt: take out the two screws in the faceplate on the door edge, and slide the bolt assembly out of the edge hole. If it sticks, slide a screwdriver through the hole in the latch mechanism and lever it out gently. Wipe the holes clean — grit left in the cross-bore is a common cause of a stiff new lock.

Step 2: Fit the new latch bolt

First, check the fit. Hold the new latch bolt against the old one and set its backset — the distance from the door edge to the center of the hole — to match: most bolts adjust by twisting the housing or sliding a tab between the 2-3/8 and 2-3/4 inch marks. A mismatched backset is the most common reason a new lock’s parts do not line up. The faceplate should sit flush in its recess on the door edge; if the shape differs, use the adapter or drive-in collar in the box rather than chiseling.

Slide the new latch bolt into the edge hole with the angled face of the bolt pointing the way the door closes — toward the frame. If it points the wrong way, the door will not latch; most bolts can be pulled out, rotated 180 degrees and refitted, and deadbolt bolts have a top side marked “UP”. Seat the faceplate flush with the door edge and drive the two screws: a plate standing proud scrapes the frame, and one sunk too deep lets the bolt rattle.

Step 3: Fit the cylinder and the inside half

Feed the exterior half through the door from outside: on a deadbolt, the cylinder’s tailpiece — the flat bar sticking out of its back — must pass through the cross-shaped slot in the latch bolt mechanism. On a knob lock, the spindle and screw posts line up the same way. Tape the exterior half in place if you are working alone.

Set the interior half over the tailpiece so its slot engages, then start the two mounting screws by hand. Tighten them evenly, a few turns each, alternating — pulling one side fully tight first cocks the lock sideways and makes the key stiff. Snug is enough; overtightening binds the mechanism.

For a smart lock, this step adds two minutes: connect the cable between the halves before seating the interior unit, then add batteries and run the door-handing setup so the motor learns which way the bolt throws.

Step 4: Fit the strike plate

Unscrew the old strike plate from the frame and fit the new one, ideally the reinforced strike and box that come with better deadbolts. This is the moment for the 3-inch screws: the short screws in the box only bite into the soft frame, while 3-inch screws reach the wall stud behind it — the difference between a door that splinters under a kick and one that holds.

Step 5: Test the lock — with the door open

Test with the door still open. Turn the thumb turn: the bolt should extend fully and retract without resistance. Insert the key from outside and repeat. Only then close the door gently and test again from both sides, checking the latch lands in its strike without you lifting or pushing the door. If it works open but binds closed, the strike is misaligned — see Troubleshooting below.

How much does it cost?

JobDIY costPro cost
Deadbolt (hardware only)$40–$120—
Keyed knob or lever (hardware only)$20–$100—
Keypad lock (hardware only)$80–$250—
Smart lock (hardware only)$150–$400—
Replace one lock, locksmith (parts + labor)—$60–$350, average about $150 (Angi, 2026)
Rekey one lock, locksmith$10–$20 (DIY rekey kit)$50–$130 per lock (Angi, 2026)
Replace all the locks on a house (4–6 locks)Cost of hardware onlyAbout $280–$1,500 (Angi, 2026)

These are typical US planning ranges, not quotes. A locksmith’s bill is mostly the service call ($40–$75) and per-lock labor ($40–$100), so three locks in one visit cost far less per lock than three separate visits — and after-hours calls add $50–$150. The only number that counts is a written quote for your door.

Troubleshooting: the three problems everyone meets

The key is stiff or hard to turn. Usually the two halves were tightened unevenly and the cylinder sits slightly crooked, or the tailpiece is not seated in the latch slot. Loosen the mounting screws a quarter turn, work the key, and retighten evenly. Graphite helps a dry lock; a lock still stiff with the door open is misaligned inside, not in the frame.

The bolt misses or scrapes the strike. If the lock works with the door open but not closed, the bolt is meeting the edge of the strike hole instead of its center. The witness mark the bolt leaves on the plate shows which way to move. Small offsets fix with a file on the strike hole or by re-seating the plate; a bolt that lands well low usually means the door has dropped on its hinges — a hinge problem, covered in our guide to how to fix a sagging door. Do not force the key to drag the bolt home; that is how keys snap.

Screws spin and will not tighten. The wood in the hole is stripped — common in older doors that have had several locks. Fill the hole with wood glue and toothpicks or a sliver of dowel, let it dry fully, then drive the screw again. For strike screws that spin, go straight to 3-inch screws, which pass through the damaged frame wood into the stud.

Security notes worth the five extra minutes

  • Buy ANSI/BHMA Grade 1 or Grade 2. Locks are graded 3 (basic) to 1 (toughest — tested for forced entry and long cycle life). Grade 3 is fine for a closet; an exterior door deserves Grade 2 at minimum. The grade is printed on the box.
  • The bolt should throw a full inch. A deadbolt that extends less than 1 inch into the frame can be forced. Check the throw when you test, and make sure the strike hole is deep enough to accept it.
  • Use 3-inch screws in the strike — and the hinges. Long screws tie the strike plate and the top hinge into the wall stud, and they are the cheapest real upgrade in home security: a few dollars a door.

When to call a locksmith instead

Most lock swaps are a DIY job, but call a locksmith if any of these apply:

  • The door has no lock hole, or needs a new one — drilling a clean cross-bore in the right place is the one part of this job that is hard to undo.
  • The door is metal, fiberglass, or a commercial steel door — different bits, different hardware, and mistakes are expensive.
  • You are locked out now — a locksmith opens the door without damage; a forced door costs far more than the call-out.
  • The lock is a mortise lock (the big rectangular unit built into the door edge, common in older homes) — a specialist fit, not a like-for-like swap.
  • You want every lock on one key across mixed brands, or a master-key setup — pin work a locksmith does quickly and a DIYer does slowly.

Frequently Asked Questions

About 30 minutes per lock when the new lock reuses the existing holes, which most standard deadbolts and knobs do. Drilling a door with no existing hole adds about an hour and a hole saw.

$60–$350 per lock, with a national average around $150 (Angi, 2026). Most of that is the service call and labor, not the hardware — a standard deadbolt itself is $40–$120. Rekeying the same lock instead costs $50–$130 per lock.

Either one makes the old keys useless, which is the point. Rekey if the locks work well and you like them — it is cheaper ($50–$130 per lock pro, Angi 2026). Replace if a lock sticks, feels flimsy, or you want a better grade or a smart lock anyway.

Yes, if the locks are the same brand and keyway — buy locksets marked “keyed alike” or have a locksmith rekey them to match. SmartKey cylinders can be rekeyed to one key at home in about a minute each. Mixed brands with different keyways cannot share a key.

A single-cylinder deadbolt takes a key outside and a thumb turn inside — the right choice for most doors. A double cylinder needs a key on both sides, which stops a burglar turning the lock through nearby glass but also means you need a key to get out in an emergency; many building codes restrict them on entry doors. If you choose one, keep a key within reach of the door.

No. A lost key is a rekeying job, not a replacement: rekeying changes the pins inside the cylinder so the lost key stops working. Replace the lock only if it is worn, damaged, or you wanted an upgrade anyway.

The bottom line

Replacing a door lock is a 30-minute screwdriver job that costs $40–$120 in hardware for a deadbolt — against about $150 per lock for a locksmith to do the same swap. Measure the backset before you buy, tighten the two halves evenly, upgrade the strike to 3-inch screws while you are there, and test everything with the door open before you trust it closed. When the lock itself is fine and only the keys are the problem, rekey it and keep the change. For more door fixes, see our guides to how to repair a screen door and how to fix a sagging door, and browse our Windows & Doors guides.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *