In the collection Everyday engineering
How does a pin tumbler lock work, and where did it come from?
A pin tumbler lock uses spring-loaded pin pairs that block a rotating plug until the right key lines them up. The idea echoes ancient Egyptian locks; Linus Yale Jr. shaped the modern form.
AI-drafted from web search results, then checked by a second, independent AI that read 3 of its 5 cited pages in full and found the thread supported. No person has reviewed it.

The short answer
A pin tumbler lock keeps a rotating plug jammed in its housing with spring-loaded pins. The correct key lifts every pin to exactly the right height, which frees the plug to turn and withdraw the bolt. The principle is very old, with versions reported in ancient Egypt and Mesopotamia, but the compact cylinder form used today is credited to the American Yale family in the 19th century. [1] [2]
How the mechanism works
The lock has an outer housing and an inner rotating cylinder called the plug, which the key enters. The thin boundary between them is the shear line. Five or six vertical chambers are drilled through both parts. Each holds a coil spring, a driver pin, and a key pin, and the key pins vary in length to match the cuts on the key. Sources describe the plug's far end as carrying a cam or lever that retracts the bolt. [3] [1]
With no key, the springs push the pin pairs down so the driver pins cross the shear line and lock the plug to the housing. The correct key lifts each key pin so the joint between key pin and driver pin sits at the shear line in every chamber at once. Nothing crosses the gap, and the plug turns. A wrong key leaves at least one pin straddling the shear line, so the plug stays stuck. Locks designed for master keys may add extra driver pins, called spacer pins. [3] [4]
Ancient roots
The basic principle may date back as far as 2000 BC in Egypt. That lock used a wooden post fixed to the door and a horizontal bolt sliding into it. The bolt had vertical openings holding a set of pins, and a key lifted the pins high enough to let the bolt move. An early tumbler lock was also found in the ruins of the palace of Sargon II (721–705 BC) at Khorsabad in Iraq, and the Wikipedia article mentions linguistic and archaeological evidence of such locks in Mesopotamia, though one of its archaeological claims is marked as needing a citation. The dates are given as possibilities, not firm findings. [1] [4]
From Egyptian wood to Yale's cylinder
The Egyptian type could be defeated by lifting the pins uniformly past the unlatching point. In 1805, Abraham O. Stansbury received an English patent for a double-acting pin tumbler lock, in which lifting the pins too far or too little prevented opening. It drew on the earlier Egyptian locks and on Joseph Bramah's tubular lock. Linus Yale Sr. is credited with a cylindrical pin tumbler lock in 1848, and his son Linus Yale Jr. patented a smaller flat key with serrated edges and pins of varying lengths in 1861. That design is very close to the locks made today. [1] [4]
Encyclopedia.com says the Yale lock was hard to pick and cheap to mass-produce, and within several years replaced virtually all earlier lock technology. A historical locks site suggests Yale Sr. probably took the principle from an Egyptian tumbler lock, with some Bramah technology added. [2] [5]
Where sources disagree
The sources give different dates for Yale Jr.'s breakthrough. Encyclopedia.com and Wikipedia say 1861, while a locks history site and another summary cite his patent number 48,475, dated 1865. The 1861 and 1865 dates may reflect different events, such as an earlier invention and a later patent, but the results do not settle this. The sources agree that Yale Jr. refined his father's work. [5] [2] [1]
Timeline
- c. 2000 BCPossible early pin tumbler principle in Egypt, using a wooden post and pins
- 1805Abraham O. Stansbury receives an English patent for a double-acting pin tumbler lock
- 1848Linus Yale Sr. is credited with a cylindrical pin tumbler lock
- 1861Linus Yale Jr. patents a smaller flat serrated key with pins of varying lengths (per some sources)
Drawn from the dates given in this thread.
Sources
- Pin tumbler lock (en.wikipedia.org) Found by source search. Not checked by a person.
- Lock | Encyclopedia.com (encyclopedia.com) Found by source search. Not checked by a person.
- www.scienceabc.com (scienceabc.com) Found by source search. Not checked by a person.
- How (webhelper.brown.edu) Found by source search. Not checked by a person.
- The lock principle started out simple, with the idea of an inner cylinder that turns on an axis inside an outer cylinder. (historicallocks.com) Found by source search. Not checked by a person.
Questions to follow next
- How does lock picking defeat a pin tumbler lock?
- How do master key systems work with spacer pins?
- What was Joseph Bramah's lock and why did it matter?