Window hardware replacement

How to Replace a Window Sash Lock

Direct answer: To replace a window sash lock, confirm the lock is the actual problem, match the new lock to the old one, remove the mounting screws, install the replacement in the same position, and test that the sash pulls tight and latches smoothly.

This is usually a straightforward repair if the sash and frame are still in good shape. The key is buying a lock that matches the hole spacing, shape, and meeting-rail fit of the old hardware.

Before you start: Match the replacement part to your exact window before ordering.

Last reviewed: 2026-04-04

Step-by-step fix

Step 1: Make sure the sash lock is really the problem

  1. Close the window fully and try to engage the lock.
  2. Watch whether the lock is broken, loose, missing, bent, or no longer catches the keeper cleanly.
  3. Check whether the sash itself is sitting square. A lock will not work right if the window is badly warped or the meeting rails do not line up.
  4. Look for stripped screws, cracked wood or vinyl around the lock, or a keeper that has shifted out of place.

If it works: You have confirmed the lock hardware is damaged, worn out, or loose enough that replacement makes sense.

If it doesn’t: If the lock looks fine but the sash is misaligned, sticking, or not closing all the way, fix the sash alignment or track issue first.

Stop if:
  • The sash or frame is cracked badly enough that screws will not hold.
  • The window will not close into position because of frame movement, swelling, or structural shifting.
  • The glass is loose or the sash feels unstable to handle safely.

Step 2: Match the replacement lock before removing the old one

  1. Take a clear photo of the existing lock and keeper from above and from the side.
  2. Measure the distance between the mounting screw holes on the lock.
  3. Compare the shape, height, and latch style of the old lock to the new one.
  4. If your lock came with a matching keeper, compare that piece too and plan to replace both parts if the old keeper does not match the new latch.

If it works: You have a replacement lock that matches the old hardware closely enough to install in the same location.

If it doesn’t: If the hole spacing or latch shape does not match, pause and get the correct replacement before taking the window apart.

Stop if:
  • The new lock would require major drilling, cutting, or reshaping of the sash to fit.

Step 3: Remove the old sash lock and keeper

  1. Open the window enough to reach the lock and keeper comfortably.
  2. Back out the screws from the sash lock and set them aside if they are still usable.
  3. Remove the keeper from the opposite meeting rail if you are replacing it too.
  4. If paint is holding the hardware in place, score around it gently and lift the part free without gouging the sash.

If it works: The old lock is off and the mounting area is exposed for inspection.

If it doesn’t: If a screw spins without backing out, pull gently upward on the hardware while turning the screw to help it catch the threads.

Stop if:
  • A screw is seized so badly that forcing it may split the sash.
  • Removing the hardware exposes rot, crumbling wood, or broken vinyl around the mounting area.

Step 4: Prep the mounting area so the new lock can hold

  1. Brush away dust, paint chips, and old debris from the screw holes and hardware footprint.
  2. Test the old screw holes with a screw by hand. If they are stripped, fill and repair them before reinstalling hardware.
  3. Set the new lock and keeper in place without screws to confirm they sit flat and line up with each other.
  4. Adjust the keeper position only as much as needed so the latch can engage without forcing the sash.

If it works: The mounting surface is clean, solid, and ready for the new lock.

If it doesn’t: If the holes are too loose to hold screws, repair them first so the new lock does not loosen right away.

Stop if:
  • The sash material is too damaged to hold screws securely after basic hole repair.

Step 5: Install the new window sash lock

  1. Position the new lock in the same orientation as the old one and start the screws by hand to avoid cross-threading.
  2. Tighten the screws until the lock is snug and flat, but do not overtighten and strip the holes.
  3. Install the keeper on the opposite rail if needed, again starting screws by hand first.
  4. Close the window and engage the lock. Make small keeper adjustments so the latch pulls the sash together without excessive force.

If it works: The new lock is mounted securely and the latch engages the keeper.

If it doesn’t: If the lock will not catch, loosen the keeper slightly and shift it a little at a time until the latch lines up cleanly.

Stop if:
  • The sash must be forced hard to make the lock engage, which points to a fit or alignment problem beyond the lock itself.

Step 6: Test the repair in normal use

  1. Open and close the window several times, then lock and unlock it each time.
  2. Check that the sash pulls tight at the meeting rail and does not rattle or pop loose.
  3. Make sure the handle moves smoothly and the screws stay tight after a few cycles.
  4. Look from inside and outside, if accessible, to confirm the sash sits evenly when locked.

If it works: The window closes fully, locks smoothly, and stays secure in normal use.

If it doesn’t: If the new lock still feels loose or does not hold the sash tight, recheck part fit, keeper alignment, and screw-hole condition.

Stop if:
  • The window still will not latch because the sash is out of square or the frame has shifted.
  • The lock works briefly but pulls back out because the sash material is failing around the screws.

Replacement Parts

Repair Riot may earn a commission from qualifying purchases, at no extra cost to you.

FAQ

Do I need to replace the keeper too?

Not always, but it is often the best move if the new lock does not match the old keeper exactly. A mismatched keeper can make a good lock feel defective.

Can I reuse the old screws?

Yes, if they are straight, not rusted badly, and still hold firmly. If the heads are stripped or the threads are worn, use the new screws that came with the lock or matching replacements.

Why won't the new sash lock line up?

The most common causes are the wrong hole spacing, a keeper that does not match the new lock, or a sash that is slightly out of alignment. Confirm the part fit first, then make small keeper adjustments.

What if the screw holes are stripped?

Repair the holes before installing the new lock. If screws cannot bite into solid material, the lock will loosen quickly and may not secure the window.

Is replacing a sash lock enough if the window is hard to close?

Not always. A sash lock can only pull the window together if the sash already closes into the right position. If the window binds, drags, or sits crooked, address that problem first.