8x8 Queens Puzzle #21

Difficulty: medium. Place 8 queens on this 8x8 board so that no two share a row, column or color region and none touch — including diagonally. This puzzle has exactly one solution, and it has been verified solvable by deduction alone: the complete 11-step reasoning is written out below.

Previous puzzle · All 8x8 puzzles · Next puzzle

Step-by-step solution for puzzle #21

What follows is a complete solve of puzzle #21, worked the way a person works it rather than the way a computer does. It runs to 11 deductions — 8 queen placements and 3 elimination steps that narrow the board between them. Each step names the rule that forces it, so nothing below is a guess, and the hardest idea required is the region shadow.

Techniques this board needs: last square in a region, region shadow, region confined to one line.

Show the full walkthrough (5 steps) — contains the solution
  1. Step 1. The board opens by cascading. Each of these placements is forced the moment the one before it is marked, so the whole run is really a single sweep repeated: red has one square left, so its queen takes row 6, column 1; slate has one square left, so its queen takes row 5, column 3; khaki has one square left, so its queen takes row 8, column 2; indigo has one square left, so its queen takes row 1, column 4. After each one, clear that row, that column, the rest of the colour and the ring of neighbours before looking for the next. The last of them seats the queen on row 1, column 4.

  2. Step 2. Blue is down to 4 candidates in rows 3 and 4, columns 6–8, and they overlap enough to cover 1 square elsewhere. Cross those out without deciding anything about blue itself.

  3. Step 3. All of the mint region's remaining squares (2 open squares) lie in column 5. Its queen therefore has to be somewhere in that column, which means no other colour may use it: 1 square come off.

    Puzzle #21 after step 3: 4 of 8 queens placed
    The board after step 3 — 4 of 8 queens placed.
  4. Step 4. Pale yellow cannot leave row 7 — every one of its open squares (3 open squares) sits there. That row belongs to pale yellow, so every square on it owned by another colour is dead: 1 square in all.

  5. Step 5. From here the board cascades. Keep alternating the region sweep and the line sweep and 4 queens fall out in order without any new idea being needed: mint has one square left, so its queen takes row 4, column 5; blue has one square left, so its queen takes row 3, column 8; amber has one square left, so its queen takes row 2, column 6; pale yellow has one square left, so its queen takes row 7, column 7. After each one, clear that row, that column, the rest of the colour and the ring of neighbours before looking for the next. The last of them seats the queen on row 7, column 7.

    Puzzle #21 after step 5: 8 of 8 queens placed
    The board after step 5 — 8 of 8 queens placed.

That completes the board: 8 queens seated, one in every row, one in every column and one in every colour, with no two of them touching. Notice that nothing in the sequence above required a guess — each placement followed from an elimination already on the grid, which is what “single solution, solvable by logic” actually means in practice.

About 8x8 Queens puzzle #21

Puzzle #21 is one of the medium-rated boards in the 8x8 set. Eight colors divide its 64 squares, and you win by placing eight queens so that each row, each column and each color holds exactly one, with no two queens adjacent in any direction.

There is exactly one way to finish #21, and it has been verified. More importantly, you can reach it without ever gambling: at every stage some square is provably right or provably wrong. Boards differ only in how deep you must dig before that proof appears, and the geometry of these eight regions is what sets the depth.

How the colors divide this board

From smallest to largest, the regions on puzzle #21 are: red (1 square), slate (6 squares), indigo (7 squares), mint (7 squares), khaki (7 squares), blue (9 squares), pale yellow (10 squares), amber (17 squares). An even split would hand every color 8 squares, so the red region is running 7 squares under that average while the amber region is the roomiest area on the grid with 17 squares.

Every color takes one queen and one only, whatever its size — which is why the 16 square difference between red and amber is worth noting before you touch the grid. The cramped colors resolve first and hand you information; the roomy ones absorb whatever is left over at the end.

Square count is only half the story — how a color is arranged counts too. Red is the tidiest shape on #21, packing 100% of its 1×1 bounding box, whereas slate straggles across its 4×3 box at just 50%. Tidy blocks are easy to work around; scattered ones touch more lines and resist resolution.

Region by region

Each region's exact extent on this grid is listed below, starting with the most constrained. Knowing which lines a color can and cannot reach is most of the work on a medium board.

Red: 1 square across rows 6–6, columns 1–1. It never leaves row 6, so its queen is locked to that row.

Slate covers 6 squares, spanning 4 rows and 3 columns (rows 3–6, columns 1–3).

Indigo occupies 7 squares within rows 1–2, columns 1–4.

Mint: 7 squares across rows 4–7, columns 4–5.

Khaki covers 7 squares, spanning 3 rows and 3 columns (rows 6–8, columns 1–3).

Blue occupies 9 squares within rows 3–6, columns 6–8.

Pale yellow: 10 squares across rows 6–8, columns 4–8.

Amber covers 17 squares, spanning 4 rows and 7 columns (rows 1–4, columns 2–8).

Where to start on this board

Open on the tightest color. Here that is red, confined to 1 square between rows 6 and 6 and columns 1 and 1. Its queen has nowhere else to go, which means those 1 row and 1 column carry more constraint than anywhere else on #21.

Because red never leaves row 6, its queen must be in that row — and that instantly settles row 6 for everyone else. Sweep along it and X out every square that is not red. Then look at which colors just lost ground: on a grid this size that one observation usually forces a second region within a move or two.

Work outward to the other flat regions next. Indigo is no more than two rows tall, so its queen is confined to a narrow band. When two flat regions overlap the same pair of rows, those rows are spoken for and every other color is locked out of both — the single most productive pattern in the game, and it is live on this board.

The tightest lines on puzzle #21

A quick way to find the next move is to count how many different colors touch each line. On this board, rows 1, 2 and 8 are the narrowest, touched by only 2 colors. Columns 5, 6, 7 and 8 are the tightest columns, with 3 colors.

Those lines matter because a row touched by few colors gives its queen away sooner. If a row meets only 2 colors, then one of those regions has to own it, and every other region is competing for the remaining 7 rows. By contrast row 6 meets 6 colors — the most crowded line here, and the one least likely to resolve early. Spend your attention accordingly.

Working through the middle game

After the first few queens the puzzle becomes bookkeeping. A placed queen wipes its row, its column and every square it touches — as many as eight neighbours — so the space collapses quickly. Record those eliminations on the board instead of carrying them in your head, and the next forced move tends to announce itself.

The whole middle game reduces to two sweeps. Sweep the eight colors looking for one with a single square left; sweep the eight rows and eight columns looking for the same. Each sweep feeds the next, and switching between them deliberately — rather than drifting — is what separates a fast 8x8 solve from a stalled one.

A placement without a reason is a guess. Because this board has exactly one solution, a guess that happens to be wrong will not announce itself for several moves — and unwinding it is slower than simply finishing the eliminations first.

Why puzzle #21 is rated medium

The medium label comes out of four measurable things about #21: two of its regions are locked to one row or column, its smallest color spans 1 square, its least crowded row meets 2 colors, and its largest and smallest regions differ by 16. Boards that score tight on those measures give up their first queen fast.

Nothing about the rating involves computation or chance. Each grid has a single solution reachable by pure logic; the rating simply measures how far ahead you have to reason. Easy boards resolve a queen every step or two, while hard ones can ask you to carry three unfinished lines of thought before any of them pays off.

Stuck on #21 despite the medium rating? The odds strongly favour a bookkeeping error over a hard chain of logic. Re-check each placed queen for its complete set of eliminations, paying particular attention to the four diagonal squares — those are the ones that get overlooked, and one of them is usually sitting on the answer.

Techniques that work well at 8x8

At 8x8 the whole grid stays within a single glance, which makes systematic scanning practical. Read the rows in order and count the colors in each — a row touched by two colors is far more constrained than one touched by five, and that is usually where the next forced move hides. The board is small enough that re-scanning from the top after each placement costs almost nothing.

There is one technique that repays study at every grid size. Two regions restricted to the same two rows must occupy one row apiece, which excludes all other regions from those rows entirely; the identical logic applies to columns and to larger matched sets. It converts slow boards into fast ones, and the likeliest place to find it on #21 is row 1.

As a sanity check rather than a spoiler: the finished solution to #21 puts 4 queens on the outer border and 4 queens in the interior, with none in a corner. If your part-finished grid has queens bunched into one area while whole stretches sit empty, something probably went wrong a few moves back.

How to play Queens

  1. The board is an N×N grid divided into N colored regions.
  2. Place exactly one queen (♛) in each row, each column, and each colored region.
  3. No two queens may touch each other — not horizontally, vertically, or diagonally.
  4. Tap once to mark a square with an X (where a queen can't go), tap again to place a queen, and once more to clear it.
  5. There is always exactly one valid solution. Use logic, never guessing, to find it.

Full rules · Strategy library · Puzzle statistics

Questions about this puzzle

How hard is 8x8 Queens puzzle #21?

Puzzle #21 is rated medium. Its smallest color region holds 1 square, its tightest row is touched by 2 colors, and two of its regions are confined to a single row or column, which gives you a forced move early.

Does 8x8 puzzle #21 have only one solution?

Yes. Every puzzle in the 8x8 collection, including #21, has been verified to have exactly one valid arrangement of eight queens, and it can always be reached by logic alone — no guessing or backtracking needed.

Where should I place my first queen on puzzle #21?

Start with the red region — the most constrained color on this board, with 1 square spanning rows 6–6 and columns 1–1. Narrowing the smallest region first removes the most squares elsewhere on the grid.