Endgames & Technique

King and Pawn Endgames: Opposition and the Square Rule Explained

By the ChessDada Team • Published 5 September 2026 • 9 min read
Short answer

Three ideas decide nearly every king and pawn endgame: the square rule tells you if a king can catch a passed pawn, the opposition decides who has to give ground, and key squares tell you where your king must stand for the pawn to promote by force. The single most common beginner mistake is pushing the pawn before the king. In an endgame the king leads and the pawn follows — do it the other way round and your extra pawn is usually only a draw.

What's inside this article

  1. Why this is the part of chess worth learning first
  2. The square rule: can the king catch the pawn?
  3. The opposition: the whole game in one tempo
  4. Key squares: where your king has to stand
  5. The mistake that throws away a won endgame
  6. The rook pawn exception
  7. A four-step checklist for the board
  8. Frequently asked questions

Why This Is the Part of Chess Worth Learning First

Most improving players spend their study time on openings. It is the natural instinct — the opening is the part of the game you see every single time, and there is an endless supply of material about it. But look at where the points actually go in club-level games and online blitz: a huge number of them are decided long after the last piece has been traded, in a position with two kings and a couple of pawns.

These endings feel simple, which is exactly why they are dangerous. There are no tactics to spot and nothing to sacrifice. What is left is a small number of exact rules, and if you do not know them you will hold a winning position, make a natural-looking move, and watch the win evaporate into a draw. The good news is that unlike openings, this material is finite. The ideas below take an afternoon to learn and they never go out of date.

About the diagrams: every position in this article was checked with Stockfish at search depth 40 before it was drawn. Where the text says a position is a draw or a win, that is the engine's verdict on that exact position, not a rule of thumb.

1. The Square Rule: Can the King Catch the Pawn?

You have a passed pawn running for promotion and the enemy king is chasing it. Do you need to count the moves? No. There is a shortcut that gives you the answer at a glance.

Draw an imaginary square. One side of it runs from the pawn to its promotion square; the square extends that same number of files sideways, towards the defending king. If the defending king is inside that square — or can step into it on its move — it catches the pawn. If it is outside and it is the defender's turn, the pawn queens.

White pawn on h5, black king on c5 outside the shaded square e5-h5-h8-e8, black to move
The pawn stands on h5, so the square is e5–h5–h8–e8 (shaded). The black king on c5 is outside it. With Black to move the king still cannot get in, and the pawn promotes by force — Stockfish gives mate in 12 for White.

Move the same king two files closer and the verdict flips completely, with nothing else on the board changed:

White pawn on h5, black king on e5 inside the shaded square, black to move, drawn
Same pawn, same square — but now the king starts on the corner of it. It walks the diagonal f5, g6, h7 and takes the pawn. Evaluation: 0.00, a dead draw.
The one exception people forget: a pawn still on its starting rank can move two squares, so measure the square from the rank it can reach, not from where it stands. A white pawn on h2 is treated as a pawn on h3 for this purpose.

2. The Opposition: the Whole Game in One Tempo

The opposition is the most important single concept in pawn endgames, and it is also the one that sounds like jargon until you see it. Two kings stand facing each other on the same file with exactly one empty square between them. Whoever does not have to move holds the opposition, because the other king is forced to step aside and hand over ground.

Here is the classic position. Same pieces, same squares — the only difference is whose turn it is, and that difference is the entire game.

White king e3, white pawn e2, black king e5, white to move, drawn position
White to move — draw. White must step aside with the king, Black's king follows, and the pawn never gets through. Stockfish: 0.00.
Same position with black to move, white wins
Black to move — White wins. The black king has to give way, White's king advances in front of the pawn and escorts it home. Stockfish: mate in 23.

Nothing about the material changed. One tempo decided a full point. This is why strong players will spend several moves manoeuvring their king in an apparently dead position — they are fighting to be the side that receives the move rather than the side that has to make it.

How to take the opposition

When your kings are on the same file with an odd number of squares between them (1, 3 or 5) and it is your opponent's move, you have the opposition. The practical technique is simple: step towards the enemy king so that you leave an odd number of squares between you, and make sure it is their turn when you get there. If you find yourself with an even gap on your move, look for a waiting move somewhere else on the board.

3. Key Squares: Where Your King Has to Stand

The opposition tells you who wins a fight for a square. Key squares tell you which squares are worth fighting for. These are the squares your king must occupy to force the pawn through no matter whose turn it is — once you are there, the opposition stops mattering.

For a pawn on the second through fifth rank, the key squares are the three squares two ranks in front of the pawn. Get the king there and the game is over.

White king e6 in front of pawn e5, black king e8, white wins regardless of turn
The pawn is on e5, so its key squares are d7, e7 and f7 (amber). White's king on e6 controls all three — the position is winning whoever is to move. Stockfish: mate in 13 with Black to move.
Pawn is on…Key squaresWhat it means in practice
2nd–4th rankThree squares two ranks aheadYou have time. Walk the king up the board first and only then start pushing.
5th rankThe three squares on the 7th rank ahead of itGetting the king to the 6th rank in front of the pawn is usually decisive.
6th rankThe squares beside and in front on the 7th and 8thVery close to the goal — but this is also where stalemate tricks appear.
Rook pawn (a or h)None that helpSpecial case. See the section below — often a draw however well you play.

4. The Mistake That Throws Away a Won Endgame

Here is the single most common way an extra pawn turns into half a point. The pawn is pushed early, on instinct, and the defending king simply parks in front of it.

White pawn on e4 with king behind on e3, black king on e5, drawn
The pawn on e4 has run ahead of its own king on e3, and the black king sits directly in front of it. There is no way through: Stockfish evaluates this at 0.00.

Compare that with the second opposition diagram above, where the pawn was still back on e2 and the king stood in front of it on e3 — a forced win. The pawn was less advanced and the position was better. That is the whole lesson.

The rule to remember: in a king and pawn endgame, the king leads and the pawn follows. Advance the pawn only once your king already controls the squares in front of it. If you are ever unsure whether to push or to walk the king — walk the king.

5. The Rook Pawn Exception

Everything above assumes a pawn somewhere in the middle of the board. The a-pawn and h-pawn behave differently, and the difference is severe: if the defending king reaches the corner in front of a rook pawn, the position is drawn no matter what the stronger side does.

White king a6 and pawn a5 against black king a8, drawn
White has a king on the sixth rank in front of the pawn — a winning setup with any other pawn. With the a-pawn it is 0.00. Push the pawn and Black is stalemated; approach with the king and there is simply nowhere to outflank.

The reason is geometry. Winning with a pawn requires outflanking the defending king — going round it on one side. On the a-file there is no left side of the board to go round, and any attempt to squeeze past leaves the black king with no legal move at all, which is stalemate rather than mate.

Practical consequence: if you are the defender in a bad pawn endgame, run for the corner. If you are the attacker with a rook pawn, do everything you can to stop the enemy king from reaching it — that race is the game.

♔ Practise these endings for real

Endgames only stick once you have won and lost a few. Open a table on ChessDada and play — free, in your browser, no signup needed.

A Four-Step Checklist for the Board

When the last pieces come off and you are down to kings and pawns, run through this before you touch anything:

  1. Count the square. Is there a passed pawn on either side, and can the enemy king catch it? This is often the whole evaluation in one look.
  2. Find your king a job. Which squares does it need? Start walking now, not after three pawn moves.
  3. Check who is on move when the kings meet. If the opposition would fall to your opponent, look for a spare pawn move to change the parity.
  4. Watch for the rook pawn. If the ending is heading for an a- or h-pawn, recalculate — the normal rules do not apply there.

None of this requires deep calculation. That is precisely the point: these are the positions where knowledge substitutes for thinking, and where the player who spent one afternoon on endgames beats the player who spent a month on openings.

Where to Go Next

Easy Checkmate Patterns

Once the pawn promotes you still have to deliver mate. Start with these.

Stalemate vs Checkmate

The rule that turns won endgames into draws — worth reading twice.

Pins, Forks and Skewers

How you win the material that leads to these endgames in the first place.

Two Knights and the Troitsky Line

For when you want the strangest endgame in chess.

Share this article:

Was this article helpful?

Thanks for your feedback! ♥

Frequently Asked Questions

What is the opposition in chess?
The opposition is the situation where the two kings face each other on the same file, rank or diagonal with exactly one empty square between them, and it is the opponent's turn to move. The side that does NOT have to move holds the opposition, because the other king is forced to step aside and give ground. In king and pawn endgames the opposition is usually the difference between a win and a draw.
What is the square rule in chess?
The square rule tells you instantly whether a lone king can catch a passed pawn without calculating. Draw an imaginary square whose side is the distance from the pawn to its promotion square. If the defending king is inside that square, or can step into it on its move, it catches the pawn. If it is outside the square and it is the defender's move, the pawn promotes. Remember that a pawn still on its starting rank may move two squares, so the square is measured from the rank it can reach.
Why is my extra pawn only a draw?
A single extra pawn in a king and pawn endgame is only a win if your king can get in front of the pawn and reach a key square, or if you hold the opposition at the right moment. If you push the pawn ahead of your king, the defending king simply sits in front of it and the position is a draw. Two other common draws are the rook pawn with the defending king in the corner, and any position where the defender reaches the square in front of the pawn with the opposition.
Why is a rook pawn a draw?
A rook pawn is the a-pawn or h-pawn. If the defending king reaches the corner square in front of it - a8 or h8 for a white pawn - the position is drawn no matter how the stronger side plays. The attacking king cannot approach without either stalemating the defender or being blocked by the edge of the board, because there is no room on the rook file side to outflank.
Should I push my pawn or bring my king first?
Bring the king first. In king and pawn endgames the king is the strongest piece, and the rule of thumb is that the king should lead the pawn, not follow it. Pushing the pawn early usually lets the defending king park in front of it, which is an automatic draw. Advance the pawn only once your king controls the squares in front of it.
What are key squares in a king and pawn endgame?
Key squares are the squares your king must reach to force the pawn through regardless of whose turn it is. For a pawn on the second to fifth rank, the key squares are the three squares two ranks ahead of the pawn. For a pawn on the sixth rank the key squares are the three squares directly in front of it and beside it on the seventh and eighth ranks. Once your king stands on a key square, the pawn promotes by force.

How these positions were checked

Final Thoughts

King and pawn endgames are the one area of chess where a small, fixed amount of knowledge produces an immediate and permanent jump in results. You are not learning a variation that a stronger opponent can sidestep; you are learning the truth about a position type that appears in every player's games forever.

Learn the square, learn the opposition, learn to walk the king before the pawn. Then go and win a few of these on the board — you can start a game right now in the ChessDada lobby, or read more guides on the ChessDada Chess Blog.