A window that will not lock properly is more than an everyday irritation. A loose handle, lost key or worn locking point can leave a ground-floor room, rental property or business premises less secure than it should be. Knowing how to replace window lock hardware starts with identifying exactly what has failed. On many modern windows, the key operates the handle, while the handle drives a separate locking mechanism inside the frame.
Replacing the wrong part is the most common and avoidable mistake. Before ordering anything, establish whether you need a new locking handle, a casement lock, a sash fastener, an espagnolette mechanism or simply a replacement key.
Identify the window lock before removing it
Look at the window style first. uPVC, timber and aluminium windows can all use different hardware, even where the handles appear similar. If the key turns but the handle does not move, the handle lock or internal gearbox may be at fault. If the handle moves but the window will not secure tightly into the frame, the problem is more likely to be the espagnolette mechanism, locking cams or keeps.
On a uPVC casement window, the most common arrangement is an espag handle. This has a square spindle at the back that turns the internal mechanism, throwing locking points around the sash. The handle is usually fixed with two screws concealed behind a cover plate. A key-locking espag handle is often replaced as a complete unit when its cylinder, key or lever has failed.
Older uPVC and aluminium windows may have a cockspur handle. Rather than using a spindle, its hooked nose closes over a wedge or striker plate on the frame. These are identified by their stack height: the distance from the underside of the handle nose to the base of the handle. A visually similar handle with the wrong stack height may not pull the window shut.
Timber casement windows commonly use surface-mounted locking handles or stay locks, while sash windows may use sash fasteners, fitch catches or locking catches between the two sashes. Do not assume a standard handle will suit a timber window simply because the screw spacing looks close.
What to measure for a compatible replacement window lock
Remove the old part only after taking clear photographs from the front, side and rear. Keep its screws and any packing plates together. Measurements matter more than the overall look of the handle.
For an espag handle, check the fixing centres - the distance between the two screw-hole centres - and measure the square spindle from the back of the handle to its tip. Many use a 7 mm spindle, but spindle lengths vary. A spindle that is too short will not engage the mechanism; one that is too long can prevent the handle sitting correctly or may need careful trimming where the manufacturer permits it.
For a cockspur handle, measure the stack height and identify whether it is left- or right-handed if applicable. Also check the position and condition of the wedge on the frame. Sometimes the handle is serviceable, but a worn or missing wedge is the real reason it will not lock.
If you are replacing a surface-mounted casement lock or sash fastener, record the fixing-hole centres, backplate size, bolt or tongue position, and handing. Measure with the window fully shut as well as open, so you can see how the lock meets its keep. A few millimetres can decide whether the replacement operates cleanly.
Where a key is still available, note the lock brand and key number before removing the hardware. A genuine replacement key can be the simplest solution when the lock itself works correctly. Secure Choice can help customers identify compatible key and window hardware options from clear measurements and product details.
How to replace a window lock handle
For a straightforward locking handle replacement, work with the window open and supported. Do not remove the handle while leaning through an open upstairs window, and keep children away from the area. You will normally need a screwdriver, tape measure, pencil and possibly a small flat-bladed screwdriver to lift screw covers.
1. Open the window and release the screw cover. On many espag handles, turn the handle to reveal the fixing screws or rotate the cover plate by 90 degrees. Remove the screws while holding the handle firmly.
2. Withdraw the old handle squarely. Pull it away from the sash without twisting. The spindle should slide out of the internal mechanism. If it sticks, check that both screws are fully removed rather than forcing it.
3. Compare the new part before fitting. Confirm the screw centres, spindle length, spindle thickness, handedness and backplate shape. For cockspur handles, confirm the stack height against the old handle and wedge.
4. Fit the replacement and test it before tightening fully. Insert the spindle straight into the mechanism, position the handle and start both screws by hand. Operate the handle several times with the window open, then close the window and check that it engages the keeps without resistance.
5. Secure, cover and test the key. Tighten the screws until firm but do not overtighten into uPVC or timber. Refit the cover, lock and unlock the handle with every supplied key, then check the window cannot be opened from outside.
A new handle that feels stiff is not always defective. The sash may have dropped slightly over time, causing the locking cams to rub against their keeps. In that case, forcing the new handle can damage it. Adjustment to the hinges, keeps or alignment may be required.
Replacing an internal espagnolette mechanism
If a new handle does not solve the fault, the internal locking strip may need replacing. This is a more involved job because the mechanism runs along the edge of the opening sash and must match the original backset, faceplate length, gearbox position and locking-point arrangement.
With the sash open, remove the handle, then undo the screws along the metal faceplate on the sash edge. The mechanism can usually be withdrawn from the handle aperture. Measure the backset from the faceplate edge to the centre of the spindle hole, then record the overall rail length and the distance between locking points. Manufacturer markings on the faceplate can be particularly useful.
Fit the new mechanism in the same position, ensuring the gearbox aligns with the handle spindle. Before closing the window, operate it open several times to make sure the cams or rollers move freely. Once shut, check that every locking point engages its matching keep. If they do not line up, the window may need adjustment rather than a different mechanism.
This work can be worthwhile on a good-quality window, but there is a trade-off. Older mechanisms are not always available in an exact match, and adapting a near match can compromise operation or security. For a seized mechanism, damaged gearbox, broken hinges or a window that will not open safely, booking a locksmith or experienced window repair specialist is usually the better route.
Do not overlook safety and security
A key-locking handle is useful on accessible windows, especially on ground floors, near flat roofs, beside gates or in rooms containing valuables. It is not a substitute for a correctly aligned mechanism and sound frame. The handle should close firmly, the keys should be kept separately from the window, and the frame should not flex when locked.
Be careful with escape windows. A bedroom window that serves as an emergency escape route must remain easy to open from inside without hunting for a key. Restrictors can improve child safety and ventilation control, but they must be suitable for the window’s intended use and released correctly where emergency egress is required.
For tenanted properties, check who is responsible before changing hardware and retain the old part until the replacement has been tested. Facilities managers should consider key control too: several windows keyed alike can be convenient, but only when access needs and emergency procedures have been properly assessed.
When replacement is not the answer
A lock may appear faulty when the underlying issue is a swollen timber sash, worn hinge, distorted uPVC frame or loose keep. Try lifting the sash gently while turning the handle. If it works only when lifted or pushed, alignment is likely the problem. If the key will not turn but the handle otherwise operates, a replacement key or handle cylinder may be enough.
Do not spray oil indiscriminately into a locking handle or cylinder. Use an appropriate lock lubricant sparingly, and avoid forcing a key that is bent or badly worn. A snapped key or stripped gearbox turns a small maintenance job into a larger repair.
Take your measurements, photographs and old hardware seriously before you buy. The right replacement window lock should fit cleanly, operate without force and leave the window closing as securely as it did when new.