Play Minesweeper Online

Classic Minesweeper, free and in your browser. Your first click is always safe. Left-click to open, right-click or long-press to flag, and click a finished number to chord.

  • ✅ Free forever
  • 🚫 No download
  • 🙅 No signup
  • 📱 Works on mobile
  • ⌨️ Full keyboard play
  • 📶 Plays offline
010 10 mines remaining 000 seconds elapsed
38px

Free, private, and yours to keep

💸 Free foreverNo account, no trial, no paid tier, no ads inside the board. Play as many games as you like.
🚫 Nothing to downloadIt is a web page. No installer, no extension, no app store.
🔒 Your games stay on your deviceBoard state, times and statistics live in your browser's local storage and are never sent anywhere. Open DevTools → Network and play a full game: nothing leaves.
📶 Plays offlineA service worker caches the page after your first visit, so it keeps working on a plane or with no signal.
⌨️ Fully keyboard playableArrow keys move, Enter opens or chords, F flags. A complete game without touching a mouse.
📱 Real mobile controlsLong-press to flag, tap a finished number to chord, pinch-free zoom controls for big boards.

What is Minesweeper?

Minesweeper is a logic puzzle played on a grid. Some squares hide mines; most do not. Every square you open safely shows a number telling you how many of the eight squares around it are mined. Your job is to open every square that is not a mine, using nothing but those numbers.

It is not a game of luck, despite its reputation. On a typical board the overwhelming majority of moves are forced — there is exactly one square that logic proves is safe, and finding it is the whole game. Guessing is a last resort, and good players guess far less often than beginners assume.

The version most people remember shipped with Windows from 1990 onward, but the idea is older: it descends from 1980s games like Mined-Out and Cube. What Microsoft added was the three-difficulty structure and the flag, and those have stuck for thirty-five years.

How to play Minesweeper

  1. Click anywhere to start. The first click is always safe — mines are placed after it, never under it or its eight neighbours. The timer starts on this click.
  2. Read the numbers. A 1 means exactly one of the eight touching squares is mined. A blank square touches no mines at all, so the board opens the whole empty region around it automatically.
  3. Flag what you can prove. Right-click on a computer, long-press on a phone. Flags stop you clicking a square by accident and unlock chording.
  4. Chord to move fast. Click a number that already has the right count of flags around it and every remaining neighbour opens at once.
  5. Clear every safe square to win. You do not need to flag all the mines — the game ends the moment the last non-mine square is open.

Minesweeper rules

  • Every square is either a mine or safe. There is nothing else.
  • A revealed number counts mines in the eight surrounding squares, including diagonals.
  • Opening a mine ends the game immediately.
  • Flags are your notes. They do nothing mechanically except block accidental clicks and feed chording; flagging a square wrongly costs you nothing until you chord on it.
  • You win when every non-mine square is open, flagged or not.
  • The mine counter shows mines minus flags placed, not mines actually remaining. Place a wrong flag and it lies to you.

What do the numbers mean?

This is the single thing beginners get wrong. The number is not a distance and it is not a direction — it is a count of mines in the eight squares that touch it, diagonals included. A square in the middle of the board has eight neighbours; on an edge it has five; in a corner, three.

What each Minesweeper number means and what to do about it
NumberMeansTypical action
1One mine in the eight neighboursThe most useful number on the board. A 1 with exactly one unopened neighbour has found its mine.
2Two minesPairs with a neighbouring 1 to solve the classic 1-2 pattern.
3Three minesCommon along walls. A 3 on an edge with three unopened neighbours is fully determined.
4Four minesUsually appears in dense clusters. Count carefully before chording.
5Five minesRare outside Expert. Often means the remaining unopened neighbours are all mines.
6Six minesVery rare. With only six or seven neighbours left, nearly everything around it is mined.
7Seven minesAlmost always fully determined: seven of eight neighbours are mines.
8Eight minesEvery single neighbour is a mine. Flag all eight and move on.
blankNo mines touchingNothing to decide — the board opens the whole connected empty area for you.

What flags are for

A flag is a note to yourself. The game does not check it, reward it, or require it. Placing a flag does exactly two things: it stops that square being opened by a stray click, and it counts toward chording.

That second point is why strong players flag aggressively in some situations and barely at all in others. If you intend to chord a number, you must flag its mines first. If you are simply reading the board, flags cost time. Speed players on Beginner often finish with almost no flags placed at all.

Press the flag again to cycle to a question mark — a useful "I think this is a mine but I am not certain" marker — and once more to clear it.

How the first click works

On this board the first click is guaranteed safe, and so are its eight neighbours where the board has room to spare them. That is not a courtesy; it is how the board is built. The grid is empty until you click, and only then are mines scattered into the remaining squares. There is no way to lose on move one.

Because the whole 3×3 pocket around your first click is kept clear, that click almost always opens a blank region rather than a lone number, which gives you something to reason from immediately. On a maximum-density custom board where sparing nine squares is impossible, the guarantee shrinks to the clicked square itself — the tool tells you this rather than quietly failing.

What this does not guarantee: that the board is solvable without a guess. Generating provably no-guess boards is a much harder problem — it means running a solver during generation and rejecting boards that require a coin flip. It is on our roadmap, and we would rather say so than claim it.

Minesweeper difficulty levels

The three classic sizes have been standard since the early nineties, and the mine density is what actually makes them harder — not the size.

Minesweeper difficulty comparison
DifficultyBoardMinesDensityRecommended for
Beginner9 × 9 (81)1012.3%Learning the numbers. A good game takes 10–40 seconds.
Intermediate16 × 16 (256)4015.6%Once you can clear Beginner reliably. 40–150 seconds.
Expert16 × 30 (480)9920.6%The standard competitive board. Under 100 seconds is strong.
Evil20 × 30 (600)14524.2%Denser than Expert. Expect to be forced into guesses.
Custom5×5 up to 40×60your choiceyour choicePractising a specific density, or a quick 8×8 on a phone.

Notice the jump from Beginner to Expert is not really about the extra 399 squares — it is that roughly one square in five is mined instead of one in eight. Denser boards produce more ambiguous configurations, which is where guessing creeps in.

Minesweeper controls

Minesweeper controls on desktop, mobile and keyboard
ActionDesktopMobileKeyboard
Open a squareLeft clickTapEnter or Space
Flag a mineRight clickLong-press, or Flag mode + tapF
ChordClick a finished number, or middle clickTap a finished numberEnter on a number
Move aroundMouseTouch, Home, End
New gameClick the faceTap the faceR
Change difficultyDifficulty buttonsDifficulty buttons1 2 3

Chording — the technique that halves your time

Chording is the single biggest speed improvement available, and most casual players have never heard of it. If a revealed number already has exactly that many flags around it, then by definition every other neighbour is safe. Clicking that number opens them all at once.

A 3 with three flags around it and four unopened neighbours: one click opens the fourth. On a full Expert board this turns hundreds of individual clicks into a few dozen. It is also the reason to flag at all.

The safety rail matters: if the flags do not match the number, chording does nothing and the cell gives a small nudge animation rather than detonating something. But if you have flagged wrongly and the count happens to match, chording will open a mine. Chording is exactly as reliable as your flags.

On this board, chording on touch is simply tapping a revealed number — since tapping an already-open square has no other meaning, no extra mode or gesture is needed.

Minesweeper strategy for beginners

Start in a corner

Corner and edge squares have fewer neighbours — three and five instead of eight — so the numbers there constrain far fewer possibilities and are much easier to solve. Opening in a corner also tends to reveal a larger blank region, because blank areas propagate outward.

The 1-1 rule

Two adjacent 1s along a wall, with unopened squares in front of them: the mine is in the square they share, and the outer squares are safe. This one pattern will carry you through most of Beginner.

The 1-2-1 pattern

A row reading 1-2-1 with three unopened squares beneath: mines sit under the two 1s, and the square under the 2 is safe. It looks backwards the first time you see it, and it is always true.

Count before you click

Every mistake in Minesweeper is a counting mistake. Before opening anything, find one number and check whether its unopened neighbours are already fully explained. If the count of unopened neighbours equals the number minus the flags already placed, all of them are mines.

Two rules that solve most of the board

  • If a number equals its unopened neighbour count (minus flags), every one of those neighbours is a mine.
  • If a number equals its flag count, every other neighbour is safe — chord it.

Apply those two alternately and you will solve the great majority of any board without a single guess.

Advanced strategy: subsets and probability

The subset rule

When one number's unopened neighbours are a subset of another's, you can subtract them. If a 2 covers squares {A, B, C} and a 1 covers {A, B}, then the 1 accounts for one mine among A and B, so C must be a mine. This single technique resolves most situations that look like they need a guess.

Counting the endgame

Late in a game the mine counter becomes a genuine constraint. If three mines remain and one region can only hold two, the third is somewhere specific. Players who finish Expert consistently are doing global counting, not just local pattern reading.

When you truly must guess

Sometimes the board offers no forced move. Then:

  • Prefer the lower probability. A square constrained by a 1 with three unopened neighbours is a 1-in-3 risk; an untouched square in open space is roughly the global density, often better.
  • Prefer corners and edges when probabilities tie — they generate more information when they turn out safe.
  • Guess early, not late. A guess with 90% of the board left costs less than one with three squares to go.

Roughly speaking, a well-played Expert game will still be lost to a forced guess a meaningful fraction of the time. That is a property of the puzzle, not a failure of your play.

Common mistakes to avoid

  • Trusting the mine counter. It shows mines minus flags. One wrong flag and every count you do afterwards is wrong.
  • Chording on unverified flags. The most common way experienced players lose. Chording trusts your flags absolutely.
  • Forgetting diagonals. Eight neighbours, not four. This is the beginner error.
  • Flagging everything. Flags cost time and only pay off when you chord. If you are not going to chord that number, do not flag it.
  • Grinding a stuck corner. If a region will not resolve, open a fresh area. New information often solves the old region for free.

How to get faster

Speed comes from three things, in order: chording, not flagging unnecessarily, and reading patterns without consciously counting. Play Beginner repeatedly until 1-1 and 1-2-1 are instant recognition rather than deliberate arithmetic — that transfers directly to bigger boards.

Do not chase Expert times before Intermediate is comfortable. The board is the same puzzle; only the density changes. If you want to time yourself away from the game, our online notepad is handy for jotting session notes, and the typing speed test scratches a similar "beat your own number" itch.

Minesweeper on mobile

Most Minesweeper sites are desktop games that happen to load on a phone. The two things that break are flagging — there is no right click — and board size.

Here, long-press flags. Press and hold a square for about a third of a second and it flags, with a short vibration where the device supports it. Sliding your finger more than a few pixels cancels it, so scrolling the board never drops a flag by accident, and the browser's own text-selection and context menus are suppressed on the board. If you prefer an explicit mode, the Flag mode button switches tapping to flagging.

For board size, Expert on a phone is 30 columns wide, and squeezing that into 360 pixels gives 11-pixel cells nobody can hit. Instead the board keeps a usable cell size and the stage scrolls, with zoom controls and a fit-to-screen button. You always know which square you are touching.

Keyboard controls and accessibility

The board is a real ARIA grid of real buttons, so it works with a keyboard and with a screen reader. Arrow keys move a cursor, Enter opens or chords, F flags, R starts a new game. Only the focused square is in the tab order — a roving tabindex — so Tab takes you past the board rather than through 480 separate stops.

Each square announces its position and state: "Row 3 column 5, 2 adjacent mines", "Row 3 column 5, flagged", "Row 3 column 5, hidden". Opening a large blank region does not announce hundreds of cells — that would be unusable. Instead you read the board by moving through it, and a status region announces only what matters: game start, and the win or loss result.

For anyone who cannot use a mouse, this is a complete way to play: move to a square, read what it says, decide, act. It is slower than sighted mouse play, as any grid game is, but it is genuinely playable rather than nominally accessible.

How to win at Minesweeper

You win when every square without a mine is open. Flags are irrelevant to the win condition — you can finish with zero flags placed, or with every flag in the wrong place, as long as the safe squares are all open.

Practically, winning consistently means: open a corner, expand the blank region, apply the two counting rules until they stop yielding, then use subset subtraction, then use the global mine count in the endgame, and only then guess — as early as possible and at the best available odds.

Your statistics

The game keeps games played, games won, win rate, best time, current streak and best streak — separately for each difficulty, because an Expert best time next to a Beginner one is meaningless. All of it is stored in your browser's local storage on this device only. Nothing is uploaded, there is no account, and no other device or person can see it. Clearing your browser data clears it, and there is a Clear statistics button with a confirmation if you want to reset deliberately.

Privacy

The entire game runs in your browser. Board generation, mine placement, your clicks, your times and your statistics never leave your device — there is no server component to send them to. You can verify it: open your browser's developer tools, switch to the Network tab, and play a full game. You will see the page's own files load once and nothing after that.

The only thing stored is a single local-storage entry holding your statistics and your zoom preference. Details are in our privacy policy.

If you like Minesweeper's flavour of pure deduction, Sudoku is the closest relative on the site — same "prove it before you place it" discipline, no hidden information at all. For something faster, 2048 and Snake are one-hand games that work well on a phone, and Tic Tac Toe is the quickest possible reset between Minesweeper attempts.

Frequently asked questions

What is Minesweeper?

A logic puzzle on a grid. Some squares hide mines. Each safe square you open shows how many of its eight neighbours are mined, and you use those numbers to work out where the rest of the mines are. You win by opening every square that is not a mine.

How do I play Minesweeper?

Click any square to start — the first click is always safe. Read the numbers to deduce where mines are, right-click (or long-press on a phone) to flag them, and keep opening squares you can prove are safe. Clear every non-mine square to win.

Is this Minesweeper game free?

Yes, completely. No account, no trial, no paid tier, no limit on games, and no ads inside the board.

Does it work on mobile?

Yes, and it is built for it rather than merely tolerating it. Tap to open, long-press to flag, tap a finished number to chord. Large boards keep a usable cell size and scroll, with zoom and fit-to-screen controls, instead of shrinking to unhittable specks.

Do I need to download anything?

No. It is a web page — nothing to install, no extension, no app store. You can add it to your home screen if you want it to open like an app.

What do the numbers mean?

A number counts the mines in the eight squares touching it, diagonals included. A 3 means exactly three of its neighbours are mined. A blank square touches no mines at all, which is why the board automatically opens the whole empty region around it.

How do I flag a mine?

Right-click on a computer, long-press for about a third of a second on a phone or tablet, or press F on the keyboard. There is also a Flag mode button that switches tapping to flagging. Flag again for a question mark, and once more to clear.

Can I play Minesweeper with a keyboard?

Yes, completely. Arrow keys move between squares, Enter or Space opens (or chords on a revealed number), F flags, R starts a new game, and 1/2/3 switch difficulty. Only the focused square is in the tab order, so Tab skips past the board rather than stepping through every cell.

What happens if I click a mine?

The game ends. The board reveals every mine, highlights the one you hit in red, and crosses out any flags you placed on safe squares — so you can see exactly where your reasoning went wrong. The timer stops and a Play again button appears immediately.

Is the first click safe?

Always. Mines are placed after your first click, never underneath it, and the eight squares around it are kept clear too wherever the board has room to spare them. That means your opening click almost always reveals a useful blank region rather than a lone number.

How do I win Minesweeper?

Open every square that does not contain a mine. You do not need to flag the mines — the game ends the moment the last safe square is revealed, however many flags you have placed.

What is chording?

Clicking a revealed number that already has the right count of flags around it, which opens all its remaining neighbours at once. It is the biggest speed gain in the game. On touch, simply tap a revealed number. If the flags do not match the number nothing happens, so a mistimed chord is harmless — but if your flags are wrong and the count happens to match, it will open a mine.

What is the best Minesweeper strategy?

Open a corner first — corners have three neighbours instead of eight, so their numbers are far easier to solve. Then alternate two rules: if a number equals its unopened neighbour count, those are all mines; if a number equals its flag count, the rest are safe and you can chord. When those stop yielding, use subset subtraction, then the global mine count. Guess only when nothing is forced, and guess early rather than late.

What is beginner mode?

A 9×9 board with 10 mines — about 12% density. It is the right place to learn the numbers and the 1-1 and 1-2-1 patterns. A good game takes 10 to 40 seconds.

What is expert mode?

A 16×30 board with 99 mines, the standard competitive size. Density jumps to about 21%, which is what really makes it hard — roughly one square in five is mined instead of one in eight. Finishing under 100 seconds is a strong result.

Can I create a custom board?

Yes. Open the Custom panel and set rows (5–40), columns (5–60) and mines. The tool validates your numbers as you type, shows the resulting mine density with a plain-language difficulty estimate, and refuses configurations that cannot work — such as more mines than there are squares to put them in.

Are my statistics saved?

Yes, in your browser's local storage on this device, separately for each difficulty. Games played, wins, win rate, best time, current streak and best streak. There is a Clear statistics button with a confirmation if you want to reset them.

Is my gameplay uploaded anywhere?

No. There is no server component to send it to. Board generation, your moves, your times and your statistics all happen and stay in your browser. Open developer tools, go to the Network tab and play a full game — you will see the page's own files load once and nothing afterwards.

Can I play offline?

Yes, after your first visit. A service worker caches the page, so it keeps working with no connection — on a plane, on the underground, or on a patchy mobile signal.

Does Minesweeper require an account?

No. There is no signup, no email, and no login. Open the page and play.

Is every board solvable without guessing?

No, and any site claiming otherwise without running a solver during generation is guessing too. Mines are placed randomly after your first click, so some boards contain positions where two squares are genuinely indistinguishable and you must pick one. Guaranteed no-guess generation requires solving each candidate board before serving it; it is on our roadmap and we would rather tell you than pretend.

Ready for another game?

Free, unlimited, no signup, and nothing leaves your browser. Scroll back up and click any square — the first one is always safe.

💣 Play Minesweeper