Strategy guide

Minesweeper patterns and strategy

Every Minesweeper board on this site is generated so that logic alone clears it from the marked start cell: there is always a next move you can prove. This guide teaches those proofs in the order a solver reaches for them. Each diagram is a real position from one of our unlimited boards, caught at the moment the move becomes available.

Read the opening, then work its rim

The start cell is always a zero, so the first tap opens a whole region and stops at a ring of numbers. A number counts the mines among its eight neighbours. On the rim of the opening most of those neighbours are already open, so the rim is where the first deductions are. Work your way around it instead of jumping across the board.

1111121121112221
  • the start cell
On this 9×9 board with 10 mines, the first tap on the start cell (ringed) opened 39 of the 71 safe cells. Everything else is solved from the numbers around that region.Position from unlimited board #1

The two one-number rules, and chording

All mines: if a number has exactly as many covered neighbours as its value, every one of them is a mine. All safe: if a number already touches as many flagged mines as its value, every other covered neighbour is safe.

The second rule is what chording is for: tap a number whose flags already account for it (or click it with both mouse buttons) and all its other neighbours open at once. Chord only around flags you have proved. A wrong flag makes the chord open a mine.

111112111221113331132222112312111111211122111333113222211231121
  • the numbers the step reads
  • proved mine
  • proved safe
First board: the ringed 2 has exactly 2 covered neighbours, so all of them are mines. Second board, a few moves later: the ringed 1 already has its mines flagged, so the other covered cells around it are safe (4 of them), and one chord opens them all.Position from unlimited board #1

The 1-2-1 pattern

Three numbers in a row, 1, 2, 1, along a straight edge of covered cells. The 2 needs two mines among the three cells beside it. If the middle cell were a mine, it would satisfy both 1s at once, and the 2 would be one mine short. So the middle cell is safe, and the two mines sit beside the two 1s.

The cells just past each end come free too: each 1 has used up its mine. Against a flat covered edge, 1-2-1 always reads the same: mine, safe, mine.

111111111111211111111111111112122221
  • the numbers the step reads
  • proved safe
  • proved mine
A 1-2-1 from unlimited play. The ringed numbers read the covered row beside them: the red circles are the two mines, the green ticks the 3 safe cells.Position from unlimited board #17

The 1-2-2-1 pattern

Four numbers, 1, 2, 2, 1, along a covered edge. The mines sit beside the two 2s, and the cells beside the 1s are safe.

The proof is a subtraction. The first 2 sees one covered cell the first 1 does not (beside the second 2), and the 1 sees one cell the 2 does not (just past the end). The 2 needs one more mine than the 1, so its extra cell is a mine and the 1's extra cell is safe. The same from the other end puts a mine beside the first 2. Each 1 is then satisfied, and the cells beside them are safe.

121112112211
  • the numbers the step reads
  • proved safe
  • proved mine
A 1-2-2-1 from unlimited play: mines beside both 2s, 4 safe cells around them.Position from unlimited board #34

The 1-1 against a wall

Two 1s side by side, the first one against the edge of the board. The first 1 has only two covered cells, so its mine is one of those two. The second 1 sees the same two cells plus one more, and its one mine is already among them. So the third cell is safe.

This is the plainest case of the rule behind every pattern above: when all of one number's covered cells are also another number's, subtract. If the counts are equal, the extra cells are safe. If they differ, the extra cells hold exactly the difference.

11111111112121112121
  • proved safe
  • the numbers the step reads
The ringed 1s start at the edge of the board; the green tick is the third cell along, proved safe.Position from unlimited board #4

Count the mines at the end

The counter above the board shows how many mines are left. Late in a game it settles cells no number reaches: when every mine is flagged, all the covered cells left are safe, and when the mines left equal the covered cells left, each one of them is a mine.

1111311133111211211111211111111111111111111
  • proved safe
Flags placed: 10 of 10. Covered cells left: 1. No number can decide what is left; the counter does.Position from unlimited board #341

Why you never have to guess here

On a random board the first click can hit a mine, and the last cells can be a true 50/50. Our generator plays every board with the deductions in this guide before it is served and throws away any board they cannot finish from the start cell. So when you are stuck, there is always a provable move: look for two numbers that share covered cells, and subtract one from the other.

Questions

What is the 1-2-1 rule in Minesweeper?
Three numbers 1, 2, 1 in a row along a covered edge mean a mine beside each 1 and no mine beside the 2. The middle cell cannot be a mine: it would satisfy both 1s and leave the 2 one short.
Is Minesweeper always winnable?
Random boards are not; some end in a 50/50 that no logic can settle. Every board on this site is generated and checked so that logic alone clears it from the marked start cell.
What is chording in Minesweeper?
Tapping a number that already has all its mines flagged opens all its other neighbours at once. It saves taps, but it trusts your flags, so chord only around flags you have proved.
How do I know where a mine is?
Find a number whose covered neighbours equal its value (all of them are mines), or two numbers that share covered cells and subtract one from the other. The diagrams above show both on real boards.