HoneyChess Sign in

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

  1. 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.
  2. 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.
  3. 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

A checklist for your next game

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

Black to move: pin the queen and win it

Further watching

IM Alex Astaneh (Chessfactor): The 4 most important Pins in Chess. From lichess's video library.

Questions

What is a pin in chess?

A pin is when a bishop, rook or queen attacks a piece that can't move away without exposing a more valuable piece, or the king, standing behind it on the same line.

What is the difference between an absolute and a relative pin?

In an absolute pin the piece behind is the king, so moving the pinned piece is illegal. In a relative pin the piece behind is something else valuable, like the queen or a rook, so the pinned piece may move, but it usually costs material.

Which pieces can pin?

Only the pieces that move in straight lines, which are bishops, rooks and queens. Knights, pawns and kings can't pin, though they are often the ones that attack a pinned piece.

How do I stop falling into pins?

Watch for your king or queen sharing a line with an enemy bishop, rook or queen, even with pieces in between, and fix it before the line opens. HoneyChess shows which mistakes you repeat, so you can see whether pins are costing you games, and pin puzzles are free.

Does HoneyChess work with lichess and chess.com?

Yes. Enter your username on either site for a free report on your last 25 games, no account needed.