Pin vs. Skewer in Chess
Play the same rook move on two boards. Then see when a piece shielding its queen can move anyway.
To tell a pin from a skewer, follow the attacking piece’s line and see which target comes first. In a pin, the front piece shields a more valuable piece behind it. In a skewer, the more valuable piece is in front. Moving it away can expose the piece behind. With a king in the line, the order also changes what the rules allow. Chess.com’s pin guide · Chess.com’s skewer guide
On the first two boards below, White’s rook goes to a1. Swap the black king and knight and the move changes from a pin to a check. On the third board, you can move a knight away from the queen it shields. The question is what Black can do after you move it.
The difference is the order of the targets
- Pin
- Attacker, front piece, higher-value rear target. Use the line to restrict what the front piece can do.
- Skewer
- Attacker, higher-value front target, rear piece. Attack the front target and see what becomes available when it moves.
A rook creates these attacks along a rank or file, a bishop along a diagonal, and a queen along either. Start reading the line at the attacking piece. From the other end, the king and knight may look like the same arrangement. From the rook’s end, you can see which one it reaches first. If a knight attacks a king and rook on separate squares, you’re looking at a fork. Play four examples of chess forks
The alignment is only the start of the calculation. Write out what happens if the front piece moves, check whether it can capture the attacker, and see whether the rear piece will still be defended. A pin can be useful simply because it stops a piece from helping somewhere else. A skewer can give check and still fail to win material.
Three playable pin and skewer positions
White moves first on each board. Boards A and B are constructed endgames with identical pieces except for the order of Black’s king and knight. Board C shows the classic Legal’s mate pattern from a short opening sequence. Try the moves before opening the answers. The replay buttons show checked lines, including moves that illustrate why a tempting idea fails.
The playable board couldn’t load. Use the diagrams and checked moves below.
Can you stop the knight from moving without giving check?
Select a piece and destination or drag to move. With a keyboard, use the arrow keys and Enter.
Boards A and B · Play the rook to a1


Why Ra1 is a pin on one board and a skewer on the other
Board A. After 1.Ra1, the rook’s line reaches the knight on a4 first. The knight blocks that line, so the king on a8 is out of check. If the knight jumped away, it would expose its king to the rook. Every knight move leaves the file and is illegal here. Black can move the king or a pawn. After 1…Kb7 2.Rxa4, White takes the knight. If Black instead plays 1…h6 2.Rxa4+, White takes the knight with check because the king stayed on the file.
Board B. After 1.Ra1+, the rook’s line reaches the black king on a4 first. The knight on a8 is behind the king. Black’s legal replies are Kb3, Kb4, and Kb5. The knight can’t block the check. After any of those king moves, 2.Rxa8 takes the knight. Trace the a-file after 1…Kb5 to see the square the king has cleared.
Keep the two questions separate as you play. On A, ask which moves the knight lost. On B, ask how Black can answer the check and what White can take afterward. Try 1.Rb8+ on A or 1.Rb4+ on B. In each case the king can take the undefended rook. Checking from the correct square is what makes the second tactic work. Practise checking an opponent’s most forcing reply
Try a variation of Board B on a physical board. Put the black king on a7 and keep the knight on a8. Now 1.Ra1+ Kb7 2.Rxa8 Kxa8 gives up the rook for the knight. The king found an escape square that still guards the rear piece. The same line attack leads to a different exchange. Check the king’s new square before you commit to the capture.
Board C · Is the knight allowed to take on e5?

The bishop on g4 pins the f3-knight to the queen on d1. The white king stands on e1, off the pin line. Compare 5.Nxe5 with 5.Nh4. Both knight moves leave the queen available. Look at the squares each knight would control before deciding which move you’d play.
Play Legal’s mate and check Black’s alternative
5.Nxe5 Bxd1 6.Bxf7+ Ke7 7.Nd5#. After taking on e5, the knight covers f7 and d7. That stops Black’s king from taking the checking bishop or escaping to d7. After 6…Ke7, the other knight jumps from c3 to d5 and gives mate. If the f3-knight went to h4 instead, it would cover neither f7 nor d7. After 5.Nh4 Bxd1 6.Bxf7+, Black can take the bishop with 6…Kxf7.
Test the queen capture against Black’s alternatives. Black can choose 5…dxe5, taking the knight with the d6-pawn. Then 6.Qxg4 wins the bishop. White traded a knight for a bishop and picked up the original e5-pawn. The mating line happens only if Black accepts the queen sacrifice. This is why you check the best reply as well as the tempting one. Chess.com’s Legal’s mate examples
Follow the open diagonal in both directions after the knight leaves f3. From g4, Black’s bishop can see the queen. From d1, White’s queen can see the bishop. After …dxe5, White gets the first chance to use that line. When you consider breaking a pin to your queen, look at the pinning piece as a possible target of your own.
Want to keep the position simpler? 5.h3 attacks the bishop. After 5…Bxf3 6.Qxf3, White recaptures and keeps the queen. Compare it with Nxe5 so you can see what the more ambitious move gains when Black avoids the trap.
How the examples were checked
Python-chess checked all displayed lines, every reply to Ra1 on Boards A and B, and the mate after Bxd1 on Board C. In Stockfish 19 searches at depth 18 with one thread and cleared 64 MB hash, the first move Ra1 scored +6.98 on A and +7.13 on B from White’s side. Board C’s Nxe5 scored +2.69 with …dxe5 as its reply. The scores are estimates. The legal moves and checkmates are verifiable directly on the boards.
When the line attack wins material
A pinned piece can still have a defender
Add a black pawn on b5 to Board A. The knight is still pinned after 1.Ra1. If Black plays 1…h6, 2.Rxa4+ bxa4 trades a rook for a knight. The pawn could legally capture the checking rook. The pin limits the knight’s moves. It says nothing about which other black pieces can take back on a4. Practise checking who can recapture
In a game, a useful follow-up might be adding an attacker, taking away a defender, or using the pinned piece’s limited movement elsewhere. See three ways a defender changes its job. For example, a pinned knight may be unable to recapture when you take a different piece. Trace that recapture first. If the king can step away and free the knight on the next move, check whether you can use the pin before it disappears.
Find every reply before counting a skewer
When the king is in front, start with the usual ways of answering check. Can a piece capture the attacker? Can something block the line? Which squares can the king reach, and which of those still defend the rear piece? The black king on a4 on Board B can’t reach any square next to a8 in one move. In the a7 variation it can, so you get a different result after the check.
A queen in front has options that a checked king lacks. Look for a queen capture of the attacker, a queen move that gives check elsewhere, or an exchange that leaves you with too little for what you invested. When you are the defender and see the alignment forming, you may have a turn to separate the targets before the attack lands. The earlier you see the line, the more options you can compare.
When can a pinned piece move?
An absolute pin points through the front piece to its king. A move that exposes your king to check is illegal. A pinned rook can sometimes slide along the pin line and continue shielding the king, or capture the attacker if doing so leaves its king safe. The knight in Board A has no way to stay on the a-file after a move. FIDE Laws of Chess, article 3.9
To picture an absolute pin that still allows movement, put White’s king on g1 and rook on e1, and Black’s rook on e7 and king on e8. Leave the other squares empty. On Black’s turn, …Re6 keeps a rook between the attacker and the king. Moving the same rook sideways to d7 would expose the king. The rule depends on the position after the move, so test the destination as well as the starting square.
A relative pin points through a piece to a target such as a queen or rook. The front piece can leave if the resulting position is legal. Calculate the price. After Nh4 on Board C, you give a queen for a bishop even if you take the bishop back. A different knight move can give you a stronger threat. A relative pin is a reason to calculate what happens if the piece moves.
One rule matters when your king is the piece making a capture. A pinned piece still attacks squares for the purpose of king safety. Your king can’t move onto a square attacked by a pinned enemy piece even if that piece would be unable to make the corresponding capture legally. When you’re deciding whether a different piece can recapture, test the recapture against its own king’s safety. FIDE Laws of Chess, articles 3.1 and 3.9 · Chess.com’s example of mate with a pinned defender
Use a three-question scan when pieces line up
- Which piece does the attacker reach first? Point to the attacker, the front target, and the rear target in that order.
- Which moves are legal after the attack? For a checked king, look at captures, blocks, and escapes. For a pinned piece, check whether it can stay on the line or move without exposing its king.
- Who can take back after the line clears? Replay the exchange or the forcing response. Count the pieces that actually come off the board.
Download the pin and skewer card
Try the Chess.com lesson for more explanations of the basic motifs. Lichess has separate themed sets for repeated pin and skewer practice. After you can identify the pattern by name, find a completed game and stop before a rook, bishop, or queen moved into line. Ask the three questions before checking whether the engine sees a tactic. Chess.com’s Capturing Pieces lessons · Lichess pin puzzles · Lichess skewer puzzles
For a useful review note, write down exactly what made the line work. For the pin, “the knight couldn’t leave a4 while the king stayed on a8.” For the skewer, “none of the king’s escape squares could still guard a8.” If you practise the same two boards later, treat it as recall. To check the habit in a fresh position, use a completed game where the attacking piece and targets are on unfamiliar squares. Save the observation in your mistake journal