How to Play Chess

In one sentence: chess is a game for two players. White moves first, then the players take turns, one move each. The first to checkmate the other side's king wins. Each part below covers one piece or one rule, with a diagram.
By · every move and position checked with the move generator our games run on

Last updated:

The board: 64 squares

The board has 8 × 8 = 64 squares, light and dark in turn. Pieces stand inside the squares (in xiangqi they stand on the lines).

Turn the board so that each player has a light square in the right-hand corner nearest to them — “light on the right”.

Columns (files) are lettered a–h and rows (ranks) numbered 1–8, so every square has a name such as e4. Moves are written with these names.

Setting up

Each side has 16 pieces: 1 king, 1 queen, 2 rooks, 2 bishops, 2 knights and 8 pawns. White fills rows 1 and 2, Black rows 7 and 8.

The back row runs rook, knight, bishop from each corner, with the king and queen in the middle. The queen goes on her own colour (the white queen on light d1, the black queen on dark d8). The pawns fill the next row.

Chess starting position: White at the bottom, Black at the top, 16 pieces each
The starting position

The pieces at a glance

All six pieces in one table first; the sections below take them one at a time, with a diagram each. The points are the usual rule of thumb, not a rule of the game — see chess piece values.

The six chess pieces (16 per side)
PiecePer sideHow it movesCaptures and limitsPoints (roughly)
King1One square in any directionNever onto a square the other side attacks; can castle with a rookPriceless
Queen1Any distance along a row, column or diagonalCaptures the way it moves; can't jump9
Rook2Any distance along a row or columnCaptures the way it moves; can't jump5
Bishop2Any distance diagonallyCaptures the way it moves; stays on one colour all game3
Knight2An L: two squares straight, then one to the sideCaptures the way it moves; the only piece that jumps over others3
Pawn8One square forward, two on its first moveCaptures one square diagonally forward, plus en passant; promotes on the last row; never moves backward1

Rook: straight lines

The rook moves any number of squares up, down, left or right, but can't jump over pieces. It captures by landing on an enemy piece — every chess piece captures that way (en passant, below, is the one exception).

A rook on d4 with four arrows along the row and the column
The rook: straight lines

Bishop: diagonals

The bishop moves any number of squares diagonally. So a bishop stays on one colour all game: each side has a light-squared and a dark-squared bishop.

If you know xiangqi: the bishop is nothing like the Elephant — it can travel the whole board, as far as it likes.

A bishop on d4 with four arrows along the diagonals
The bishop: diagonals

Queen: rook and bishop in one

The queen moves any number of squares in a straight line or along a diagonal. She is the strongest piece on the board.

A queen on d4 with eight arrows: rows, columns and diagonals
The queen: eight directions

King: one square at a time

The king moves one square in any direction. He may never step onto a square the other side attacks. He is the most important piece: lose him to checkmate and you lose the game.

A king on e4 with dots on the eight squares around it
The king: one square

Knight: an L-shaped jump

The knight moves in an L: two squares straight, then one to the side.

It is the only piece that jumps over other pieces — nothing can block it. In the diagram the knight has its own pawns next to it and still jumps over them.

A knight on d4 with orange dots on its eight squares and a blue L-shaped arrow
The knight jumps in an L, even over pawns

Pawn: moves straight, captures diagonally

A pawn moves forward one square at a time — on its very first move it may go two squares.

It captures one square diagonally forward. A pawn blocked by a piece straight ahead is stuck (it can't capture straight ahead), and it can never move backward.

The pawn on e2 can go to e3 or e4; the pawn on c4 can capture the pawn on b5 or the knight on d5
Pawns move straight and capture diagonally

Castling: two pieces in one move

The only move that moves two pieces: the king steps two squares towards a rook, and the rook jumps over to stand right beside him. It tucks the king away safely and brings the rook into play.

All five conditions must hold: (1) the king and that rook have not moved yet; (2) no pieces stand between them; (3) the king is not in check; (4) the king does not pass through an attacked square; (5) the king does not land on an attacked square.

Castling on the short side is written O-O, on the long side O-O-O. Try it yourself in this step of the lesson; common myths and puzzles are on our castling page.

Castling: the king goes from e1 to g1, the rook from h1 to f1
Castling on the short side (O-O)

En passant

If an enemy pawn moves two squares on its first move and lands right beside your pawn, you may capture it as if it had moved only one square, moving diagonally behind it.

You must do it straight away, on your very next move, or the chance is gone. In the diagram Black has just played d7–d5, so the pawn on e5 can capture onto d6 and remove the pawn on d5. More diagrams and three puzzles: en passant.

Black's pawn has just moved d7–d5; the white pawn on e5 captures it by moving to d6
En passant: only on the very next move

Promotion: a pawn that reaches the end

A pawn that reaches the far row must become a queen, rook, bishop or knight — your choice, never a king or another pawn. Most of the time players choose a queen.

The new piece doesn't have to be one you lost, so you can have two queens. When a knight or rook is the better choice: pawn promotion.

A white pawn on b7 about to promote on b8
Reach the last row and promote

Check, checkmate and stalemate

When a king is attacked, it is in check. The side in check must get out of it at once: move the king, block the attack, or capture the attacker. You may never make a move that leaves your own king attacked.

Checkmate: in check with no way out. In the diagram the white rook checks along the back row and the black king is hemmed in by its own pawns — a back-rank mate. The Opera Game also ends with a rook mate on the back row, helped by a bishop from afar. More mating shapes: how to checkmate.

Stalemate: the side to move is not in check but has no legal move. The game is a draw! So when you are winning, be careful not to leave the other king with nowhere to go (our king and rook checkmate guide shows how, and stalemate lists the common traps). Xiangqi is the opposite: there, having no move loses.

Back-rank mate: the white rook on e8 gives check and the black king is trapped by its own pawns
Checkmate: in check and no way out
Stalemate: the black king on a8 is not in check but every square around it is attacked
Stalemate: no move, and it's a draw

Other draws

Besides stalemate, a game is drawn when the players agree; when nobody can possibly checkmate any more (two bare kings, for example); when the same position comes up three times; or after 50 moves by each side without a capture or a pawn move.

In over-the-board tournaments, threefold repetition and the 50-move rule are claimed by a player; only fivefold repetition and 75 moves end the game by themselves. See Articles 5 and 9 of the FIDE Laws of Chess.

Quick answers

Who moves first in chess?

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

Can a pawn move backward?

No. A pawn only moves forward: one square, or two on its first move, and it captures one square diagonally forward.

Can you castle out of check?

No. You can't castle while your king is in check, and the king can't pass through or land on an attacked square either. All five conditions are under castling.

Can a king capture a king?

It never comes to that. A king may never step onto a square the other side attacks, so the two kings can never stand next to each other.

What happens when a pawn reaches the last row?

It must promote at once to a queen, rook, bishop or knight of your choice — usually a queen. That's how a side can have two queens.

When can you capture en passant?

Only when an enemy pawn has just moved two squares on its first move and landed right beside your pawn — and only on your very next move. After that the chance is gone.

Is stalemate a win?

No, it's a draw: the side to move is not in check but has no legal move. In xiangqi it's the opposite — having no move loses.

How many moves without a capture is a draw?

Fifty moves by each side with no capture and no pawn move. On Paper Generals the draw is automatic; in tournaments a player has to claim it, and it only becomes automatic after 75 moves.

What to do next

Don't worry about remembering everything — moving the pieces is the fastest way to learn. Our 20-step chess lesson lets you try castling, en passant and promotion yourself.

Then watch a famous game: the Opera Game is only 17 moves long and shows development, pins, castling long, a queen sacrifice and checkmate. There are more on the famous games page: the 7-move Légal trap, Réti vs Tartakower with its double check, and 13-year-old Fischer's Game of the Century. When you're ready, play the computer or open a room on the home page for a friend. Curious about Chinese chess? See how xiangqi differs. And to find out where these rules came from, read the history of chess.

Want a game away from the screen? Print a paper chess board and pieces and a one-page cheat sheet to keep beside it; look up unfamiliar words in our chess terms glossary and see what each piece is worth on chess piece values; tips for parents are in our parents' guide.

Know the moves? Next, learn how to start a game in chess openings for beginners, and how to win pieces with forks and pins in chess tactics for beginners.