Play Abstract Games

Chess rules: how to play Chess

Chess is played on a board of 64 squares by two players, White and Black, with 16 pieces each. The players take turns moving one piece, capture the opponent's pieces by moving onto their squares, and win by checkmating the opponent's king.

This page covers every rule of standard Chess, including the three special moves new players often miss: castling, en passant and promotion.

The board and the starting position

The board has 64 squares in eight rows, called ranks, and eight columns, called files. The squares alternate light and dark, and the board is turned so that each player has a light square in the right-hand corner.

Each square has a name: its file, a to h from White's left, and its rank, 1 to 8 from White's side. White's king starts on e1 and Black's on e8.

Each side has a king, a queen, two rooks, two bishops, two knights and eight pawns. The pawns fill the second rank. Behind them, from the corners inwards, stand the rooks, the knights and the bishops, and in the middle the queen and the king, with each queen on a square of her own colour. White moves first.

White to move. The starting position, with White to move. The white queen stands on the light square d1, the black queen on the dark square d8.

How the pieces move

On your turn you move one of your pieces to another square. A piece may not move onto a square held by one of your own pieces. It may move onto a square held by an opposing piece, which captures it: the captured piece leaves the board for the rest of the game.

Every piece except the knight moves along a line and stops before the first piece in its way, or captures it if it belongs to the opponent. The knight jumps, so pieces in between do not stop it.

KingOne square in any direction: eight squares from the centre.
QueenAny number of squares along a rank, a file or a diagonal: 27 squares from d4.
RookAny number of squares along a rank or a file: 14 squares wherever it stands on an empty board.
BishopAny number of squares diagonally, so it always stays on squares of one colour.
KnightIn an L: two squares along a rank or file, then one to the side. It jumps over any piece in between.
PawnOne square forward, or two from its starting square. The crosses show where it captures, diagonally forward.

Each piece alone on the board, with a dot on every square it can move to.

On a real board other pieces get in the way. Here is one position from the Italian Game, with White to move, three times. The dots show where one white piece can go, and a frame marks a black piece it can capture.

KnightThe knight on f3 has six squares, and it can take the pawn on e5. Its L-shaped jump ignores the pieces around it.
BishopThe bishop on c4 moves along both diagonals until a piece is in the way. It can take the pawn on f7, but cannot pass White's own pawn on d3.
QueenThe queen moves like a rook and a bishop together. Early in the game her own pieces still block most lines, so the queen on d1 has only five squares.

Pawns

Pawns are the only pieces that never move backwards, and the only ones that capture differently from how they move. A pawn moves one square straight forward, onto an empty square. From its starting square it may move two squares instead, if both are empty.

A pawn captures one square diagonally forward. So a pawn with a piece right in front of it is stuck, while an opposing piece diagonally in front of it can be taken.

In the position below, from a game, Black has answered 1.e4 with 1...d5. White's pawn on e4 can move forward to e5 or take the black pawn on d5.

White to move. After 1.e4 d5, the pawn on e4 can move straight forward to e5 or capture diagonally on d5.

Check

When a piece attacks the opposing king, the king is in check. A player in check must get out of it on the very next move, in one of three ways: move the king to a square that is not attacked, block the attack by putting a piece in between, or capture the attacking piece.

In the position below, from a game, Black's bishop has just given check from b4. White's king has no free square, but three white pieces can block: the knight on c3 or d2, the bishop on d2, or the queen on d2.

White to move. After 1.d4 e6 2.c4 Bb4+, White is in check. The rings mark the squares where a piece can block.
Rule
Your own king comes first

You may never make a move that leaves your own king in check, or puts it there. A piece that shields your king from an attack cannot step out of the line, and two kings can never stand next to each other.

Checkmate

A check that cannot be escaped in any of the three ways is checkmate, and it ends the game: the player who gives it wins. The king is never actually captured.

In the position below, White's rook has just moved to a8 and gives check along the back rank. The king cannot step to f8 or h8, which the rook covers too, and its own pawns stand on f7, g7 and h7. Nothing can take the rook or block it, so this is checkmate, a back-rank mate.

Checkmate after Ra8#. The rook checks the king on g8 along the eighth rank, and the king's own pawns leave it no square to escape to.
PuzzleYour move
Black to move. White has opened with f3 and g4. Checkmate the white king.
1
2
3
4
5
6
7
h8
g
f
e
d
c
b
a

Make your move on the board.

Show the answer

Qh4#. This is Fool's mate, the shortest possible game of Chess. White's f3 and g4 opened the king's diagonal, and the queen uses it at once.

Castling

Castling is the only move in which two pieces move at once: the king and a rook. The king moves two squares towards the rook, and the rook jumps over to the square the king crossed.

Castling kingside (written O-O) puts White's king on g1 and the rook on f1. Castling queenside (O-O-O) puts the king on c1 and the rook on d1. Black castles the same way on rank 8.

Players castle early to tuck the king behind its pawns and bring the rook towards the centre. Here both sides castle kingside in the Italian Game, starting after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5.

4.

White castles: the king goes from e1 to g1 and the rook from h1 to f1, in one move. Black brings out the other knight.

5.

White defends e4 with the d-pawn, and Black castles the same way: king to g8, rook to f8.

Special case
When castling is allowed

Neither the king nor that rook may have moved before, and the squares between them must be empty. The king may not castle out of check, and it may not pass over or land on a square an opposing piece attacks. The rook may pass an attacked square: on the queenside, b1 or b8 may be attacked.

En passant

A pawn that moves two squares from its starting square can pass an opposing pawn that would have captured it on the first square. En passant (French for "in passing") stops that: the opposing pawn may capture it as if it had moved only one square, landing on the square it skipped.

In the position below, from the French Defence, Black's pawn has just moved from d7 to d5, past the square d6 that White's pawn on e5 attacks.

PuzzleYour move
White to move. Capture the pawn that has just moved two squares.
8
7
6
5
4
3
2
a1
b
c
d
e
f
g
h

Make your move on the board.

Show the answer

exd6. The pawn on e5 moves to d6, as if Black's pawn had moved only one square, and the pawn on d5 is removed. Black's pawn on e6 stops White's pawn from moving forward, so this capture is the only move it has.

Special case
Only on the next move

En passant is allowed only by a pawn, only against a pawn that has just moved two squares, and only on the move right after it. If you play anything else, the chance is gone.

Promotion

A pawn that reaches the far rank, rank 8 for White and rank 1 for Black, is promoted in the same move. Its player swaps it for a queen, a rook, a bishop or a knight of the same colour, whatever pieces are still on the board. It cannot stay a pawn or become a king.

Most players choose a queen, the strongest piece, so a player can have two queens or more. In this ending, White's pawn on b7 is one step from promotion, and Black's king is too far away to stop it.

1.
Special case
Promoting to a knight

Choosing a piece other than a queen is called underpromotion. It is rare, but a knight can be the right choice when it gives a check the queen cannot, and a rook or bishop can avoid stalemating the opponent.

Stalemate and other draws

Not every game has a winner. A game is drawn in these cases:

  • Stalemate: the player to move has no legal move and is not in check.
  • Threefold repetition: the same position, with the same player to move and the same castling and en passant rights, occurs three times.
  • The fifty-move rule: each player has made 50 moves in a row without a capture or a pawn move.
  • Insufficient material: neither side has the pieces to give checkmate, such as king against king, or king and bishop or king and knight against a lone king.
  • Agreement: both players agree to a draw.
Black to move. White has just played Qb6, and it is stalemate. Black's king on a8 is not in check, but every square around it is attacked, and Black has no other piece to move. Qb7 instead would have been checkmate.

Reading Chess notation

Chess moves are written in algebraic notation: the piece's letter, then the square it moves to. Pawn moves have no letter. The move lists on this site use it, and so does this guide.

So 1.e4 e5 2.Nf3 means White's first move was a pawn to e4, Black answered with a pawn to e5, and White's second move was a knight to f3. Many languages print their own piece letters, but the English letters are understood everywhere.

SymbolMeaningExample
K, Q, R, B, NKing, queen, rook, bishop, knightNf3: a knight moves to f3
No letterA pawne4: a pawn moves to e4
xCapturesBxf7: a bishop takes on f7; exd5: the e-pawn takes on d5
+CheckBb4+
#CheckmateQh4#
O-O and O-O-OCastles kingside and queensideO-O
=QPromotes to a queenb8=Q

The rules on this site

  • The standard rules of Chess, as in the FIDE Laws of Chess.
  • White moves first.
  • Castling, en passant and promotion are all allowed. When a pawn promotes, you choose a queen, rook, bishop or knight.
  • The game ends at once on checkmate or stalemate, on the third repetition of a position, after 50 moves by each player without a capture or a pawn move, and when neither side can checkmate.
  • There is no clock, so you can take as long as you like over each move.

Try them against the computer: start on an easy level, and move up when you win more often than you lose.

Where to go next

Knowing how the pieces move is the start. The Chess strategy guide explains what the pieces are worth, how to open a game, how to keep your king safe and the tactics that win material, with positions you can play.

Learn, Play, and Have Fun!

Ready to play Chess online? Start a match against the computer now. No signup, no friction.