King and pawn endgame
The most fundamental endgame in chess. Master opposition, key squares, and the square of the pawn — and you'll have the foundation for every other endgame technique.

White to move
Why this is the most important endgame
Every endgame in chess can be reduced (through trades) to a king and pawn endgame. If you understand how to evaluate K+P positions, you understand when to trade pieces, when to push pawns, and when to keep your king active. This is the foundation everything else rests on.
The activated king
The first lesson of every endgame: the king is a fighting piece. In the middlegame, the king hides behind pawns and pieces. In the endgame, the king walks into the center and joins the action.
A king in the center controls more squares than a king in the corner. A king supporting a passed pawn is worth more than the pawn itself. A king attacking enemy pawns wins material. Bring your king out as soon as the danger of mating attacks has passed.
The opposition
The core idea
When two kings face each other with one square between them on the same rank or file, the kings are "in opposition." The player who does NOT have to move has the opposition.
This is counterintuitive — usually in chess, having the move is an advantage. In king and pawn endgames, the opposite is true. The side with the opposition can force the other king to retreat or move away.
→ White has the opposition. Black must move sideways (Kd6 or Kf6) — any move allowing White's king to advance.
→ If White had to move instead, Black would have the opposition.
Types of opposition
- Direct opposition: Kings face each other with exactly one square between them. The most common type.
- Distant opposition: Kings are 3 or 5 squares apart on the same rank or file. Less obvious but follows the same rules — the side NOT to move wins the opposition through proper maneuvering.
- Diagonal opposition: Kings are on the same diagonal with one square between them. Important when kings are converging.
Why opposition matters
In a K+P endgame, whoever wins the opposition usually wins the position. The side with the opposition can push the enemy king back, escort their own pawn forward, or seize key squares. Without understanding opposition, you'll lose drawn positions and draw winning ones.
Key squares
The core idea
Key squares are the squares the attacking king must occupy to guarantee a win in a K+P endgame. If your king reaches a key square, you win regardless of who has the move. If it doesn't, the position is usually drawn.
Key squares for different pawn positions
- Pawn on the 2nd, 3rd, or 4th rank (not a rook pawn): The three squares two ranks ahead of the pawn. For example, a White pawn on d4 has key squares c6, d6, and e6.
- Pawn on the 5th rank or beyond (not a rook pawn): The three squares directly in front of the pawn AND the three squares two ranks ahead. The advancing pawn expands its "win zone."
- Rook pawn (a-pawn or h-pawn): Special case. There are no key squares — rook pawn endings against a defending king that reaches the corner are usually drawn.
→ Black has the opposition.
→ If White can force the king onto a key square (c6, d6, or e6) WHILE keeping the pawn safe, White wins.
→ This is the famous "winning pawn endgame" position — won for White if White has the opposition.
The square of the pawn
The core idea
The "square of the pawn" tells you whether a lone king can catch a passed pawn. Draw an imaginary square with the pawn as one corner and the promotion square as the diagonally opposite corner. The other two corners complete the square.
If the defending king is inside this square (or can step into it on its move), it catches the pawn. If the king is outside the square and cannot reach it, the pawn promotes.
→ If Black's king is on f6, g6, or anywhere inside this square, the pawn is caught.
→ If Black's king is on h6 or further away (and it's White to move), the pawn promotes.
The square shrinks as the pawn advances. A pawn on the 7th rank has a tiny square (just 4 squares total) — the defender's king must be very close.
A shortcut for visualizing the square
Count the squares from the pawn to its promotion square. That number is the side length of the square. So a pawn on the 4th rank has 4 squares to go — the square is 4x4. A pawn on the 6th rank has 2 squares to go — the square is 2x2.
Note: if it's the pawn's turn to move and it hasn't moved yet, you can count from the 3rd rank rather than the 2nd (because the pawn can move two squares on its first move). Many endgame mistakes come from forgetting this.
Triangulation
The core idea
Triangulation is a technique where one king moves in a triangle (three squares) to lose a tempo and put the opposing king in zugzwang. The result: the opponent is forced to move when no move is good.
When you have the opposition but it's your turn (so you're about to lose it), triangulation lets you maneuver your king to maintain (or regain) the opposition. The defending king can't follow because it has fewer safe squares.
Triangulation is one of the most beautiful and counterintuitive techniques in chess. It exploits the fact that the king with more space can "waste" a move while the king with less space cannot.
The rook pawn exception
Rook pawn endgames (with pawns on the a-file or h-file) follow different rules. The reason: the rook pawn promotes into a corner, where the defending king can sit and prevent any progress.
The general rule: K+rook pawn vs K is usually drawn if the defending king can reach the corner of the promotion square. The attacking king has no room to maneuver around the pawn. Even an extra pawn is often not enough to win these positions.
This is the most common drawing scenario in beginner-level games. Beginners who don't know the exception often resign won positions or play on for nothing in drawn ones.
The principle of two weaknesses
In endgames with more pawns, a single pawn weakness is usually defendable — the defender concentrates resources to hold one weak spot. But two weaknesses on opposite sides of the board cannot be defended simultaneously. The attacker shuffles between threats until something gives.
This is why creating a second weakness is the standard winning plan in many endgames. Force the defender to spread thin, then break through.
Pawn races
Both sides have passed pawns racing toward promotion. The first pawn to promote usually wins — unless the new queen is immediately captured or the position transposes into a queen endgame with checks. Calculate carefully: count the moves to promotion for both sides, and consider any checks or captures.
Pawn race example
Black: King somewhere, pawn on f4.
Both pawns push. The pawn that promotes first usually wins — unless the newly promoted queen can be captured or the opposing pawn promotes with check.
The trébuchet
A rare but instructive zugzwang position. Both sides have a king and a pawn. The pawns block each other. Whoever has to move loses, because moving the king lets the other side capture the blocked pawn.
The trébuchet shows the extreme version of zugzwang — where any move at all is fatal. Recognizing this pattern saves drawn games and wins lost ones.
Mistakes beginners make in K+P endgames
- Pushing the pawn too early. The pawn should advance with king support. A lone pawn far ahead of its king is usually doomed.
- Ignoring opposition. Beginners move the king wherever it "looks good" rather than calculating opposition.
- Forgetting the rook pawn exception. Trying to win a drawn rook pawn endgame wastes time and effort.
- Missing the square of the pawn. Trying to catch a passed pawn that's already too far ahead — or letting the opponent's pawn promote when your king could have stopped it.
- Stalemating the opponent. A winning K+P endgame is one stalemate away from a draw. Always give the enemy king a legal move until you can win the pawn cleanly.
How to practice K+P endgames
- Master the basic K+P vs K positions. Set up White king on d4, pawn on d3, Black king on d6 with each side to move. Play both sides. Understand when it's a win, when it's a draw.
- Learn the "square of the pawn" mentally. Set up random positions with a passed pawn and a defending king. Decide if the king can catch it before playing.
- Practice opposition battles. Two kings, one pawn. Trade off who's trying to win and who's defending. Notice how the opposition shifts.
- Study Capablanca's endgames. His simple, principled play in K+P positions teaches more than any textbook.
Common questions
Practice on the board
Start a browser chess game, set up basic K+P vs K positions, and play them against the AI. Try both sides — winning AND defending. The defensive technique is just as valuable as the winning technique.