Master the king and pawn endgame with the opposition, the rule of the square, key squares, and triangulation, the foundation of all winning endgame play.
The king and pawn endgame is the foundation on which all endgame skill is built, because every other ending can ultimately simplify into one. Strip a position down to kings and pawns and there is nowhere to hide: no piece can rescue a lost tempo, and the outcome turns entirely on precise king play and a few timeless techniques. Master these positions and you will not only win more endings outright but also judge accurately when to trade down into them from a more complex game.
This guide covers the essential tools of the king and pawn endgame: the opposition, the rule of the square, key squares, and the subtle weapon of triangulation. We will explain each with practical, correct technique rather than vague advice, and we will close by comparing these ideas to the Soldier endings of Xiangqi, where the humble foot soldier plays a surprisingly similar role.
The Opposition: The Master Key
The opposition is the single most important concept in king and pawn endgames. Two kings stand in opposition when they face each other on the same rank or file with exactly one empty square between them. The crucial point is that whoever has to move is at a disadvantage; being forced to step aside, they must yield ground or let the other king advance. So the player who is not on move is said to have the opposition, and in many positions holding the opposition is exactly what wins or draws the game.
In practice, the opposition is the tool you use to force your king forward past the enemy king. When you have the opposition and your opponent must move, their king has to give way, and yours steps into the squares you need. There are extensions of the idea, distant opposition across several squares and diagonal opposition, but they all reduce to the same principle: maneuver so that your opponent, not you, faces the obligation to move and must surrender a square.
The Rule of the Square and Passed Pawns
When a passed pawn races toward promotion with the enemy king trying to catch it, the rule of the square gives you an instant answer without counting moves. Imagine a square on the board with one corner on the pawn and one side stretching along the pawn's path to the promotion rank, forming a perfect box. If the defending king stands inside that square, or can step into it on its move, it will catch the pawn; if it cannot reach the box, the pawn promotes untouched.
The rule assumes the pawn is unobstructed and accounts for the pawn's initial two-square jump if it has not yet moved. It is an indispensable shortcut in the many endings that come down to a straight race, one side pushing a passed pawn while the other tries to shepherd its own runner home. Learn to draw that mental box instantly and you will never miscount a pawn race again.
Key Squares and Winning With an Extra Pawn
An extra pawn only wins if your king can escort it to promotion, and whether it can is governed by key squares, the squares your king must reach to force the pawn through. As a practical rule, if your king can get in front of its pawn with an empty rank between them, you are winning, because you can always use the opposition to reach the key squares ahead of the pawn. If your king is stuck beside or behind the pawn, the result usually hinges on who holds the opposition.
There is one famous exception that every player must know: the rook pawn. With a pawn on the a or h file, the defending king can often scurry into the corner where the pawn promotes and simply refuse to be evicted, drawing even a whole pawn down, because the attacking king has no room to outflank on the edge of the board. When you have an extra rook pawn, check carefully for this fortress before assuming the win; when you are defending a pawn down, racing your king to that corner is often your salvation.
The overriding lesson is that the king, not the pawn, does the winning work. Push the pawn too early and it can be blockaded and won; instead, bring your king in front of it, seize the key squares with the help of the opposition, and only then advance the pawn under royal escort.
Triangulation, Zugzwang, and the Same Fight in Xiangqi
Sometimes you hold a winning position but you are the one on move, and moving spoils everything: you need to hand the obligation to move back to your opponent. The tool for this is triangulation. Your king traces a small triangle of squares, taking three moves to reach a square your opponent's king could reach in two, thereby losing a tempo on purpose. When you return to the key position, it is your opponent to move instead of you, and they must give way.
Triangulation works only because king and pawn endings are ruled by zugzwang, the state in which any move a player makes worsens their position. In most of chess having the move is an advantage, but in these stripped-down endings it can be a curse, and the whole art of the opposition and triangulation is about forcing that curse onto your opponent. Recognizing when zugzwang is in the air is what lets you find the quiet, patient king moves that win positions a hasty player would only draw.
Xiangqi has its own version of the pure pawn endgame, and it rewards the same patient king-and-pawn thinking. A Soldier that has crossed the river gains the ability to move sideways as well as forward, becoming a genuine attacker much as a passed pawn does when it nears promotion. Coordinating your General's movement inside the palace with an advanced Soldier to break down the enemy defense echoes the way a chess king escorts its pawn, since timing, opposition-like standoffs, and tempo all matter.
The mechanics differ, of course: the General is confined to the palace, Soldiers never promote to a stronger piece, and there is no stalemate reprieve, since being unable to move loses in Xiangqi. But the core discipline, using your king actively, calculating tempo precisely, and forcing the opponent into a losing obligation to move, is shared. Training king and pawn endings in chess quietly sharpens your Soldier endings in Xiangqi, and the reverse is true as well.
Drill It Until It Is Automatic
These techniques reward repetition. Set up simple king and pawn positions and practice gaining the opposition, finding the key squares, and executing a triangulation until the moves feel obvious. Test yourself with the rook-pawn exception so you recognize the draw before you throw away a win, and rehearse pawn races with the rule of the square until the mental box appears instantly.
The fastest way to internalize any endgame is to play it and review it. On XiangqiPlay you can play online, practice against the computer, and replay your endings to see precisely where the opposition or a single tempo decided the game. Learn one king and pawn endgame today, drill it until it is automatic, and you will carry that skill into every game you play, in chess and in Xiangqi alike.