A pinned piece is stuck. If it moves, the more valuable piece behind it gets captured. Pins happen in almost every game, and knowing how to use them, and how to get out of them, wins and saves a lot of material.
Quick answer
A pin is an attack on a piece that can't move without exposing a more valuable piece behind it. Only bishops, rooks and queens can pin. In an absolute pin the piece behind is the king, so the pinned piece is not allowed to move at all. In a relative pin the piece behind is something else, so moving is legal but costs material.
- Pinning pieces
- Bishop, rook and queen
- Absolute pin
- The king is behind: moving is illegal
- Relative pin
- A queen or rook is behind: moving loses material
- Level
- Beginner
What is a pin in chess?
A pin needs three pieces on one line: your attacker, the enemy piece in the middle, and a more valuable enemy piece behind it. The piece in the middle shields the one behind, and that job stops it from doing anything else.
In an absolute pin the king is the piece behind. The rules of chess don't let you expose your own king to check, so the pinned piece can't leave the line at all. It can still move along the line, and it can capture the pinning piece if it is able to.
In a relative pin the piece behind is a queen, a rook or another valuable piece. The pinned piece is allowed to move, and sometimes moving it is a strong surprise, but normally it would lose the piece behind.
How to use a pin
- Pile up on the pinned piece. It can't run away, so attack it again, ideally with a pawn. This is the standard way to win a pinned knight.
- Remember that a pinned piece is a bad defender. If it is pinned to the king, it doesn't really protect anything else, so the pieces it seems to guard may be free to take.
- Pin a piece to win it outright. When a queen or rook is pinned to its king by a cheaper piece, it is simply lost, as in the first puzzle below.
How to spot a pin
- Look for two enemy pieces on the same file, rank or diagonal with nothing between them.
- Check that the piece behind is more valuable than the one in front, or is undefended.
- Look at the lines leading to the enemy king. Any piece standing on one of them might be pinned.
Puzzle 1: pin the queen to the king
You play White. Drag or tap the pieces, and press Hint if you get stuck.
Puzzle 2: attack the pinned piece again
A second position with the same idea. You play White again.
How to get out of a pin
- Move the piece behind out of the line, so the pinned piece is free again.
- Block the line by putting another piece between the attacker and your pinned piece.
- Chase or capture the pinning piece, for example with a pawn move such as ...h6 or ...a6 against a bishop.
- Defend the pinned piece enough times that it can't be won, and avoid putting your king and queen on the same open line.
Frequently asked questions
What is a pin in chess?
A pin is an attack on a piece that can't move without exposing a more valuable piece behind it on the same line.
What is the difference between an absolute pin and a relative pin?
In an absolute pin the king is behind the pinned piece, so moving it is illegal. In a relative pin another piece is behind it, so moving is legal but usually loses material.
Can a pinned piece capture?
A piece in a relative pin can capture anything. A piece in an absolute pin can only move along the line of the pin, which includes capturing the piece that pins it.
Can a pinned piece give check?
Yes. A piece pinned to its own king still attacks the squares it normally attacks, so it still gives check and can even help deliver checkmate.
What is the difference between a pin and a skewer?
In a pin the less valuable piece is in front and can't move. In a skewer the more valuable piece is in front, has to move, and the piece behind it is captured.
Keep learning
Skewer
A skewer attacks a valuable piece that must move, exposing the piece behind it.
BeginnerFork
A fork in chess is one piece attacking two or more enemy pieces at the same time.
BeginnerDiscovered attack
A discovered attack uncovers an attack from the piece behind when another piece moves away.
28 tacticsAll chess tactics
Every pattern on CastleEarly, each with a puzzle to solve.