How to Play Minesweeper

Updated

Minesweeper is a logic puzzle on a grid: open every square that doesn't hide a mine. Each number you uncover tells you how many of the eight squares around it are mines, and that is all you need to find every one of them.

Learn by doing: play Minesweeper now, or start with a small Beginner board. If you'd like every board to be fair, try No guess Minesweeper, where you never have to guess.

The rules

On this site there are four classic sizes, from a 9 × 9 Beginner board with 10 mines to our 30 × 24 Master board with 200, plus No guess, Daily and Custom boards.

The goal

Open every safe square. You don't have to flag anything to win: flags are only there to help you keep track. Good players often finish with only a few flags placed, or none at all.

Your first click

The mines aren't placed until you click. The square you choose and the eight around it are always kept clear, so your first click never loses and always opens a patch of board to work from. Clicking in the middle opens the most. We tested 3.6 million boards to check, and the numbers are in where to click first in Minesweeper.

What the numbers mean

Every open square shows how many of its eight neighbours are mines: the squares above, below, to each side and on the four diagonals. A square on the edge of the board has fewer neighbours, but the rule is the same.

One mine in the middle. Each of the eight squares around it shows a 1.

A blank square means none of its neighbours are mines. The game opens them automatically, and if any of those are blank too, it keeps going. That's why a single click can clear half the board.

The numbers you'll see most are 1s and 2s. High numbers are rare, and an 8 is rarest of all: see how often each number appears in Minesweeper for the counts from 4 million boards.

Your first deductions

Almost all of Minesweeper comes down to two questions you ask about each number. Go round the edge of your opening and ask them of every number on its own before looking for anything cleverer.

Does it have exactly enough covered squares?

If a 2 touches exactly two covered squares, both must be mines. Flag them.

Does it already have all its mines?

If a 1 already has a flag next to it, every other covered square around it is safe. Open them.

Each 2 touches exactly two covered squares, so both are mines (red). The 1 at the bottom already has its mine, so the square beside it is safe (green).

Get into the habit of asking both of every number, every time.

Flags

Flags mark squares you've worked out are mines. On a computer, right-click to flag and right-click again to remove it. On a phone or tablet, press and hold, or turn on Flag mode so every tap places a flag. The counter on the left shows the number of mines minus the flags you've placed. There are more touch tips in how to play Minesweeper well on a phone.

You can switch on question marks in Settings. Right-clicking a flag then turns it into a ? for squares you're unsure about.

Chording

Once a number has the right number of flags around it, click the number itself. All its other covered neighbours open at once. Players call this chording, and it's the biggest time saver in the game. Be sure of your flags first, because if one is wrong, chording opens a mine.

Some fast players go further and never flag at all, opening safe squares directly. It's quicker once you're very comfortable, but flagging is easier to keep track of, so start there. Flagging or no flagging compares the two styles.

The 1-2-1 and 1-2-2-1 patterns

When single numbers stop giving you anything, look for patterns: small groups of numbers that always mean the same thing. These two are the most useful in the game. In the examples, red squares are mines and green squares are safe.

The 1-2-1

Along a straight edge, the numbers 1, 2, 1 in a row mean the mines sit next to the two 1s, and the square next to the 2 is safe. The 2 needs two mines among its three squares, and each 1 can only take one, so the mines have to be on the outside.

1-2-1: mines above each 1, the square above the 2 is safe.

The 1-2-2-1

With 1, 2, 2, 1 along a straight edge, the two mines sit next to the two 2s, and the squares at each end are safe.

1-2-2-1: mines above the 2s, the end squares are safe.

Both still work if the row continues on either side, as long as the edge of covered squares is straight. They come up all the time on Intermediate and Expert boards. Our Minesweeper patterns page covers six more, with worked examples from real games, the look-alikes that trip people up, and practice puzzles.

Strategy: how good players think

Good players aren't doing harder maths than anyone else. They recognise a small set of shapes instantly, so they spend their thinking on the few spots that really need it. Beyond single numbers and patterns, three habits do most of the work.

Compare neighbouring numbers

When no single number settles anything, take two numbers that share some covered squares. Ask what the first number forces on the shared squares, then see what's left over for the second. The 1-2-1 is just the most common case of this. The Hint button on this site uses the same idea, so if it finds a move you missed, look at the numbers around the square it shows you.

Use the mine count

The counter shows how many mines are left, less your flags. Near the end of a game it often decides a corner. If three covered squares remain and one mine is left, and two of those squares are already ruled out, the last one is your mine. It only works if your flags are right.

Work along the edges

All the information is on the border between open and covered squares. Work your way round it in one direction, rather than jumping about, so you don't miss a number that has become complete.

When logic runs out

On the classic levels, some boards reach a spot where nothing on screen can tell you which square is safe. You have to guess. When you do:

The blog explains why Minesweeper sometimes makes you guess. If you'd rather never guess, play No guess Minesweeper, where every board can be solved with the steps on this page.

Keyboard shortcuts

KeyWhat it does
SpaceOver a covered square, flags it. Over a number, opens around it.
N or F2New game
HHint
Arrow keys, Enter, FMove around the board, open a square, place a flag (click the board or tab to it first)

Ready to try it? Play Minesweeper now, or pick a board below.

Questions people ask

What are the rules of Minesweeper?

Open every square that does not hide a mine. Each number you uncover shows how many of the eight squares around it are mines. Flag the squares you know are mines, and you win as soon as every safe square is open. Opening a mine ends the game.

What does a blank square mean?

None of the eight squares around it is a mine. The game opens all of them for you, which is why one click can clear a large area.

What is the 1-2-1 pattern?

Three numbers in a row, 1, 2 and 1, along a straight edge of covered squares. The mines are the covered squares next to each 1, and the one next to the 2 is safe.

Is Minesweeper all luck?

No. Most of each board can be solved by logic. Guesses do come up on the classic levels, but good players need far fewer of them because they see more of the logic. In No guess mode every board can be solved without guessing.

What is the highest number in Minesweeper?

Eight, when a square is completely surrounded by mines. It is very rare: in our test of 1 million Expert boards, only about 1 in 1,075 had an 8, and 1 million Beginner boards had none.

What happens if I click a mine?

The game ends. All the mines are shown, and any flag you placed on a safe square is marked with a cross.

Pick a board