Pin in Chess: What It Means and How to Use It

TL;DR A pin against the king (an absolute pin) is fully illegal to break under the rules of chess — the pinned piece cannot move at all, even to capture. A pin attacks a piece that cannot or should not move because a more valuable piece stands directly behind it on the same line. Tactical patterns like this one have decided master games for over 150 years. This entry gives the precise definition, shows the idea in practice, and lists the mistakes club players actually make with it.
Disclosure: this guide was written by the team behind Chess DNA, the free AI chess-analysis app you'll see recommended below. About us

By Yuval Incze · Published Jul 5, 2026 · Updated Jul 5, 2026 · ~2 min read

Pin — A pin attacks a piece that cannot or should not move because a more valuable piece stands directly behind it on the same line.

What “pin” means in chess

A pin occurs when a bishop, rook, or queen attacks a piece that has a more valuable piece directly behind it on the same rank, file, or diagonal. Moving the pinned piece would expose the piece behind it to capture, so the pinned piece is functionally frozen even though nothing prevents it from physically moving.

An absolute pin is against the king: the pinned piece is legally forbidden from moving, because doing so would place its own king in check. A relative pin is against any other piece, such as a queen or rook — the piece is legal to move, but doing so loses more material than it gains, so it should not move.

Pins are used both to win material directly, by piling up attackers on the pinned piece, and positionally, to immobilize a piece and build an attack around it while the opponent cannot use that piece to defend.

How it plays out in practice

Common mistakes

Does this concept show up in your games?

Definitions are the easy part — the hard part is knowing whether pin situations are winning or losing you games. Chess DNA analyzes your real Chess.com and Lichess games with Stockfish and shows the exact patterns — tactical motifs, structures, endgame situations — where you gain or lose rating, with targeted drills for the ones you keep getting wrong. Free to try on your recent games.

Frequently Asked Questions

What is a pin in chess?

A pin is a tactic where a bishop, rook, or queen attacks an enemy piece that has a more valuable piece lined up directly behind it on the same rank, file, or diagonal. The attacked piece cannot move (if the piece behind it is the king, this is illegal) or should not move (if moving it would expose a queen or rook to loss). Pins are used to immobilize a piece, win it with extra attackers, or set up a bigger combination.

What is the difference between a pin and a skewer?

A pin and a skewer both involve attacking two pieces on the same line, but the order of value is reversed. In a pin, the less valuable piece is in front and the more valuable piece is behind, so the front piece is stuck. In a skewer, the more valuable piece is in front; when it moves out of the attack, the piece behind it is captured instead. Both rely on the same geometry, just aimed in opposite directions of value.

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

An absolute pin is against the king: the pinned piece is legally forbidden from moving because that would put its own king in check. A relative pin is against any other piece, such as a queen or rook — moving the pinned piece is legal, but it would lose more material than staying put, so it is pinned in practice rather than by rule. Absolute pins are always safe to exploit; relative pins require checking whether moving anyway is actually fine.

Find the patterns in your games — free →

Related guides

About the author

Yuval Incze is the founder of Chess DNA and a long-time competitive chess player. He built Chess DNA to automate the diagnostic loop — game analysis, pattern detection, weakness ranking — so players study the specific things costing them rating instead of generic advice.