First Home Fixes logo

Home / Doors and Windows

How to Fix a Window Latch That Will Not Lock

4 min read · Updated 28 November 2026 ·

Part of: Floors, walls and doors

Simple diagram for the guide: How to Fix a Window Latch That Will Not Lock
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
  1. How window latches work
  2. Step 1: Check the window is closed all the way
  3. Step 2: Tighten the screws
  4. Step 3: Check alignment
  5. Step 4: Clean and lubricate
  6. Step 5: Replace the latch
  7. Casement and sliding windows
  8. Draft and condensation clues
  9. Related guides
  10. FAQ
  11. When to call a pro
Safety. Support the sash while you work so it cannot fall on your fingers. Do not remove a lock on a window you cannot secure afterward. Keep an emergency exit window easy to open from inside. Make sure the lock does not trap anyone. In bedrooms, the lock should open easily from inside without a key. Consider adding a window stop on upper floors if you have small children. Keep stops removable for emergencies.

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.

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.

fix a window latch that will not lockwindow locksash lockwindow latch alignmentwindow security

More from this topic

Simple diagram for the guide: How to Install a Window LockDoors and WindowsHow to Install a Window LockHow to install a window lock: match the lock to the window type, drill the frame accurately, and get a latch that closes firmly without cracking glass.Simple diagram for the guide: How to Fix a Window That Will Not Stay Up: Balances, CordsDoors and WindowsHow to Fix a Window That Will Not Stay Up: Balances, CordsLearn how to fix a window that will not stay up: find out if the balance or cord failed, clean the tracks, and use quick tricks until you replace the balance.Simple illustration for the guide How to Fix a Sticking Window That Will Not Open or SlideDoors and WindowsHow to Fix a Sticking Window That Will Not Open or SlideLearn how to fix a sticking window: work out if it is paint, swelling or a failed track, then free it, clean and lubricate the tracks and adjust the hardware.Simple diagram for the guide: How to Stop a Window From Rattling in the WindDoors and WindowsHow to Stop a Window From Rattling in the WindLearn how to stop a window from rattling: check the lock and sash, add weatherstripping or foam, adjust stops, and use simple tricks for a quiet fit.Simple diagram for the guide: How to Secure Sliding Doors and Windows Against Break-InsSafetyHow to Secure Sliding Doors and Windows Against Break-InsSecure sliding doors and windows with a track bar or dowel, better locks, anti-lift pins, and shatter-resistant film on the glass.