What You Need to Know Before You Start

A sliding patio door lock can be replaced in 15 to 30 minutes with basic tools you likely already own. The job breaks into three steps: remove the old lock, measure the hole, and install the new one. Most locks sit on the inside frame of the door and are held by two or four screws — no special skills required.

Before you buy a replacement, check whether your door frame is aluminum or vinyl. Aluminum frames accept standard mortise locks (the kind that sit in a pocket cut into the frame). Vinyl frames sometimes use surface-mounted locks instead, which bolt onto the outside of the frame. Knowing which type you have prevents a wasted trip to the hardware store.

If the lock is broken but still in place, you can remove it and take it with you to match the size and style. If it is missing entirely, measure the hole left behind — most are 1 1/8 inches wide, but some older doors use 1 inch or 1 1/4 inch locks.

Key Takeaways

  • Sliding patio door locks come in two types: mortise locks that sit inside the frame and surface-mounted locks that bolt to the outside, and you need to know which your door uses before buying a replacement.
  • The old lock is held by two or four screws on the inside of the frame and can be removed in minutes with a screwdriver.
  • Standard mortise locks are 1 1/8 inches wide, but measure your hole or bring the old lock to the store to confirm the exact size.
  • Installation requires only a screwdriver and takes less than 30 minutes for most homeowners.
  • If the frame is cracked or the screw holes are stripped, the lock may not hold securely and the frame may need repair first.

Removing the Old Lock

Open the sliding door fully and look at the inside edge of the frame where the lock sits. You will see either a small rectangular metal box (mortise lock) or a metal plate bolted to the surface (surface-mounted lock). Locate the screws holding it in place — usually two on the sides or four around the perimeter.

Use a screwdriver that fits the screw head snugly. A Phillips head works for most locks, but some use flathead or square-drive screws. Turn counterclockwise and remove all screws, setting them aside in a small container so you do not lose them. The old lock should slide or pull out easily once the screws are gone.

If the lock is stuck, do not force it. Spray a small amount of penetrating oil (like WD-40) around the edges and wait five minutes. Try again gently. Forcing a stuck lock can crack the frame or strip the screw holes, making installation of the new lock difficult.

Measuring and Choosing the Right Replacement

With the old lock removed, measure the width of the hole or pocket in the frame. Place a ruler or tape measure across the opening where the lock sat. Standard mortise locks are 1 1/8 inches wide. Some older or specialty doors use 1 inch or 1 1/4 inch locks. Write down the measurement and check it twice.

Bring the old lock or your measurement to a hardware store or home center. Staff can match you to a replacement that fits your frame type and door width. If you ordered online, double-check the product description to confirm it is a mortise lock (for aluminum frames) or surface-mounted (for vinyl), and that the width matches your measurement.

Most replacement locks cost between $15 and $50. Budget locks are basic keyed or push-button models. Mid-range locks add a deadbolt or better weatherstripping. Expensive locks include smart features or heavy-duty construction for commercial doors. For a residential sliding door, a standard mortise lock in the $20 to $35 range is sufficient.

Installing the New Lock

Before you start, check that the frame is clean and dry. Wipe out any dirt or debris from the hole or pocket where the lock will sit. If the frame is cracked, splintered, or the screw holes are enlarged or stripped, stop here — the frame needs repair before a new lock will hold securely. A cracked frame can be filled with epoxy wood filler or patched with aluminum repair tape, depending on the material.

Slide or insert the new lock into the frame pocket, aligning it so the keyhole or button faces outward and the bolt mechanism points into the door. For mortise locks, the lock body should sit flush with the frame edge. For surface-mounted locks, the plate should lie flat against the frame with no gaps.

Insert the screws through the lock and into the frame holes. Tighten them by hand first, then use a screwdriver to snug them down. Do not over-tighten — you want them firm enough that the lock does not move, but not so tight that you strip the holes or crack the frame. A good rule is to stop when you feel solid resistance.

Testing and Adjusting the Lock

Close the sliding door and test the lock. The bolt should slide smoothly into the strike plate (the metal catch on the opposite frame) without binding or sticking. Turn the key or press the button — the bolt should retract and extend fully with no grinding sounds.

If the bolt does not line up with the strike plate, the lock may be sitting too high or too low in the frame. Open the door and loosen the screws slightly. Shift the lock up or down a quarter inch and retighten. Test again. It may take one or two adjustments to get smooth operation.

If the bolt retracts but the door still will not open, the strike plate may be misaligned or bent. Check that the strike plate is centered on the bolt and sits flush with the frame. If it is bent, remove it and tap it gently with a hammer to straighten it, or replace it with a new one.

When the Frame Needs Repair

If the frame is cracked, the screw holes are enlarged, or the wood or vinyl is soft or rotted, a new lock will not hold securely. Cracks in aluminum frames can be sealed with aluminum epoxy putty — clean the area, explore the putty, smooth it level with the frame, and let it cure per the product instructions before drilling new screw holes.

Enlarged or stripped screw holes in wood or vinyl can be filled with wooden toothpicks or plastic wall anchors. For wood, coat a toothpick with wood glue, tap it into the hole, break it off flush, and drill a new pilot hole for the screw. For vinyl, insert a plastic anchor into the hole and screw into that. Both methods give the screw something solid to grip.

If the frame is rotted (soft, spongy, or crumbling when you press it), the damage is usually too deep for a patch. The frame section may need to be cut out and replaced, or the entire door unit may need replacement. This is beyond a lock replacement and requires a carpenter or door specialist.

Frequently Asked Questions

Can I replace a sliding patio door lock without removing the door?

Yes. The lock sits on the inside frame and can be accessed and replaced while the door is in place. You do not need to lift the door off its track or remove it from the frame. straightforward open the door fully and work on the inside edge of the frame.

What if the new lock does not fit the hole?

If the new lock is too wide, it will not slide into the pocket. If it is too narrow, it will rattle and not seal properly. Return it and exchange it for the correct size. Bring your measurement or the old lock with you to confirm the width before leaving the store.

Do I need to replace the strike plate too?

Not always. If the old strike plate is in good condition and the bolt aligns with it, you can reuse it. If it is bent, rusted, or the bolt does not line up, replace it. Most hardware stores sell strike plates separately for $3 to $8.

What tools do I need?

A screwdriver (usually Phillips head) is the only tool required. A tape measure helps you confirm the lock size before buying. If the frame is cracked or holes are stripped, you may need epoxy putty, wooden toothpicks, or plastic anchors, all available at hardware stores for under $10.

How do I know if my frame is aluminum or vinyl?

Aluminum frames are silver or gray and feel hard and cool to the touch. Vinyl frames are usually white, tan, or dark gray and feel slightly warm and flexible when you press them. Aluminum frames use mortise locks. Vinyl frames may use either mortise or surface-mounted locks — check your old lock to be sure.