Pin in chess: examples and puzzles
Roman, chess candidate master · · 5 min read
A pin is when a piece can't move away because a more valuable piece stands behind it on the same line. Long-range pieces do the pinning: a bishop along a diagonal, a rook along a file or rank, a queen along any line.
A pinned piece plays badly. It can't run from an attack, and what it was supposed to defend often isn't defended any more. That's why pins make pieces disappear so unexpectedly.
Absolute and relative pins
If the king stands behind the pinned piece, the pin is absolute. The piece can't leave the line at all: the rules forbid a move that exposes the king to check.
If a queen, a rook or another valuable piece stands behind, the pin is relative. The piece may move, but usually it costs whatever stands behind. "Usually" matters: sometimes the move wins, as in Légal's mate below.
A bishop pins the queen to the king
1...Bg5! The queen on f4 and the king on c1 share the c1–h6 diagonal, and the bishop on g5 hits along it. The queen can't step away, so White gives it up for the bishop: 2.Qxg5 hxg5.
Before the capture on f4 the position was level; the queen on e3 could have gone to d2 or f3. Taking the pawn was natural, but it put the queen on its own king's diagonal, the one Black's bishop controlled.
A pinned piece can't run
1...Re7! The rook pins the knight on e6 to the king along the e-file. The knight is undefended and can't escape. To save it White needs two moves (king first, then knight) and has only one: 2.Kd3 Rxe6.
A move earlier 1.Nf4 kept the balance. The king stepped onto the knight's file by itself.
A pinned piece doesn't defend
1.Qxf7+! Rxf7 2.Re8#. The rook on f7 should block on f8 but can't: the bishop on c4 pins it to the king on g8. (1...Kh8 2.Qxf8#.)
That's the sneakiest part of a pin. A piece stands next to an important square and seems to guard it, yet it can't go there. So when you count on a defender, check that it isn't pinned.
A relative pin: Légal's mate
The bishop on g4 pins the knight on f3 to the queen on d1. The pin is relative, and the knight goes: 5.Nxe5! If 5...Bxd1?, then 6.Bxf7+ Ke7 7.Nd5#. The trap is known as Légal's mate. Better is 5...dxe5 6.Qxg4, though White is still a pawn up.
A pin to the queen isn't a pin to the king. The pinning side shouldn't treat the piece as nailed down, and the pinned side should count whether moving it gains more than the queen is worth.
How to play with a pin
- Attack the pinned piece again, ideally with a pawn. It can't retreat, so it has to be given up.
- Check what the pinned piece "defends". If it can't leave the line, those squares and pieces are in fact undefended.
- If your piece is pinned, unpin while there's time: move what stands behind it (often the king), put another piece in between, or attack the pinning piece. The worst option is waiting until the pinned piece is attacked a second time.
How not to get pinned
- Before a queen or king move, check whether they'll end up on one line that an enemy bishop, rook or queen can reach.
- Don't keep your king on an open file or a long diagonal. Then any pin of a piece in front of it becomes absolute.
- Be careful after captures. The capturing piece lands on a new square and so on a new line, like the queen on f4 in the first example.
Why players miss pins in their own games
A pin rarely looks like a threat. Two of your pieces end up on one line after an ordinary move: a capture, a king walk in the endgame, development. The danger only shows when you ask yourself who else can get onto that line.
There's a second thing. Unlike a fork, a pin often stays on the board for several moves, and the mistake comes later: nobody attacks the pinned piece a second time or, the other way round, nobody unpins in time. These moments repeat in your games because the openings and typical positions repeat. Why puzzles from your own games work better than random ones is explained in Puzzles from your own games. Related themes are the fork and the skewer, which is basically a pin in reverse.
Pin puzzles
Lichess has a "Pin" theme (lichess.org/training/pin) with thousands of positions from real games. ClearChess takes positions from your own games: you sign in with Lichess, the Stockfish engine reviews your recent games, and the moments where you let the advantage slip become puzzles in a daily queue, missed pins among them. It's free for up to 5 puzzles a day.
In short
- A pinned piece can't move away because a more valuable one stands behind it. An absolute pin (to the king) forbids the move outright; a relative pin only makes it costly.
- A pinned piece neither runs nor defends: attack it again.
- Pins often come from an ordinary move that puts the king or queen on one line with another piece.