← All Games

Minesweeper

How to play Minesweeper

Minesweeper is a free puzzle game by Extensive Harmony that you play in your web browser. Reveal every safe cell without clicking on a mine. It works on desktop and mobile — no download, no sign-up.

Goal

Reveal every safe cell without clicking on a mine.

Controls

  • Click / Tap – Reveal cell
  • Right-click / Long-press – Toggle flag
  • Click a number – Open its neighbours once its flags are placed

Tips

Numbers show how many mines touch that cell. Tick "No guessing" above the board for boards you can always finish by logic.

Minesweeper strategy: reading the numbers

Every revealed number tells you how many of its eight neighbours (including diagonals) hide a mine. The whole game is about turning those numbers into certainty. You can play the three classic levels: Beginner (9 × 9, 10 mines), Intermediate (16 × 16, 40 mines) and Expert (30 × 16, 99 mines), and your first click is always safe. Click a number whose flags are all placed to open the rest of its neighbours in one go, just like in Windows Minesweeper.

  • The obvious mine. If a 1 touches only one hidden cell, that cell is a mine — flag it.
  • The obvious safe cells. If a number already has as many flags around it as its value, every other hidden neighbour is safe to reveal.
  • The 1-2-1 pattern. Along a straight edge of revealed cells, a 1-2-1 means the mines are next to the two 1s, and the cell next to the 2 is safe.
  • The 1-1 pattern from a wall. Two 1s side by side against a wall: the third cell along from the wall is safe.

What do the numbers mean in Minesweeper?

A number on a revealed cell is the count of mines in the eight cells touching it: left, right, above, below and the four diagonals. A 1 means exactly one of those neighbours is a mine, a 3 means three of them are. A blank cell means zero, so the game opens all of its neighbours for you. The numbers never count the cell itself, and they never change during the game. The colours are only there to tell them apart at a glance: 1 is blue, 2 green, 3 red.

For worked examples of the 1-1, 1-2 and 1-2-1 patterns and when you really have to guess, read our full guide: how to play Minesweeper and the patterns that solve it.

Common mistakes

  • Guessing too early. Before guessing, check every number on the border — there is usually a safe deduction somewhere.
  • Forgetting diagonals. A number counts all eight surrounding cells, not just the four sides.
  • Flagging carelessly. A wrong flag leads to wrong deductions everywhere around it.

More patterns to recognise

  • The 1-2 pattern. A 1 next to a 2 along an edge: the cell beyond the 2 (the one the 1 doesn't touch) must be a mine, because the 2 needs one more mine than the 1 can share.
  • The 1-2-2-1 pattern. Along a straight edge, the mines sit next to the two 2s, and the cells next to the 1s are safe.
  • Subtract the neighbour. When one number's hidden neighbours are all also neighbours of another number, subtract: the difference is the number of mines in the cells only the second one touches.
  • Count the mines. Near the end, compare the mine counter with the hidden cells left. If 2 mines remain and only one place can hold them both, the rest is safe.

How dense are the mines?

Beginner hides 10 mines in 81 cells (about one cell in eight), Intermediate 40 in 256 (one in six) and Expert 99 in 480 (one in five). The denser the board, the more often a pattern doesn't solve everything, which is why Expert sometimes needs a guess. If you must guess, pick a cell far from the numbers or in a corner of an open area: its chance of being safe is usually best.

Did you know?

  • The Minesweeper most people know was written by Robert Donner and Curt Johnson at Microsoft. It shipped with Windows 3.1 in 1992 and was included in Windows for the next two decades.
  • The game was partly meant to teach people to use a mouse: left and right clicks, and precise pointing, were new to many computer users at the time.
  • In 2000 the mathematician Richard Kaye proved that deciding whether a Minesweeper position is consistent is NP-complete, which links the game to one of the biggest open questions in computer science.

Frequently asked questions

Is Minesweeper free to play online?

Yes. Minesweeper runs in your web browser for free, with no download, installation or account.

How many mines are there?

The levels match classic Windows Minesweeper: Easy is 9 by 9 with 10 mines, Medium is 16 by 16 with 40 mines, and Hard (Expert) is 30 by 16 with 99 mines. On a phone held upright the Expert board is turned to 16 by 30.

Can the first click hit a mine?

No. Mines are placed after your first click, and neither that cell nor its neighbours get one, so every game starts by opening a safe area.

How do I place a flag on a phone?

Long-press a cell to toggle a flag. On a computer, right-click it.

How is the score calculated?

When you clear the board, you get 500 points on Easy, 1,000 on Medium or 2,000 on Hard, minus one point for every second you took. Medium then multiplies the score by 1.5 and Hard by 2.5.

Is Minesweeper unblocked?

Minesweeper runs in any modern browser, including Chrome on a school Chromebook, with no download, extension, Flash or account, so there is nothing to install that a device policy could block. Whether extensive-harmony.com itself opens on a school or work network depends on that network's filter, which we cannot change.

Keep playing

Read more

Short Games for Busy Adults: A Quick Reset Instead of a Second Job

More Puzzle games

Part of our puzzle games collection.

New to browser games? See why playing in your browser beats installing apps.

Embed Minesweeper on your website

Teachers, bloggers and site owners can add this game to a page for free. Copy the code below; please keep the credit link.