Written by GM Mauricio Flores RiosGrandmaster and author of Chess Structures: A Grandmaster Guide

Opposition

The opposition is a standoff between the two kings on the same rank, file, or diagonal with one square between them, and the player who does not have to move is said to "have the opposition." It is the single most important concept in king and pawn endgames, and the first piece of real endgame theory I teach every student. Once you understand the opposition, positions that used to feel like guesswork become exact science: a handful of squares decides whether a pawn queens or the game is drawn.

What Is the Opposition?

Kings may never stand on adjacent squares, so when two kings face each other with exactly one square between them, they are locked in a peculiar duel: neither can advance, and whoever is forced to move must give ground. That obligation is the entire content of the concept. If it is your opponent's turn in this standoff, their king must step aside or retreat, and your king gains squares — either marching forward or invading around the side. You "have the opposition."

Notice what this really means: having the opposition is not about where your king stands, but about whose turn it is. Kings on e5 and e7 form the same picture whether White or Black is to move, yet the evaluation of the underlying endgame can flip completely with the turn. That is why endgame books obsess over "White to move" versus "Black to move" — in king and pawn endings, the move is often worth more than a pawn.

One more mental adjustment that helps my students: stop thinking of the opposition as a mystical force and start thinking of it as a tool. The goal is never the standoff itself. The goal is to force the enemy king to commit to one side so that your king can walk around the other — a maneuver called outflanking. Opposition first, outflank second, invade third. That three-step rhythm is the melody of every won pawn ending.

Direct, Distant, and Diagonal Opposition

The basic form is direct opposition: kings on the same file or rank with one square between them, like e5 and e7. Whoever must move loses the duel for those squares.

Distant opposition extends the idea across the board: kings on the same file or rank with three or five squares between them. The rule that governs every case is beautifully simple — if the kings stand on the same line with an odd number of squares between them, the player not to move has the opposition. Distant opposition matters because it converts: as the kings approach each other, the side holding it keeps answering so that the gap stays odd, and arrives at direct opposition at the critical moment. A practical example: with kings on e1 and e8 and an empty file, there are six squares between them — an even number — so the player to move can seize the distant opposition, stepping to e2 and leaving five squares. From then on, that player answers every approach so the odd gap survives.

Diagonal opposition is the same standoff along a diagonal, say kings on d4 and f6. It looks exotic but serves a workmanlike purpose: it is how a king sidesteps to deny the enemy king the direct opposition, or holds two routes at once. Strong endgame players glide between direct and diagonal opposition without ceremony; it is all one idea — control of the squares between the kings — wearing different clothes.

Opposition Is Organized Zugzwang

Here is the deepest way to understand the concept, and the one that unlocks everything else: the opposition is nothing more than organized zugzwang. In the standoff, both kings occupy the best squares available. Any move by either king makes that king's position worse. If chess allowed passing, the standoff would last forever; because chess forces you to move, the player on turn must damage their own position. "Having the opposition" is simply the polite way of saying your opponent is in zugzwang.

This is also why a spare tempo is the great trump card of pawn endings. If I have one flexible pawn move in reserve — say a2–a3, changing nothing strategically — I can never truly be caught in the standoff: when the kings face off with me to move, I play the pawn move and hand the obligation back. When I analyze king and pawn endings with students, we literally count reserve pawn moves on each side before judging any opposition battle, because the side with the last spare tempo takes the opposition at will. It follows that in superior endings you should spend pawn moves grudgingly; each one is a banked opposition.

The sibling technique of triangulation — walking your king around a triangle of three squares to return to the same position with your opponent to move — is another way of winning these duels, and I have devoted a full article to it.

The Fundamental Position Every Player Must Know

Set up this position: White king on e5, pawn on e4, Black king on e7. Direct opposition, and the whole theory of king and pawn versus king is compressed into it. The result depends entirely on the turn.

Black to move loses. Black's king must give way, and White's king reaches the sixth rank in front of its pawn — after 1...Kd7 2.Kf6, or 1...Kf7 2.Kd6, the outflanking is complete. A king on the sixth rank in front of its own pawn wins no matter whose turn it is; from there White simply escorts the pawn home.

White to move only draws — against correct defense. Watch Black's technique, because this is the drawing method every club player must own: 1.Kd5 Kd7! (taking the opposition immediately) 2.e5 Ke7 3.e6 Ke8! 4.Kd6 Kd8 5.e7+ Ke8 6.Ke6 stalemate. Three defensive rules did all the work there. First, keep your king in front of the pawn. Second, whenever the attacking king steps up beside its pawn, take the opposition. Third — the one everyone gets wrong — when the pawn advances to stand beside its king, retreat straight back, not diagonally. In the line above, 3...Ke8! held the draw; the natural-looking 3...Kd8? loses on the spot to 4.Kd6! Ke8 5.e7 Kf7 6.Kd7 and the pawn queens. One square, the whole point.

I have my students play both sides of this position against precise resistance until the moves come out of their hands automatically. It is fifteen minutes of work that will save you dozens of half points across your chess life.

Key Squares: When the Opposition Stops Mattering

The opposition is the tool; key squares are the prize. For a pawn that has not yet crossed the middle of the board — say a white pawn on e4 — the key squares are the three squares two ranks ahead of it: d6, e6, and f6. If White's king reaches any of them, the game is won regardless of the opposition and regardless of whose move it is. Set up White king on d6, pawn on e4, Black king on e8, Black to move — Black is simply lost, opposition or no opposition. That is why I tell students: play for key squares, and use the opposition to fight for them. The standoff is never the destination.

Two boundary cases complete the map. The first is the rook pawn, the great exception of pawn endings: with an a- or h-pawn, key squares barely exist, because the defender who reaches the corner cannot be evicted. White king on g6, pawn on h5, Black king on h8 is a dead draw with either side to move — White has every opposition he could wish for, and the h8-corner shrugs at all of it, since attempts to make progress end in stalemate. The second boundary question comes before any opposition battle: can the defending king even reach the pawn's path in time? That preliminary race is settled by the square rule, the fast counting method for king versus passed pawn. First the square rule tells you whether there will be a fight; then the opposition decides who wins it.

Opposition in Practice

Where does this decide real games? Almost every time a game simplifies into a pawn ending — and, in my coaching experience, most club players lose these technically drawn or won positions because they move their king on general feeling rather than counting.

As the attacker, put your king in front of your pawn, not behind it — a pawn that leads its own king wins far less often. Fight for the opposition, use it to outflank, and aim your king at the key squares. Only when the king has arrived do you push the pawn. Impatient pawn moves are the number one way winning endings are thrown away: every push burns a tempo and can hand the opposition back.

As the defender, plant your king in front of the enemy pawn, grab the opposition whenever it is offered, and retreat straight back as the pawn advances. Head for the corner if it is a rook pawn. And remember that a drawn pawn ending stays drawn only with exact play — the defending side has no margin for one careless diagonal step.

Before trading into the pawn ending, do the counting first. The moment you allow the last pieces off the board, the position becomes mathematics: opposition, key squares, reserve tempi, the square rule. I calculate these endings to the end before permitting the trade, because "roughly fine" does not exist there. In my tournament practice, some of my cleanest wins have come from opponents who traded into a pawn ending they had judged by eye — and the eye is a terrible judge of parity.

How to Train This at ChessMind AI

The opposition is learned by playing, not by nodding along. Our endgame trainer makes you demonstrate the fundamental king and pawn positions — both colors, winning the won ones and holding the drawn ones — against precise resistance, which is the only honest examiner. The basic checkmates trainer is a natural companion: the king and rook mate uses the same face-off logic, waiting for the kings to stand opposed before delivering the decisive check. Opposition battles are also parity calculations several moves deep, and our visualization trainer builds exactly that muscle — counting who arrives first without moving the pieces. Finally, the puzzle collection includes endgame studies where a single quiet king move, seizing the opposition, outshines every forcing try.

Frequently Asked Questions

What does it mean to "have the opposition"?

The kings stand on the same rank, file, or diagonal with one square between them (or an odd number, for the distant version), and it is your opponent's turn. Because they must move, their king has to give way, and your king gains ground. The concept is about the turn, not the geometry alone: the same king placement is good or bad for you depending on who moves.

Does having the opposition guarantee a win?

No. The opposition is a tool for reaching key squares, not a verdict. With a rook pawn, the defender in the corner draws against every opposition. Conversely, if your king reaches a key square of its pawn, you win even without the opposition. And in positions with several pawns, a spare pawn tempo outranks the opposition entirely, because it lets its owner pass the obligation back.

What is the distant opposition?

Kings on the same line with three or five squares between them. The general law: with an odd number of squares between the kings, the player not to move has the opposition. Its point is conversion — the holder keeps the gap odd as the kings approach, and cashes it in as direct opposition at the moment of contact.

How is the opposition related to zugzwang?

The opposition is a special case of zugzwang. In the standoff, both kings are optimally placed and every king move worsens the mover's position; the obligation to move is the whole battle. Saying "I have the opposition" and saying "my opponent's king is in zugzwang" are two descriptions of the same fact.

Why doesn't the opposition work with rook pawns?

Because winning normally requires evicting the defending king by outflanking — going around the other side. Against an a- or h-pawn there is no other side: the edge of the board removes the outflanking route, and the defender who reaches the corner can never be forced out, only stalemated. That is why so many endings are saved by giving back material to reach a rook-pawn draw.

  • Zugzwang — the compulsion to move; the opposition is its most organized form.
  • Triangulation — the king maneuver that loses a tempo to seize the opposition.
  • Square Rule — the preliminary count: can the king catch the pawn at all?
  • Stalemate — the defender's escape hatch at the end of many drawn opposition lines.
  • Tempo — the currency of every opposition battle; a spare pawn move buys the standoff.
  • Passed Pawn — the piece of material all this king geometry is fighting over.