This is a copy. Use Cards & Puzzles at cardsandpuzzles.com.

Skip to content

Custom Minesweeper

Pick width, height and mines. Every board clears without a guess.

Board
–
Time
0:00
Mines
40

Press and hold to flag.Right-click or press and hold to flag.

Arrow keys move between squares. Enter or Space opens a square, or opens the rest around a number whose mines are flagged. F places or removes a flag.

Custom board

Every board is checked first, so it can be cleared without a guess.

Learn the game

Every board clears without a guess.

Rules

Custom Minesweeper keeps the rules of the standard game on a grid you choose: open every square that has no mine, and don't open a mine. Each number tells how many of its eight neighbors hold one.

Choosing a size

Set the width (5 to 30 columns), the height (5 to 24 rows) and the number of mines, then press Use. On a wider screen the Sizes menu beside it has three sizes to try. The game keeps your choice for the next visit. Up to a quarter of the squares can be mines.

For a feel of the standard levels: beginner is 9×9 with 10 mines (12% of the squares), intermediate 16×16 with 40 (16%), expert 30×16 with 99 (21%). Above about 20% boards get much harder, because each number touches more mines.

No guessing, at the size you pick

Custom boards don't come from a list. When you pick a size or press New, the page lays boards of your size one after another and lets our solver play each from its start square with sure steps only; the first one it clears is yours. That takes a few milliseconds for most sizes and up to about a second at a quarter mines.

If no board of that size can be found in a few thousand tries, the page says so: lower the mine count a little and try again.

How to play here

Click or tap to open, right-click or press and hold to flag, and tap a fully flagged number to open the rest around it. Flag mode below the board makes every tap a flag on a small screen. Your first click is always safe, Hint shows the next sure square with its reason, and your game is saved as you play.

Example: opening around a fully flagged number

  1. A square shows 3 and you have put flags on three of its neighbors. The other five are open or covered.
  2. The number says its three mines are accounted for, so every other covered neighbor is safe.
  3. Tap the 3 and the game opens all of them at once, which is chording.

Why: Check the three flags first: if one is on a safe square, chording opens a mine and ends the game.

How we check

The rules follow the sources below, read on 15 October 2026. Each rule the game plays has its own automated test.

Questions

Will I ever have to guess?

No. Before a board goes into the game, our solver plays it from its start square using only sure steps, the kind a person can follow, and keeps it only if it clears every safe square. Boards it cannot clear that way are left out.

How do I make a custom Minesweeper board?

Set the width (5 to 30 columns), the height (5 to 24 rows) and the number of mines, then press Use. The page then lays boards of that size until our solver clears one without a guess, and that board is yours.

What is the biggest custom board?

30 columns by 24 rows, 720 squares, with up to 180 mines: a quarter of the squares is the most a custom board allows.

Is there a daily custom board?

No. The daily boards are on the beginner, intermediate and expert pages, where everyone plays the same size.

Do custom games count in my stats?

Yes, in one record for all custom sizes: games, wins and streaks. Fastest times mix sizes, so compare them with care.

Free to play, accounts, daily games, levels and two players: all common questions.

If you like Minesweeper