Minesweeper
Clear the board without hitting a mine. Click or tap to reveal, right-click or long-press to flag. Three difficulty levels.
Desktop: click to reveal, right-click to flag, click a number to chord. Keyboard: arrows, Enter, F. Mobile: tap to reveal, long-press to flag.
How to play
Reveal every safe cell. A number tells you how many of the eight surrounding cells hide a mine.
Flag mines
Right-click, long-press or turn on Flag mode to mark a suspected mine. You can place one flag per mine.
Safe first click
Mines are placed after your first click, never on that cell or its neighbors.
How to play Minesweeper
The board is a grid of covered cells, and some of them hide mines. Your goal is to uncover every cell that does not contain a mine. Click or tap a cell to reveal it. If it is a mine, the game is over. If it is safe, it shows a number from 1 to 8 telling you how many of its eight neighbors (above, below, left, right and the four diagonals) contain mines. A safe cell with no neighboring mines is shown blank, and all of its neighbors open automatically, which often clears a large area at once.
Your first click is always safe: the mines are placed only after it, and never on that cell or the cells touching it, so every game begins with an opening. You win when all safe cells are revealed; the remaining mines are flagged for you and your time is recorded.

Controls on desktop and mobile
- Reveal: left-click or tap a covered cell.
- Flag: right-click a cell on a computer, or press and hold it for about half a second on a touch screen. If your finger moves while holding, the press is cancelled so you can scroll the page safely. You can also switch on Flag mode, which makes every tap place or remove a flag until you turn it off.
- Chord: click or long-press a revealed number when the right number of flags already surrounds it, and all its other covered neighbors open in one go. If one of your flags is wrong, that move can set off a mine.
- Keyboard: press Tab to reach the board, move with the arrow keys, press Enter or Space to reveal and F to flag. The arrow keys only steer the board while it has focus.
The Mines counter shows the number of mines minus the flags you have placed. You can place at most one flag per mine, so the counter never goes below zero.
Difficulty levels and best times
- Easy: 9 by 9 cells with 10 mines.
- Medium: 16 by 16 cells with 40 mines.
- Hard: 16 columns by 30 rows with 99 mines, the same size and mine count as the classic Expert board but turned upright so it fits a phone screen.
The timer starts with your first click and counts in seconds. Your fastest win on each level is saved in your browser's local storage on this device and shown in the Best box.
Strategy tips
- Start with the 1s. A 1 that touches only one covered cell means that cell is a mine. Flag it, and any other cells around that 1 are safe.
- Match the numbers. If a 3 touches exactly three covered cells, all three are mines. If a number already touches as many flags as its value, every other neighbor is safe, which is exactly when chording helps.
- Learn the 1-2-1 pattern. When a row of revealed cells reads 1, 2, 1 along a straight wall of covered cells, the mines sit directly beside the two 1s and the cell beside the 2 is safe.
- Work from the edges of openings. The boundary between revealed and covered cells holds all the information. Clear what you can be certain of before touching an unrelated part of the board.
- Guess only when forced. Occasionally no logical move remains. If you must guess, prefer cells far from high numbers, or a corner, where the chance of a mine tends to be lower.
A short history
Minesweeper grew out of earlier logic games about finding hidden objects on a grid. It became widely known through Microsoft's version, which first appeared in a Microsoft Entertainment Pack and was then included with Windows 3.1 in 1992. Shipped on millions of computers, it taught a generation to use right-click. The Beginner, Intermediate and Expert sizes from that version are still the standard way to compare times, and the Easy and Medium levels here use the same dimensions.
Frequently asked questions
How do I flag a mine on a phone?
Press and hold a covered cell for about half a second to place or remove a flag. Alternatively, switch on Flag mode below the board so that every tap flags instead of revealing.
Can my first click hit a mine?
No. Mines are placed after your first click, and never on that cell or any of its eight neighbors, so the first click always opens a safe area.
What is chording?
Chording is clicking a revealed number that already has the matching number of flags around it. All of its remaining covered neighbors are revealed at once. If a flag is in the wrong place, chording can reveal a mine.
Why can't I place more flags?
You can place one flag per mine on the board. Once every flag is used, remove a flag you are unsure about before placing another one.
How big is each difficulty level?
Easy is 9 by 9 with 10 mines, Medium is 16 by 16 with 40 mines, and Hard is 16 columns by 30 rows with 99 mines.
Is my best time saved?
Yes. Your fastest win on each difficulty level is saved in your browser's local storage on this device only. Nothing is uploaded.
Is Minesweeper free?
Yes. It is free to play in your browser with no download, no signup and no account.
More games
Sudoku · 2048 · Memory Match · Snake