New: Kerb Clash, clear the jammed car parkNew: Sudoku and Minesweeper, classic puzzles that play offlineInstall any game to your home screen

How to Solve Minesweeper: 6 Techniques That Work

To solve Minesweeper, work along the edge of the open ground, one number at a time. Most moves come from two simple checks: a number with exactly as many hidden squares as mines it needs (they’re all mines), and a number with all its mines flagged (the rest are safe). When those run out, compare two numbers that share hidden squares. Six techniques cover it, and the first two do most of the work on every board.

Open Minesweeper full screen for more sizes, saved progress and best times.

New to Minesweeper? Read the rules first. This page assumes you know that a number counts the mines among its eight neighbours.

1. All mines found: the rest are safe

When a number already touches as many flagged mines as its value, its other hidden squares are safe. Open them, or tap the number to chord.

All mines found: a 2 with both its flags A row of hidden squares, some flagged, over a row of numbers. The 2 in the third column already touches two flags, so its other hidden square is safe. 1 2 2 3 3 3 2
The ringed 2 already touches two flags, so its other hidden square (dotted) is safe.

2. All hidden are mines

When a number touches exactly as many hidden squares as mines it still needs, every one of them is a mine. Flag them.

All hidden are mines: a 2 in the corner A row of hidden squares over a row of numbers. The 2 at the right end touches only two hidden squares, so both are mines. 1 1 1 1 2 2 2
The ringed 2 touches only two hidden squares, so both are mines.

These two checks are most of the game. On the boards we tested, nearly every one used both: 199 of 200 Beginner boards, for instance.

3. Subsets: the 1-1 pattern

When all of one number’s hidden squares are next to another number too, compare them. The first number’s mines are among the shared squares, so the second number’s extra squares hold whatever’s left. If nothing’s left, they’re safe; if what’s left fills them, they’re mines.

Subset: the 1-1 pattern at the edge A row of hidden squares over a row of numbers. The first 1 touches only the first two hidden squares, and the second 1 touches those two and a third. The mine is in the first two, so the third square is safe. 1 1 1 1 2 2 1
The first ringed 1 touches only two hidden squares, both shared with the second 1. Its mine is one of them, so the second 1’s third square (dotted) is safe.

Along a straight edge this is the 1-1 pattern: two 1s side by side, one of them at the end of the edge, make the square beyond them safe.

4. Pairs: the 1-2 pattern

When two numbers share only some of their hidden squares, the shared squares can hold no more mines than the smaller number allows. That often settles the squares only one of them touches.

Pair: the 1-2 pattern Part of an Intermediate board. A 2 and a 3 side by side, with a flag below the 2. The 2 needs one more mine and the 3 needs two, from the hidden row above. The 2 can give the shared squares at most one, so the 3's own square is a mine and the 2's own square is safe. 3 2 3 1 3 2 1
Part of an Intermediate board. The ringed 2 needs one more mine and the ringed 3 needs two, from the hidden row above.

Here the 2 (with a flag below it) needs one more mine above it, and the 3 needs two. The two squares they share can hold at most one mine, because of the 2. So the 3’s own square, on the right, must be its second mine, and the 2’s own square, on the left, must be safe. This is the 1-2 pattern: the 2 here works like a 1, because one of its mines is already flagged.

5. Mine count

The counter shows how many mines are left. In the endgame it can settle the last hidden squares: if every mine is found, everything still hidden is safe, and if the hidden squares left are exactly as many as the mines left, they’re all mines.

6. Every arrangement

When none of the above finds anything, take a group of numbers that share hidden squares and work through every way the mines could sit among those squares. A square that’s safe in every way is safe; one that’s a mine in every way is a mine.

Every arrangement: a ring of numbers Part of an Intermediate board: a small open area ringed by ten numbers and eighteen hidden squares. No simple check settles anything, but there are just sixteen ways to place the mines that fit every number, and all sixteen agree: one square is a mine and two are safe. 3 1 1 2 1 1 2 1 1 1
Part of an Intermediate board: ten ringed numbers around eighteen hidden squares. Only sixteen ways to place the mines fit them all, and every one agrees on one mine and two safe squares (dotted).

It’s slow by hand, and you’ll rarely need it: on the boards we tested, it was needed on 1 Beginner board in 200, 3 Intermediate and 19 Expert.

How often each technique is needed

We played 200 Classic (random) boards of each size from the game by deduction alone, from a first tap in the middle, always using the simplest technique that worked. This is how many boards used each technique (including boards that later needed a guess):

Technique Beginner Intermediate Expert
All mines found 199 194 183
All hidden are mines 199 194 190
Subsets (1-1) 51 125 172
Pairs (1-2) 4 18 114
Mine count 1 2 1
Every arrangement 1 3 19

Beginner boards are almost all simple checks. On Expert, comparing numbers (subsets and pairs) is part of nearly every board.

A Beginner board, solved

The rules page starts a Beginner board from the game: one tap opens 53 squares, then a 1 finds a mine and another 1 clears three squares. Here’s how the rest goes.

Steps 1 to 10: simple checks. Ten moves in a row, each one either flagging a mine (technique 2) or opening safe squares (technique 1), working round the edge of the open ground. Five mines are flagged.

Step 11: the only subset. Then the simple checks run out. In the top-right corner, two 1s sit one above the other in column 7. The top 1’s two hidden squares are both next to the lower 1 too, so the lower 1’s third hidden square is safe.

Step 11: the only subset The Beginner board after ten simple checks, with five mines flagged. Two 1s in column 7, rows 1 and 2: the top 1's two hidden squares are both next to the lower 1 too, so the lower 1's third hidden square, row 3, column 8, is safe. 1 1 1 1 2 1 2 1 1 1 1 2 1 1 3 1 2 1 2 1 1 1 1 2 1 1 2
Step 11: the two ringed 1s make the dotted square safe.

Steps 12 to 20: simple checks again. Opening that square shows a new number, and the simple checks take it to the end, without a guess.

The cleared Beginner board The board cleared, with all ten mines flagged. 1 1 1 2 2 1 2 1 2 2 1 2 1 1 1 1 1 2 1 1 1 3 1 2 1 2 1 1 1 1 2 1 1 2 2
The cleared board, all ten mines flagged.

When you get stuck

  • Look along the edge. Every move is next to a number at the edge of the open ground. Go round it number by number.
  • Flag what you’ve found. The simple checks are much easier with flags in place.
  • Compare neighbours. Two numbers next to each other, sharing hidden squares, are where the 1-1 and 1-2 patterns hide.
  • Check the counter late in the game. With few squares left, the mine count can settle them.
  • Classic boards sometimes need a guess. If nothing is certain anywhere, press Stuck?: it will say so. The game’s default boards never do.

Next steps

Questions

What are the 1-1 and 1-2 patterns?

Two common shapes along an edge of hidden squares. In a 1-1, two 1s side by side share squares, so the second 1’s extra square is safe. In a 1-2, a 1 beside a 2, the 2’s extra square is a mine. Both are cases of comparing two numbers that share squares: techniques 3 and 4 below.

Can every board be solved without guessing?

On PeerPuzzles, yes: by default every board is dealt so logic alone clears it. Traditional random boards, which the game offers as Classic, often reach a point where no square is certain: logic alone clears 173 of 200 Beginner boards, 117 of 200 Intermediate and only 26 of 200 Expert. When that happens, the Stuck? hint says so.

Should I flag every mine?

Flag the ones you’ve found next to numbers you’re working on. Flags make the simple checks quicker, and they let you chord. Flagging mines far from any open ground doesn’t help.