How to Play Minesweeper: What the Numbers Mean + 5 Patterns
Short answer: In Minesweeper you reveal cells on a grid without hitting a hidden mine. Every number tells you how many mines touch that cell, counting all eight neighbours including diagonals. Flag the cells that must be mines, reveal the ones that must be safe, and you win when every safe cell is open. A handful of patterns (1-1, 1-2, 1-2-1 and 1-2-2-1) solve most of a beginner board, and you can play Minesweeper online for free in a browser, with no download or account.
Minesweeper looks like a game of luck the first time you play it: you click somewhere, a number appears, then you click again and lose. In fact almost every move on a beginner board can be worked out with certainty. Once you know how to read the numbers and spot a few repeating shapes, the game turns into a calm, satisfying logic puzzle.
Minesweeper rules in 60 seconds
- The board. A grid of covered cells. Some of them hide mines; the counter at the bottom shows how many mines are left to find.
- Reveal a cell. Click or tap it. If it is a mine, the game is over. If not, it shows a number.
- Read the number. The number is how many mines touch that cell — up, down, left, right and the four diagonals. A blank cell means zero, and the game opens all its neighbours for you automatically.
- Flag a mine. Right-click a cell on a computer, or long-press it on a phone, to put a flag on it. Flags are your notes: they stop you clicking that cell by accident.
- Win. Reveal every cell that is not a mine. You don't have to flag every mine to win.
In our free online Minesweeper, you can play the three classic levels (9 × 9 with 10 mines, 16 × 16 with 40 mines and 30 × 16 with 99 mines), clicking a fully flagged number opens its other neighbours, and your first click is always safe because the mines are placed after it. The faster you clear the board, the higher your score.
How to read the numbers
Two simple rules do most of the work. Apply them to every number on the edge of the revealed area, over and over:
- Rule 1: count the hidden cells. If a number equals the number of covered cells around it, all of those cells are mines. A 1 with only one covered neighbour, or a 3 with exactly three, means you can flag them all.
- Rule 2: count the flags. If a number already has that many flags around it, every other covered neighbour is safe. A 1 that touches a flag means the rest of its neighbours can be opened.
Beginners usually forget the diagonals. A number in the middle of the board counts eight cells, one at an edge counts five, and one in a corner counts only three.
The five patterns that solve most boards
When the two rules stop working, look along the straight edges of the open area. The same shapes appear again and again, and each one has a known answer. In the examples below the numbers sit in a row of revealed cells, and the row above them is still covered.
Top row: covered cells. Red dot = mine, green tick = safe, ? = not known yet.
1. The 1-1 pattern from a wall
Two 1s side by side, starting at a wall or an already-solved edge. The first 1 can only see two covered cells, and they are both also seen by the second 1. So the single mine for both of them is in those two cells, and the third covered cell along from the wall is safe.
2. The 1-2 pattern
A 1 next to a 2 along an edge. The 2 needs two mines, but at most one of them can be in the cells it shares with the 1. So the cell the 2 sees and the 1 does not must be a mine. Flag it.
3. The 1-2-1 pattern
A classic. Along a straight edge, a 1-2-1 means the mines are directly above the two 1s, and the cell above the 2 is safe. Flag the two, reveal the middle.
4. The 1-2-2-1 pattern
Its longer cousin. Along a straight edge, a 1-2-2-1 means the mines are above the two 2s, and the cells above the two 1s are safe.
5. Corners and boxed-in cells
A covered cell that is completely surrounded by revealed numbers is easy to settle: if any neighbour already has its mine elsewhere, the cell is safe; if a neighbour still needs one and this is its only covered cell, it is a mine. Corners work the same way, just with fewer neighbours to check.
Tip: patterns also work after you remove what you already know. If a 3 already touches one flag, treat it as a 2 for the remaining cells — this is how a 1-2-1 “hides” inside bigger numbers.
A beginner strategy, step by step
- Open in the middle. The first click is safe, and a middle cell is more likely to open a large empty area than a corner one.
- Work the edge. Go round the border of the open area and apply Rule 1 and Rule 2 to every number.
- Look for patterns. When nothing changes, scan the straight edges for 1-1, 1-2, 1-2-1 and 1-2-2-1.
- Use the mine counter. Near the end, the number of mines left can decide a position. If two mines remain and only one arrangement fits, you've solved it.
- Guess only when you have to — and guess well. See below.
Is Minesweeper luck or skill?
Mostly skill on small boards, and more luck the denser the board gets. Luck matters at two moments: the very first click (which our version makes safe) and the positions where no cell can be proven safe, such as a true 50/50 where two cells fit the numbers equally well. Expert players aren't the ones who never guess; they are the ones who never guess when a safe move exists.
We measured how often that happens on our own boards. A script generated 2,000 games per level exactly the way our game does (first click in the middle, that cell and its neighbours mine-free) and played each one without ever guessing, with three levels of reasoning:
| Level | Rules 1 and 2 only | + the patterns above | Perfect logic |
|---|---|---|---|
| Beginner (9 × 9, 10 mines) | 66% | 82% | 84% |
| Intermediate (16 × 16, 40 mines) | 27% | 53% | 62% |
| Expert (30 × 16, 99 mines) | 0.2% | 4.5% | 12% |
Share of boards finished without a single guess. “The patterns” means comparing two numbers whose covered cells overlap, which is what 1-1, 1-2, 1-2-1 and 1-2-2-1 do, plus the mine counter. “Perfect logic” tries every mine layout that fits the numbers and opens only cells that are safe in all of them.
Three things follow. On Beginner, the patterns in this guide take you almost as far as perfect play: they finish 82% of boards, perfect logic 84%. On Intermediate, the patterns double what plain counting does. And on Expert, about 88% of boards need at least one guess even if you never make a logical mistake, so losing an Expert game to a forced guess says nothing about your skill. Before guessing, check every number on the border one more time.
When a guess really is unavoidable:
- Prefer a guess that will give you new information, such as a cell that would open into an unexplored area, over one at a dead end.
- Prefer cells far from high numbers. A covered cell next to a 1 is usually safer than one next to a 3.
- Make the guess early. If a 50/50 can't be avoided, take it before you've spent five minutes on the rest of the board.
If you would rather never guess, our Minesweeper has a No guessing switch above the board. With it on, the game keeps dealing until it finds a board that perfect logic can finish from your first click (on Expert that takes about 8 deals when you start in the middle and about 15 from a corner, a fraction of a second), so every loss is a mistake you can find.
Minesweeper is also a well-known puzzle in computer science: in 2000, mathematician Richard Kaye showed that deciding whether a Minesweeper position is consistent is NP-complete — the same class as many famously hard problems. In everyday play that matters less than you'd think: on a 9 × 9 board, careful reasoning settles about five boards in six.
Common mistakes
- Flagging on a hunch. A wrong flag makes every deduction around it wrong. Only flag what you can prove.
- Rushing the clock. Speed comes from recognising patterns, not from clicking faster. A lost game scores zero.
- Ignoring the far side of the board. If one area is stuck, another region may still have safe moves.
Classic board sizes
The Minesweeper most people remember from Windows had three standard levels: Beginner (9 × 9, 10 mines), Intermediate (16 × 16, 40 mines) and Expert (30 × 16, 99 mines). Our Easy, Medium and Hard levels use exactly those three boards. On a phone held upright, the Hard board is turned to 16 × 30 so it stays playable.
Where to play Minesweeper online for free
Minesweeper on Extensive Harmony runs right in your browser on a phone, tablet or computer: no download, no sign-up, and your best score is saved only on your device. Right-click or long-press to flag, pick Easy, Medium or Hard, and try to beat your own time.
If you enjoy the deduction, try the other logic puzzle games online: Box Pusher trains planning, and 2048 rewards a consistent strategy. For more ideas, see the full list of free puzzle games.
Frequently asked questions
What do the numbers mean in Minesweeper?
A number is how many mines touch that cell, counting all eight neighbours: up, down, left, right and the four diagonals. A blank cell means zero. A cell at the edge has only five neighbours and a corner cell three, so the same number means more there.
How do you know where a mine is in Minesweeper?
Compare each number with the covered cells around it. If a number equals the count of its covered neighbours, they are all mines. If it already touches that many flags, every other covered neighbour is safe. Repeat these two checks around the edge of the open area.
What is the 1-2-2-1 pattern in Minesweeper?
Along a straight edge, a row of numbers 1-2-2-1 means the two mines are directly above the two 2s, and the cells above the two 1s are safe. Its shorter cousin, 1-2-1, puts the mines above the two 1s and leaves the cell above the 2 safe.
What is the trick to Minesweeper?
Never guess while a safe move exists. Work the two counting rules first, then look for the 1-1, 1-2, 1-2-1 and 1-2-2-1 patterns, and subtract flags you already placed from a number before reading it. In our test of 2,000 beginner boards, those patterns finished 82% of games without a single guess.
Can your first click be a mine?
Not in our Minesweeper: the mines are placed after your first click, and neither that cell nor its eight neighbours get one, so every game opens with a safe area.
