Pin in Chess: Absolute and Relative Pins, Examples and Puzzles
Ferzika Editorial Team · updated · 8 min

A pin in chess is when a bishop, rook or queen attacks a piece with a more valuable piece behind it on the same line. If the king is behind it, the pin is absolute: by the rules, the piece cannot leave the line. If a queen or rook is behind it, the pin is relative: the piece can move, but the valuable piece will come under attack.
- Only a long-range piece can pin: a bishop, rook or queen.
- The rules forbid leaving an absolute pin; leaving a relative pin is allowed, but at your own risk.
- You win a pinned piece by attacking it with a pawn or by adding attackers.
- A relative pin can turn out to be false: check the counterstrike before capturing.
What is a pin in chess
The attacking piece hits along a line on which two enemy pieces stand in a row. The front one shields the one behind it. If the front piece moves away, the rear piece comes under attack. Knights and pawns cannot pin: their attacks don't run along a line.
1. 2. 3.
Absolute and relative pins
| Absolute | Relative | |
|---|---|---|
| What stands behind | The king | A queen, a rook or another more valuable piece |
| Can the pinned piece move away | No, the move is illegal | Yes, but it usually loses material |
| Does it still guard squares | Yes, but cannot capture on them | Yes, and can capture if it pays off |
| Main risk | The piece is attacked by something cheaper | You forgot about it and blundered a valuable piece |
The absolute pin rests on the rules: under Article 3.9.2 of the FIDE Laws of Chess, you may not make a move that leaves your own king in check. A pinned piece may move only along the line of the pin, if it is able to: for example, a rook pinned on a file moves along that file.
A pinned piece still controls squares. Under Article 3.9.1, a king is in check even if the piece attacking it is pinned. So the enemy king cannot step onto a square attacked by a pinned piece.
A relative pin looks like this. The g5 bishop attacks the f6 knight, with the queen on d8 behind it. The knight may move, but then the queen is lost.
1. 2. 3. 4.
More on the opening itself in the article on the Queen's Gambit.
A common mistake: this is not a pin yet
1. 2. 3.
How to exploit a pin: examples and puzzles
A pinned piece can't run away, so you attack it once more. The rule is simple: the cheaper the new attacker, the better. Here are three motifs.
1. Attack the pinned piece with a pawn
Show the answer
e5 Qd7 exf6
1. e5! The pawn attacks the pinned knight, and the f4 pawn protects it. If the knight moves away, the queen is lost after 2. Bxd8. On 1... Qd7 White takes 2. exf6, and after 2... gxf6 3. Bxf6 is a piece and a pawn up. On 1... h6, 2. Bh4 is enough: the pin stays, and the e5 pawn still attacks the knight.
Show the answer
e4 Re1 exf3
1... e4! The knight can't leave: 2. Nd4 is met by 2... Bxd1, and 2. Ne5 by 2... Bxe5 3. Qxd7 Bxd7. On 2. Re1 Black calmly takes 2... exf3. Protecting the knight with pieces doesn't help: a pawn attacks it, and the trade will favor Black.
2. Pin so that capturing makes no sense
Show the answer
Bb4 Qxb4 axb4
1. Bb4! An absolute pin: the e7 queen shields the king on f8 and cannot leave the a3–f8 diagonal. It can only take the bishop, but the bishop is protected by the a3 pawn: 1... Qxb4 2. axb4. That is a queen for a bishop. Note that trading queens with 1... Qxe2 is not allowed, it is illegal.
3. A defender that doesn't really defend
Show the answer
Qh7#
1. Qh7#. The f6 knight is pinned by the b2 bishop to the king on g7, so it can't capture on h7. The queen is protected by the h1 rook. The queen itself covers g8, h8 and h6, and f8, f7, f6 and g6 are occupied by Black's pieces. There is a defender on the board, but you can't count on it.
Pins are dangerous because people forget about them mid-game. Ferzika reviews your games and flags every mistake involving a pin, so you can see how often it repeats.
When a pin turns out to be false
A relative pin does not forbid the move. If the pinned piece has a blow stronger than losing the queen, it leaves the line. Two famous traps are built on this.
1. 2. 3. 4. 5. 6. 7. 8.
1. 2. 3. 4. 5. 6. 7. 8. 9.
How to get out of a pin
| Method | When it works | What to watch for |
|---|---|---|
| Move the rear piece away | Relative pin | The queen leaves while still protecting the pinned piece |
| Interpose a piece | Both kinds of pin | The piece you put in must not become a target itself |
| Chase away the pinning piece | Bishop on g5 or b5 | The moves h6 and g5 weaken the king's position |
| Trade off the pinning piece | A knight next to it | The trade gives up the bishop pair but removes the problem |
| Counterstrike | You have a stronger threat of your own | Calculate first, as in the traps above |
As soon as a pin appears, ask: can the opponent attack this piece with something cheaper? If so, solve the problem at once, before a pawn arrives. Read more in the lesson on the pin and the topic pin.
- 1A pin appearsCan the opponent attack with something cheaper?
- 2If so, act at onceBefore the pawn arrives
- 3Pick a methodMove the rear piece, interpose, chase away, trade or counterstrike
How a pin differs from other tactics
A close relative of the pin is the skewer. There it is the other way round: the valuable piece stands in front, it moves away and exposes the cheap one behind. And a fork is a strike from one point in different directions. All the tactics are collected in the tactics catalog.
FAQ
What is a pin in chess, in simple words?
Your piece stands on a line, a more important piece stands behind it, and an enemy piece attacks from the front. If you move away, you expose what is behind.
What is the difference between an absolute and a relative pin?
In an absolute pin the king is behind the piece, and the rules forbid leaving the line. In a relative pin a queen or rook is behind it: the move is allowed, but usually not worth it.
Can a pinned piece give check?
Yes. Under Article 3.9.1 of the FIDE Laws, a king is in check even if the attacking piece can't move because it would expose its own king. So a king may not step onto a square attacked by a pinned piece.
Can a knight pin a piece?
No. A knight does not attack along a line, so a pin can only be made by a bishop, rook or queen. A pawn and a king don't pin either.
How do you break a pin in a game?
Move the queen or king off the line, put a protected piece between them, or chase away the pinning piece. Each time, first check whether a new strike appears.




