Guide
Minesweeper Patterns: 1-2-1, 1-2-2-1, 1-1 and 1-2
Most Minesweeper boards are solved by recognizing a handful of number patterns along the edge of the revealed area. Each is a small piece of arithmetic you can do once and remember. This page covers four of them and shows why they work.
Every pattern here assumes that the only hidden cells next to each number are the ones shown, as when the numbers sit in a row along a wall or along the edge of an opened area, with the hidden cells in the next row. Check that before you apply one.
The idea behind all of them
Each number tells you how many mines are in its hidden neighbors. If one number’s hidden neighbors are a subset of another’s, subtract: the extra cells must hold the difference in mines. Every pattern below is that subtraction.
The 1-2-1 pattern
Three numbers 1, 2, 1 side by side, with a row of hidden cells across from them. Each number touches the hidden cell directly across from it and the hidden cells on either side. Label the hidden cells A to E, from left to right, with B across from the first 1, C across from the 2 and D across from the last 1.
- The left 1 touches A, B, C: one mine.
- The 2 touches B, C, D: two mines.
- The right 1 touches C, D, E: one mine.
The 2 minus the left 1 leaves D minus A equal to 1, so D is a mine and A is safe. In the same way, the 2 minus the right 1 makes B a mine and E safe. B already holds the left 1’s only mine, so C is safe.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| Hidden cells | safe | mine | safe | mine | safe |
| Revealed numbers | 1 | 2 | 1 |
Rule: the mines are the cells directly across from the two 1s. The cell across from the 2 is safe, and so are the cells at both ends.
The 1-2-2-1 pattern
Four numbers 1, 2, 2, 1 in a row, with hidden cells A to F across from them, where B is across from the first 1 and E is across from the last 1.
- First 1: A, B, C hold one mine.
- First 2: B, C, D hold two.
- Second 2: C, D, E hold two.
- Last 1: D, E, F hold one.
The first 2 minus the first 1 gives D minus A equal to 1, so D is a mine and A is safe. The second 2 minus the last 1 gives C minus F equal to 1, so C is a mine and F is safe. Each 1 now has its mine, so B and E are safe.
| Row | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Hidden cells | safe | safe | mine | mine | safe | safe |
| Revealed numbers | 1 | 2 | 2 | 1 |
Rule: the mines are the two cells across from the 2s. Every other hidden cell is safe.
Check any pattern you read against a board before you trust it.
The 1-1 pattern
Two 1s side by side at the end of an opened area, where the left 1 has only two hidden neighbors (X and Y) and the right 1 has three (X, Y and Z).
The left 1 says one mine is in X or Y. The right 1 needs exactly one mine among X, Y and Z, and the mine in X or Y is already it. So Z is safe. You do not know which of X and Y holds the mine, but you can open Z.
The 1-2 pattern
The same layout with a 1 and then a 2: the 1 has two hidden neighbors (X and Y) and the 2 has three (X, Y and Z).
One mine is in X or Y. The 2 needs two mines among X, Y and Z, so the second one must be Z. Z is a mine: flag it.
Working them into your game
- Scan edges first. Walls and the borders of opened areas are where these patterns appear.
- Count the hidden neighbors. If a number has more hidden neighbors than the pattern shows, it does not apply.
- Mark mines and keep going. Each solved pattern usually changes the numbers next to it, giving you the next pattern.
- When none applies, write out the subtraction. Patterns are shortcuts for the same method. More tips are in the Minesweeper strategy guide.
Why this matters for no-guess boards
On a board that can be solved without guessing, there is always a move you can prove. Patterns like these are how you find it. Read how no-guess boards are made.