Threefold repetition
A claimable draw available when the same position — identical in piece placement, same player to move, identical castling and en passant rights — has appeared three times during the game.
Threefold repetition is the rule that prevents chess games from continuing indefinitely. If the same position — defined precisely by the placement of every piece, the side to move, the available castling rights, and the available en passant rights — appears three times during the game, either player may claim a draw. The rule is one of the two principal anti-infinite-game rules in chess (the other being the fifty-move rule), and is by far the more frequently invoked in practical play.
The exact condition
The position is repeated when all of the following match:
The placement of every piece is identical to a previous position in the same game.
The same player has the move.
The castling rights are identical (the same castling moves are still available to both players).
The en passant rights are identical (if an en passant capture was available in the previous position, it must be available in the current position too).
If all four conditions match, the position is considered “the same.” The rule does not require that the three positions occur consecutively or that the same moves led to each of them; the positions need only share their static description.
A position can be repeated when, for example, the players shuffle their kings between two squares: White Kg1–Kh1–Kg1, Black Kg8–Kh8–Kg8 (three times for each). Each repeat counts as one occurrence; after three identical positions, the rule applies.
The claim must be made
Threefold repetition is a claimable draw, not an automatic one. The game does not stop on its own when the threefold position occurs; one of the players must claim the draw on his move. The claim must be made:
By the player whose turn it is to move.
By writing the move that would create the threefold position on the scoresheet without playing it, and stopping the clock — or by playing a move that creates the threefold position and then claiming the draw before stopping the clock.
If neither player claims, the game continues. The position can be repeated a fourth, fifth, or hundredth time without ending — though the fivefold repetition rule kicks in automatically after five repetitions, without a claim.
When claims are typically made
In practical chess, threefold repetition claims arise most often in three situations:
Endgames where neither side can make progress. Two kings circling each other in a king-and-pawn ending without zugzwang, two bishops shuffling between squares in a drawn opposite-coloured-bishop ending, a rook keeping a defender in a passive position — all of these can produce repetitive positions, and either player may claim.
Perpetual checks. A player who has reached a position where the only way to win is to keep checking the king back and forth between two squares often finds the king’s only legal responses produce the same position three times. The player giving check claims the draw to avoid losing.
Time-pressure repetitions. A player in time trouble who cannot find a winning continuation may deliberately repeat the position to claim the draw before flag-fall. The repetition becomes a defensive resource.
Common confusions
The same moves are not required. The rule cares about the position, not the moves. Black Ne4 — Nf6 — Ne4 (with a parallel White king-shuffle) can produce the same position three times even if the move sequence is different.
The repeated positions don’t have to be consecutive. The three identical positions can occur at moves 20, 30, and 50 — they need not be three in a row.
Castling rights matter. Two positions with identical piece placement but different castling rights are NOT the same position. If White has castled in one occurrence and not in another, even if the king and rook squares happen to coincide, the rights differ and the positions are different.
En passant rights matter. If an en passant capture was available in the position at one point, it must be available at all three points for the positions to count as identical.
Computer enforcement
In online chess platforms (chess.com, lichess.org), threefold repetition is enforced automatically by the engine, with the draw being either claimable by the user or applied automatically depending on the platform’s setting. In OTB (over-the-board) tournament chess, the players are responsible for claiming; the arbiter does not automatically detect the repetition.
The threefold repetition rule is one of two cases where a draw can be claimed in a position the players have not agreed to; the other is the fifty-move rule. Together, the two rules guarantee that no chess game can continue indefinitely. The threefold rule is the more practical of the two because it can apply at any move of the game, including the second or third repetition of an opening line that’s still in book.
Edge cases
What if the position is repeated three times but neither player claims? The game continues. The fourth or fifth repetition is the same position and can still be claimed at any time.
What if the position is repeated five times? The game ends automatically as a draw by the fivefold repetition rule, without a claim being needed.
What if I miss the claim because I played the move before claiming? If you played the move that created the threefold position and then claimed, the claim is valid. If you played the move and your opponent made a move before you claimed, the claim is no longer valid for that position; you must wait for it to occur again.
What if my opponent and I disagree on whether the position has been repeated? An arbiter must rule on the claim. In OTB tournament play, the scoresheets are the evidence; in online play, the engine’s record is definitive.
The rule has been part of chess regulations since the 1851 London Tournament rules, in its modern form since the 1929 FIDE codification. It has remained essentially unchanged since.