· Updated

How to Fix a Broken Window Lock: Step-by-Step Guide

Learn how to replace a broken sash lock on a double-hung window to restore security and proper operation in under an hour.

A broken window lock is a security vulnerability and a weatherproofing problem.

A broken window lock is a security vulnerability and a weatherproofing problem. Most double-hung window sash locks are inexpensive parts that take about 30 minutes to swap out, even for a first-time repair.

What You Need


Step 1: Identify the Problem

Before ordering a replacement, confirm the lock itself is the problem and not a simple alignment issue.

Check the keeper alignment. Close both sashes fully. Does the cam on the lock body line up with the center of the keeper? If the keeper is too high or too low, the cam cannot engage fully. Loosen the keeper screws and slide the keeper up or down by 1/8 inch increments until the cam snaps in firmly when you turn the handle. Retighten. If this resolves the problem, you do not need a new lock.

Check for paint binding. On older windows, multiple layers of paint can prevent the lock handle from rotating. Score around the lock housing with a utility knife and try the handle again.

Check the cam. If the handle turns but nothing engages the keeper, the cam inside the lock housing is broken or worn. The lock needs replacement.


Step 2: Remove the Old Lock

Close the lower sash fully so the mounting surface is accessible. Use a utility knife to score around the perimeter of the lock body, breaking through any paint that has sealed it to the window rail. Score around each screw head as well.

Remove both mounting screws with a Phillips screwdriver. If the screws spin without loosening (stripped), use a screw extractor set to remove them. Lift the lock body straight off the rail — it should come free cleanly. If it is stuck from paint or caulk, work a stiff putty knife under the edge to break the seal.

Examine the mounting surface. If the old screw holes are enlarged or damaged, fill them with wood filler. Let cure completely before drilling new pilot holes.


Step 3: Remove the Old Keeper

The keeper (strike plate) is mounted on the lower rail of the upper sash. Open the lower sash slightly to access the keeper. Score around it with a utility knife and remove the mounting screws.

If the keeper is in good condition and properly positioned for the new lock, you may be able to reuse it. If you are installing a lock with a different cam height or geometry, replace the keeper with the matching keeper that came with the new lock.


Step 4: Install the New Lock

Measure and mark screw holes. If the new lock has the same screw hole spacing as the old one and the holes are in good condition, you can drive screws directly into the existing holes. If not, use the new lock as a template: position it where you want it on the rail, mark through the screw holes with a pencil, and drill small pilot holes at each mark.

Mount the lock body. Place the new lock on the upper rail of the lower sash, aligning the screw holes. Drive both screws snugly — firm but not over-tightened. Over-tightening can crack the lock housing or strip the holes in the wood rail.


Step 5: Install and Align the Keeper

With the lower sash closed and the new lock in place, turn the lock handle to the locked position. The cam will protrude downward toward the upper sash. Hold the new keeper against the lower rail of the upper sash at the point where the cam makes contact. Mark the screw hole locations and drill pilot holes.

Mount the keeper with its screws, but do not fully tighten yet. Test the lock: close both sashes, turn the handle to lock, and check that the cam engages the keeper smoothly and pulls the sashes firmly together. Adjust the keeper position up or down as needed, then fully tighten.


Step 6: Test Security and Operation

Lock and unlock the window five times to confirm smooth operation. Pull up on the lower sash while locked — there should be no movement. Check that the sashes are pulled snugly together by the locked cam; you should not be able to see daylight between the sash rails when locked.

If the lock is stiff, rub a little paste wax on the cam. Do not use liquid lubricants — they attract dust and eventually gum up the mechanism.


⏰ PT2H 💰 $10–$50 🔧 Pry bar, Shims, Level, Exterior caulk, Expanding foam insulation
  1. Identify the Problem

    Before ordering a replacement, confirm the lock itself is the problem and not a simple alignment issue.

  2. Remove the Old Lock

    Close the lower sash fully so the mounting surface is accessible. Use a utility knife to score around the perimeter of the lock body, breaking through any paint that has sealed it to the window rail. Score around each screw head as well.

  3. Remove the Old Keeper

    The keeper (strike plate) is mounted on the lower rail of the upper sash. Open the lower sash slightly to access the keeper. Score around it with a utility knife and remove the mounting screws.

  4. Install the New Lock

    Measure and mark screw holes. If the new lock has the same screw hole spacing as the old one and the holes are in good condition, you can drive screws directly into the existing holes.

  5. Install and Align the Keeper

    With the lower sash closed and the new lock in place, turn the lock handle to the locked position. The cam will protrude downward toward the upper sash.

  6. Test Security and Operation

    Lock and unlock the window five times to confirm smooth operation. Pull up on the lower sash while locked — there should be no movement.

Free: 10-Point Home Maintenance Checklist

Prevent costly repairs with this seasonal checklist. Save hundreds every year by catching problems early.

Free instant download + weekly home tips. Unsubscribe anytime.