9x9 Queens Puzzle #40
Difficulty: medium. Place 9 queens on this 9x9 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 13-step reasoning is written out below.
Previous puzzle · All 9x9 puzzles · Next puzzle
Step-by-step solution for puzzle #40
What follows is a complete solve of puzzle #40, worked the way a person works it rather than the way a computer does. It runs to 13 deductions — 9 queen placements and 4 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 confined to one line, region shadow.
Show the full walkthrough (7 steps) — contains the solution
Step 1. Only row 1, column 4 is still open in indigo, and since each colour must take a queen, that settles it. That clears row 1, column 4, the rest of the indigo region and every square adjacent to it — diagonals included.
Step 2. The orange region is down to one open square, at row 9, column 9. Every colour holds exactly one queen, so that square is forced. Cross out the whole of row 9 and column 9, the remaining orange squares, and the ring of neighbours around row 9, column 9.
Step 3. Amber cannot leave column 2 — every one of its open squares (3 open squares) sits there. That column belongs to amber, so every square in it owned by another colour is dead: 6 squares in all.
Step 4. Wherever mint ends up among its 3 squares, the same squares fall within reach of it — 3 squares in total, impossible regardless of how the colour resolves.
The board after step 4 — 2 of 9 queens placed. Step 5. Slate cannot leave column 1 — every one of its open squares (4 open squares) sits there. That column belongs to slate, so every square in it owned by another colour is dead: 2 squares in all.
Step 6. All of the khaki region's remaining squares (3 open squares) lie in column 3. Its queen therefore has to be somewhere in that column, which means no other colour may use it: 2 squares come off.
Step 7. From here the board cascades. Keep alternating the region sweep and the line sweep and 7 queens fall out in order without any new idea being needed: blue has one square left, so its queen takes row 3, column 5; mint has one square left, so its queen takes row 4, column 7; amber has one square left, so its queen takes row 2, column 2; red has one square left, so its queen takes row 6, column 6; slate has one square left, so its queen takes row 5, column 1; pale yellow has one square left, so its queen takes row 7, column 8; khaki has one square left, so its queen takes row 8, column 3. 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 8, column 3.
The board after step 7 — 9 of 9 queens placed.
That completes the board: 9 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 9x9 Queens puzzle #40
This is puzzle number 40 in the 9x9 collection, rated medium. The grid holds 81 squares split between nine colored regions, and a finished board carries nine queens — one in every row, one in every column, one in every color, and never two of them touching, diagonals included.
Puzzle #40 has been checked to admit exactly one arrangement of queens, and every step toward it is deducible from what is already on the board. There is no point at which you are expected to pick a square and hope. The only thing that differs between boards is how quickly the first certainty surfaces, and that depends entirely on the shapes the colors happen to take here.
How the colors divide this board
From smallest to largest, the regions on puzzle #40 are: indigo (1 square), orange (1 square), mint (3 squares), amber (5 squares), slate (6 squares), blue (10 squares), pale yellow (15 squares), khaki (15 squares), red (25 squares). An even split would hand every color 9 squares, so the indigo region is running 8 squares under that average while the red region is the roomiest area on the grid with 25 squares.
Every color takes one queen and one only, whatever its size — which is why the 24 square difference between indigo and red 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.
Look at arrangement as well as area. Indigo is the densest region on this grid at 100% of a 1×1 frame; slate is the loosest, occupying only 60% of its 5×2 frame. The loose one reaches into more rows and columns, which is exactly why it usually settles last.
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.
Indigo covers 1 square, spanning 1 row and 1 column (rows 1–1, columns 4–4). It never leaves row 1, so its queen is locked to that row.
Orange occupies 1 square within rows 9–9, columns 9–9. It never leaves row 9, so its queen is locked to that row.
Mint: 3 squares across rows 3–4, columns 7–8.
Amber covers 5 squares, spanning 4 rows and 2 columns (rows 1–4, columns 1–2).
Slate occupies 6 squares within rows 2–6, columns 1–2.
Blue: 10 squares across rows 1–5, columns 3–5.
Pale yellow covers 15 squares, spanning 4 rows and 5 columns (rows 6–9, columns 5–9).
Khaki occupies 15 squares within rows 6–9, columns 1–5.
Red: 25 squares across rows 1–6, columns 4–9.
Where to start on this board
Begin where the choices are fewest. On this board that means indigo, which owns just 1 square inside a 1×1 window running from row 1 to row 1 and column 4 to column 4. A queen is guaranteed somewhere in there, so every line that window crosses is under pressure from the very first move.
Because indigo never leaves row 1, its queen must be in that row — and that instantly settles row 1 for everyone else. Sweep along it and X out every square that is not indigo. 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. Orange and mint are no more than two rows tall, so their queens are 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 #40
A quick way to find the next move is to count how many different colors touch each line. On this board, rows 7 and 8 are the narrowest, touched by only 2 colors. Columns 3 and 6 are the tightest columns, with 2 colors.
The fewer colors a line touches, the sooner it surrenders its queen. A row meeting just 2 colors has to be claimed by one of them, which pushes every remaining region into the other 8 rows. Row 4, meeting 5 colors, is the opposite case — the busiest line on #40 and the last one you should expect to crack.
Working through the middle game
Once two or three queens are down, the board changes character. Each queen removes an entire row, an entire column and the ring of up to eight squares around it, so the grid shrinks faster than most people expect. The habit that pays here is marking rather than remembering: after every placement, cross out the full row, the full column and all eight neighbours before hunting for the next move.
With nine queens to seat and nine regions competing over 81 squares, keep two questions in rotation. Does any region now have exactly one open square left? That queen is forced. Does any row or column now have exactly one open square left? That queen is forced too. Alternating between the region view and the row-and-column view is what keeps a solve moving, and it is the clearest difference between players who finish 9x9 boards quickly and players who stall halfway.
Say the reason out loud: "this region has one square left", "this column has one square left". If no such sentence is available, the eliminating is not finished. One more pass of X marks is almost always quicker than committing to a placement you cannot defend.
Why puzzle #40 is rated medium
The medium label comes out of four measurable things about #40: four 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 24. Boards that score tight on those measures give up their first queen fast.
Difficulty in Queens is never arithmetic and never luck. Every board has one solution and none require guessing. What varies is the length of the chain you must follow before the next queen becomes certain — one or two steps on an easy board, five or six on a hard one, sometimes with several partial eliminations held in play at once.
When a board plays tougher than its label, look for a missed mark before you look for a clever deduction. Walk back over every queen you have placed and confirm the full row, the full column and all eight surrounding squares are crossed out. The diagonal neighbours are the ones players skip, and a single skipped diagonal will hide the next forced move indefinitely.
Techniques that work well at 9x9
At 9x9 a full re-scan after every move starts to get slow, so work locally instead. Once a queen goes down, check only the regions, rows and columns that placement actually touched — that is where new information appeared. Fall back to a complete sweep only when the local pass turns up nothing, and your solve times will drop noticeably.
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 #40 is row 7.
Here is a shape check that gives nothing away: when #40 is solved, 3 queens sit on the outer edge of the grid and 6 sit inside it, with 1 queen in a corner. A work-in-progress board that clusters its queens in one quadrant while leaving others bare is usually carrying a mistake.
How to play Queens
- The board is an N×N grid divided into N colored regions.
- Place exactly one queen (♛) in each row, each column, and each colored region.
- No two queens may touch each other — not horizontally, vertically, or diagonally.
- 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.
- 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 9x9 Queens puzzle #40?
Puzzle #40 is rated medium. Its smallest color region holds 1 square, its tightest row is touched by 2 colors, and four of its regions are confined to a single row or column, which gives you a forced move early.
Does 9x9 puzzle #40 have only one solution?
Yes. Every puzzle in the 9x9 collection, including #40, has been verified to have exactly one valid arrangement of nine queens, and it can always be reached by logic alone — no guessing or backtracking needed.
Where should I place my first queen on puzzle #40?
Start with the indigo region — the most constrained color on this board, with 1 square spanning rows 1–1 and columns 4–4. Narrowing the smallest region first removes the most squares elsewhere on the grid.