What Is a Pin in Chess? Absolute and Relative Pins
A pin is an attack on a piece that can't safely move, because a more valuable piece stands behind it on the same line. If the piece behind is the king, the pin is absolute: moving the pinned piece is against the rules. If it is anything else, the pin is relative: the move is legal, but it gives away the bigger piece.
How a pin works
Three things line up on one rank, file or diagonal: your attacking piece, the enemy piece in front, and a more valuable enemy piece behind it. Only long-range pieces can do this, so every pin comes from a bishop, a rook or a queen.
A familiar example from the opening: after 1.e4 e5 2.Nf3 Nc6 3.Nc3 Nf6 4.Bb5 the bishop is aimed at the knight on c6, and behind it on the same diagonal sit the d7 pawn and then the king on e8. Once the d7 pawn moves, the knight on c6 is pinned to the king. Another common one is Bg5 against a knight on f6, with the queen on d8 behind it once the e7 square is empty.
Absolute pins: the piece can't move
When the king is behind, the pinned piece is stuck. It can still defend squares and give check, but it cannot leave the line. That makes it a perfect target: attack it with something cheaper, often a pawn, and it can't run away.
There is one detail worth knowing. A pinned piece can still move along the line of the pin. A rook pinned on a file can slide up and down that file, and a queen pinned on a diagonal can even capture the piece that pins it. A knight, on the other hand, can never stay on the same line when it moves, so a knight pinned to the king can't move at all.
Relative pins: legal, but expensive
When the piece behind is a queen or a rook, the pinned piece is free to move, and sometimes that is the right choice: if the piece behind is defended, or if moving the pinned piece creates a bigger threat (a check, or an attack on the queen), the pin may be fake. But most of the time the pinned piece stays put, because moving it loses more than it saves.
This is why relative pins catch people out: they feel optional, so it is easy to forget one is there and move the piece anyway.
How to use a pin
- Pile up on the pinned piece. It can't run, so attack it again, especially with a pawn or a minor piece. If you attack it more times than it is defended, it falls.
- Remember it isn't really defending. A piece pinned to the king doesn't guard anything off the line. A square or piece that seems protected by it may be free to take.
- Pin the queen to the king. A queen on the same line as its king, with nothing between, can be pinned by a bishop or rook, and the queen is lost for that piece.
How to get out of a pin
- Break the line: move the piece behind (step the king or queen off the line), or put a defended piece in between.
- Add a defender to the pinned piece, so taking it costs the attacker too.
- Counterattack: a check or a threat against the queen can give you time to unpin.
- Prevent it: the best fix is not to line up your king and queen with an enemy bishop, rook or queen in the first place. Castling early helps keep your king off the open center lines.
A checklist for your next game
- Before you move, look along every line from your king and queen. Is an enemy bishop, rook or queen on it, even with pieces in between?
- After your opponent moves, ask whether any of your pieces just became pinned, and whether it is defending something important.
- Look for their pieces lined up with their king or queen. Can you put a bishop, rook or queen on that line?
- If one of their pieces is already pinned, ask what can attack it next.
Practice pins
Pins become easy to spot once you have seen enough of them. Play the pin puzzles to drill the pattern, and get a free report on your own games to see whether pins, yours missed or theirs allowed, are costing you points.
Try one from a real game below: the white queen and king are on the same diagonal, with nothing between them.
Your turn
Black to move