Ibn al-Jazarī › Locks › Four bolts on a door

Book of Knowledge · Category VI, Chapter 4 · 1206

Four bolts on a door: one key, four directions

One turn of a key, and four bolts slide out of the back of a door: up, down, left and right, all driven by a single toothed bronze wheel. Take the key away and a hidden spring blade locks the wheel, so nothing can move them. Turn the key in interactive 3D, lift the tray, then watch the film.

Updated 2026-10-25 · 5 min read · Interactive model + 4-minute film

3D reconstruction of al-Jazari's four bolts on the back of a door: a toothed bronze wheel in a wooden tray, with four bolts reaching into the door frame
Drag to orbit, scroll or pinch to zoom. Try pushing a bolt with the key in, then with the key out.Open the 3D model full screen ↗

Four bolts, four directions

“They are four bolts made from wood or from iron, on the back of a door, but placed in four different positions. They are locked and opened by a key. One closes to the right, one to the left, another upwards and another downwards.” Al-Jazarī's aim is plain: “There is no place in the four bolts through which an evildoer can enter.” From the street there is only a small hole in the middle of the door, and once the key is withdrawn, “nothing can move them except the key”.

The back of the door: four bolts held in a wooden tray around a bronze wheel
The back of the door, bolts thrown into the frame. The door, the courtyard and all sizes not given in the text are our reconstruction.

The parts

  1. Two long bolts (ḥ, m), slightly shorter than the door is tall, 2 fingers thick and 4 fingers wide.
  2. Two short bolts (d, z), slightly shorter than the door is wide, square (4 fingers), with a recess cut to half their depth between a mark at one third of the length and a mark 2 fingers from the other end.
  3. About ten triangular teeth on each bolt, cut in its narrow side and facing the centre.
  4. A wooden tray he calls the beehive (qafīr), with grooves to take the bolts crosswise; the short bolts lie on top of the long ones.
  5. The pulley (bakra, w): a cast-bronze wheel without a groove, as thick as two bolts, filed into triangular teeth all round, with a short cylinder that fits a hole in the door and a bore with a narrow slit.
  6. On its other side a smaller toothed wheel, half a finger thick, and against it an iron blade (mishqāṣ, e): a sharpened bow-shaped strip nailed to the tray, its tip between the small wheel's teeth, with a hole in its middle and an opening behind it.
  7. The key (a): an iron rod with a tongue (shaziya) on it.
The bolts and tray seen from the door side, with the door removed
With the door removed and seen from the door side, as in Hill’s drawing: the short bolts lie on top of the long ones, every row of teeth faces the centre.

How it works

The key goes in from outside, through the door and “right through the pulley”, and its tongue fills the narrow keyway in the bore. Pushed home, it presses the blade back into the opening behind it, so the blade's tip comes out of the small wheel's teeth: the wheel is free. “When the key is turned the pulley rotates and pushes each bolt in one of four directions.” The top of the wheel moves one way and the bottom the other; one side rises and the other falls. The bolts are closed; “they open in the reverse direction”.

Section through the door: the key passes through the door and the wheel
Cut through the middle: the key passes the door and the wheel, and its tongue fills the slot in the bore.
The bow-shaped blade with its tip between the teeth of the small wheel
Key out: the blade’s tip sits between the small wheel’s teeth, so the wheel, and every bolt, is held.

Quick test

A thief slips a knife through the gap and pushes one bolt. What happens? A, that bolt slides back; B, all four slide back; or C, nothing moves?

Show the answer

C. A bolt can only move if the wheel turns, and the blade in the small wheel's teeth will not let it. Only the key lifts the blade.

What the text leaves open

  • No size is given for the door, the wheel or the key, so our proportions, the wheel's sixteen teeth and the quarter turn are a reconstruction.
  • The text says the tray is “4 fingers” thick; Hill takes this to mean four finger-lengths, since the two bolts together are already 4 fingers.
  • Hill notes slips in the drawings: the wheel in Fig. 172 is drawn square, and in Fig. 170 the short bolts are not shown on top of the long ones at every crossing (the Dublin manuscript gets this right).
  • The thicker portions left at the ends of the bolts are a puzzle; Hill guesses they held the bolt ends steady and perhaps limited their travel. The iron guides in our model are our own guess.

The first rack and pinion?

No. More than a thousand years earlier, the water clock of Ctesibius of Alexandria, as described by Vitruvius, had a float carrying a toothed rod that turned a toothed drum. What is new in al-Jazarī's door is the layout: one wheel, four racks, four directions, and a catch that only the key can release. Donald Hill wrote that nothing resembling either of al-Jazarī's locks had come to his attention. In 1874 a US patent for “bolt-works for safe and vault doors” used pinions driving racks to throw bolts up, down and sideways at once: the same idea, found again, with no known link.

The street side of the door: a studded door with a small keyhole and the key
The street side: no handle, no latch, only a small hole.

Watch the film

Film: al-Jazari's four bolts on the back of a door

Questions & answers

What are al-Jazari's four bolts on the back of a door?

Chapter 4 of Category VI of al-Jazarī's Book of Knowledge (1206) describes four bolts of wood or iron on the back of a door, locked and opened by a key: one closes to the right, one to the left, one upwards and one downwards. His aim: 'there is no place in the four bolts through which an evildoer can enter', and when the key is withdrawn nothing can move them except the key.

How does one key move four bolts?

Each bolt has about ten triangular teeth facing the centre. A cast-bronze wheel (he calls it a pulley, bakra), as thick as two bolts and toothed all round, sits in the middle and meshes with all four. Turned by the key, its top moves one way and its bottom the other, one side rises and the other falls, so each bolt is pushed in its own direction.

Why can't a thief push a bolt back?

A bolt can only move if the wheel turns. On the back of the wheel is a smaller toothed wheel, and a sharpened, bow-shaped iron blade nailed to the tray rests with its tip between its teeth, so the wheel cannot turn. Only the key, pushed home through the wheel's bore, presses the blade back into an opening behind it.

What is the key like?

An iron rod with a tongue (shaziya) on it. It goes through a hole in the middle of the door, right through the wheel, and the tongue fills a narrow slot in the wheel's bore, so turning the key turns the wheel.

Did al-Jazari invent the rack and pinion?

No. The water clock of Ctesibius of Alexandria, described by Vitruvius, used a toothed rod turning a toothed drum more than a thousand years earlier. What is unusual here is one wheel driving four racks in four directions, with a catch only the key releases. Donald Hill wrote that he knew of nothing resembling either of al-Jazarī's locks.

Is there anything like it today?

Safe and vault doors throw bolts on several sides from one mechanism. A US patent of 1874 (No. 149,193) used pinions driving racks to move bolts up, down and sideways at once. There is no known link to al-Jazarī; it is the same idea found again.

How big was it?

The text gives the bolts' thickness and width in fingers (2 and 4 fingers for the long bolts, 4 for the short ones) but no size for the door, the wheel or the key. Our door, the wheel's tooth count and the bolts' travel are a reconstruction.

Sources

  • Ibn al-Razzāz al-Jazarī, Kitāb fī maʿrifat al-ḥiyal al-handasiyya (The Book of Knowledge of Ingenious Mechanical Devices), 1206, Category VI, Chapter 4. English translation and notes: Donald R. Hill, 1974, pp. 202–203, 270 and 275 (Figs. 167–172, 49.1).
  • Vitruvius, On Architecture IX.8 (the water clock of Ctesibius).
  • US Patent 149,193, “Improvement in bolt-works for safe and vault doors”, M. Briggs, 1874.
  • The 3D model is a reconstruction from al-Jazarī's text and Hill's notes; sizes, colours and setting are illustrative.

Next from the Book of Knowledge

Which machine should we open up next?

More clocks, automata and fountains are on their way. Tell us on YouTube which one you want next.