Minesweeper: clear the field without hitting a mine

Open every safe cell and flag every mine. The numbers tell you how many mines touch each cell, and your first click is always safe.

Loading game...

Controls at a glance

Keyboard

Arrow keys move the cursor, Space or Enter opens a cell (or chords on a number), F places or removes a flag. Right-click flags with a mouse. P pauses, R restarts.

Touch screen

Tap a cell to open it. Long-press a cell, or switch on Flag mode, to place a flag. Tap an open number to chord. Wide boards scroll sideways inside the board.

How to play Minesweeper

Minesweeper is a logic puzzle played on a grid of covered cells. Some of them hide mines. Your goal is to open every cell that is safe without ever opening a mine. When you open a safe cell it shows a number from one to eight: that is how many mines touch it, counting the cells above, below, beside and diagonally next to it. An open cell with no number has no mines around it, so the game opens its neighbours for you and a whole area clears at once.

Your first click is always safe and always opens an area, so you never lose on the first move. From there, use the numbers to work out which covered cells must be mines and mark them with a flag. The counter above the board shows how many mines are left to flag. You win as soon as every safe cell is open; flags are optional, but they make chording possible.

Beginner, intermediate and expert

  • Beginner: a 9 by 9 board with 10 mines. Good for learning the patterns.
  • Intermediate: 16 by 16 with 40 mines. Areas are smaller and you will meet more of the classic one-two patterns.
  • Expert: 30 by 16 with 99 mines, the traditional tournament board. On a phone it scrolls sideways inside the board, and the Zoom button makes cells bigger.

Your best time is saved separately for each size. The clock starts with your first click and stops while the game is paused.

Flags and chording

Flag a cell you are sure hides a mine: right-click with a mouse, long-press on a touch screen, press F on the keyboard, or turn on Flag mode so every tap places a flag. A flagged cell cannot be opened by accident.

Chording saves a lot of clicks. When a number already has that many flags around it, click or tap the number (or press Space on it) and every other covered neighbour opens in one go. Be careful: if one of your flags is wrong, chording opens a mine and the game ends.

Tips and strategy

  • Start with the ones. A 1 touching a single covered cell means that cell is a mine. Flag it, then look at what that frees up around it.
  • Learn the 1-2-1 and 1-2-2-1 patterns. Along a straight edge, a 1-2-1 means the two cells under the ones are mines and the one under the 2 is safe.
  • Subtract flags. A 3 with two flags next to it needs exactly one more mine. If only one covered cell is left, that is it.
  • Use the edges. Cells in corners and along the border have fewer neighbours, so their numbers are easier to read.
  • Guess only when you must. When logic runs out, pick a cell that touches the fewest numbers, or one far from the open area.

Daily board and friend challenges

Switch to Daily challenge to play the same mine field as everyone else today, one for each board size. Finishing it grows your streak. After a win, Challenge a friend copies a link that opens the same board with your time to beat. Mines are kept away from the first cell you open, so a friend who starts on the same cell gets exactly the same field.

Your board is saved after every move, so closing the tab or reloading the page continues where you left off.

Frequently asked questions

Is the first click always safe?

Yes. The mines are placed after your first click, away from that cell and its eight neighbours, so the first click always opens an area.

How do I place a flag on a phone?

Long-press the cell, or tap the Flag mode button so that every tap places or removes a flag. Tap Flag mode again to go back to opening cells.

What is chording?

When an open number has exactly that many flags around it, tapping or clicking the number opens all its other covered neighbours at once. A wrong flag means a mine gets opened.

Can I play expert on a small screen?

Yes. The 30 by 16 board scrolls sideways inside the board while the page stays still, and the Zoom button switches to larger cells.

Is my game saved?

Yes. The board, flags and time are saved in this browser after every move, and best times are kept for each board size. Clearing site data removes them.