How to play chess: the rules, how the pieces move and how to win

Updated November 6, 2026

In short: How to play chess: two players face each other on a board of 64 squares, each with 16 pieces: 1 king, 1 queen, 2 rooks, 2 bishops, 2 knights and 8 pawns. White moves first, then you take turns, one move each. Every piece has its own way of moving, and you capture an enemy piece by moving onto its square. The goal is checkmate: attack the other king so that it has no way to escape. If the player to move is not in check but has no legal move, it's stalemate and the game is a draw.
Play Chess freeIn your browser, no download, no sign-up and no ads.▶

This guide shows how to play chess from the very first move: how to set up the board, how every piece moves and captures, the special moves (castling, en passant and promotion), and what check, checkmate and stalemate mean. Then come the parts beginners ask about most: how to win at chess and a few chess openings for beginners. You can learn the rules in an evening.

The chessboard and how to set it up

  • The board has 8 × 8 = 64 squares, light and dark in turn.
  • Turn it so that each player has a light square in the bottom right corner. “Light on the right” is the easy way to remember it.
  • Columns are called files, named a to h from white’s left. Rows are ranks, numbered 1 to 8 from white’s side. Every square has a name, such as e4 or g7.
  • On the back rank, from the corners inward: rook, knight, bishop, then the queen and king in the middle, then bishop, knight, rook.
  • The queen goes on her own color: the white queen on a light square (d1), the black queen on a dark square (d8). The king stands next to her.
  • The eight pawns fill the rank in front.

How the chess pieces move

Piece Count How it moves Rough value
King 1 1 square in any direction Priceless
Queen 1 Any distance, straight or diagonal 9
Rook 2 Any distance, straight (across or up and down) 5
Bishop 2 Any distance, diagonally 3
Knight 2 L shape: 2 squares straight, then 1 to the side 3
Pawn 8 1 square forward (2 on its first move), captures diagonally 1

King. It moves one square in any direction, and it may never move onto a square that is attacked. Lose your king and you lose the game, so it is the piece you protect above all.

Queen. The strongest piece. It moves as far as it likes in a straight line or diagonally, as long as nothing is in the way: a rook and a bishop in one.

Rook. It moves across or up and down, any distance. Rooks get stronger as the board empties, especially on open files.

Bishop. It moves only diagonally, any distance, so each bishop stays on one color all game: you have a light-squared and a dark-squared bishop.

Knight. It moves in an L shape: two squares straight, then one to the side. It is the only piece that can jump over others, so it can come out from behind the pawns on the first move.

Pawn. It moves one square straight forward and never backward. On its first move it may go two squares. It captures differently: one square diagonally forward. A pawn with any piece right in front of it is blocked.

Capturing. To capture, move your piece onto the square of an enemy piece and take that piece off the board. You can’t move onto your own pieces, and only the knight jumps over anything.

Special moves: castling, en passant and promotion

Castling

Castling tucks your king into a corner and brings a rook into play. It is the only move where two pieces move at once: the king goes two squares toward a rook, and that rook jumps over to the square right next to it on the other side. Short castling is on the king’s side, long castling on the queen’s side.

You may castle only if:

  1. The king and that rook have never moved.
  2. All squares between them are empty.
  3. Your king is not in check right now.
  4. The king does not pass through or land on an attacked square.

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: your pawn moves diagonally onto the square it skipped over, and the enemy pawn is removed. You must do it on the very next move or the chance is gone.

Promotion

When a pawn reaches the last rank on the far side, it promotes at once into a queen, rook, bishop or knight of your choice (never a king). Most of the time you’ll want a queen.

Check, checkmate and stalemate

Check. A king that is attacked is in check, and its player must get out of check on the next move, in one of three ways:

  1. Move the king to a safe square.
  2. Block the attack by putting a piece in between (not possible against a knight).
  3. Capture the attacking piece.

You can never make a move that leaves your own king in check.

Checkmate. If the king is in check and none of those three things works, it is checkmate and the game is over: the player who gave checkmate wins. The king is never actually captured.

Stalemate. If the player to move is not in check but has no legal move, it is stalemate and the game is a draw.

Other draws. A game is also drawn when the same position appears three times with the same player to move, after 50 moves by each side with no capture and no pawn move, when neither side has enough pieces to checkmate (for example king against king, or king and bishop against king), or when both players agree to a draw.

Who starts. White always moves first. Then the players take turns, one move each, and you can’t skip a turn.

How to win at chess

Checkmate rarely comes out of nowhere. Most games are won like this:

  1. Don’t give pieces away. Before every move ask: what is my opponent threatening, and is any of my pieces left unprotected? Most beginner games are lost to a simple loose piece.
  2. Win material with safe trades. Use the values above: giving a knight (3) for a rook (5) is a good deal. When you’re ahead, trade pieces, not pawns, to make your advantage count.
  3. Look for forks and pins. A fork attacks two pieces at once (knights are great at it). A pin attacks a piece that can’t move without exposing a more valuable one behind it.
  4. Keep your king safe. Castle early and don’t push the pawns in front of your king without a reason.
  5. Learn two basic checkmates. With king and queen against a lone king, push the king to the edge step by step, then mate it. The back-rank mate, a rook or queen giving check on the last rank while the king is stuck behind its own pawns, wins countless games.
  6. Watch out for stalemate. When you’re far ahead, make sure the other king still has a move until you deliver mate.

Chess openings for beginners

You don’t need to memorize lines. Follow three principles: take the center with a pawn on e4 or d4, develop your knights and bishops before moving the same piece twice, and castle early. Don’t bring the queen out too soon, where it gets chased around.

  • Italian Game: 1.e4 e5 2.Nf3 Nc6 3.Bc4. The knight attacks the e5 pawn and the bishop aims at f7, black’s weakest square. Then castle and play c3 and d4.
  • Queen’s Gambit: 1.d4 d5 2.c4. White offers a pawn to pull black’s pawn away from the center. It’s solid and easy to play.
  • As black: answer 1.e4 with 1…e5 and 1.d4 with 1…d5, and develop the same way. If white brings the queen out early to h5 and a bishop to c4, guard f7 (for example with …g6 or …Qe7) to avoid the four-move Scholar’s Mate.

(In notation, K is king, Q queen, R rook, B bishop, N knight, and a square alone means a pawn move.)

Play chess free

Put it into practice with Chess on KepoGames. It plays all the rules: castling, en passant, promotion, check, checkmate, stalemate and every draw. You are Kepo against nine of his friends, one per level, from Pip (level 1), who looks one move ahead so a beginner can win, to Grandpa Glob (level 9), who looks up to seven moves ahead. Tap a piece to see where it can go, use Undo to try another plan or Hint to see a good move, or choose 2 players to play a friend on the same device. It’s free, with no ads and no sign-up.

Play Chess freeIn your browser, no download, no sign-up and no ads.▶

Questions

How does each chess piece move?

The king moves one square in any direction. The queen moves any number of squares in a straight line or diagonally. The rook moves in straight lines, the bishop only diagonally. The knight moves in an L shape and is the only piece that can jump over others. The pawn moves one square forward (two on its first move) and captures one square diagonally forward.

Who goes first in chess?

White always moves first, then the players take turns. In Chess on KepoGames you, as Kepo, are always at the bottom of the board, and against a friend you take turns playing white from one game to the next.

How do you win at chess?

You win by checkmating the other king: it is attacked and there is no move that gets it out of the attack. You also win if your opponent resigns or, in timed games, runs out of time. To get there, win material with safe captures, keep your own king safe and use your extra pieces to trap the enemy king.

What are the best chess openings for beginners?

Simple, classical openings work best. As white, try the Italian Game (1.e4 e5 2.Nf3 Nc6 3.Bc4) or start with 1.d4 and 2.c4, the Queen's Gambit. As black, answer 1.e4 with 1...e5 and 1.d4 with 1...d5. More important than any line: take the center, bring out knights and bishops, and castle early.

What is the difference between checkmate and stalemate?

In both, the player to move has no legal move. In checkmate their king is in check, so they lose. In stalemate their king is not in check, so the game ends in a draw. When you are far ahead, make sure you leave the other king a move.

What happens when a pawn reaches the other side?

It is promoted: it becomes a queen, rook, bishop or knight of your choice, never a king. Almost everyone picks a queen, the strongest piece, so you can even have two or more queens on the board.

Blog