Skip to content
♚ Chess Online

Pin in Chess: Absolute, Relative and How to Exploit It

Lesson 3 of 13Intermediate⏱ 6 min read

A pin happens when an attacked piece cannot (or should not) move, because a more valuable piece stands behind it on the same line. If the piece behind is the king, the pin is absolute and moving the front piece is illegal; if it is the queen, a rook or another piece, the pin is relative: moving is allowed, but it costs material.

How a pin works

Only three pieces can pin: the bishop, rook and queen, the long-range pieces. A pin always involves three pieces on the same line (diagonal, file or rank):

  1. the pinning piece, which attacks;
  2. the pinned piece, stuck in the middle;
  3. the shielded piece behind it, which is worth more.

The pinned piece stays on the board, but it is nearly paralysed: it cannot leave the line without exposing what is behind it. Very often it also stops defending the squares it used to cover.

Absolute pin

When the piece behind is the king, the rules forbid moving the pinned piece off the line, because that would leave your own king in check. That is why it is called absolute: there is no choice.

8a7b6c5d4e3f2g1h♜︎♝︎♛︎♚︎♝︎♞︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♟︎♝︎♟︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♚︎♜︎
After 1.e4 e5 2.Nf3 Nc6 3.Bb5 d6, the knight on c6 is pinned: the king on e8 is right behind it on the diagonal.

In this position the c6 knight cannot move at all. An absolute pin is the perfect moment to attack the pinned piece with something cheaper, such as a pawn: it has nowhere to run.

Relative pin

When the piece behind is the queen, a rook or another valuable piece, moving the pinned piece is legal. The question is whether it pays.

8a7b6c5d4e3f2g1h♜︎♞︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♟︎♝︎♟︎♟︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♛︎♚︎♝︎♞︎♜︎
After 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Bg5, the f6 knight is pinned to the queen on d8. It may move, but the queen would be left hanging to the bishop.

Relative pins fool a lot of players, because sometimes the "pinned" piece moves anyway, with a bigger blow. The classic example is the Elephant Trap, in this very opening:

4...Nbd7 5.cxd5 exd5 6.Nxd5? Nxd5! 7.Bxd8 Bb4+ 8.Qd2 Bxd2+ 9.Kxd2 Kxd8

White thought the f6 knight was stuck and grabbed the d5 pawn. But the knight moved, giving up the queen, and the bishop check on b4 won everything back. In the end Black is a piece up for a pawn.

Lesson: a relative pin is not an absolute one. Before relying on it, make sure your opponent has no check or bigger threat.

How to exploit a pin

Found a pinned piece? These are the most common ways to cash in:

8a7b6c5d4e3f2g1h♚︎♟︎♟︎♞︎♝︎♟︎♟︎♟︎♚︎
The f7 pawn is pinned by the bishop on c4. It cannot capture the knight on g6, which sits safely on a square that looked guarded.

Typical opening pins

Many popular openings revolve around a pin, and knowing them helps you avoid traps:

None of these pins wins material on its own. They create pressure: the pinned piece becomes less useful, and any slip (a pawn advance, another piece joining the attack) can decide the game. A common mistake by the side being pinned is to break the pin at any cost with ...h6 and ...g5 (or h3 and g4): sometimes it works, but the advanced pawns weaken their own king.

How to break a pin

💡 Tip: the pin is a close relative of the skewer. In a pin, the front piece is worth less; in a skewer, the front piece is worth more. Learning one helps you see the other.

Pin puzzles

Exercise 1 White to move gives mate in 1. The g7 pawn seems to cover everything.
8a7b6c5d4e3f2g1h♜︎♚︎♟︎♟︎♛︎♟︎♟︎♟︎♝︎♟︎♛︎♟︎♟︎♟︎♜︎♚︎
Hint

Look at the diagonal that starts at the b2 bishop and ends at the king on h8.

Show solution

1.Qh6#

1.Qh6# — the g7 pawn is pinned by the b2 bishop and cannot take the queen. The king has no square: g8 is occupied by the rook and h7 is covered by the queen.

Exercise 2 White to move wins the queen with a pin.
8a7b6c5d4e3f2g1h♜︎♚︎♝︎♜︎♟︎♟︎♛︎♟︎♟︎♟︎♟︎♞︎♞︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♝︎♚︎♝︎♜︎
Hint

The queen on d7 and the king on e8 are on the same diagonal.

Show solution

1.Bb5 Qxb5 2.Nxb5

1.Bb5 pins the queen to the king. She cannot leave the diagonal, and the bishop is protected by the c3 knight. The best Black can do is 1...Qxb5 2.Nxb5: queen for bishop.

Exercise 3 White to move wins a piece by attacking the pinned piece.
8a7b6c5d4e3f2g1h♜︎♝︎♛︎♚︎♝︎♜︎♟︎♟︎♟︎♟︎♟︎♟︎♟︎♞︎♝︎♟︎♟︎♟︎♟︎♟︎♟︎♜︎♞︎♝︎♛︎♜︎♚︎
Hint

The knight on e5 stands on the e-file, between the e1 rook and the e8 king. It cannot run.

Show solution

1.f4 Qe7 2.fxe5

1.f4 attacks the pinned knight with a pawn. Black can defend it (1...Qe7) but not save it: 2.fxe5 dxe5 and White has won a knight for a pawn.

Frequently asked questions

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

In an absolute pin the piece behind is the king, and moving the pinned piece off the line is illegal. In a relative pin the piece behind is something else (usually the queen or a rook): moving is legal but usually loses material.

Which pieces can pin?

Only the bishop, rook and queen, because only they attack along lines. Knights, pawns and kings cannot pin.

Does a pinned piece still give check?

Yes. A pinned piece still controls the squares it attacks: the enemy king cannot step onto them, and it can even give check. What it cannot do is leave the line of the pin if that would expose its own king.

How do I practice pins?

Solve puzzles and, in your games, look for enemy pieces lined up with the king or queen. See also the overview of chess tactics.

Next step

Intermediate · Lesson 4 · 6 min read Skewer in Chess: the Tactic That Goes Through a Piece What a skewer is in chess, skewer vs pin, the skewer with check and the classic rook-endgame trick. With 3 interactive puzzles to practice.

Practice now

Practice pins now

Play against the computer and look for enemy pieces lined up with the king or queen. At Medium level these pins appear often, right from the opening.

▶ Play the AI (Medium)