Window Lock Types: How Each One Works and Where It Fits

Most homes use one of a handful of window locks: a sash latch, a cam or crescent lock, a folding casement latch, a track stop for sliding windows, a pin or wedge that limits opening, or a keyed lock. The right one depends on how your window opens and what you need the lock to do: keep intruders out, keep a child from opening the window too far, or let in a little air safely. This guide explains each type, matches it to your window style, and covers the gate locks homeowners often ask about next.
TL;DR
Match the lock to the window style: sash clamps for hung windows, track stops for sliders, folding latches or jammers for casement and awning windows.
The factory latch on most hung windows is a basic closer. A secondary device such as a pin, keyed latch or track blocker adds real resistance.
Child-safety locks limit how far a window opens. The CPSC says to keep openings to four inches or less, and that no device is completely childproof.
Keep an escape route in mind. Any keyed lock on a bedroom window needs a plan for getting out in a fire.
For gates, choose hardware by gate design and weather exposure, and ask a licensed locksmith about anything electronic or automatic.
Table of Contents
The main window lock types and how they work
Window locks fall into a few families. Some are built into the window at the factory. Others are add-ons that you fit later for extra security or safety.
Sash latches
A window latch sits at the top of the sash and joins two parts together when the window is closed. You turn it to lock or unlock. It is the standard lock on single-hung and double-hung windows, which is why you see it on so many older and newer homes alike.
The job of a latch is to pull the sashes tight and keep the window from drifting open. It is a closing device first and a security device second. That distinction matters in the next sections.
Cam and crescent locks
Cam and crescent locks use a rotating cam or a curved sweep that catches behind a keeper. As you rotate it, the sash is drawn against the frame or the neighboring sash. They are most closely associated with hung and horizontally sliding windows, although cam hardware also shows up in casement systems.
If your window has a small lever that swings over a hook on the other sash, you have a version of this lock.
Folding casement latches
Folding latches, also called top-hung window locks, secure casement and awning windows. They mount on the frame and fold down to hold the window closed. Lifting the latch releases it. You will often find one next to a crank handle.
Espagnolette and multipoint locks
An espagnolette lock uses a handle, spindle or fork to drive rods, rollers, pins or cams into keepers around the sash. A multipoint system secures the sash at two or more points, which spreads the holding force around the opening. The UK’s National Protective Security Authority explains that multipoint mechanisms generally resist force better than single-point devices, because one handle engages several locking points. That is general mechanical guidance, not a U.S. rule, but it explains why many newer casement windows lock this way.

Track stops and sliding window locks
Sliding window locks sit in the track to prevent the window from opening. Lever, thumbscrew and some keyed versions are available. A key track stop can lock the window shut, or it can allow the window to open slightly for ventilation. They are simple to fit and simple to remove, which is why they are popular on aluminum and vinyl sliders.

Pin locks, wedges and sash jammers
Pins and wedges work by blocking movement. A pin goes through a hole drilled in the sash and into the frame or the other sash. A hinged wedge sits against the track and stops the sash from travelling. Sash jammers are screw-on devices that clamp down on casement and awning windows. Together they are the most common way to add a limit on how far a window can open.

Keyed window locks
Keyed locks secure the window with a key. Home Depot’s guide lists keyed locks, key track stops and keyed turnbuckles among the options. They suit ground-floor windows, rooms facing the street, and any window you rarely open. The trade-off is simple: you must keep the key somewhere everyone in the home can reach quickly.
Which lock fits which window style
The window style narrows the choice fast. This table sums it up.
Window style | Common built-in lock | Good add-on options |
Single- and double-hung | Sash latch, cam or crescent lock | Sash clamp, pin lock, keyed latch, hinged wedge |
Horizontal sliding | Cam latch or small hook lock | Track stop, key track stop, thumbscrew lock |
Casement | Folding latch, espagnolette handle | Screw-on sash jammer, keyed folding latch |
Awning and hopper | Folding latch, multipoint handle | Sash jammer, keyed latch |
Picture (fixed) | None needed | None for operation |
The pairings follow a common manufacturer guide: hung windows use sash clamps, sliders use track clamps, and casement and awning windows use screw-on sash jammers. Picture windows are stationary, so they normally do not need operating locks. If a fixed window is near a door or at ground level, glass strength matters more than hardware, and that is a window question rather than a lock question.
Why a basic latch often needs a second layer
A latch keeps a window closed in normal use. It is not designed to stop someone who pries or lifts. Seattle Police’s crime-prevention bulletin recommends secondary blocking devices on windows that have latches, and it names pins, keyed latches, screws and track blockers depending on window style. It also advises closing and locking windows whenever you leave.
A practical rule for your home:
Start with ground-floor windows and any window reachable from a porch, carport, fence or patio.
Add a secondary device to each one. Choose by window style using the table above.
Check that every adult in the house can operate the lock without help.
Leave the upper floors for second priority, unless a roof, tree or balcony gives access.
For a wider look at home security habits, this guide to protecting your home covers the layers around the lock itself.
Grades and what they mean
Hardware is sold in grades. Grade 3 is the lowest security grade, and simple pins and barrel bolts fall into it. That is fine on an upper-floor window in a quiet area, but a ground-floor window facing the street deserves something stronger. If you are comparing products, look at the grade and the stated purpose of the lock, since child-safety locks limit opening while keyed locks are designed for home security.
The same logic applies to doors. Our guides to door lock grades and to smart locks versus deadbolts show how frame and grade decide real-world strength, and windows follow the same principle: the lock is only as good as what it is screwed into.
Child safety and fire escape
Window locks serve two different goals, and they do not always point the same way.
Child safety. The U.S. Consumer Product Safety Commission says screens do not prevent falls. It recommends window guards or safety netting and says to limit window openings to four inches or less. It also cautions that no device is completely childproof, and that determined toddlers may overcome or disable some of them. Check guards and netting often to be sure they are secure and properly installed. Child safety locks that stop the sash at a set height let in a breeze while helping prevent falls, so a ventilating stop is a sensible choice for a child’s room.
Escape. Seattle Police also tell homeowners to think about whether a security measure could interfere with escape in a fire. In bedrooms, that means picking a lock that adults can release fast, and keeping any key in a fixed, known spot. If you are unsure which device balances both needs for a particular room, talk it through with a licensed locksmith or your local fire department.
Replacing or adding a window lock
Yes, you can change window locks after the windows are installed. The details decide whether it goes smoothly.
Match the hardware. This Old House stresses that it is critical to match the manufacturer and model number when replacing window hardware. If the markings are gone, photos and sketches sent to a specialized dealer are a reliable way to find a match.
Check the fasteners. Vinyl windows often need pop rivets rather than screws, and the drill bit has to match closely to avoid damaging the frame or the glass. This explainer on window lock replacement with rivets or screws helps you sort that out before you buy.
Test-fit first. Before drilling, check that the lock’s rabbet matches the window profile and test the alignment, as Family Handyman advises.
Think about the whole opening. A new lock on a weak frame, a loose screen track or a worn door beside the window still leaves a gap. When we visit a home for a lock repair or a security upgrade, we look at the full entry picture, not one part.
If you also have a sliding glass door, its lock matters as much as the window locks. See our page on sliding door lock repair in Miami.
Gate lock options for yards and driveways
Many readers who search for window locks are also securing a side gate, a pool gate or a driveway gate. The choice again follows the design of the gate.
A fence-company guide lists gate latches, carabiners, sliding or barrel bolts, keyed padlocks, magnetic and smart locks, and automatic locks for driveway or high-traffic gates. Here is how they compare in practice.
Gate lock type | Best use | What to know |
Gate latch with keyed lock | Side and backyard gates | Combines a latch with a key, so the gate closes on its own and locks when needed |
Barrel or sliding bolt | Inside-only gates | Needs a person on the inside to open it |
Keyed padlock | Chain-and-hasp gates, sheds | Strength depends on the shackle and cylinder |
Carabiner | Temporary closure | Low security on its own |
Magnetic lock | Pool and garden gates | Closes itself and suits child-safety gates |
Smart or automatic lock | Driveway and high-traffic gates | Needs power, and automatic units need professional installation |
A carabiner on a simple gate latch generally gives low security. A dedicated gate chain or a heavy-duty padlock is the sturdier choice for a perimeter.
Outdoor and weather considerations
South Florida’s sun, salt air and rain wear out hardware quickly, so outdoor gate locks need to be built for it. Three checks help:
Cylinder. For padlocks, look for a four-pin cylinder for pick resistance and a shackle length that suits the chain or hasp.
Weather rating. For smart gate locks, look for a high weatherproof IP rating, and plan for a weatherproof power source for electronic locks, as the same fence guide notes.
Install quality. Automatic locks for busy gates need professional installation and a reliable power supply.
For home and business entries beyond the gate, our guide to types of door locks gives the full picture, and business owners can start with commercial door lock types.
How to choose: a short checklist
Use these questions in order:
What style is the window? Hung, sliding, casement or awning decides which locks even fit.
What is the risk? A ground-floor street-facing window needs more than a latch. A second-floor window may need a child-safety stop instead.
Who must open it? Keyed locks add security but slow everyone down in an emergency.
Do you want ventilation? Choose a ventilating stop or a key track stop that holds the window slightly open.
How is the frame made? Vinyl, aluminum and wood take different fasteners.
Is the lock matched to the grade you need? Pins and bolts are fine as light supplements, not as the only protection for a vulnerable window.
After years of lockouts, rekeys and repairs across Homestead, Cutler Bay and Miami-Dade, we see the same pattern. People spend on a strong deadbolt and leave a ground-floor window with the factory latch it came with. We think of a home as a set of openings, and each one needs a lock that matches how it is used. A window that nobody opens can take a fixed blocking device. A bedroom window needs something quick to release. A sliding window needs the track secured, and the door beside it needs its lock in good working order. This is where a local locksmith helps. We look at the opening, the frame and the way your household lives, then recommend a personalized solution rather than a one-size-fits-all product. Our licensed and insured team offers residential lock change and repair, deadbolt and door lock installation, and security upgrades for homes and businesses, in English and Spanish, around the clock. If something at your property is not locking the way it should, call us before it becomes an emergency. Julio Borroto
Our perspective
Need help securing your home or business?
Progressive Locksmith serves Homestead, Cutler Bay and the wider Miami-Dade area with residential and commercial lock repair, rekeying, deadbolt and door lock installation, electronic and digital locks, and access control. We are available 24/7 and aim to reach you in 20 to 30 minutes for emergencies.

If a lock has failed or you want your entry points reviewed, see our full list of locksmith services or reach out through our home page. Already locked out of your house? Our home lockout service is built for exactly that.
FAQ
What is the most common type of window lock?
The sash latch is the most common. It is found on most single-hung and double-hung windows and joins the two sashes when the window is closed. It works well as a closing device, and many homeowners add a pin or keyed lock for extra security.
What is the safest window lock?
There is no single answer, because the best lock depends on the window style and the purpose. Keyed locks are designed for home security, while child-safety locks limit how far a window opens. Multipoint systems on casement windows hold the sash at several points. For most hung and sliding windows, a latch plus a secondary device is a strong combination.
Can I add locks to windows that are already installed?
Yes. Most window styles accept add-on locks such as pins, track stops, sash jammers and keyed latches. Match the lock to the window profile and check the fasteners first, since vinyl frames often call for rivets instead of screws. If you are not sure what fits, a locksmith can advise on the options for your home.
How far should a window open for child safety?
The CPSC recommends limiting window openings to four inches or less, and using window guards or safety netting, because screens do not prevent falls. No device is completely childproof, so check them regularly and keep furniture away from windows.
What lock should I use on an outdoor gate?
It depends on the gate. Side gates do well with a keyed gate latch, while chain-and-hasp gates need a heavy-duty padlock with a four-pin cylinder. Driveway gates often use automatic or smart locks, which need power, a high weatherproof rating and professional installation.
Sources
Types of Window Locks: Sash, Cam, Crescent, Espagnolette and Multipoint
Best Methods for Securely Locking Your Windows, Family Handyman
How to Replace the Sash Lock on a Vinyl Window, This Old House
Guide to the assessment of security afforded by domestic windows, NPSA
Stainless Steel Outdoor Padlock, 2-in Shackle, The Home Depot
Recommended


Comments