The Pin in Chess: Types, Examples & How to Use It
Learn everything about pins in chess: absolute pins, relative pins, how to create them, how to exploit them, and how to defend against them with practical examples.
25 March 2026 · Tactics · 8 min read
The pin is one of the most powerful and frequently occurring tactics in chess. It happens when an attacking piece immobilizes an enemy piece because moving that piece would expose a more valuable piece (or the king) behind it. Pins appear in virtually every game of chess, from the opening to the endgame, and mastering them will immediately improve your tactical vision. This guide explains the two types of pins, shows you how to create and exploit them, and teaches you how to defend when you are pinned.
What Is a Pin?
A pin occurs when a piece (bishop, rook, or queen) attacks an enemy piece that is shielding a more valuable piece behind it on the same line. The shielding piece is "pinned" because moving it would expose the more valuable piece to capture. For example, if a bishop on g5 attacks a knight on f6 that is shielding a queen on d8, the knight is pinned: moving it would lose the queen.
Only pieces that attack along lines (bishops, rooks, and queens) can create pins. Knights and pawns cannot pin because they do not attack in straight lines. The pinned piece can be any piece, but the piece behind it must be more valuable (or the king) for the pin to be meaningful.
Absolute Pins vs. Relative Pins
Absolute Pins
An absolute pin occurs when the piece behind the pinned piece is the king. The pinned piece literally cannot move because doing so would put the king in check, which is illegal. Absolute pins are the most powerful type because the pinned piece is completely immobilized. A classic example: a bishop on b5 pinning a knight on c6 to the king on e8. The knight cannot move at all.
Relative Pins
A relative pin occurs when the piece behind the pinned piece is valuable but not the king. The pinned piece can legally move, but doing so would lose the more valuable piece behind it. For example, a rook on e1 pinning a bishop on e5 to a queen on e8. The bishop can move, but then the queen is lost. Relative pins are still very strong because they restrict the pinned piece and create tactical opportunities.
Common Pin Patterns
The Opening Pin: Bg5
One of the most common pins in chess occurs when White plays Bg5, pinning Black's knight on f6 to the queen on d8. This pin appears in many openings: the Ruy Lopez, the Queen's Gambit, and the Italian Game. The pin is annoying for Black because the knight on f6 is often a key defender of the center (especially the e4 and d5 squares). Black must find a way to break the pin, usually with ...Be7 (blocking the pin), ...h6 (asking the bishop to declare its intentions), or ...Nbd7 (adding a second defender).
Rook Pins Along Files
Rooks create pins along open files and ranks. A typical pattern occurs when a rook occupies an open file and a piece is pinned against the king or queen on that same file. In the endgame, rook pins become especially important: pinning a piece to the king along a rank can win material immediately. Placing your rooks on open files is not just for general activity; it creates potential pinning opportunities.
Diagonal Pins with Bishops and Queens
Bishops and queens create pins along diagonals. A bishop on a4 can pin a knight on d7 to a king on e8. A queen on h5 can pin a pawn on f7 to the king on g8 (this occurs in the Scholar's Mate pattern, though experienced players easily avoid it). The long diagonals (a1-h8 and a8-h1) are particularly dangerous for pins because they span the entire board.
How to Exploit a Pin
Creating a pin is only the first step. To convert it into a material gain, you need to increase the pressure on the pinned piece. Here are the main techniques:
- Pile up on the pinned piece. If a knight on c6 is pinned by a bishop on b5, bring more attackers to c6. A pawn advance to d5, another piece aiming at c6, or a rook on the c-file can make the pin deadly.
- Remove defenders. If the pinned piece is defended, exchange or deflect the defenders so the pin wins material.
- Attack the pinned piece with a pawn. A pawn attacking a pinned piece is especially strong because the pawn is worth the least. If a pinned knight on f6 is attacked by a pawn on g5, Black faces a serious problem.
- Combine with other tactics. A pin often sets up a fork, a discovered attack, or a back rank mate. Look for ways to combine the pin with another tactical theme for maximum impact.
How to Defend Against a Pin
When your piece is pinned, you have several defensive options:
- Block the pin. Place a piece between the pinning piece and the valuable piece behind. For example, if a bishop on g5 pins your knight on f6 to your queen on d8, playing ...Be7 blocks the pin.
- Move the valuable piece. If your queen is the piece behind the pin, move the queen to a square where it is no longer on the same line. This frees the pinned piece to move.
- Capture the pinning piece. If you can safely take the pinning piece, the pin is broken. This is why moves like ...h6 (asking the bishop on g5 whether it will exchange) are common in the opening.
- Counter-attack. Sometimes the best defense is offense. If you are pinned but can create a bigger threat elsewhere, your opponent may not have time to exploit the pin.
- Accept the pin and reinforce. If none of the above works, add more defenders to the pinned piece and make the pin as harmless as possible.
Pins in the Endgame
Pins become proportionally more powerful in the endgame because there are fewer pieces to defend. A rook pin along a rank can win a piece outright. A bishop pin in a minor piece endgame can decide the game. In king and pawn endgames, pins do not occur (since only kings and pawns remain), but in rook endgames, pinning ideas appear constantly. Train yourself to look for pins whenever rooks are active on open files.
Frequently Asked Questions
What pieces can create a pin?
Only pieces that move in straight lines can create pins: bishops (diagonals), rooks (files and ranks), and queens (all directions). Knights and pawns cannot create pins because they do not attack along lines. The king also cannot create a pin.
Can a pinned piece still give check?
If the piece is absolutely pinned (pinned to the king), it cannot move at all, so it cannot give check. If it is relatively pinned (pinned to a piece other than the king), it can legally move, including giving check, but moving would expose the more valuable piece behind it.
Is a pin better than a fork?
Neither is inherently better; they serve different purposes. A fork wins material immediately by attacking two pieces at once. A pin restricts a piece and often wins material over time as you pile up pressure. The best tactics combine multiple themes: a pin can set up a fork, and a fork can exploit a pinned piece. Both are essential tools in your tactical arsenal.
How can I practice spotting pins?
Solve tactical puzzles that focus on pin themes. Many chess puzzle apps let you filter by tactic type. Additionally, in your own games, make a habit of scanning for pins before every move: check if any of your opponents pieces are aligned with a more valuable piece behind them. Over time, spotting pins will become automatic. For structured improvement, check out our recommended chess books that include tactical training sections.
What is an X-ray in chess, and how does it relate to pins?
An X-ray (or X-ray attack) is when a piece attacks through another piece. It is closely related to pins and skewers. In a pin, the front piece is less valuable; in a skewer, the front piece is more valuable; in an X-ray, the attacking piece "sees through" the front piece to exert influence on the square behind it. Understanding these related concepts helps you spot tactical patterns more quickly.
Conclusion
The pin is a fundamental chess tactic that every player must understand. Whether you are creating pins to immobilize your opponent's pieces, exploiting pins to win material, or defending against pins in your own position, this skill will come up in every game you play. Practice identifying pins in your games and in puzzle sets, learn to pile up pressure on pinned pieces, and combine pins with other tactics like forks and discovered attacks for maximum effect. With consistent practice, pin tactics will become one of the sharpest weapons in your chess toolkit.