How to Play Minesweeper

Minesweeper is a logic puzzle on a grid of closed squares, some of which hide mines. You open squares one at a time; every safe square shows how many mines touch it. Use those numbers to find every mine without stepping on one. The game is won when all the safe squares are open.

Last reviewed 2026-11-17

The Rules in Five Steps

  1. Pick a board. Choose Beginner (9×9, 10 mines), Intermediate (16×16, 40 mines), Expert (30×16, 99 mines) or a custom size.
  2. Open your first square. Click or tap any square. The first square and its neighbours are always safe, so an area of the board opens up.
  3. Read the numbers. Each number counts the mines in the eight squares around it, diagonals included. Blank squares have no mines next to them.
  4. Flag the mines you have found. Right-click a square, or press and hold it on a phone, to place a flag on a square you know is a mine.
  5. Open every safe square. Keep opening squares the numbers prove are safe. The game is won when every square without a mine is open.

What the Numbers Mean

A number is a count, not a direction. A 3 means exactly three of the eight squares around it hide a mine. It doesn't say which three. That's what you work out by comparing it with the numbers next to it.

The center square shows 3 because three of its eight neighbours, diagonals included, hide mines.3
The center square shows 3 because three of its eight neighbours, diagonals included, hide mines.

Three facts cover almost every situation:

Flagging Mines

When you've proved a square is a mine, mark it with a flag so you don't open it by accident and so the numbers around it are easier to read.

The counter on the left of the board shows the total number of mines minus the flags you have placed. It doesn't check your flags. A wrong flag still lowers the counter, so a counter of 0 doesn't mean you're done.

Opening Squares Faster with Chording

Once a number has all of its mines flagged, click (or tap) the number itself. Every other closed square around it opens in one move. This is called chording, and it's where most of the speed in fast games comes from. On older desktop versions it was done by pressing both mouse buttons at once; here a normal click on the number or a middle-click works.

Your First Moves

Your first click can never hit a mine. On this site the first square and all eight around it are kept clear, so the board always begins with an opening. After that, work along the border of the open area:

  1. Find a number whose closed neighbours exactly equal its count. Every one of them is a mine, so flag them.
  2. Find a number that already has all its mines flagged. Every other closed neighbour is safe, so open them.
  3. When neither rule applies, compare two neighbouring numbers. The common patterns such as 1-2-1 cover most of these spots.

Common Ways to Lose

Forgetting the diagonal squares

A 1 that seems to have only one closed square beside it often has another one diagonally. Always count all eight neighbours before you decide.

Not subtracting flags you already placed

A 3 next to two flags only has one more mine to find. Players who re-count from scratch end up treating the 3 as if it still needed three mines and flag the wrong squares.

Chording on a wrong flag

Chording trusts your flags. If one of them is wrong, the real mine is among the squares you just opened. Only flag squares you have proved.

Guessing too early

Most "forced guesses" aren't forced. Before guessing, look at the whole border, try the patterns, and check the mine counter. Near the end of a game the number of mines left often settles the last few squares.

Clicking faster than you read

Speed comes from recognising shapes, not from clicking quickly. A slip of the mouse onto the neighbouring square ends as many games as bad logic does.

How Does Minesweeper Work?

When you make your first click, the game places the mines at random among the other squares and works out every number in advance. Opening a 0 triggers a chain that opens all connected blank squares and their bordering numbers. That's the flood fill that clears big areas.

Random placement is why classic Minesweeper sometimes leaves you with a genuine 50/50. Computer scientists have also shown that deciding whether a Minesweeper position is consistent is NP-complete (Richard Kaye, 2000), so the puzzle is harder than it looks. Our No-Guess mode sidesteps the luck: each board is played through by a logic-only solver before you see it, and boards that would need a guess are rebuilt.

Frequently Asked Questions

What is the goal of Minesweeper?

Open every square that does not contain a mine. You do not have to flag the mines to win; flags are only a memory aid.

What does a blank square mean in Minesweeper?

A blank square is a 0: none of its eight neighbours is a mine. The game opens those neighbours for you automatically, which is why big areas open at once.

Do diagonal squares count?

Yes. A number counts all eight surrounding squares, including the four diagonals. Forgetting the diagonals is the most common beginner mistake.

Is Minesweeper luck or skill?

Mostly skill. Classic random boards sometimes force a guess, but most of the board can be solved by logic. In No-Guess mode no guess is ever needed.

What is chording in Minesweeper?

Chording means clicking an opened number whose mines are all flagged; every other closed neighbour opens at once. It saves time but opens a mine if one of your flags is wrong.

You know the rules. Now try them on a Beginner board: play minesweeper