Home / Neighbors ask / What is a rim lock and where is it used?
Neighbors Ask
What is a rim lock and where is it used?
A rim lock is a lock case screwed onto the inside face of a door instead of being buried in its edge. It turns up on older doors, gates, sheds and cabins, and it has a few quirks worth knowing.

Neighbors Ask
The plain definition
A rim lock is a lock whose working parts sit in a case mounted on the surface of the door, usually on the inside face, rather than being cut into the door's edge. You can see the case from inside the room: a metal or sometimes wooden box with a bolt that slides out toward the frame. From outside you see little more than a keyhole or a round cylinder face.
The name comes from the way the lock sits on the rim, or surface, of the door. That one design choice explains almost everything else about it. Because nothing has to be carved out of the door, a rim lock suits thin doors, old doors, doors with panels and doors that nobody wants to weaken with a large hole.
If you have ever noticed a boxy lock on a cabin door, a shed, a barn door or an older apartment door, there is a good chance you were looking at one. Most of us walk past them without a name for them, which is why this question lands in the neighbors ask column now and then.
How a rim lock works inside the box
Open the case, which a locksmith does carefully, and you find a handful of simple parts. There is a bolt that slides in a track, a spring that pushes it toward the locked position, and a mechanism that connects the bolt to a key or a knob. In a lock with a latch, there is a second, beveled piece that lets the door close without turning anything.
The key side of the story depends on the type. An old style rim lock may use a warded or lever mechanism, where the key's shape lifts or moves levers inside the case. A more modern version uses a rim cylinder, a small round pin tumbler lock that fits through a hole in the door. A tailpiece, a flat metal bar, passes from the back of the cylinder into the case and moves the bolt when the key turns.
The bolt does not enter a hole drilled in the frame. Instead it slides into a separate keep, sometimes called a staple or a box strike, that is screwed onto the surface of the doorframe. The whole system is visible and reachable from the inside, which is why it is easy to inspect and, for the right person, easy to repair.
How a rim lock differs from a mortise lock
People often confuse the two, and the difference is simply where the lock lives. A mortise lock sits in a pocket cut into the edge of the door, with a deep case hidden inside the wood or metal. A rim lock sits on top of the door. The mortise needs a thick enough door and a precise cut, while the rim lock needs just a few screws and a hole for the cylinder.
That has consequences. Mortise locks are often strong and handsome, but they remove a lot of material from the door. Rim locks are simpler to fit and simpler to swap. If you are curious about the other half of the comparison, our page on what a mortise lock is sets the two side by side.
There is also a third relative worth naming, the cylindrical lock, which is the common round knob or lever set found on most modern homes. It sits in two holes drilled through the door, one across the face and one into the edge. Compared with that, a rim lock is a different animal, closer to the door's surface and often an extra rather than the only lock.
Where you tend to find rim locks
The older house is the classic home for a rim lock. Many early doors were fairly thin, and a surface mounted lock was a practical way to secure them without weakening the wood. You still see them on front doors of older buildings, on interior doors with brass boxes and on cellar or pantry doors that were once locked for good reason.
Outbuildings are the second home. Sheds, workshops, barns and cabin doors often carry a rim lock or a surface mounted deadlock because the doors are plain boards, because the owner wants something that can be fitted with a screwdriver, and because the lock is easy to see and replace. In the country around Shasta Lake, Palo Cedro and Cottonwood, a rural property often has at least one such door.
You will also find rim hardware on gates, on some storage rooms and on doors that need an extra lock beyond the main one. A surface mounted deadbolt, sometimes made vertical, is a common reinforcement on an apartment or a front door that already has another lock. In that role it works as a second line, which is a different job from being the main lock.
One more place worth a mention is the interior of a business. Storerooms, supply closets and offices sometimes carry a rim lock because the door was never designed for a deep lock case, or because the hardware was added later. When a shop owner asks what to do about such a door, the answer usually starts with what the door is made of, who needs a key, and whether the room holds anything that makes it worth upgrading. Our page on door hardware for business goes through those questions.

What a rim lock does well
Simplicity is its great strength. There is little to carve out of the door, and the case is accessible, so a competent person can often fit, swap or rekey one without a large amount of work. For a door that cannot take a deep mortise pocket, such as a hollow door or one with glass panels, a rim lock can be the more sensible choice.
Visibility is another advantage. Because the case is exposed on the inside, you can look at the screws, see wear, notice a loose keep and spot trouble early. Compare that with a lock buried in a door edge, where problems hide until the key refuses to turn. Many owners like that they can tell at a glance whether a rim lock is intact.
Rim locks also tolerate odd doors. A door that has swelled, shrunk or warped over a mountain winter can be difficult for a lock that relies on a precise hole in the frame. Because the keep is surface mounted, it can often be moved a little or repositioned, which makes adjustment more forgiving. Our page on lock repair and adjustment covers how a technician approaches that.
Where a rim lock is weaker
Every design has give and take, and we will say it plainly without drama. Since a rim lock is held to the door by screws, its strength depends on those screws and on what they bite into. A thin or cracked door, short screws or a loose frame will all undermine even a heavy case. The lock itself is only a part of the answer.
The frame matters too. A surface keep fixed with short screws into soft wood can be a weak point because the force of a shove goes straight into those threads. Longer screws that reach solid framing, a sturdy keep and a door that fits well make a large difference. A professional looks at the whole assembly, not the lock alone, which is true of any lock but especially of this one.
Lastly, because the case is on the inside, a rim lock is typically a secure choice only if the inside is out of reach. A glass panel next to the lock, a mail slot or a window within arm's length can defeat any lock on that door. We will not go into methods here, but the sensible lesson is that where there is glass near the hardware, the choice of lock matters less than how the door is built.
Rim cylinders and keys
If your rim lock has a round, key operated face, it likely uses a rim cylinder. This is a small pin tumbler lock with a threaded collar or a pair of screws that hold it through the door, and a tailpiece at the back that drives the bolt. Rim cylinders can be rekeyed or replaced without touching the case, which makes them a convenient fix when keys go missing.
The keys are different from the usual house key shape in many cases, because the cylinder is smaller. That affects copying. A hardware counter may or may not have a blank for your key, and the matching of the keyway matters more than people expect. If you are trying to understand why a copy does not work, our explainer on what a key blank is helps.
Old lever and warded keys are a world of their own. A large iron key with a plain bit may open an antique rim lock, and replacement keys for those are often cut or filed by hand from a blank. If you have an old lock whose key is lost, a locksmith can often make a working key by studying the lock, and sometimes repair the case instead of replacing it, which is a sound choice for a door you want to keep original.
Rim locks as a second lock on a modern door
A common modern use is the surface mounted deadbolt added to a door that already has a lock. One form is a vertical bolt that hooks into a keep on the frame, so that the door cannot be pushed away from the frame easily. These are popular for apartments, older front doors and any situation where a drilled lock would be too invasive.
If you rent, this matters, because a surface mounted lock needs only screws and can often be removed later, but rules differ from place to place and from landlord to landlord. Do not assume you can add one. Ask your landlord or manager what is allowed, and keep the original hardware if you remove anything. Our note on what renters should ask a landlord about lock changes lists useful questions.
If you own the door, you have more freedom, but the same caution about screws and framing applies. A second lock is only as strong as its anchoring, so choose a case and keep that fit the door and are attached with proper fasteners. Our page on new lock installation describes how an installer approaches the job.
Taking care of a rim lock
Maintenance is gentle and mostly visual. Every so often, look at the case and the keep and check that the screws are snug. A rim lock that has been used for years can work its screws loose, and a door that moves a little between seasons will slowly change the fit. Tightening a screw is a two minute job that can save you a service call.
Treat the moving parts kindly. A rim cylinder takes the same dry lubricant as any pin tumbler lock, and a light touch is plenty. The bolt and its track inside the case can take a trace of a suitable lubricant, but wet products attract dirt. If the case has become stiff, resist the temptation to flood it. Our article on what lubricant belongs in a lock sets out the choices.
Finally, watch the door. A door that has begun to sag or drag changes how the bolt meets the keep, and a lock that used to slide in easily may begin to bind. Often the cure is to adjust the hinges or move the keep a little rather than to touch the lock at all. Looking at the door as well as the lock is how experienced hands solve these problems.
When to ask a locksmith to look
Ask for help when keys are lost and the cylinder needs rekeying, when the bolt no longer reaches the keep, when the case is cracked or when you simply cannot tell whether an old lock is worth saving. A mobile locksmith can inspect the rim lock where it is, at your door, with tools and common hardware on the van, and tell you whether a repair, a rekey or a replacement makes sense.
We serve Redding, Anderson, Shasta Lake, Cottonwood, Palo Cedro, Millville, Lakehead and Sims in Shasta County, and Mount Shasta, Yreka, Dunsmuir, McCloud, Weed, Granada, Montague, Fort Jones and Etna in Siskiyou County. Older homes and rural outbuildings turn up all over that map, and rim hardware is one of the things you meet there. A look at our home lock service page shows the range of work.
Call (279) 229-0277 or use the request form on the contact page. In the meantime, the request form is the way to describe your door: the type of lock, what is happening and whether the door is secure right now. A few plain sentences and a note about the building are enough for a technician to know what to bring.
Good to know
Common questions
Is a rim lock the same as a deadbolt?
Not exactly. A deadbolt is a type of bolt that does not spring back, and a rim lock is a way of mounting a lock on the door's surface. Some rim locks have a deadbolt, some have a spring latch, and some have both. Look at how it moves and whether the key is needed to retract the bolt.
Can a rim lock be rekeyed?
Often yes, if it uses a rim cylinder. The cylinder can be taken out, rekeyed or replaced without changing the case. Old lever or warded types work differently, and a locksmith may need to inspect them. Ask for a look at the lock before assuming anything about what is possible.
Are rim locks secure enough for an outside door?
They can be, when the case is solid and the screws and keep are properly anchored into good wood or framing. A weak door or frame is the usual problem, not the lock itself. A professional can check the whole set up and suggest reinforcement if it seems needed.
Why can I not find a key for my rim lock at the hardware counter?
Rim cylinders and old lever locks often use keyways that are not common on standard key racks. The blank has to match the keyway, and some are only available from specialist sources. A locksmith can identify the lock, cut a key to code or make one by hand.
Can I add a rim lock to a door myself?
Many people do, since the work is mostly screws and a hole for the cylinder. The trouble comes from a poor fit, short screws or an unsuitable door. If you rent, ask the landlord first, because rules vary. If you are unsure, an installer can fit it so that it holds.
My rim lock bolt no longer reaches the keep. What changed?
Doors move with the seasons, hinges loosen and frames shift. The bolt may simply be missing its target by a small amount. Tightening hinge screws or repositioning the keep often solves it. If the case itself is loose or damaged, a technician can look at the lock and the door together.