♔
How to Checkmate
Rook, queen and pattern mates
← Articles
Endgames · Beginners

How to Checkmate in Chess: Step by Step

Winning a piece is nice, but a chess game is only won when you checkmate the king. This guide teaches the basic mates every player must know, step by step, with exact diagrams and complete move lines you can copy on your own board.

9 min read Published October 2026 By
In this guide
Short answer
To checkmate, attack the king so that it cannot move to a safe square, block the check or capture the checking piece. With only a few pieces left, push the enemy king to the edge of the board, bring your own king close, then give check on the edge. With perfect play, king and queen mate a lone king in at most 10 moves, king and rook in at most 16, two bishops in at most 19 and bishop and knight in at most 33 (endgame tablebase figures). The fastest mate in a whole game is Fool's Mate in 2 moves.

What is checkmate?

A king is in check when an enemy piece attacks it. The player in check must get out of it at once. There are only three ways:

  1. Move the king to a safe square.
  2. Block the check by putting a piece in between.
  3. Capture the piece that gives check.

If none of these is possible, it is checkmate and the game is over. The player who gives mate wins at once, no matter how much material is left on the board.

There is one big trap. If the player to move is not in check but has no legal move, it is stalemate, and the game is a draw. Many beginners throw away a won game this way. We show the stalemate traps for each mate below, so you know what to avoid. (The full rules are in our chess rules guide.)

The secret of every basic mate
Push the enemy king to the edge of the board. A king in the middle has eight squares around it; a king on the edge has only five, and in the corner only three. Fewer squares means easier mate.

Mate 1: the two-rook ladder (the easiest mate)

With two rooks (or a queen and a rook) you do not even need your king. The rooks walk the enemy king to the edge like climbing a ladder:

  1. One rook cuts off a rank (a row), so the king cannot cross it.
  2. The other rook gives check on the next rank. The king must step back.
  3. The first rook jumps ahead and gives the next check. Repeat, rank by rank.
  4. When the king is on the last rank, the next check is mate.

One problem: if the king walks towards your rooks, it may attack one. Then simply move that rook far away to the other side of the board, on the same rank, and continue. Here is a full sample line. White's king does not move at all:

1.Rb4 Kf5 2.Ra5+ Ke6 3.Rb6+ Kd7 4.Rh6 Kc7 5.Ra7+ Kb8 6.Rg7 Kc8 7.Rh8#

Two-rook ladder checkmate in chess: start position with rooks on a3 and b2, and the final mate with rooks on g7 and h8 against the black king on c8
Left: the start. Right: the final position after 7.Rh8#. On moves 4 and 6 a rook moved to the far side (h6, then g7), because the black king came close.

Why is the last position mate? The rook on h8 attacks the whole eighth rank, so the king cannot move along it. The rook on g7 covers the seventh rank, so the king cannot step forward. Nothing can block or capture. That is checkmate.

Full line: the two-rook ladder

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Full line: the two-rook ladder: moves and commentary as text

1.Rb4 The first rook cuts off the fourth rank. The black king can no longer go down the board.

1...Kd6 The king goes to d6.

2.Ra5 The second rook cuts off the fifth rank. The box gets smaller.

2...Kc7 The king goes to c7. Not the most accurate: Stockfish prefers Kc6.

3.Ra6 The rook goes to a6.

3...Kd8 The king goes to d8.

4.Ra7 Now the king is stuck on the last rank.

4...Kc8 The king goes to c8.

5.Rb1 A waiting move. The king on c8 guards b8, so White waits for it to step away. Keep your rooks far from the enemy king.

5...Kd8 The king goes to d8.

6.Rb8# Checkmate. One rook holds the seventh rank, the other checks on the eighth.

Advertisement

Mate 2: king and queen against king

A queen alone cannot mate a king. She needs help from her own king. The plan has two stages:

  1. Fence the king in with the queen. Put the queen a knight's move away from the enemy king, or on a line that cuts it off. Each time the king steps back, follow it and make its box smaller, until it is stuck on the edge.
  2. Bring your own king. Once the enemy king is on the edge, stop chasing it with checks. Walk your king up until it stands close, then deliver mate with the queen next to the enemy king, protected by your king.

Here is a clean example. The black king is on c7, the white queen on b2:

1.Qd4 Kc8 2.Qa7 Kd8 3.Kd2 Ke8 4.Ke3 Kf8 5.Kf4 Kg8 6.Kf5 Kh8 7.Kf6 Kg8 8.Qg7#

King and queen endgame: the white queen on a7 traps the black king on the eighth rank while the white king on e1 is still far away
Analyse
Stockfish 19Stockfish 19commentary
After 2.Qa7 the queen controls the whole seventh rank (the dots). The black king can only walk along the back rank. White does not need any checks now: the king walks e1-d2-e3-f4-f5-f6.
After 2.Qa7 the queen controls the whole seventh rank (the dots). The black king can only walk along the back rank. White does not need any checks now: the king walks e1-d2-e3-f4-f5-f6.
King and queen checkmate in chess: the white queen on g7, protected by the white king on f6, checkmates the black king on g8
Analyse
Stockfish 19Stockfish 19commentary
The final mate. The queen on g7 gives check and covers f8, h8, f7 and h7. The black king cannot take the queen, because the white king on f6 protects it.
The final mate. The queen on g7 gives check and covers f8, h8, f7 and h7. The black king cannot take the queen, because the white king on f6 protects it.

The stalemate trap with king and queen

The queen is so strong that she can take away every square without giving check. Look at this position with Black to move:

King and queen stalemate trap: the black king on a8 is not in check but cannot move, because the queen on c7 and king on b6 cover a7, b7 and b8
Analyse
Stockfish 19Stockfish 19commentary
Black's king on a8 is not in check, but a7, b7 and b8 are all covered. Black has no legal move, so it is stalemate: a draw. If White had played the queen to b7 instead (protected by the king on b6), it would be mate.
Black's king on a8 is not in check, but a7, b7 and b8 are all covered. Black has no legal move, so it is stalemate: a draw. If White had played the queen to b7 instead (protected by the king on b6), it would be mate.

Rule of thumb: when the enemy king has only one or two squares left, slow down. Before each move, count the squares the king will have after it. If the answer is zero and you are not giving check, it is stalemate. Choose another move.

Full line: king and queen mate in 7 moves

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Full line: king and queen mate in 7 moves: moves and commentary as text

1.Qe7 The queen keeps the black king on the last rank, a knight's move away so there is no stalemate.

1...Kb8 The king goes to b8. A mistake.

2.Kd2 Now the white king walks up. The queen does all the fencing.

2...Kc8 The king goes to c8.

3.Kd3 The king goes to d3. A mistake.

3...Kb8 The king goes to b8. A mistake.

4.Kc4 The king goes to c4.

4...Kc8 The king goes to c8.

5.Kc5 The king goes to c5.

5...Kb8 The king goes to b8.

6.Kc6 The king has arrived. It guards b7 and c7.

6...Kc8 The king goes to c8.

7.Qc7# Checkmate: the queen gives check next to the king and the white king protects her.

Mate 3: king and rook against king (the box method)

King and rook against a lone king is a forced win too. It takes longer than the queen mate, so you need a method. The best known is the box method:

  1. Build a box. Put the rook on a file or rank next to the enemy king. The king is now locked in a rectangle (the box) on one side of the rook.
  2. Bring your king. Walk it towards the enemy king, so it protects the rook and takes squares away.
  3. Shrink the box. Every time you can move the rook one line closer without it being taken, do it. The box gets smaller and smaller.
  4. Use a waiting move when needed. If any rook move would spoil the box, make a quiet rook move along the same line. The enemy king must then move and give you the position you want.
  5. Mate on the edge. When the kings stand face to face (one square between them), check with the rook along the edge.

A full example from the middle of the board (Black always plays the most stubborn defence):

1.Kd2 Kf4 2.Re1 Kf5 3.Kd3 Kf6 4.Re4 Kg6 5.Ke3 Kf5 6.Kf3 Kg6 7.Rf4 Kh7 8.Kg4 Kg6 9.Rf1 Kh7 10.Kg5 Kg7 11.Rf4 Kh8 12.Kg6 Kg8 13.Rf1 Kh8 14.Rf8#

King and rook endgame using the box method: the white rook on e4 cuts off the black king on f6, and the white king on d3 protects the rook
Analyse
Stockfish 19Stockfish 19commentary
After 4.Re4 the black king is locked in a box: it cannot cross the e-file or go below the fifth rank. The white king on d3 protects the rook. Now White makes the box smaller, step by step.
After 4.Re4 the black king is locked in a box: it cannot cross the e-file or go below the fifth rank. The white king on d3 protects the rook. Now White makes the box smaller, step by step.

Notice moves 9 and 13: Rf1 is a waiting move. The rook stays on the f-file, so the box does not get bigger, and Black has to move the king. This little trick is the key to the rook mate.

King and rook checkmate in chess: the white rook on f8 checkmates the black king on h8 while the white king on g6 covers g7 and h7
Analyse
Stockfish 19Stockfish 19commentary
The final mate. The white king on g6 covers g7 and h7. The rook checks along the eighth rank and covers g8. This is the basic rook mate picture: the kings face each other and the rook checks on the edge.
The final mate. The white king on g6 covers g7 and h7. The rook checks along the eighth rank and covers g8. This is the basic rook mate picture: the kings face each other and the rook checks on the edge.

A short finish to remember

Here is the end of the rook mate in its simplest form. The kings are face to face on the d- and e-files, and one quiet rook move forces mate in two:

1.Rc1 Ke8 2.Rc8#

After 1.Rc1 the black king cannot go to c7 or c8 (the rook), or d7 and e7 (the white king). It must go to e8, and Rc8 is mate.

The stalemate trap with king and rook

King and rook stalemate trap: the black king on a8 has no legal move and is not in check, because the rook on b7 is protected by the king on b6
Analyse
Stockfish 19Stockfish 19commentary
The rook on b7 covers a7 and b8, and the king on b6 protects it, so Black cannot capture it. Black is not in check and cannot move: stalemate, a draw. With the white king on b6, a rook check along the eighth rank (for example from h8) would have been mate. Before you take the last square, make sure you give check.
The rook on b7 covers a7 and b8, and the king on b6 protects it, so Black cannot capture it. Black is not in check and cannot move: stalemate, a draw. With the white king on b6, a rook check along the eighth rank (for example from h8) would have been mate. Before you take the last square, make sure you give check.

Full line: king and rook mate (the box method)

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Full line: king and rook mate (the box method): moves and commentary as text

1.Ke2 The rook on e4 already makes a box: the black king cannot cross the e-file. White brings the king first.

1...Kg6 The king goes to g6.

2.Rf4 The box gets smaller: now the king is on the g- and h-files only.

2...Kh5 The king goes to h5.

3.Kf3 The king goes to f3.

3...Kg5 The king goes to g5.

4.Kg3 The king goes to g3.

4...Kh6 The king goes to h6.

5.Rg4 Another file closed. The black king is stuck on the h-file.

5...Kh7 The king goes to h7. A mistake: Kh5 was stronger.

6.Kf4 The king goes to f4. A mistake: Kh4 was stronger.

6...Kh8 The king goes to h8. A mistake: Kh6 was stronger.

7.Kf5 The king goes to f5. A mistake: Kg3 was stronger.

7...Kh7 The king goes to h7. A mistake.

8.Kf6 The king goes to f6.

8...Kh8 The king goes to h8.

9.Kf7 Opposition is not even needed here: the black king has only h7 and h8.

9...Kh7 The king goes to h7.

10.Rh4# Checkmate on the edge. Stockfish needs 10 moves here. From the worst start it never takes more than 16.

Watch: a checkmate trap in 10 moves

See a real checkmate trap: Black mates White in just 10 moves.

A Secret Chess Trap Missed by 9.3 Million People to Checkmate White in 10 Moves
Advertisement

Checkmate patterns you will see again and again

In real games, mates usually happen with many pieces on the board. Strong players recognise patterns: typical pictures of a mate. Here are three of the most common ones.

Back-rank mate

The king hides behind its own pawns after castling. If no piece guards the back rank, a rook or queen can check along it, and the pawns stop the king from escaping.

1.Rd8#

Back-rank checkmate in chess: the white rook moves from d1 to d8 and mates the black king on g8, which is trapped by its own pawns on f7, g7 and h7
Analyse
Stockfish 19Stockfish 19commentary
The black pawns on f7, g7 and h7 trap their own king. 1.Rd8 is mate. To stop this in your games, make an escape square early (for example with...h6) or keep a rook on the back rank.
The black pawns on f7, g7 and h7 trap their own king. 1.Rd8 is mate. To stop this in your games, make an escape square early (for example with ...h6) or keep a rook on the back rank.

Smothered mate

The king is surrounded by its own pieces, and a knight gives a check that cannot be blocked. Only a knight can do this, because it jumps.

Smothered mate in chess: a white knight on f7 checkmates the black king on h8, which is surrounded by its own rook on g8 and pawns on g7 and h7
Analyse
Stockfish 19Stockfish 19commentary
The black king on h8 has no square: g8 holds its own rook, g7 and h7 its own pawns. The knight on f7 gives check, and nothing can capture it. It is checkmate.
The black king on h8 has no square: g8 holds its own rook, g7 and h7 its own pawns. The knight on f7 gives check, and nothing can capture it. It is checkmate.

Arabian mate

A rook and a knight work together against a king in the corner. It is one of the oldest known mate patterns.

Arabian mate in chess: the white rook on h7, protected by the knight on f6, checkmates the black king on h8
Analyse
Stockfish 19Stockfish 19commentary
The rook on h7 checks the king and covers g7. The knight on f6 protects the rook and covers g8. The king cannot escape: checkmate.
The rook on h7 checks the king and covers g7. The knight on f6 protects the rook and covers g8. The king cannot escape: checkmate.

Other names you may hear are the ladder mate (Mate 1 above), the kiss of death (queen next to the king, protected by another piece, like 8.Qg7# above) and Scholar's Mate, the four-move mate on f7. We explain that one in a separate guide.

Three mates from real play, move by move

Back-rank mate in a game: 1.Qxe8+!

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Back-rank mate in a game: 1.Qxe8+!: moves and commentary as text

1.Qxe8+! The queen takes the rook with check. Black's only move is to take back with the queen.

1...Qxe8 The queens come off: Black takes back on e8. Black threatens mate with the queen on e1.

2.Rxe8# Back-rank mate. The pawns on f7, g7 and h7 block their own king. A queen sacrifice that wins at once.

Smothered mate: Philidor's legacy

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Smothered mate: Philidor's legacy: moves and commentary as text

1.Nf7+ Check from the knight. The king must go to g8.

1...Kg8 The king steps out of check to g8.

2.Nh6+ A double check from the knight and the queen. The king has to move. If 2...Kf8 then 3.Qf7 is mate.

2...Kh8 The king steps out of check to h8. Black threatens to take the knight on h6.

3.Qg8+!! The famous queen sacrifice. The rook must take, and then it blocks its own king.

3...Rxg8 The rook takes the queen on g8. Black threatens to take the knight on h6.

4.Nf7# Smothered mate. The king is trapped by its own rook and pawns, and a knight check cannot be blocked.

Scholar's Mate: checkmate in 4 moves

Analyse
Stockfish 19Stockfish 19commentary
Press play, or step through the moves with the arrows. The commentary changes on every move.
Scholar's Mate: checkmate in 4 moves: moves and commentary as text

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

1...e5 Black puts a pawn on e5 and claims space in the centre.

2.Bc4 The bishop aims at f7, the weakest square near the black king.

2...Nc6 Black develops the knight to c6.

3.Qh5 The queen joins the attack on f7. Black must defend it now, for example with 3...g6 or 3...Qe7.

3...Nf6?? A natural move that attacks the queen, but it does not defend f7.

4.Qxf7# Checkmate in four moves. Full story: our Scholar's Mate guide.

Tips for finding checkmate in your games

Good places to train on Rama Chess: puzzle training for mate-in-one and mate-in-two problems, and the bots to practise finishing a real game. Our chess tactics guide shows the attacking ideas that lead to mate.

When checkmate is impossible

Some material is not enough to mate, even with best play by the stronger side. If neither player can ever give mate, the game is a draw at once (FIDE calls this a "dead position"). The common cases:

Material (against a lone king)Can you force mate?
QueenYes, easily
RookYes (box method)
Two rooksYes (ladder)
Two bishopsYes, but harder
Bishop and knightYes, but very hard (can take more than 30 moves)
One bishop or one knightNo, it is a draw
Two knightsCannot be forced (mate only if the defender blunders)

Remember the 50-move rule too: if 50 moves pass on each side with no capture and no pawn move, a player can claim a draw. With the methods on this page, queen and rook mates take far fewer moves than that.

Watch: checkmates by the engines

Even engines get checkmated: Stockfish 17.1 is mated in 25 moves.

Stockfish Killer Checkmated Stockfish 17.1 in Just 25 Moves

Stockfish 18 gives up its pieces one by one to reach checkmate.

Stockfish 18 Sacrificed Everything for Checkmate Against RedFish

Frequently asked questions

How many moves does it take to checkmate with a queen or a rook?

With perfect play, king and queen can always mate a lone king in 10 moves or fewer, and king and rook in 16 moves or fewer. Two bishops need up to 19 moves and bishop and knight up to 33. Two knights cannot force mate at all.

What is the fastest checkmate in chess?

The fastest possible checkmate is Fool's Mate, in two moves: 1.f3 e5 2.g4 Qh4#. It only happens if White makes two very weak moves. The best-known quick mate against beginners is Scholar's Mate in four moves.

Can a king and queen always checkmate a lone king?

Yes. With correct play king and queen always beat a lone king. The queen fences the king onto the edge, then your king comes close and supports the mate. Just be careful not to stalemate.

Can you checkmate with a king and rook?

Yes. King and rook against king is always a win. Use the box method: cut the king off with the rook, bring your king close, shrink the box, and mate on the edge.

Can you checkmate with two knights?

Two knights cannot force mate against a lone king. A mate is only possible if the defending side makes a mistake, so this ending is normally a draw.

What is the difference between checkmate and stalemate?

In checkmate the king is in check and cannot escape, so the player loses. In stalemate the player to move is not in check but has no legal move at all, and the game is a draw.

Can a king give check or checkmate?

No. A king can never move next to the other king, so it can never give check itself. But it is a very important helper: in the queen and rook mates your king covers the squares the enemy king needs.

What is a back-rank mate?

A back-rank mate is a checkmate by a rook or queen on the first or last rank, when the king is blocked in by its own pawns. You can prevent it by giving your king an escape square, for example by moving the h-pawn one step.

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
›

Want to try it on a board? Play Stockfish online: the No. 1 chess engine is ready in your browser, no sign-up.