How to play minesweeper: rules, patterns and how to win

By the MindedGames teamPublished Updated 10 min read

A glossy 3D minesweeper board with colorful numbered tiles, a red flag planted on one square and a cartoon mine resting beside the grid

How to play minesweeper in 30 seconds

Here is how to play minesweeper: click a square to open it, and read the number it shows. The number tells you how many mines touch that square, counting all eight neighbors, diagonals included. A blank square means zero, and the game opens its neighbors for you. Use the numbers to work out where the mines are, flag them if you like, and open every square that is not a mine to win. Open a mine and the game is over.

That is the entire rulebook. The skill is in reading the numbers quickly, and that comes down to a few patterns you will see in every game. You can practise each one in our free minesweeper game while you read.

The board and the controls

Minesweeper comes in three classic sizes:

Level Board Mines Share of squares with a mine
Beginner 9×9 10 about 12%
Intermediate 16×16 40 about 16%
Expert 30×16 99 about 21%

On a computer, left-click opens a square and right-click plants a flag. On a phone, tap to open, and long-press or switch on flag mode to plant a flag. The counter at the top shows the mines left, which is simply the total minus the flags you have placed. It does not check whether your flags are right.

Your first click is safe

In most modern versions, including the one on our online minesweeper page, the first square you open is never a mine. The game makes sure of it, so you cannot lose on move one. Often the first click also opens a patch of blank squares with numbers around the edge, which gives you something to work with.

Where should you click first? Anywhere works on our boards. A square near the middle tends to open a larger area. A corner has only three neighbors, so it has a better chance of being a 0, but the area it opens is often smaller.

How to read the numbers

Two rules do most of the work.

  1. A number that sees exactly as many hidden squares as its value: all of them are mines. A 1 touching a single hidden square means that square is a mine. A 3 touching exactly three hidden squares means all three are mines.
  2. A number that already touches as many mines as its value: all its other hidden neighbors are safe. If a 2 already has two flags next to it, open everything else around it.

Go round the edge of the open area applying these two rules, and you will clear a surprising amount of the board. When neither rule fires, it is time for patterns.

Minesweeper patterns you should know

The patterns below appear along the border between the opened area and the hidden squares. In each diagram, the top row is a line of opened numbers and the bottom row is the hidden squares directly below them. The squares above the numbers are already open, so the only unknowns are in the bottom row.

The 1-1 pattern on an edge

When two 1s sit side by side and the first one is against the edge of the board (or the hidden row stops there), the third hidden square is safe.

Edge 1 1
Hidden row edge ? ? safe

Why: the first 1 only touches two hidden squares, so its mine is one of those two. The second 1 touches those same two squares plus the third one. Its single mine is already accounted for, so the third square must be empty.

The 1-2 pattern

When a 1 sits next to a 2, the hidden square beyond the 2 is a mine, and the square on the far side of the 1 is safe.

1 2
Hidden row safe ? ? mine

Why: the 1 and the 2 share the two middle squares. The 1 allows at most one mine there, but the 2 needs two. The second mine has to be in the square only the 2 can see. And because the 1’s mine is in one of the shared squares, the square only the 1 can see is safe.

The 1-2-1 pattern

This is the pattern most players learn first. With 1-2-1 along a wall, the mines sit under the two 1s, and the square under the 2 is safe.

1 2 1
Hidden row safe mine safe mine safe

Why: if the square under the 2 were a mine, it would satisfy both 1s, and then the 2 would only have one mine. So that square is safe, and the 2’s two mines must be the squares on either side of it. The outer squares are then safe because each 1 already has its mine.

The 1-2-2-1 pattern

With 1-2-2-1 along a wall, the mines sit under the two 2s, and every other square in the row is safe.

1 2 2 1
Hidden row safe safe mine mine safe safe

Why: it is two 1-2 patterns facing each other. Reading 1-2 from the left puts a mine under the right-hand 2; reading 1-2 from the right puts a mine under the left-hand 2. Those two mines satisfy both 2s, so everything else is clear.

The reduction trick (1-1+ and 1-2+)

Real boards rarely show clean 1-2-1 rows. More often you see a 3 or a 4 in the middle of a line. The trick is to subtract the mines a number already touches. A 3 with one known mine next to it behaves exactly like a 2 for the squares that are still hidden.

So a 1 next to a 2 that already touches a flag is really a 1-1, and a 1 next to a 3 that already touches a flag is really a 1-2. Players call these 1-1+ and 1-2+. Reduce first, then look for the pattern.

The idea behind every pattern

All of these patterns are one rule in disguise. Take two neighboring numbers. If every hidden square around the first is also around the second, then the extra squares around the second hold exactly the difference between the two numbers.

  • If the difference is 0, the extra squares are all safe (that is the 1-1 pattern).
  • If the difference equals the number of extra squares, they are all mines (that is the 1-2 pattern).

Once you see minesweeper this way, you do not need to memorize a long list of patterns. You can work out new ones on the spot.

Chording: open several squares at once

When a number already has all its mines flagged, you can click the number itself to open all its other neighbors in one go. This is called chording. In older versions you press both mouse buttons together; on our page a plain click on the number does it.

Chording saves a lot of clicks on big boards, but it has one danger: if one of your flags is wrong, chording opens a mine. Only chord around flags you are certain of.

Flags or no flags?

There are two ways to play.

  • Flagging marks every mine you find. It is slower, but it keeps the board easy to read and lets you chord. It is the right choice while you are learning.
  • No-flag play (often called NF) means you never plant a flag. You keep the mines in your head and only click safe squares. Many fast players use it because it saves clicks, but it takes practice to keep track of which numbers are already satisfied.

You do not need to flag mines to win. The game ends in a win as soon as every safe square is open, whether or not the mines carry flags.

How to win at minesweeper: 7 habits

If you want to know how to win minesweeper games more often, the answer is not a secret trick. It is a routine you repeat on every board, so you never click a square you have not checked. These seven habits turn a lucky win into a normal one.

  1. Clear the easy squares first. Go round the whole border applying the two basic rules before you think about anything harder. Easy squares open new numbers, and new numbers often settle the hard spots for you.
  2. Look for patterns along straight edges. 1-2-1 and 1-2-2-1 jump out once you have seen them a few times. A long straight border is the best place to find them.
  3. Reduce big numbers. Subtract the mines a number already touches, then look again. A 4 with three flags beside it is just a 1, and a 1 is easy to read.
  4. Work from the most constrained spot. A number with few hidden neighbors tells you more than one with many. Corners and narrow gaps are where the board gives up its secrets.
  5. Never click a square you have not proved safe. If you cannot say which number makes a square safe, do not open it yet. Look at another part of the board first; on our boards there is always a logical move somewhere.
  6. Use the mine counter at the end. With three mines left and a small hidden area, counting can settle squares that no single number can.
  7. Slow down near the end. Most losses on a nearly finished board come from a rushed click, not a hard position. Take a breath before the last few squares.

Start on beginner until these habits feel automatic, then move up. On intermediate and expert, the same seven steps work; there is just more board to apply them to.

When you must guess, and how to guess well

On our boards you never have to: every free minesweeper board here is generated so it can be solved by logic alone. If you are stuck, there is always a deduction somewhere, often found by comparing two numbers that share squares.

Classic boards are different. Sometimes the mines fall so that no logic can tell two squares apart, for example two hidden squares that share exactly the same numbers and hold exactly one mine between them. That is a true 50/50. When you meet a forced guess:

  • Guess early. If a guess cannot be avoided, take it now rather than after ten minutes of careful play.
  • Compare the odds. A 1 touching three hidden squares gives each about a one-in-three chance of being a mine. A square far from any number carries roughly the board’s overall density, which you can estimate as mines left divided by hidden squares left.
  • Pick the guess that tells you the most. Between two equal risks, choose the square that, if safe, is likely to open new numbers you can use.

Common mistakes

  • Flagging too fast. A wrong flag looks exactly like a right one, and it poisons every deduction and chord around it.
  • Forgetting diagonals. Numbers count all eight neighbors, not just the four that share a side.
  • Ignoring the counter. The mine count is a clue, especially in the last corner of the board.

If you enjoy this kind of number logic, our guide on how to solve sudoku uses the same habit of comparing what two clues have in common.

FAQ

Is minesweeper based on luck?

Mostly not. Nearly every move can be found by logic. Classic boards occasionally force a guess, but our boards are built so that you never need one, which makes every loss a misread number rather than bad luck.

Is the first click always safe in minesweeper?

In most modern versions, yes. The game makes sure the first square you open is never a mine, and our version follows this rule.

What is the 1-2-1 pattern in minesweeper?

It is a row of numbers reading 1, 2, 1 along the edge of the hidden area. The mines are under the two 1s, and the square under the 2 is safe, along with the squares on both ends.

What does chording mean in minesweeper?

Chording means clicking a number whose mines are all flagged, which opens all its remaining neighbors at once. It is a big time saver, but a single wrong flag will make it open a mine.

How many mines are in minesweeper?

The three classic boards have 10 mines on beginner (9×9), 40 on intermediate (16×16) and 99 on expert (30×16). Ready to try them? Play minesweeper now and start with beginner to practise the patterns.

Play the games from this article

Add MindedGames to your home screen

  1. Tap Share
  2. Tap Add to Home Screen