How to Fix a Window Latch That Will Not Lock
Part of: Floors, walls and doors

- Difficulty
- Easy
- Time
- 15 to 45 minutes
- Tools
- Screwdriver, drill and bits, replacement latch, wood glue and toothpicks, pencil, tape measure, dry silicone spray, putty knife
- Call a pro if
- The sash is warped or racked, the frame is cracked or rotted, the window is a tilt wall unit with broken hardware, or you want a keyed lock fitted.
In this guide
A latch that will not turn or catch is a security problem and a source of drafts. The cause is often a small misalignment or loose screw. Here is how to fix a window latch that will not lock, from the easy checks to a full replacement.
How window latches work
On a double hung window, a sash lock has two parts. One part mounts on the top of the lower sash. The other, the keeper, sits on the bottom of the upper sash. When you turn the lock, the cam grabs the keeper and pulls the sashes tight. If they do not line up, the cam cannot catch.
Step 1: Check the window is closed all the way
Push the sash down and squeeze the sashes together. If the lower sash sits high or tilted, the cam misses the keeper. Look for dirt in the track, a stuck paint spot, or a swollen frame. See how to clean window tracks and how to fix a window that wont open.
Step 2: Tighten the screws
Loose screws let the parts shift. Tighten both parts. If a screw spins in its hole, take it out, push glue coated toothpicks into the hole, break them off, and drive the screw back in. See how to fix a stripped screw hole.
Step 3: Check alignment
1. Close the window fully.
2. Turn the lock and see where the cam hits the keeper.
3. If it is too far to one side or too high, loosen the screws and shift the keeper a little.
4. Mark the new spot with a pencil, drill new pilot holes, and screw it down.
Often only an eighth of an inch matters. Move it a little at a time.
Step 4: Clean and lubricate
Wipe the lock with a damp cloth. Add a dry silicone spray to the pivot. Do not use oil, which collects dust.
Step 5: Replace the latch
If the cam is bent, worn, or cracked, replace the lock.
1. Remove the screws and take off the old lock.
2. Measure the hole spacing and note the finish.
3. Buy a matching sash lock.
4. Fit the new lock and keeper in the same holes, or mark new ones if the spacing differs.
5. Test the lock and check that the sash is held tight.
Casement and sliding windows
Casement windows use a handle and arm that lock into a point on the frame. If the handle will not close, check the hinge arm and the stay, and lubricate the gear. Sliding windows often use a hook or crescent latch that can be moved or replaced the same way. For a sliding door, see how to secure sliding doors and windows.
Draft and condensation clues
A window that does not seal can leak air or fog up. After you fix the lock, check the seal. See how to replace window weatherstripping.
Related guides
- How to Install a Window Lock
- How to Fix a Bathroom Door Lock That Sticks or Wont Latch
- How to Fix a Door That Will Not Latch (3 Simple Fixes)
- How to Install a Window Stool
- How to Install a Sliding Window Roller
- How to Lubricate a Sticky Door Lock
FAQ
Why does my latch only catch when I push the sash?
The sash is not sitting flat. Check the track, the weatherstripping, and the sash balance.
Can I use a different style of latch?
Yes, as long as it fits the window type and mounting holes.
Is a window lock a good security measure?
It helps, but it is only one layer. Pair it with locked doors and good lighting.
What if the keeper is missing?
Replace both parts together so they match.
More from this topic
- How to Install a Window Lock: How to install a window lock: match the lock to the window type, drill the frame accurately, and get a latch...
- How to Fix a Window That Will Not Stay Up: Balances, Cords: Learn how to fix a window that will not stay up: find out if the balance or cord failed, clean the tracks,...
- How to Fix a Sticking Window That Will Not Open or Slide: Learn how to fix a sticking window: work out if it is paint, swelling or a failed track, then free it, clean...
- How to Stop a Window From Rattling in the Wind: Learn how to stop a window from rattling: check the lock and sash, add weatherstripping or foam, adjust...
- How to Secure Sliding Doors and Windows Against Break-Ins: Secure sliding doors and windows with a track bar or dowel, better locks, anti-lift pins, and...
