Minesweeper rules

How the numbers work, when to flag, and how to clear the board without blowing up.

What is minesweeper?

Minesweeper is a single-player logic game. You start with a grid of hidden cells. Some cells contain mines; the rest are safe. Clicking a safe cell reveals a number showing how many of its eight neighbors are mines. Your goal is to reveal every safe cell without clicking a mine.

The game shipped with Windows 3.1 in 1992 and became one of the most-played computer games ever. The logic underneath is pure deduction: read the numbers, figure out where mines must be, flag them, and reveal what is left.

Core rules

  1. Click a cell to reveal it. If it is a mine, you lose. If it is safe, it shows a number (or is blank).
  2. Numbers count adjacent mines. A cell showing "2" has exactly two mines among its eight neighbors. Blank cells have zero adjacent mines and auto-reveal their neighbors.
  3. Flag cells you believe are mines. Right-click or long-press to place a flag. This prevents accidental clicks.
  4. Win by revealing all safe cells. You do not need to flag every mine. The game ends when every non-mine cell is open.

Walking through a small board

Picture a 5×5 grid with 3 mines. You click the center cell and it reveals a 1. This tells you exactly one of its eight neighbors is a mine.

The auto-reveal opens a section of blank and numbered cells. Say the top row shows: blank, 1, 1, 1, blank. The two blank cells expand further. The three 1s form a line. Behind them (in row 2) there must be exactly one mine. If only one unrevealed cell remains behind the middle 1, that cell is the mine — flag it.

Now re-read the other 1s. The left 1 had one mine neighbor, and you just flagged it. That means all other neighbors of the left 1 are safe. Click them. Each new reveal gives you more numbers, more constraints, more certainty. The board unravels from there.

Patterns worth learning

  • 1-1 on an edge: If two 1s are side by side along a wall with two unrevealed cells behind them, the mine is behind one of the two. But if one of those 1s already has a flagged neighbor, the other cell behind the adjacent 1 is safe.
  • 1-2-1 on an edge: The mines are behind the two 1 cells; the cell behind the 2 is safe.
  • 1-2-2-1 on an edge: The mines are behind the two 2 cells; the cells behind the 1s are safe.
  • Satisfied numbers: When a number already has that many flags around it, all its remaining unrevealed neighbors are safe. This is the most common move in the mid-game.

Difficulty levels

LevelGridMinesNotes
Easy9×910Classic beginner board
Medium16×1640Intermediate
Hard24×2080Large board, more deduction
Expert30×24130Dense mine field
Einstein30×24130No-guess: solvable through pure logic

Tips for beginners

  • Start from the edges. Numbers on the border have fewer neighbors, so deductions are easier.
  • Always flag before clicking. When you identify a mine, flag it immediately. This prevents misclicks and helps you read other numbers more easily.
  • Look for "satisfied" numbers first. They are the fastest way to reveal safe cells without any risk.
  • If you are stuck, look at the corners and edges. Constrained areas often have forced deductions that open up the rest of the board.

Frequently asked questions

What do the numbers mean in minesweeper?

Each number tells you how many mines sit in the eight cells surrounding it. A blank cell has zero mines around it. A cell showing 3 has exactly three mines among its neighbors.

Can you win minesweeper without guessing?

Standard minesweeper sometimes forces 50/50 guesses. The Einstein difficulty on this site guarantees every puzzle is fully solvable through logic. No guessing needed.

Is the first click always safe?

Yes. The board generates after your first click, ensuring that cell and its immediate neighbors are mine-free. This gives you a safe opening to work from.

What is the 1-2-1 pattern?

When 1-2-1 appears along a border, the mines are behind the two 1 cells and the cell behind the 2 is safe. Learning to spot these patterns is what separates beginners from experienced players.

Do I need to flag all mines to win?

No. You win by revealing all safe cells. Flagging is optional — it is a tool to help you track where mines are, but the game just needs every non-mine cell opened.

Related puzzle rules

  • Nonogram rules — Reveal a picture by filling cells based on number clues
  • Light Up rules — Place lights so numbered cells show their exact count
  • Sudoku rules — Fill a 9×9 grid so every row, column, and box has 1-9

Ready to play? Start with an easy 9×9 board or pick your difficulty.