← Back to the game

Minesweeper endgame and mine counting

In short
  • In the endgame, the mine counter becomes a clue as important as any number.
  • List the possible layouts of the last mines; keep only those that match the counter.
  • Before any guess, open every cell you can prove safe. A guess with more information is a better guess.

The endgame is where most Minesweeper games are won or lost. You've done the long part, a handful of covered cells remain, and the numbers around them suddenly seem to stop helping. This is the moment to bring in a clue that's been sitting in the corner of the screen all game: the mine counter.

What the counter really tells you

The counter shows the total number of mines minus the number of flags you've placed. If every flag is correct, it's the exact number of mines still hidden. That condition matters: one wrong flag and the counter lies to you, in the worst possible moment. Flag only what you've proved, and the counter becomes a reliable tool.

During most of the game it's not much use: there are too many covered cells far from any number, and the remaining mines could be anywhere. But once the board is nearly cleared, every covered cell is touched by the numbers, and the count of mines becomes a hard constraint.

The method: list the layouts, then count

Look at the last group of covered cells and the numbers around it, and write down every way the mines could sit there without breaking a single number. Usually there are only two or three. Then count the mines in each layout. If they don't all use the same number of mines, the counter tells you which layouts are still possible.

Let's see it on a small, complete position: a board three cells wide and two high, where everything is open except four cells.

Two mines left on the counter.

The left 1 sees X, Y and W. The right 1 sees Y, Z and W. Each needs exactly one mine. There are only three layouts that satisfy both numbers:

The numbers can't choose between them. The counter can: it says two mines are left, and only the last layout has two mines.

See the answer on the board

safe mine

Four cells decided by a single number on the counter. Without it, this position would look like pure guesswork.

Same position, one mine left

Now suppose the counter shows 1 instead of 2.

One mine left on the counter.

The X-and-Z layout needs two mines, so it's gone. What's left is "the mine is in Y" or "the mine is in W". Both remaining layouts use one mine, so the counter can't separate them. But it has still done something useful.

See the answer on the board

safe

X and Z are safe: no remaining layout puts a mine there. Open them first. On a real board their numbers could well settle the question. Here, on this tiny board, they can't: Y and W are seen by exactly the same cells, so this is a true 50/50.

This second case is the important lesson: a guess is only a guess after every provable cell has been opened. Players often click into a 50/50 while safe cells are still waiting elsewhere, and those safe cells might have given the answer for free.

Recognising a true 50/50

A real coin flip has a recognisable shape: two covered cells that are touched by exactly the same numbers, sharing one mine, and nothing else on the board able to tell them apart (including the counter). The classic examples are two cells side by side against the edge of the board, or the last two cells of a corner.

Before you accept one, run a quick check:

  1. Is there any other covered cell on the board, even far away? Can it be proved safe? Open it first.
  2. Does the counter match only some of the layouts? Recount the flags.
  3. Is there a number that touches one of the two cells but not the other? Then it isn't a 50/50 at all.

On a no-guess board, this check always finds something, because a true 50/50 can't happen there. On classic boards, sometimes it really is a coin flip, and the only thing left is to pick well.

When you must guess: picking the least bad click

On classic Minesweeper, or on a very dense custom board, you'll sometimes have to click with no certainty. A few principles keep the risk as low as possible:

These are rules of thumb rather than exact odds: the true probability of a cell depends on every number and on the counter at once. But they point you in the right direction far more often than a random click.

Practise the endgame

The best place to practise counting is the daily challenge: one attempt per board means you can't afford to rush the last cells, and every board is guess-free from the blinking start cell, so the last cells can always be worked out, sometimes only with the counter.

Minesweeper endgame: FAQ

More Minesweeper guides