♔
Chess Rules
Every rule, with diagrams
← Articles
Rules · Beginners

Chess Rules: The Complete Guide, with Diagrams

This is every rule of chess in one place, in plain English. It follows the official FIDE Laws of Chess (the rules used in rated tournaments), and every diagram is an exact, checked position. Start at the top if you are new, or jump to the rule you need.

Quick answer

The rules of chess in short: two players, White and Black, take turns on an 8x8 board; White moves first. Each side starts with 16 pieces: a king, a queen, two rooks, two bishops, two knights and eight pawns. You win by checkmate: attacking the enemy king so it cannot escape. You may never leave your own king in check. Special moves are castling, en passant and promotion. A game is drawn by stalemate, agreement, threefold repetition, the 50-move rule or insufficient material.

Board8x8, light square on the right
First moveWhite
Pieces each16
How to winCheckmate
Special movesCastling, en passant, promotion
Official rulesFIDE Laws of Chess
10 min read Published October 2026 By
In this guide

The goal of the game

Chess is a game for two players: White and Black. Each player has 16 pieces. The goal is to checkmate the other player's king: attack it so that it has no way to escape (FIDE Laws, Article 1.4). The king is never actually captured. The game ends as soon as it is checkmated.

A game can end in three ways: one player wins, the other loses, or it is a draw (a tie). This guide explains every way each of those can happen.

White always moves first. Then the players take turns, one move at a time (Article 1.2). You cannot skip a turn, and you cannot move twice.

How to set up the board

The board has 64 squares in 8 rows and 8 columns. The columns are called files (named a to h) and the rows are called ranks (numbered 1 to 8).

  1. Turn the board the right way. Each player must have a light square in the near right-hand corner (Article 2.1). Remember: "white on the right".
  2. Rooks go in the corners, knights next to them, then bishops.
  3. The queen goes on her own colour: the white queen on the light square d1, the black queen on the dark square d8.
  4. The king goes on the last empty square of the back rank (e1 and e8).
  5. Pawns fill the whole second rank (White) and seventh rank (Black).
The chess starting position: White on ranks 1 and 2, Black on ranks 7 and 8, with the light corner h1 and the queens on d1 and d8 highlighted
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
The correct starting position. h1 is light, and each queen stands on a square of her own colour.
How to set up the board: moves and commentary as text

1.e4 The correct starting position. h1 is light, and each queen stands on a square of her own colour.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.Bb5+ White develops the bishop to b5, with check. A mistake: exd5 was stronger. Stockfish: Black is slightly better (-0.6).

How the pieces move (summary)

Each piece moves in its own way. Our guide on how chess pieces move shows each one on a diagram. In short:

PieceMovesSpecial rules
KingOne square in any directionMay never move into check. Can castle once.
QueenAny distance along ranks, files and diagonalsCannot jump.
RookAny distance along ranks and filesTakes part in castling.
BishopAny distance diagonallyStays on one colour all game.
KnightAn L: two squares, then one to the sideThe only piece that jumps.
PawnOne square forward, two on its first moveCaptures diagonally. En passant. Promotion.

Three rules apply to all pieces (Article 3.1 and 3.5): you may not move onto a square with your own piece; moving onto an enemy piece captures it; and only the knight may pass over other pieces.

Check: when the king is attacked

When a piece attacks the enemy king, the king is in check. You do not have to say "check" out loud; it is polite in casual games but not part of the official rules.

The most important rule in chess: you may never leave your own king in check, and you may never move into check (Article 3.9). If you are in check, your next move must end the check. There are only three ways:

  1. Move the king to a safe square.
  2. Block the check by putting a piece in between (not possible against a knight or a pawn).
  3. Capture the piece that is giving check.
Chess diagram after 1.e4 d5 2.Bb5+: the white bishop on b5 gives check to the black king on e8
Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
After 1.e4 d5 2.Bb5+ Black is in check. Black can block with c6, Bd7, Nc6, Nd7 or Qd7. All other moves are illegal.
Check: when the king is attacked: moves and commentary as text

1.e4 White puts a pawn on e4 and claims space in the centre.

1...d5 This is the Scandinavian Defence. Black puts a pawn on d5 and claims space in the centre.

2.Bb5+ After 1.e4 d5 2.Bb5+ Black is in check. Black can block with c6, Bd7, Nc6, Nd7 or Qd7. All other moves are illegal. Stockfish: Black is slightly better (-0.6).

Advertisement

Checkmate: how you win

If the king is in check and none of the three escapes works, it is checkmate. The game is over at once, and the player who gave checkmate wins (Article 5.1.1).

Chess diagram of a back-rank checkmate: the white rook on a8 checks the black king on g8, which is trapped by its own pawns on f7, g7 and h7
Analyse
Stockfish 19Stockfish 19commentary
The rook checks along the 8th rank. The king cannot step forward because its own pawns are in the way, nothing can block, and nothing can capture the rook. That is checkmate.
The rook checks along the 8th rank. The king cannot step forward because its own pawns are in the way, nothing can block, and nothing can capture the rook. That is checkmate.

A player can also win when the opponent resigns (gives up), or when the opponent runs out of time in a game with a clock (see the time rules below). To learn the basic mating patterns, read how to checkmate.

The three special moves

1. Castling

Once per game, the king may move two squares towards a rook, and that rook jumps to the square the king crossed (Article 3.8.2). It is allowed only if: the king and that rook have never moved, there are no pieces between them, the king is not in check, and the king does not pass through or land on an attacked square. Full details and diagrams are in how to castle in chess.

2. En passant

If a pawn moves two squares and lands right beside an enemy pawn, that enemy pawn may capture it as if it had moved only one square, but only on the very next move (Article 3.7.3.1 and 3.7.3.2).

Chess diagram: Black's pawn moved from d7 to d5 beside White's pawn on e5, which may capture it en passant on d6
Analyse
Stockfish 19Stockfish 19commentary
Black just played...d7-d5. White's e5 pawn may capture it en passant by moving to d6. See our full en passant guide for more examples.
Black just played ...d7-d5. White's e5 pawn may capture it en passant by moving to d6. See our full en passant guide for more examples.

More examples: en passant explained.

3. Promotion

When a pawn reaches the far end of the board, it must be exchanged for a queen, rook, bishop or knight of the same colour, as part of the same move (Article 3.7.3.3). You can choose any of these, even if you still have your queen, so two queens are possible. A pawn cannot stay a pawn, and it cannot become a king.

Chess diagram: a white pawn on e7 about to reach e8 and promote
Analyse
Stockfish 19Stockfish 19commentary
When the pawn reaches e8, it must turn into a queen, rook, bishop or knight. Most players choose a queen.
When the pawn reaches e8, it must turn into a queen, rook, bishop or knight. Most players choose a queen.

How can a chess game end in a draw?

A chess game is drawn by stalemate, by agreement, by threefold repetition, by the 50-move rule or when neither side can possibly checkmate (a dead position). A draw means nobody wins; in tournaments each player gets half a point. Here is each way in detail:

Stalemate

If the player to move has no legal move and their king is not in check, the game is a draw by stalemate (Article 5.2.1). Many beginners are surprised by this rule: you can be far ahead and still draw if you leave the enemy king with no moves.

Chess stalemate diagram: the black king on a8 is not in check, but the white queen on b6 covers a7, b7 and b8, so Black has no legal move
Analyse
Stockfish 19Stockfish 19commentary
It is Black's move. The king on a8 is not in check, but every square around it is covered by the queen. Black has no legal move, so the game is drawn. White should have given the king some room.
It is Black's move. The king on a8 is not in check, but every square around it is covered by the queen. Black has no legal move, so the game is drawn. White should have given the king some room.

Draw by agreement

Players may agree to a draw at any time after both have made at least one move (Article 5.2.3). In a tournament, you offer a draw after making your move and before pressing your clock. Some events forbid early draw offers.

Threefold repetition

If the same position appears three times, with the same player to move, the player whose turn it is may claim a draw (Article 9.2). The moves do not have to repeat in a row; only the position counts. "The same position" also means the same castling and en passant rights.

The 50-move rule

If 50 moves by each player have been made with no pawn move and no capture, a player may claim a draw (Article 9.3). This stops a player from going on forever when they cannot make progress.

Automatic draws: fivefold repetition and the 75-move rule

Threefold repetition and the 50-move rule must be claimed in over-the-board play. Since 2014, FIDE also has two automatic draws: if the same position appears five times, or if 75 moves by each player pass with no pawn move and no capture, the game is drawn even if nobody claims it (Article 9.6). If the 75th move gives checkmate, the checkmate counts.

Dead position and insufficient material

If neither player can possibly checkmate, whatever moves are played, the game is drawn at once (Article 5.2.2). This is called a dead position. The most common cases are not enough pieces to mate:

Chess diagram: White has a king and a knight, Black only a king. Checkmate is impossible, so the game is a draw
Analyse
Stockfish 19Stockfish 19commentary
A king and one knight can never force or even reach checkmate against a lone king. The game is drawn.
A king and one knight can never force or even reach checkmate against a lone king. The game is drawn.

Note: two knights against a lone king is not a dead position. Checkmate is possible if the defender blunders, even though it cannot be forced, so the game goes on.

What is the touch-move rule in chess?

If you deliberately touch one of your own pieces, you must move it, and if you touch an enemy piece, you must capture it, as long as that is legal. In over-the-board tournaments, touching pieces has rules (Article 4.3):

Each move must be made with one hand (Article 4.1). In friendly games many people ignore touch-move, but it is good to practise it from the start.

Advertisement

Chess clock and time rules

Most serious games use a chess clock. Each player has a set amount of time. After you move, you press the clock, which stops your time and starts your opponent's (Article 6.2.1). Common time controls:

Running out of time

If your time runs out, you lose the game (Article 6.9). There is one important exception: if your opponent cannot possibly checkmate you with any series of legal moves, the game is a draw instead.

Be careful: the test is "can mate happen at all?", not "can it be forced?". For example, if your opponent has only a king and a knight but you still have a pawn, a checkmate position is possible, so your flag falling means you lose. If you have only a bare king, their king and knight cannot mate you, so it is a draw.

What happens after an illegal move?

An illegal move is any move that breaks the rules, for example leaving your king in check or moving a bishop like a rook. Online, the app simply will not allow it. Over the board:

Also note: a pawn that reaches the last rank without being swapped is an illegal move, and it is replaced by a queen (Article 7.5.2).

Other tournament rules worth knowing

Quick checklist for beginners

  1. Light square on the right. Queen on her colour.
  2. White moves first. One move per turn.
  3. Never leave your king in check.
  4. Check = attacked. Checkmate = attacked with no escape, game over.
  5. No moves and not in check = stalemate, a draw.
  6. Learn the three special moves: castling, en passant, promotion.
  7. Know the draws: agreement, repetition, 50 moves, dead position.

You now know all the rules you need for your first rated game. The fastest way to make them automatic is to play: try the Rama Chess bots, which follow every rule, and solve a daily puzzle to train your eye.

Frequently asked questions

Who moves first in chess?

White always moves first. Then the players take turns, one move each.

Is stalemate a win or a draw?

Stalemate is a draw. It happens when the player to move has no legal move but is not in check. It is not a win for either side.

What is the 50-move rule in chess?

If 50 moves by each player are played with no pawn move and no capture, a player may claim a draw. After 75 such moves the game is drawn automatically under FIDE rules.

What is threefold repetition?

If the same position appears three times with the same player to move (and the same castling and en passant rights), the player to move may claim a draw. The moves do not need to be in a row. After five times the game is drawn automatically.

Can a pawn promote to a king?

No. A pawn can only promote to a queen, rook, bishop or knight of its own colour.

Do you have to say check?

No. Saying "check" is not required by the official rules. In casual games it is friendly to say it, but in tournaments players usually stay quiet.

What happens if you run out of time but your opponent only has a king?

It is a draw. If your opponent cannot possibly checkmate you with any legal moves, running out of time does not lose the game.

Can you capture the king in chess?

No. The king is never captured. The game ends with checkmate before that can happen, and moving into check or leaving your king in check is illegal.

What is en passant in chess?

En passant is a special pawn capture. If a pawn moves two squares from its starting square and lands beside an enemy pawn, that enemy pawn may capture it as if it had moved only one square. The capture must be made on the very next move, or the right is lost.

What are the rules for castling?

The king moves two squares towards a rook, and the rook jumps to the square the king crossed. You may castle only if the king and that rook have never moved, no pieces stand between them, the king is not in check, and the king does not pass through or land on an attacked square.

Keep learning on Rama Chess

Watch on YouTube

Prefer video? Our channels show real games move by move, with clear explanations.

▶
Stockfish 100 — engine games explained
youtube.com/@stockfish100
›
▶
Best Chess Channel — tactics, traps and training
youtube.com/@bestchesschannel
›

Practise it for real: play against Stockfish 19 in your browser, with hints and a full Game Review.