Blog

The opposition in chess, explained from first principles

· 5 min read · Blunderproof

Two kings, a few pawns, and a position that looks dead level. It isn’t. Here’s the idea that decides it, built up from the one rule every beginner already knows.

You trade down into a king and pawn ending, a pawn up, feeling good. Then the kings meet in the middle of the board, yours can’t get past, and twenty moves later you’re shaking hands on a draw. Or the reverse: you’re the one a pawn down, and you lose an ending a stronger player would have held without thinking.

Either way, the idea you were missing has a name. It’s called the opposition, and it starts from something you already know.

Start with the rule you already know

Two kings can never stand next to each other. That’s it. That’s the whole foundation. Because of it, every square touching your king is a square the other king can’t use, and the other way round.

ExamplePut the kings on e4 and e6. Neither one can step onto d5, e5 or f5, because each of those squares touches both kings. Now say Black has to move. Forward is closed, so the black king has to step sideways or back, and whichever way it goes, the white king can step forward onto one of those three squares.

Think of two people meeting in a narrow doorway, both refusing to budge. Nobody can walk through the other. But if the rules say somebody has to move, the one who moves is the one who steps aside. In chess the rules do say that. You can’t pass.

Capablanca’s definition, from section 13 of Chess Fundamentals, says exactly this: when one player can force a position like that, “so that his adversary is forced to move and make way for him, the player obtaining that advantage is said to have the opposition.”

Three shapes, one idea

The kings don’t have to face each other on a file. Capablanca shows three forms: frontal (one in front of the other), diagonal, and lateral (side by side on a rank). “In practice they are all one and the same,” he writes. “The Kings are always on squares of the same colour, there is only one intervening square between the Kings, and the player who has moved last ‘has the opposition.’”

Pull the kings further apart on the same line and you get what he calls the distant opposition. Same idea, just with more squares in the gap. Which is where counting comes in.

Why counting squares works

His rule for the simple forms: “when the Kings are on the same line and the number of intervening squares between them is even, the player who has the move has the opposition.” And when the number is odd, the player who moved last has it.

It sounds like a trick, but it’s just arithmetic. Picture the kings walking straight at each other. Every step takes one square out of the gap, and the turns alternate. Say the gap is six and it’s your move. You step: five. They step: four. You: three. They: two. You: one. Now the kings are one square apart and it’s their move, so they’re the one who has to step aside. Start from an odd gap with the move and the same walk ends with you stuck in the doorway.

“Whoever has the move wins”

Here’s Capablanca’s Example 27. He admits that to a beginner it “probably looks absolutely even.” It isn’t.

The kings stand on e1 and e8, with six empty squares between them on the e-file: an even number, and White to move. The pawns on b4, b5, h4 and h5 are locked and can’t move, so only the kings can. His verdict: “Whoever has the move wins.”

“The proper way to begin is to move straight up,” he says. 1.Ke2 Ke7 2.Ke3 Ke6 3.Ke4 Kf6, and now the moment that matters.

After 3...Kf6. The white king can pass by with Kd5 (red), or stay in front of the black king with Kf4 (green). Capablanca: “Mere counting will show that the former course will only lead to a draw.” So 4.Kf4: the kings face each other on the f-file with one square, f5, between them, and Black to move.

This is the part that trips people up. Going around looks more active. It feels like progress. Keeping the opposition first feels like wasting a move. After 4...Kg6 5.Ke5 Kg7, though, he counts it out: White wins the pawn on b5, and the game.

He also shows what to do if Black tries something sneakier. After 1.Ke2 Kd8, a waiting move, the obvious squares don’t work: on d3 or e3, Black just steps in front again and takes the opposition back. White plays 2.Kf3 instead. His rule for it: “when the opponent makes a so-called waiting move, you must advance, leaving a rank or file free between the Kings.” After 2...Ke7 3.Ke3 it’s the first position again, and White still has it.

The same idea, from the other chair

Opposition isn’t only for the attacker. Edward Lasker, in Chess Strategy (1915, also on Project Gutenberg), shows how the defender uses it to hold king and pawn against king. His rule: the defending king draws “if he commands the queening square, and if he can retain the opposition on the first rank as soon as the pawn moves into his sixth.”

Lasker’s “critical moment”: the pawn has just reached d6, its sixth rank, and Black is to move. 3...Kd8 (green, two exclamation marks in his book) holds: after Ke6 Black answers Ke8 and takes the opposition on the back rank. 3...Ke8 (red) lets the white king reach e6 first, and the pawn queens.

After 3...Kd8 4.Ke6 Ke8 5.d7+ Kd8 6.Kd6 the black king on d8 has no legal move and isn’t in check. Stalemate. Not luck, either. The opposition produced it, move by move.

Lasker adds a warning that’s worth reading twice: the pawn has to be on its sixth. Further back, the opposition on the first rank “is of no avail.” So before that moment the defender’s job is different: in his words, “to keep away the opposing King from the sixth rank until the pawn has reached that rank.”

A tool, not a goal

One last idea, so the opposition doesn’t turn into a ritual. Yuri Averbakh put it bluntly in his Comprehensive Chess Endings (as the course quotes him): the opposition is a means to an end. The end is getting your king onto a key square, a square that wins once the king stands on it. If you can get there without the opposition, take the shorter road.

Capablanca’s own advice is less philosophical and probably more useful: “The student would do well to familiarise himself with the handling of the King in all examples of opposition. It often means the winning or losing of a game.”

Familiarise. Not memorise. You get there by playing the positions, a lot, until the count happens on its own.

Review your own games

Type your Chess.com or Lichess username. Your recent games arrive in seconds, and Stockfish grades each one in your browser. Free, no account needed.

Site

or paste a PGN.

More from the blog