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

Chess Rules: The Complete Guide

Chess is played between two players on an 8x8 board of 64 squares. White always moves first, the players alternate one move at a time, and the goal is checkmate — attacking the enemy king so that it has no legal escape. This guide is the complete rulebook: how every piece moves, the three special moves in full detail, every way a game can be drawn, and the tournament regulations that govern serious play. As a grandmaster and coach, I watch club players lose half-points every season to rules they only half know — the draw and tournament sections below are where those points leak.

The Basics in 60 Seconds

Set up the board so that each player has a light square in the near right-hand corner — "white on the right." Each queen starts on a square of her own color: the white queen on d1, the black queen on d8. Each army has sixteen units: one king, one queen, two rooks, two bishops, two knights, and eight pawns.

The core rules fit in a few lines:

  • White moves first. The players then alternate, one move per turn. You may never skip a turn — passing does not exist in chess.
  • You capture by moving onto a square occupied by an enemy unit, which is removed from the board. The one exception is en passant, below.
  • You may never make a move that leaves your own king attacked. This is the rule everything else hangs on: the king is never actually captured.
  • You win by checkmate — or when your opponent resigns or runs out of time. If neither side can win, the game is a draw.

How Each Piece Moves

Every piece except the knight moves in straight lines and stops when it reaches another unit: it may capture an enemy unit on that square, but it can never jump over anything or capture its own.

The King

The king moves exactly one square in any direction — horizontally, vertically, or diagonally. It may capture any adjacent enemy unit that is not defended, but it may never step onto a square attacked by the enemy, which also means two kings can never stand next to each other. The king has one special move, castling, described below.

The Queen

The queen moves any number of squares along a rank, file, or diagonal — a rook and bishop combined. She is by far the strongest piece, worth roughly nine pawns.

The Rook

The rook moves any number of squares horizontally or vertically. Worth about five pawns, it is the second-strongest piece and the king's partner in castling.

The Bishop

The bishop moves any number of squares diagonally. Each bishop is bound to one color forever: your light-squared bishop will never touch a dark square.

The Knight

The knight moves in an "L": two squares along a rank or file, then one square at a right angle. It is the only piece that jumps: units in its path are simply irrelevant. It captures only on its landing square.

The Pawn

The pawn is the only unit that moves one way and captures another. It moves straight forward one square (or two squares on its very first move, from its starting square only), and it captures one square diagonally forward. It can never move backward or capture straight ahead — a pawn blocked by a unit directly in front of it cannot advance at all. Pawns own two special rules: en passant and promotion.

The Three Special Moves in Full Detail

These three moves cause more arguments than everything else combined, so here are the exact conditions for each.

Castling

Castling is the only move in which you move two of your own units at once: the king moves two squares toward a rook, and that rook jumps to the square the king crossed. Kingside for White is written O-O (king e1 to g1, rook h1 to f1); queenside is O-O-O (king e1 to c1, rook a1 to d1). Every one of these conditions must hold:

  1. Neither the king nor the chosen rook has ever moved. Moving and returning does not restore the right — it is gone permanently.
  2. All squares between the king and that rook are empty.
  3. The king is not currently in check. You cannot castle out of check.
  4. The king does not pass through or land on any square attacked by an enemy unit. You cannot castle through check.

Two clarifications that even experienced players get wrong. First, the rook may be attacked, and in queenside castling the rook may pass through an attacked square (b1 for White) — only the king's three squares matter. Second, having been in check earlier in the game does not forbid castling later, as long as you never moved the king to deal with it. In over-the-board play, castle by touching the king first.

En passant

En passant ("in passing") exists to stop a pawn from using its two-square first move to sneak past an enemy pawn. The exact conditions: your pawn stands on its fifth rank; an enemy pawn on an adjacent file advances two squares in one move, landing directly beside your pawn; you may then capture it as if it had moved only one square, placing your pawn on the square it skipped over. The critical restriction: the right exists only on the very next move. Play anything else first and it vanishes forever.

Promotion — and underpromotion

When a pawn reaches the last rank, it must be exchanged, as part of the same move, for a queen, rook, bishop, or knight of its own color — this is promotion. It cannot remain a pawn and cannot become a king. The choice is not limited by previously captured pieces. The new piece acts immediately — a promoted queen can be giving check the instant it appears.

Choosing anything other than a queen is underpromotion, and it is a real weapon, not a curiosity: a new knight delivers forks and checks a queen cannot, and a rook or bishop sometimes avoids a stalemate that a queen would cause. More on both in the edge-cases section.

Check and Checkmate

Your king is in check when an enemy unit attacks it. You must resolve the check immediately — no other move is legal — and there are exactly three ways to do it:

  1. Move the king to a safe square.
  2. Capture the checking unit (with the king or anything else).
  3. Block the check by placing one of your units between the attacker and your king. Blocking is impossible against a knight, a pawn, or any attacker standing right next to the king.

Against a double check — two units attacking the king at once, usually via a discovered attack — capturing or blocking can only stop one attacker, so the king itself must move.

Checkmate is a check for which none of the three defenses works. The game ends at that instant: the king is never captured, and nothing that "would have happened next" matters.

Every Way a Chess Game Can Be Drawn

This is the section most beginner guides cut short, and it decides real half-points. There are five distinct draw mechanisms.

Stalemate. If the player to move has no legal move at all and their king is not in check, the game is immediately drawn — stalemate. It is the rule behind countless rescues of lost positions.

Threefold and fivefold repetition. If the same position occurs three times with the same player to move and the same rights for both players — identical castling rights and identical en passant possibilities count — either player may claim a draw by threefold repetition. The occurrences need not be consecutive. Since 2014, FIDE also has an automatic backstop — after a fivefold repetition, the game is drawn regardless of whether anyone claims.

The 50-move and 75-move rules. If fifty consecutive moves by each player pass with no capture and no pawn move, either player may claim a draw under the 50-move rule. Any capture or any pawn move resets the count to zero. The automatic counterpart: at seventy-five such moves, the game is drawn by rule with no claim needed.

Insufficient material (dead position). The game is drawn the moment neither player could deliver checkmate by any sequence of legal moves: king versus king, king and bishop versus king, king and knight versus king. This is insufficient material. One subtlety worth knowing: two knights against a bare king cannot force mate, but mate is still legally constructible, so the game is not automatically drawn — a distinction that matters for time forfeits.

Draw by agreement. At any point, a player may offer a draw, and if the opponent accepts, the game ends. Proper procedure over the board: make your move, offer, then press your clock; an offer cannot be retracted, and it lapses once the opponent touches a piece. Many events restrict early offers (no agreed draws before move 30, for example).

Tournament Rules: Playing Over the Board

Serious over-the-board chess adds a layer of law on top of the game itself. These are the rules that catch players who learned online.

Touch-move and "j'adoube." If you deliberately touch one of your own units, you must move it if it has a legal move; touch an enemy unit and you must capture it if you legally can. Once you release a piece on a legal square, the move stands. This is the touch-move rule, and it is absolute — "I was just adjusting it" only works if you said so first: announce "j'adoube" (or "I adjust") before straightening a piece on its square. For castling, touch the king first; a player who touches the rook first must move the rook, not castle.

Illegal moves and penalties. If a completed move turns out to be illegal — it left your king in check, a knight moved like a bishop, you castled through check — the position is restored and a legal move must be played, with touch-move still applying to the piece you touched. Under current FIDE rules, the first completed illegal move earns your opponent two extra minutes on the clock; a second illegal move by the same player loses the game (unless the opponent has no possible mate, in which case it is a draw).

Clocks and time controls. Tournament games are played with a chess clock: your time runs while you think, and you press the clock with the same hand that moved. Time controls range from classical (hours per game, often with increment — bonus seconds added per move) through rapid and blitz. When your time runs out ("your flag falls"), you lose — with one important exception: if your opponent could not checkmate you by any possible sequence of legal moves, the game is a draw instead. A lone king cannot win on time.

Keeping score. In classical chess, both players must record the moves in algebraic notation; your scoresheet is also the evidence for repetition and 50-move claims. A player with under five minutes remaining (and no 30-second increment) may stop recording. In rapid and blitz, scorekeeping is not required.

Etiquette. Shake hands before and after the game. Do not talk during play — offering a draw, resigning, and calling the arbiter are the only sanctioned conversation. Resign by stopping the clocks and offering your hand, or by laying down your king. Disputes belong to the arbiter, not to arguments across the board.

Online vs Over-the-Board: What Changes

The rules of the game are identical online, but the procedures differ in ways that shape habits.

The interface simply refuses illegal moves, so an entire category of tournament law disappears. There is no touch-move: you can pick up a piece, see the highlighted squares, and put it back — unthinkable over the board. Premoves let you input a reply before your opponent has moved, executing instantly; nothing comparable exists over the board. Draw claims are automatic: the server itself declares threefold repetitions, 50-move draws, and insufficient-material draws without any claim procedure. And flagging — winning a lost position purely on time — is a far bigger part of online blitz, because moving takes milliseconds instead of physical effort. My advice to students who grew up online: before your first over-the-board event, train yourself to touch only the piece you intend to move.

Edge Cases That Decide Real Games: A Grandmaster's Notes

Some rules look like fine print but function as tactics. These four come up constantly in my coaching.

Castling rights are lost forever, not paused. Move your king once — even if it returns to its home square the next move — and both castlings are gone for the rest of the game. Move a rook, and castling with that rook is gone. Strong players exploit this ruthlessly: a check that forces the enemy king to move one square wins no material, yet it condemns the king to the center for good. Count lost castling rights as a concrete gain, like winning a pawn.

En passant is now-or-never. Because the right expires after one move, you must make the capture-or-not decision immediately — there is no keeping the option. I have seen players calculate a beautiful continuation two moves deep that depended on an en passant capture they had already forfeited.

Underpromotion wins games. The classic pattern is promoting to a knight with check or a fork, gaining a tempo a queen would not. And in the celebrated Saavedra study, White's only win is to promote to a rook — the natural queen promotion walks into a stalemate trick. When a promotion race ends with both sides queening, always check whether promoting to a knight instead wins the new enemy queen.

Stalemate is the defender's best friend. In a hopeless position, the correct professional reflex is to hunt for stalemate: trap your own king, then throw away every unit that can still move, often with desperate checks the opponent dare not ignore. Rescuing a dead-lost game this way is the classic swindle. When you are winning with a huge material advantage, every quiet move should pass one test: does my opponent still have a legal reply?

How to Train the Rules at ChessMind AI

Knowing the rules and applying them at speed are different skills. Start with the ChessGPT knowledge quiz — it probes exactly the territory in this guide, from en passant conditions to draw claims, and shows you which rules you only half know. Then make the boundary cases automatic with our tactics puzzles, where the difference between checkmate and stalemate, or between a queen and a knight promotion, is frequently the whole point of the position. Finally, take the GM diagnostic assessment — it measures where your overall game actually stands, so you know whether your next hours are best spent on rules fluency, tactics, or endgames.

Frequently Asked Questions

Can you castle out of check?

No. If your king is in check, castling is illegal — you must resolve the check by moving the king, capturing the checker, or blocking. What you can do is castle later in the game after a check has been dealt with by other means; being checked does not destroy castling rights, only king or rook moves do.

When can't you castle?

Permanently: after your king has moved, or (for that side) after the rook has moved. Temporarily: while any square between king and rook is occupied, while you are in check, or while the king would cross or land on an attacked square. The rook being attacked, or passing through an attacked square, does not prevent castling.

Is en passant optional?

Yes — it is a capture you may make, not one you must make, and like any capture in chess it is only forced when it happens to be your sole legal move (rare, but it occurs). The real constraint is timing: the option exists only on the move immediately after the enemy pawn's two-square advance.

Can the king capture pieces?

Absolutely. The king captures the same way it moves — any adjacent enemy unit — provided that unit is not defended and the king does not end up in check. In endgames the king is a genuinely strong fighting piece.

Do you have to say "check"?

No. Announcing check is a casual-play courtesy, not a rule; in tournaments players say nothing. Protection comes from the rules themselves: any move that ignores a check is illegal and must be retracted.

What happens if both players run out of time?

Over the board, if the arbiter cannot establish which flag fell first, the game continues in a classical time control; in a final sudden-death phase it is declared drawn. Online this never arises — the server knows to the millisecond, and the first clock to hit zero loses (or draws, if the opponent lacks mating material).

Can you have more than one queen?

Yes. Promotion is not limited by the pieces already captured — every pawn that reaches the last rank can become a new queen, so a second or even third queen is perfectly legal. Tournament sets carry spare queens for exactly this reason; ask the arbiter rather than improvising with an upside-down rook.