Minesweeper
Clear the board without setting off a mine. Numbers tell you how many mines touch each square; flag the ones you are sure of. Your first click is always safe.
Every board can be solved by logic alone from your first click.
Click or tap any square to start. The first one is always safe.
Best times: none yet. Win a beginner, intermediate or expert game without hints to set one.
Right-click or long-press to place a flag. Click a number once all its mines are flagged to open the squares around it. Keys: arrows move, Space or Enter opens, F flags, D opens around a number.
- Nothing is uploaded
- Free, no sign-up
- Works on phone and desktop
How to play minesweeper
- 1
Pick a level: beginner (9 × 9, 10 mines), intermediate (16 × 16, 40 mines), expert (30 × 16, 99 mines) or a custom size.
- 2
Click or tap any square. The first click is always safe and opens an area of the board.
- 3
Each number tells you how many of the eight squares around it hide a mine. Right-click, long-press or switch to Flag to mark a mine.
- 4
Open every square that isn't a mine to win. Click a number whose mines are all flagged to open the rest around it in one go.
Features
Safe first click
Your first square never has a mine on it or next to it, so every game starts with an open area to work from.
No-guessing mode
Turn it on and every board can be solved by logic alone from your first click: no 50/50 coin flips at the end.
Flags, chording and hints
Right-click, long-press or Flag mode to mark mines, click a number to clear around it, and ask for a hint when stuck.
Mouse, touch or keyboard
Big squares, a timer you can hide, best times per level, and your game is kept if you reload the page.
The rules
Minesweeper hides a number of mines under a grid of covered squares. Click a square to open it. If it hides a mine, the game is over; if not, it shows a number: how many mines are in the eight squares touching it. Use those numbers to work out where the mines are, flag them if you like, and open every other square. You win when every safe square is open, and the clock stops.
An open square with no number has no mines around it, so the game opens all its neighbors for you, and their neighbors, until the opening is surrounded by numbers. That is what makes the first click open a whole area.
Board sizes and mine density
These are the sizes most minesweeper games use. What makes expert hard is not only its size but its density: about one square in 5 is a mine, against one in 8 on beginner.
| Level | Size (wide × tall) | Squares | Mines | Mine density | Safe squares to open |
|---|---|---|---|---|---|
| Beginner | 9 × 9 | 81 | 10 | 12.3% | 71 |
| Intermediate | 16 × 16 | 256 | 40 | 15.6% | 216 |
| Expert | 30 × 16 | 480 | 99 | 20.6% | 381 |
Custom boards can be 5 to 40 squares each way, with at most (rows − 1) × (columns − 1) mines (64 on a 9 × 9, for example), so the first click always has room to open an area.
Reading the numbers: basic patterns
Most of the game is a handful of patterns along the edge of the opened area. In each diagram below, the top row is covered, the numbers sit on the edge of the opening, and everything under them is already open. A dot is an open square whose number doesn't change the answer. The solver in this game worked out every marked square.
1-1 against a wall
| ?not known yet | ?not known yet | safe | ?not known yet |
| 1 | 1 | · | · |
The first 1 touches only the first two covered squares, so its mine is one of those two. The second 1 touches those same two plus the third, and it already has its one mine among the first two, so the third square is safe. Whenever one number's squares are all inside another's and they need the same number of mines, the extra squares are safe.
1-2
| safe | ?not known yet | ?not known yet | mine |
| · | 1 | 2 | · |
The 2 needs two mines among its three covered squares. At most one of them can be in the two squares it shares with the 1, so the square beyond the 2 is a mine, and the 1 has its mine in the shared pair, so the square beyond the 1 is safe.
1-2-1
| safe | mine | safe | mine | safe |
| · | 1 | 2 | 1 | · |
Two 1-2 patterns back to back: the mines sit next to the 1s and the square in the middle, next to the 2, is safe.
1-2-2-1
| safe | safe | mine | mine | safe | safe |
| · | 1 | 2 | 2 | 1 | · |
Again two 1-2 patterns, one from each end: the two mines sit next to the two 2s, and everything else along the edge is safe. Once you know these four shapes you will spot them everywhere, often bent around a corner.
Why the first click is safe
The board has no mines until you click. The game then places them at random everywhere except the square you clicked and the eight around it. Because none of your first square's neighbors is a mine, it shows no number and opens up an area, so you always have numbers to start from instead of a blind guess.
What "no guessing" means
A random board doesn't promise that logic is enough. Sometimes the last two squares in a corner touch exactly the same numbers and nothing can tell them apart, and the only way forward is a coin flip. With No guessing on, the game makes random boards after your first click and tests each one with its solver, which plays the board using only sure moves: single numbers, pairs of numbers like the patterns above, and the count of mines left. The first board it can clear completely is the one you get. If none turns up within a couple of seconds (very crowded custom boards), you get a normal board and a note saying so.
How often is a plain random board already solvable without a guess? We ran the solver on 1,000 random boards per level, with the first click in the middle:
| Level | Random boards solvable without a guess |
|---|---|
| Beginner | 88.5% |
| Intermediate | 71.7% |
| Expert | 12.3% |
So on expert, most random boards eventually ask for at least one guess, and no-guess mode is the way to make every loss your own mistake. No-guess best times are kept apart from normal ones.
Tips for faster games
- Chord instead of clicking one square at a time. Flag the mines around a number, then click the number to open all its other neighbors at once.
- Flags are optional. You win by opening every safe square; the mines never need flags. Some fast players never flag at all; others flag only where they are about to chord.
- Work the edges of the opening. Sure moves are almost always next to numbers. When you are stuck, look for a 1-2 or a 1-1 along the border.
- When you must guess, guess early and away from crowded numbers: a square far from the opening is often safer than a 50/50 in a corner, and you lose less time if it goes wrong.
- Use the hint to learn: it outlines a square you can be sure of, and tells you when there is none. Hinted games don't set best times.
Like logic puzzles? Try sudoku or printable sudoku, deal a game of solitaire, or make a word search. For word games there is the 5-letter word finder, the word unscrambler, the anagram solver, the crossword solver and the word finder.
Frequently asked questions
What do the numbers in minesweeper mean?
A number is the count of mines in the up to eight squares touching it: left, right, above, below and the four diagonals. A 1 has exactly one mine around it, a 3 has three. An open square with no number has no mines around it, which is why the game opens its neighbors for you.
Is the first click always safe?
Yes. The mines are placed only after your first click, never on that square or the eight around it, so it always opens an area. On a custom board packed so full that there is no room for that, only the square you clicked is kept clear.
What does "no guessing" mean?
Ordinary boards are random, and some reach a point where two squares look exactly alike and you have to guess. With no guessing on, the game makes random boards and keeps only one that its solver can clear from your first click using logic alone. In a test of 1,000 random boards, that was true for 88.5% of beginner boards but only 12.3% of expert ones.
How big are the beginner, intermediate and expert boards?
Beginner is 9 × 9 with 10 mines, intermediate is 16 × 16 with 40 mines, and expert is 30 squares wide and 16 tall with 99 mines. Custom boards go from 5 to 40 squares each way.
What is chording?
Clicking an open number that already has as many flags around it as its number. The game then opens all the other squares around it at once. It is the fastest way to play, but if one of those flags is wrong, the chord sets off a mine.
Can I play on my phone?
Yes. Tap to open a square, and long-press or switch to Flag mode to place flags. On a narrow screen the expert board turns on its side so it fits, and "Large squares" makes every square bigger if you prefer to scroll.
Are my best times saved?
Best times for beginner, intermediate and expert are kept in this browser only, with no-guess boards timed separately. Games where you used a hint don't count. Nothing is sent anywhere.
More free tools
- 5 Letter Word FinderWords that fit your letter clues.
- Word UnscramblerEvery word your letters make.
- Word FinderBest-scoring words from your rack.
- Crossword SolverWords that fit a letter pattern.
- Word Search MakerPrintable word searches from your words.
- SudokuFree puzzles, easy to expert.
- SolitaireClassic Klondike, draw 1 or 3.