The 1-2-1 Minesweeper Pattern
The 1-2-1 is the most famous and recognizable pattern in Minesweeper. When three numbers along a wall read 1-2-1, the solution is always the same: mines at the ends, the middle cell is safe. Learning to spot this pattern instantly is one of the biggest upgrades to your Minesweeper ability.
How the 1-2-1 Works
Picture three numbered cells in a row along the edge of the board, with a line of unrevealed cells directly above (or beside) them. The numbers read 1, 2, 1. Each number constrains the unrevealed cells it touches:
- The left “1” sees two unrevealed cells and needs exactly one mine between them.
- The right “1” sees two unrevealed cells and needs exactly one mine between them.
- The middle “2” sees three unrevealed cells and needs exactly two mines among them.
The only configuration that satisfies all three constraints simultaneously is:
| Position | 1st cell | 2nd cell | 3rd cell |
|---|---|---|---|
| Status | Mine | Safe | Mine |
The two “1"s force one mine to each side. The “2” needs both — and gets them from the first and third cells. The middle cell is left over with zero mines. It is always safe.
Why It Works: The Constraint Logic
Think of it as a system of equations. Label the three unrevealed cells A, B, and C (left to right). Each cell is either 0 (safe) or 1 (mine):
- From the left “1”: $A + B = 1$
- From the right “1”: $B + C = 1$
- From the “2”: $A + B + C = 2$
Substituting: if $A + B = 1$ and $A + B + C = 2$, then $C = 1$ (mine). Similarly, $B + C = 1$ and $C = 1$ means $B = 0$ (safe). And $A + B = 1$ with $B = 0$ means $A = 1$ (mine).
Result: $A = 1$, $B = 0$, $C = 1$ — mines at the ends, middle is safe.
Where to Look for 1-2-1
The 1-2-1 pattern appears most commonly:
Along Walls
The classic location. Three numbers run along the edge of the board with unrevealed cells on the open side. The wall constrains the geometry, making the pattern easy to identify.
Along Revealed Boundaries
The pattern also forms along the boundary between revealed and unrevealed regions in the interior of the board. Any three adjacent numbers that each see a shared row of unrevealed cells can form a 1-2-1.
After Reduction
A sequence like 2-3-2 with one flag touching each number reduces to 1-2-1 after subtracting. See Pattern Reduction for details.
Common Variations
Mirrored Orientation
The 1-2-1 works in any direction — horizontal, vertical, or along a diagonal boundary. The unrevealed cells can be above, below, to the left, or to the right of the numbers. The logic is identical.
1-2-1 With Extra Unrevealed Cells
Sometimes the unrevealed row extends beyond the three cells directly above the 1-2-1. The pattern still tells you about the three cells it constrains — the others require additional information.
Reduced 1-2-1
When flags are adjacent to a sequence of higher numbers, subtract the flags to see if a 1-2-1 is hiding. Common reduced forms:
| Original | Flags | Effective |
|---|---|---|
| 2-3-2 | 1 per number | 1-2-1 |
| 3-4-3 | 2 per number | 1-2-1 |
| 2-3-2 | 1 flag on the “3” only | 2-2-2 (not 1-2-1) |
Always subtract flags from each number individually based on how many flags touch it.
How to Spot 1-2-1 Quickly
Experienced players do not reason through the constraint logic each time. They recognize the shape:
- Scan the boundary. Look for three numbers in a row along any edge or frontier.
- Check for the “2” in the middle. A “2” flanked by smaller numbers is a strong signal.
- Verify the “1"s. Confirm both outer numbers are “1” (or reduce to “1” after subtracting flags).
- Act immediately. Flag the ends, click (or chord) the middle.
With practice, this recognition becomes automatic. You will not think “that’s a 1-2-1” — your hand will already be moving to flag.
Practice Scenarios
Scenario 1: Basic Wall
? ? ? ? ?
W 1 2 1 W
W W W W W
The three ? cells above the 1-2-1 are the targets. Flag cells 1 and 3, click cell 2.
Scenario 2: Interior Boundary
0 0 0 0 0
1 2 1 ? ?
? ? ? ? ?
The 1-2-1 runs horizontally. The three cells below the numbers follow the pattern: mine, safe, mine.
Scenario 3: After Flagging
? ? ? ? ?
W 2 3 2 W
W F W F W
Each “2” touches one flag → effectively “1”. The “3” touches one flag → effectively “2”. Reduced: 1-2-1. Flag the end cells above, click the middle.
Common Mistakes
Forgetting Diagonals
The 1-2-1 numbers count diagonal neighbors too. Make sure you are counting all eight neighbors of each number, not just the four cardinal directions. A flag diagonal to a number still counts toward satisfying it.
Applying 1-2-1 Without a Wall
The 1-2-1 pattern requires that the unrevealed cells on one side form a single row. If unrevealed cells exist on both sides of the numbers, the constraints distribute differently and 1-2-1 does not directly apply.
Not Reducing First
A sequence of 2-3-2 looks nothing like 1-2-1 until you subtract the adjacent flags. Always reduce before pattern matching.
Related Patterns
- 1-2-2-1 Pattern — The four-number extension of 1-2-1.
- 1-2-X Rule — The core building block that makes 1-2-1 work.
- 1-1-X Pattern — The opposite case: finding safe cells instead of mines.
- 1>2<1 Pinch Pattern — The non-linear variant where constraints squeeze from both sides.
- Pattern Reduction — How to reveal hidden 1-2-1s in complex boards.
What to Read Next
- All Minesweeper Patterns — Complete visual guide with interactive diagrams.
- Minesweeper Strategy Guide — How to apply patterns within a full solving workflow.
- Play Minesweeper — Practice spotting 1-2-1 on real boards.