What is a pin in chess?
A pin is an attack on a piece that can't move off the line without exposing a more valuable piece behind it. Only bishops, rooks and queens can pin, because only they attack along lines.
Absolute and relative pins
If the piece behind is the king, the pin is absolute. Moving the pinned piece off the line would leave the king in check, so the rules don't allow it. It can still move along the line, toward the attacker or away from it.
If the piece behind is something else, like a rook behind a knight, the pin is relative. Moving the front piece is legal, but it gives away the piece behind. ChessTold words the two differently: for an absolute pin it says the piece cannot leave the file, rank or diagonal; for a relative pin it says moving the piece would expose the one behind it.
A pin on the queen
Re1 pins the black queen on e5 to the king on e8. The queen can still move along the e-file, and the engine's line shows Black's best try: Qxe1+, taking the rook that pins it. Then Bxe1 takes the queen, so White has won a queen for a rook.
The evaluation stays at -27.2 because Black started this position with far more material. The pin wins back four points of material (a queen is worth about 9, a rook about 5), and it is the engine's top move, but it doesn't turn the game around.
- Move
- Re1
- Played by
- White
- FEN before
- rnb1kb1r/ppp2ppp/8/4q3/8/8/PPPB1PPP/R5K1 w kq - 0 1
ChessTold Engine, depth 13
-27.2 Re1 Qxe1+ Bxe1 Nc6 h3 Be6
ChessTold
Re1 pins the queen on e5 to the king on e8, so the queen cannot leave the e-file. After Qxe1+, White takes the queen with Bxe1 and ends up ahead in material.
Run this position in the reviewThe review runs the engine live, so its line and sentence can differ slightly from the ones above.
A pinned piece is a bad defender
Pins also break defences. In this position the black knight on e7 looks like it guards d5, so Bd5 seems safe. It isn't: the rook on e1 pins the knight to the king on e8, so the knight can't recapture, and Nxd5 wins the bishop. Black was clearly winning (-11.8) before this move, and after it White is better (+1.5).
- Move
- Bd5
- Played by
- Black
- FEN before
- r1q1k2r/pb2nppp/1p1p4/8/8/2N5/PPP2PPP/3QR1K1 b kq - 0 1
ChessTold Engine, depth 13
+1.5 Nxd5 Qd7 Rxe7+ Qxe7 Nxe7
ChessTold
Bd5?? hangs the bishop on d5: the knight on e7 cannot recapture because it is pinned to the king on e8 by the rook on e1, and White wins it with Nxd5. Better was Qd7.
Run this position in the reviewThe review runs the engine live, so its line and sentence can differ slightly from the ones above.
Using and escaping pins
- When you count a square's defenders, leave out any defender that is pinned to its king.
- A pinned piece can't run, so attacking it again, for example with a pawn, often wins it.
- To get out of a pin, you can move the piece behind it, put another piece in between, or take or chase away the piece that pins.
A skewer is the same line-up with the order reversed: the more valuable piece is in front. A pinned defender is one way a piece that looks defended can still be hanging.
Check your own games
Paste a finished game from Lichess or Chess.com. Our own chess engine runs in your browser and ChessTold explains each mistake in one sentence. The web review is free.
Review a game