A pin lock, most commonly called a pin tumbler lock, is the standard lock mechanism found on the majority of deadbolts, door knobs, and padlocks worldwide. It uses a series of small spring-loaded pins of varying heights to prevent the lock from opening without the correct key. When you insert the right key, it pushes each pin to exactly the right position, allowing the cylinder to rotate and the lock to open.
How a Pin Tumbler Lock Works
Inside the lock’s cylinder, there are typically five or six pin stacks arranged in a row. Each stack contains two pieces: a key pin (the bottom pin that touches the key) and a driver pin (the top pin pushed by a small spring). When no key is inserted, the driver pins extend down across the boundary between the inner cylinder (called the plug) and the outer housing, physically blocking the plug from turning.
When you slide the correct key into the lock, the ridges and valleys cut into the key push each key pin upward by a specific amount. The cuts are precisely machined so that every pin stack lines up at the shear line, which is the gap between the rotating plug and the fixed housing. Once all pins reach that exact boundary, nothing blocks the plug from turning, and the lock opens. A wrong key pushes the pins to incorrect heights, leaving at least one driver pin crossing the shear line and keeping the lock jammed in place.
Parts of a Pin Lock
- Plug: The inner cylinder that rotates when the correct key is turned. The keyway (the slot where your key enters) is cut into the face of the plug.
- Housing: The outer shell that holds the plug in place. The driver pins sit partially inside the housing when the lock is at rest.
- Key pins: The bottom pins in each stack, cut to different lengths. These are the pins your key directly contacts.
- Driver pins: The top pins, usually uniform in length, that sit between the key pins and the springs.
- Springs: Small coil springs above each driver pin that push the pin stacks downward, keeping them in the locked position when no key is present.
Some higher-security pin locks add extra components like spool pins, serrated pins, or mushroom pins. These are specially shaped driver pins designed to resist lock picking by creating false shear lines that make the lock feel like it’s opening when it isn’t.
Common Types and Where They’re Used
Pin tumbler locks dominate residential and commercial security. Your front door deadbolt almost certainly uses one. So does the lock on your filing cabinet, your padlock, and most doorknob locks. The mechanism was patented by Linus Yale Jr. in the 1860s and has remained the global standard for over 150 years because it’s reliable, inexpensive to manufacture, and easy to rekey.
Within the pin tumbler family, there’s a wide range of quality. A basic lock from a hardware store might have five pins and a simple keyway, while a high-security version from brands like Medeco or Abloy can have six or more pins, restricted keyways that are difficult to duplicate, and anti-pick features built into the pin design. The number of pins directly affects how many possible key combinations exist. A five-pin lock with ten possible height positions per pin has 100,000 theoretical key combinations, while a six-pin lock jumps to one million.
Pin Lock vs. Other Lock Types
Pin tumbler locks are one of several mechanical lock designs, and each works on a fundamentally different principle.
Wafer locks use flat, wafer-shaped pieces instead of round pins. You’ll find these on most car ignitions (in older vehicles), desk drawers, and cabinets. They’re generally cheaper and less secure than pin tumbler locks, which is why they’re used in lower-risk applications.
Disc detainer locks use rotating discs that must all be turned to specific angles rather than pushed to specific heights. They’re common in high-security padlocks and vending machines. Picking them requires a completely different technique and specialized tools, making them more resistant to casual attacks.
Tubular locks arrange their pins in a circular pattern rather than a straight line, which is why the key looks like a hollow cylinder. You see these on bike locks, vending machines, and some safes. They offer moderate security but can be defeated with inexpensive tubular lock picks.
How Pin Locks Are Defeated
Understanding the vulnerabilities of pin locks helps you make better decisions about your own security. The three most common attack methods are picking, bumping, and raking.
Lock picking uses a tension wrench and a pick tool to push each pin individually to the shear line. The picker applies slight rotational pressure to the plug while lifting pins one at a time. Due to tiny manufacturing imperfections, the pins bind in sequence rather than all at once, allowing a skilled picker to set them individually. A basic pin tumbler lock can be picked in seconds by an experienced person, while high-security locks with anti-pick pins can resist even skilled attackers for extended periods.
Bump keys are specially cut keys that, when struck with a small hammer or mallet, cause all the pins to momentarily jump above the shear line at once. This technique requires minimal skill compared to traditional picking and works on a surprising number of standard pin tumbler locks. Anti-bump pins, which have irregular shapes that prevent clean energy transfer, are the primary defense.
Raking involves inserting a jagged pick and rapidly moving it in and out while applying tension, hoping to randomly set enough pins to open the lock. It’s a brute-force approach that works well on cheap locks but fails against anything with security pins.
What Makes a Pin Lock More Secure
If you’re evaluating a pin lock for your home or business, a few features separate a reliable lock from a flimsy one. Look for locks rated ANSI Grade 1, which is the highest residential and light commercial standard. These locks must withstand 800,000 cycles and significant forced-entry resistance during testing.
Security pins are the single biggest upgrade in a pin tumbler lock. Spool and serrated driver pins create counter-rotation when someone attempts to pick the lock, giving false feedback that makes the plug feel stuck even when some pins appear set. Locks with all security pins are dramatically harder to pick than those with standard pins.
A restricted keyway means the key blank isn’t freely available at hardware stores. You can only get copies from authorized dealers, which prevents someone from photographing your key and cutting a duplicate. The keyway itself is also often more complex, making it harder to insert picking tools.
Six pins provide better security than five, and some high-security locks use seven. More pins mean more possible combinations and more work for anyone trying to pick the lock. Combined with security pins and a restricted keyway, a well-made pin tumbler lock remains an effective barrier despite being based on 19th-century technology.

