Lock internals

How the Pins in a Pin-Tumbler Lock Decide Which Key Turns

The pins in a pin-tumbler lock are small spring-loaded metal pieces stacked in chambers that cross from the housing into the plug, the part of the cylinder that turns. As long as any pin straddles the gap between plug and housing, the plug cannot rotate. The correct key lifts each stack so its split lands exactly at that gap, called the shear line, and the plug turns freely.

Alignment, not force

A pin-tumbler cylinder has three working pieces that decide whether a key turns.

  • The plug: the round core with the keyhole. The plug is what turns when you unlock.
  • The pin stacks: several stacks sit above the plug, each in its own chamber.
  • The springs: a small spring on top of each stack pushes that stack down into the plug.

With no key in, the stacks bridge the plug and the outer housing, so the plug is held in place. A key does not overpower anything. The key's only job is to raise every stack to the right height at the same moment.

What each part of the cylinder does

The housing is the fixed outer shell mounted in the door. The plug sits inside the housing with a very thin gap between them. Each pin chamber runs from the housing down into the plug, lined up over the keyway.

  • Key pins: the lower pins that touch the key. They come in different lengths, matched to the cuts on the key.
  • Driver pins: the upper pins, between the key pins and the springs. With no key inserted, the driver pins are the ones crossing the gap and blocking the plug.
  • Springs: they keep pressure on each stack, so the pins drop back into the plug when the key comes out. That drop is what relocks the cylinder.
  • Shear line: the thin gap between plug and housing. A stack is set when the split between its key pin and driver pin sits right on this line.

Each cut on a key sits under one stack. A deep cut lets a long key pin rest low, and a shallow cut lifts a short key pin higher. When every split lands on the shear line, nothing crosses the gap and the plug turns with the key.

Why a key that fits the slot can still fail

A common picture is that the key shoves the pins out of the way. In that picture, anything that slides in and has roughly the right shape should come close. The pins do not work like that. Each stack needs its own height, and close does not count.

If one cut is too shallow, that key pin rides up past the shear line into the housing. If one cut is too deep, the driver pin hangs down into the plug. Either way, a single piece of metal still bridges the gap and the plug stays put. A wrong key can slide in smoothly because the keyway shape matches, then refuse to turn because its cuts set the wrong heights.

The same logic explains a worn key or a poor copy. Rounded cuts or slightly off depths leave a stack sitting just off the line. You feel that as a gritty drag while turning, which comes from pin tips catching at the edge of the gap.

What the pin model means for rekeying, wear, and upgrades

Rekeying a lock works on the pins, not the hardware. The key pins, and sometimes the driver pins, are replaced with lengths that match a different key's cuts, while the lock body stays in the door. Afterward the old key sets the wrong heights and stops, and the new key lines every stack up.

Wear affects the alignment from both sides. Keys lose metal on their cuts, and pins wear at the tips that ride against the key. If a lock sticks with an old key but turns cleanly with a spare that has seen little use, the old key is the likely cause.

Higher-security cylinders build on the same idea. They use pins that must sit at a certain angle or orientation, extra blocking parts beyond the standard stacks, or both. These features add conditions the correct key has to meet. They are still mechanical parts that wear.

If you are weighing a rekey, a new or higher-security cylinder, or a repair to the latch and handle, the pin model gives you a starting point. Changing who has a working key points to a rekey. A cylinder that drags with every key points to the hardware. Long Island City Locksmith works on all of these, and you can call (917) 500-5130 to talk through which one suits your door.

Frequently asked questions

Does rekeying a lock mean the whole lock is replaced?

No. Rekeying a lock replaces the pins inside the existing cylinder so that a different key lines them up at the shear line, and the old key stops working. The lock body and door hardware stay in place. Replacing the whole lock makes more sense when the hardware is damaged or worn, or when you want a different kind of lock, such as a higher-security cylinder or a keypad model.

Can a lock's pins wear out even if the key looks fine?

Yes. Lock pins rub against the key each time it goes in, so their tips slowly round off, and the springs above them can weaken. A key can look sharp while the pins inside have drifted from the heights it expects. A useful clue is when all the keys for that lock catch or feel rough, not just one. Worn pins call for attention to the cylinder rather than a new key.

Why does a lock sometimes work only when the key is jiggled?

A lock that turns only after jiggling has one or more pin stacks sitting just off the shear line. Moving the key slightly changes how high those pins ride, and at some point they briefly line up. Jiggling is a symptom, not a fix. It usually means the key, the pins, or both have worn, and the extra motion adds wear of its own.

Do all door locks use pins like this?

No. Pin-tumbler cylinders are common on house and apartment doors, but some locks use flat wafers or rotating discs instead of pin stacks, and electronic locks open with a code or signal. Many keypad and smart locks still keep a key cylinder as a backup. That backup cylinder often works on the same pin-and-shear-line idea.

Put the details together

Tell us about the door.

Call the locksmith line any hour. For rekeys, new locks, and door hardware, the homepage form works too.

Back to blog