← Repair Guides
Doors & WindowsEasy15–30 min
🪟

Window Lock Broken: How to Fix or Replace It

A broken window lock compromises home security and can result from wear, misalignment, or internal component failure. Most window lock repairs cost between 5 and 50 dollars for replacement hardware and can be completed without special tools. Whether your lock won't engage, turns without catching, or is physically cracked, the fix typically involves cleaning, adjusting, or swapping out the locking mechanism.

Step-by-Step Fix

  1. 1

    Inspect the lock mechanism

    Close the window and examine the lock from both inside and outside. Look for visible cracks, rust, or debris around the locking pin and strike plate. Test whether the lock turns smoothly or feels stuck, grinding, or loose—this tells you whether the issue is mechanical binding or internal wear.

  2. 2

    Clean and lubricate the lock

    Use a dry cloth or soft brush to remove dust, paint flakes, and buildup from the lock housing and moving parts. Apply a dry silicone lubricant or light machine oil to the keyway and moving components, then work the lock back and forth gently 10-15 times. Avoid WD-40 or wet oils, which attract dust and gum up the mechanism over time.

  3. 3

    Adjust the strike plate if needed

    If the lock turns freely but does not engage, the window sash may have shifted. Loosen the two screws holding the strike plate on the frame, then slide it up or down slightly so the locking pin seats fully into it. Retighten the screws and test the lock again.

  4. 4

    Remove the old lock if replacement is necessary

    If the lock is cracked, stripped, or still non-functional after cleaning, unscrew the two fasteners holding it to the sash. Slide the lock assembly out and note its size and type, which you will match when purchasing the replacement at a hardware store.

  5. 5

    Install the new lock

    Position the new lock in the same location and orientation as the original, then insert and tighten the two mounting screws. Ensure the lock is centered in its opening and does not bind against the window frame. Test the lock multiple times to confirm it turns smoothly and engages securely.

⚠️ Safety Notes

  • Do not force a stuck lock, as this may break internal components or shear the pin; apply lubricant and wait 10 minutes instead.
  • If the window sash is cracked or the lock frame is bent, the window itself may need professional repair or replacement.
  • Ensure the window is fully closed and stable before working on the lock to avoid the sash dropping or moving unexpectedly.

When to Call a Pro

Call a professional if the window frame or sash is cracked, the lock hole is stripped or enlarged beyond repair, or if the window will not close properly after lock adjustment. A glazier can assess whether the sash or frame needs replacement.

Frequently Asked Questions

How much does a replacement window lock cost?
Standard replacement window locks cost between 5 and 25 dollars at hardware stores. Specialty locks for older or high-security windows may run 25 to 50 dollars, but most homes use basic pin or lever locks in the lower range.
Can I fix a window lock myself?
Yes, most window lock repairs are DIY-friendly and take 15-30 minutes. Cleaning and lubricating often solves the problem, and replacement is a straightforward two-screw swap if the lock is damaged.
Why does my window lock turn but not lock?
This usually means the strike plate is misaligned, the locking pin is worn, or the lock is clogged with debris. Adjust the strike plate slightly or clean and lubricate the lock; if the pin is cracked, replacement is necessary.
What lubricant should I use on a window lock?
Use a dry silicone spray or light machine oil, never WD-40 or grease, which attract dust and cause the lock to stick. Apply sparingly and work it in by cycling the lock gently.
Is a broken window lock a security risk?
Yes, a non-functional lock allows a window to be opened from outside and compromises home security. Repair or replace a broken lock promptly to restore your window's security function.

Not sure which step applies to your situation?

Describe your specific problem to ProAssist and get a tailored diagnosis — free, no sign-up required.

Diagnose My Doors & Windows Issue →