How to play chess

Board
8x8, light square right
Pieces
16 a side
White moves first
Win
checkmate

Chess is played by two players on an 8x8 board, each with 16 pieces, and the aim is checkmate: attacking the enemy king so that no legal move saves it. White moves first, then the players alternate, and one move is made at a time. The rules are not folklore. They are written down in the FIDE Laws of Chess, in force since 1 January 2023 (FIDE Handbook), and this page follows them in the order you meet them in a real game.

The starting position, with the queens on d1 and d8 and the kings on e1 and e8

Set the board

Turn the board so the near corner square on your right is light (Article 2.1). Put the pawns along your second rank. Fill the back rank from the corners inwards: rook, knight, bishop, then queen and king, then bishop, knight, rook.

The queen goes on her own colour, which means the d-file for both sides: white queen on d1, black queen on d8. The kings take e1 and e8 and face each other down the e-file. The full step by step is in the guide to chess board setup.

Each side has one king, one queen, two rooks, two bishops, two knights and eight pawns (Article 2.2).

How each piece moves

Six pieces, six rules. None of them may land on a square occupied by a piece of the same colour, and only the knight may jump over anything.

The rook moves any number of squares along the file or the rank it stands on (Article 3.3).

The bishop moves any number of squares along a diagonal it stands on (Article 3.2). A bishop never changes the colour of the square it is on, which is why one bishop covers the light squares and the other the dark ones for the whole game.

The queen does both: any number of squares along the file, the rank or a diagonal (Article 3.4). She is the strongest piece on the board.

The knight moves to one of the squares nearest to the one it stands on but not on the same rank, file or diagonal: two squares one way and one square across (Article 3.6). It is the only piece that may pass over other pieces.

A knight on d5 and the eight squares it can reach

The king moves one square in any direction, to a square not attacked by an enemy piece (Article 3.8). It also has one special move, castling, below.

The pawn moves one square straight forward to an empty square, or two squares on its first move if both are empty. It captures differently from the way it moves: one square diagonally forward (Article 3.7). A pawn never moves backwards.

The piece guide at chess pieces has a diagram for each one.

Castling

Once in a game each player may move the king two squares towards a rook, and that rook jumps to the square the king crossed (Article 3.8.2). Kingside castling puts the white king on g1 and the rook on f1; queenside castling puts the king on c1 and the rook on d1.

Castling is not allowed if the king or that rook has already moved, if a piece stands between them, if the king is in check, or if the king would cross or land on a square attacked by an enemy piece. The rook may cross an attacked square: only the king may not.

The four castling destinations for the kings

En passant

A pawn that stands on its fifth rank may capture an enemy pawn that has just advanced two squares from its starting square and passed the square the capturing pawn attacks. The capture is made as if that pawn had moved only one square, and it is legal only on the move immediately after the two-square advance (Article 3.7.3.1). The full page is en passant.

Promotion

A pawn that reaches the far rank must be exchanged, as part of the same move, for a queen, rook, bishop or knight of its own colour (Article 3.7.3.3). The choice is not limited to pieces that have already been captured (Article 3.7.3.4), so a player can have two or more queens at once. Almost every promotion is to a queen; a knight is chosen when it gives check or mate that a queen does not.

Check, checkmate and the end of the game

A king is in check when it is attacked by one or more enemy pieces. The player must answer the check at once: move the king, capture the attacker, or block the line (Article 3.9). A move that leaves your own king in check is illegal.

Checkmate is a check with no legal answer. The game ends there and then, and the player who delivered it wins (Article 5.1.1). There is no capture of the king and no need to say anything out loud.

Checkmate: the knight gives check, the rook and the pawns take every escape square

A game also ends when a player resigns, which is a loss (Article 5.1.2), or when the time runs out under a clock.

Every way a game is drawn

  • Stalemate: the player to move has no legal move and is not in check (Article 5.2.1). The game is drawn at once, which is why a winning side must leave the losing king a move.
  • Agreement: both players agree to a draw (Article 5.2.3).
  • Dead position: no sequence of legal moves can lead to checkmate, for example king against king (Article 5.2.2).
  • Threefold repetition: the same position appears three times with the same player to move, and either player may claim. After five times it is automatic (Articles 9.2 and 9.6.1).
  • The 50-move rule: fifty moves by each player with no capture and no pawn move, claimable; after 75 such moves the game is drawn automatically (Articles 9.3 and 9.6.2).

A win scores 1 point, a draw half a point and a loss zero, unless the event says otherwise (Article 10.1).

Reading and writing moves

Each square has a letter for its file and a number for its rank: a1 is White's bottom left corner, h8 is Black's. A move is written as the piece letter plus the square it goes to: ♞f3 is a knight to f3, e4 is a pawn to e4, since pawns have no letter.

A capture is written with an x (♝xf7), check with a plus (♛h5+), checkmate with a hash (♛xf7#). Castling is O-O on the kingside and O-O-O on the queenside. Promotion is written with an equals sign: e8=♛.

87654321abcdefgh
The Italian Game, one of the oldest openings, written in this notation
1.2.3.4.

Your first moves

Three ideas carry a beginner further than any memorised opening.

  1. Take the centre. Play a pawn to e4 or d4 on the first move. Pawns in the middle give your pieces room.
  2. Develop knights and bishops. Bring out a new piece each move towards the centre, knights before bishops. Do not move the same piece twice in the opening without a reason.
  3. Castle early. Get the king off the open middle of the board and connect the rooks, usually within the first ten moves.

The three mistakes that lose beginner games are the opposite of those: moving only pawns, bringing the queen out on move two where she is chased by every developing move, and leaving the king in the centre.

A checklist for your first game

  1. Light square in the near right-hand corner.
  2. Queen on her own colour, kings facing on the e-file.
  3. White moves first.
  4. Before every move, look at what your opponent's last move attacks.
  5. Answer a check at once: move, capture or block.
  6. Castle before you attack.
  7. Promote a pawn to a queen unless a knight mates faster.
  8. Count the position again before you claim a draw or resign.

How to play chess FAQ

How many pieces does each player have

Sixteen: one king, one queen, two rooks, two bishops, two knights and eight pawns.

Who moves first in chess

White, always. The players then alternate, one move each.

Can the king take a piece

Yes, if the piece is not defended and the king does not move into check by taking it.

Can a pawn move backwards

No. Pawns only move forward, one square at a time after the first move, and capture one square diagonally forward.

What happens when a pawn reaches the other side

It must be promoted at once to a queen, rook, bishop or knight of its own colour, as part of the same move.

Is the king captured at the end

No. The game ends at checkmate, before any capture of the king, and an illegal move that leaves a king in check is simply not allowed.

What is the difference between checkmate and stalemate

In checkmate the king is attacked and there is no legal answer, and the game is a win. In stalemate the player to move has no legal move and is not in check, and the game is a draw.

How long does a game of chess take

From a few minutes in blitz to several hours in a classical tournament game. A first game between beginners usually takes 20 to 40 minutes.

Do I have to say check out loud

No. It is a courtesy in a casual game and is not required by the Laws.

Sources