Opposition in Chess Endgames With a King and Pawn
Switch whose turn it is on the same board. Then use a spare pawn move, play a win through promotion, and defend a rook-pawn draw.
Direct opposition in chess is when the kings face each other on the same rank or file with one square between them. The side whose turn it is has to decide how to move without stepping next to the other king. If that side has no useful move with another piece, it may have to let the opposing king advance. In a king and pawn endgame, that can be the difference between escorting the pawn to promotion and watching it get blockaded.
Set White’s king on c4 and pawn on c3, and Black’s king on c6. With White to move, Black can draw. With Black to move, White can win. The kings and pawn stay on the same squares. Use the two turn buttons below to see who gets to cross the fifth rank. Then move the pawn back to c2 and see how a single pawn step can change who has to give way.
What does taking the opposition let your king do?
From c4 and c6, the kings face each other across c5. Black’s king attacks b5, c5 and d5. White’s king attacks those same three squares, which means neither king can advance through that row while the other one stays in place. The rule comes from ordinary king movement. Each king attacks its adjacent squares, and neither king can move into check. FIDE Laws of Chess, articles 3.8 and 3.9
When people say Black has the opposition in this position, they mean that White has the move. Black’s king is already holding its ground. If White can use a safe pawn move, White can make Black move next without moving either king. If Black can retreat into a corner and still stop the pawn, White may never get the access it needs. Look for what the move opens up before judging the ending.
- Pick the square you want to reach. With the pawn on c3, b5, c5 and d5 are key squares. Under the king-and-pawn conditions in this example, reaching one with the white king lets White win with accurate play. Name the entry square before you try to take opposition.
- Count the space and check whose turn it is. With one empty square on the line, ask which king would have to give ground. Notice if the pawn can move safely while its king stays put.
- Find the move around the defender. When Black steps left to b6, White can advance right to d5. When Black steps right to d6, White can advance left to b5. After a straight retreat to c7, White can step up to c5.
- Bring the pawn up after the king has room. A pawn is easier to escort when your king can get in front of it. In Board A’s winning line, White reaches d6 before pushing c4. In the drawing line, pushing first leaves the pawn exposed.
The square between the kings is a useful landmark. The winning move often goes around it. When you rehearse the opposition, always reach for the square the defender just stopped controlling. Lichess key-square practice
Play the same position with each side to move
Use White to move and Black to move for the first position. The board keeps the same orientation. Play the first move for the side on turn, then use the move buttons to follow that continuation. Each first move has an exact win-or-draw verdict with best play. The checked lines show one continuation you can follow by hand. Two more boards test what happens with a spare pawn move and with an a-pawn near the corner.
The playable board couldn’t load. Use the diagrams and written lines below.
Can White get past Black’s king with White to move?
Select a piece and destination or drag to move. With a keyboard, use the arrow keys and Enter.
Board A · Three pieces, two different results

White to move. The pawn on c3 is blocked by its own king. White can play only four moves with the king, and every one draws against accurate defense. Start with 1.Kd4. Name the two squares the white king hopes to reach next. Then find a move that lets Black control both while staying in front of the pawn.
Show the drawing defense with White to move
1…Kd6 meets White’s move directly. The kings now face each other across d5. Black covers c5 and d5, so White still cannot bring the king up beside the pawn. The same idea works on the other side with 1.Kb4 Kb6. In each case Black uses the opposition to keep the white king off the fifth rank.
Follow 1.Kd4 Kd6 2.c4 Kc6 3.c5 Kd7 4.c6+ Kxc6. Black keeps a route to the front of the pawn and ends up close enough to capture it. White’s king is still on d4 when the pawn reaches c6, two ranks away. Try stopping after 3.c5 and asking what would have to change before the pawn could advance safely. This line shows how the pawn can disappear. White can also hold the draw by keeping it back.
Black to move. Now it’s Black’s king that has to leave c6. When the king moves to b6, the square d5 falls outside its reach. Can White get there in a single legal move? Try calculating two turns ahead and naming where the white king should stand when the pawn starts advancing.
Show the route around Black and play through promotion
1…Kb6 2.Kd5 gets White onto d5. Play through 2…Kc7 3.Kc5 Kd8 4.Kd6 Ke8. On d6, White’s king controls c5, c6 and c7. After 5.c4 Kf8 6.Ke6 Kg8 7.c5 Kh8 8.c6 Kh7 9.c7 Kg7 10.c8=Q, White has a queen that Black cannot capture. Black can choose other defenses. The exact verdict is a win for White after all five of Black’s legal first moves.
Check two other first replies. After 1…Kd6, take the opposite route with 2.Kb5. After 1…Kc7, follow straight with 2.Kc5, because c5 is two ranks away from the retreating king. These moves sound different, but each puts White’s king on an entry square the defender just gave up.
If you can explain why …Kd6 draws as a reply to Kd4 and loses when played directly from the starting board, you’ve understood the difference. After White steps to d4, the defending move keeps the white king out. With White’s king still on c4, …Kd6 leaves b5 reachable. Check the kings’ starting squares before reusing a move from memory.
Try changing a move inside the line
With White to move, play 1.Kd4 and try Black’s natural retreat 1…Kc7?. White steps to 2.Kc5, taking a square Black covered from c6. Black’s only drawing move after Kd4 is Kd6. The king on d6 covers the pawn’s approach as well as the square in front of White’s king. A backward move can feel safe while giving up both.
With Black to move, play 1…Kb6 2.Kd3? and find 2…Kb5. White can push 3.c4+, and Black can stay in front with 3…Kc6. This is a draw. White had time to enter d5 after Black’s first move. By retreating, White gave away that opportunity and let the black king move towards the pawn. Some sideways king moves still win after Kb6, so use d5 as the clearest route when you first learn the position.
Board B · Use the pawn to pass the move

Move the white pawn back to c2 and give White the first turn. The king still can’t step onto b5, c5 or d5. The move 1.c3! leaves both kings where they are. Now Black has the move in the winning version of Board A. White’s king on c4 blocks the pawn from taking two steps, so c3 is the only legal pawn advance here.
Try the natural king move 1.Kc3?. Black can play 1…Kc5 and hold the draw. White has spent its turn retreating, and Black gets the position facing White’s king across c4. White again has to find a move. The pawn on c2 now sits immediately behind its own king.
A pawn step you can use to change whose turn it is is often called a spare tempo. Before spending it, ask whether the opponent can capture the pawn and what your king gains when they move. In Board B, 1.Kb4 and 1.Kd4 also win with accurate play. The pawn move is the shortest explanation for why this layout can win when Board A with White to move draws.
Board C · The defender can retreat into the corner

Put the white king on a5 and its pawn on a4. Put the black king on a7 with Black to move. White has direct opposition across a6. Black can retreat to a8, the square the pawn must use to promote. White can advance the king to b6, but there is no second file on the other side of the a-pawn to help it enter the corner.
Show how Black holds the corner
Play 1…Ka8 2.Kb6 Kb8 3.a5 Ka8 4.a6 Kb8 5.a7+ Ka8. Black has stayed next to the promotion square or on it. White can’t advance the pawn while Black’s king occupies a8. If White plays 6.Ka6, the pawn covers b8, the white king covers b7 and guards a7, and Black is outside check with zero legal replies. That is stalemate.
Try 6.Kc7 instead. The white king abandons the defense of a7 and Black can take it. Look at the diagram from Black’s side and choose a square from which the king can return to a8. That is the defending job, even when White has opposition elsewhere on the board.
A rook pawn can still win in other positions, particularly if the defending king is cut off from the corner. In this exercise, Black can get to the corner in time. Count that distance before deciding whether to trade into a rook-pawn ending. Practise spotting stalemate before closing the last exit
What about distant and diagonal opposition?
You can recognise distant opposition when the kings share a rank or file and have three or five intervening squares. Think of it as a chance to meet the other king closer up. Put White’s king on c3 and pawn on c2 with Black’s king on c7 and Black to move. The intervening squares are c4, c5 and c6. If Black plays …Kc6, White can step to c4, reaching the setup from Board B with Black now on turn. A sideways king move requires White to check which route is open instead.
With diagonal opposition, the kings sit two files and two ranks apart, with one square between them on the diagonal. The same legal movement applies. Mark the defender’s controlled squares and look for a path to the square your king needs. If the other king can pivot to guard the promotion square, a pretty diagonal alignment has gained little. Chess.com’s illustrated opposition guide
When the pawn is far from both kings, first check whether the defending king can catch the pawn. If the pawn can run on its own, you may have a simpler route to promotion.
Practise opposition from a completed game
Find the first moment your king and an opposing king came within three ranks or files of each other in a pawn ending. Save that position and write down the square you wanted your king to reach. Replay your move, then try the other side to move in a board editor. Even when the outcome stays the same, check whether the route changes. If you have more pawns on the board, list a spare move for each side before deciding whose king has to give way.
Use the card below to compare the three setups over a real board or import their position strings. For more positions against a computer, Lichess has separate direct and distant opposition drills. If your own game already reached a winning one-rook ending, the same king movement can help push the defender toward the edge before the final check. Lichess opposition practice · King and rook checkmate practice
Download the opposition practice cardReview your own completed games
How the positions were checked
These are constructed positions. Python-chess verified move legality, and Syzygy tablebases confirmed every first move and the win or draw verdict at each step of the interactive continuations. A tablebase stores solved outcomes for endgames with few pieces. The full promotion replay shows one line, and neither side has to follow that exact sequence. The generated cover illustrates the theme. The diagrams show the exact board positions. Lichess tablebase documentation