How to Solve Lights Out: Light Chasing Step by Step, 5×5 and 3×3 Charts, the All-Lit 5×5 in 15 Moves, and How to Spot an Unsolvable Board
Lights Out turns up in escape-room games, puzzle hunts and old handheld games. Every press also flips the cells above, below, left and right, so pressing at random just turns lights on and off forever without clearing the board. There is, however, a procedure that always gets you there without knowing the answer in advance: light chasing. On a 5×5 board, only 7 patterns can be left on the last row. This guide covers the light chasing procedure, charts for 5×5 and 3×3, a worked example on a real board, why three quarters of all 5×5 boards can't be solved and how to tell, and the minimum moves by board size.
The short answer: push the lights down, press the top row according to the last row, then push down again
The most reliable way to solve Lights Out by hand is light chasing. Working from the top row down, press the cell directly below each lit cell; the lights get pushed downward until only the last row has any left. Find that leftover pattern in a chart, press the listed cells in the top row, then push everything down again the same way and the board clears. There is almost nothing to think about, so anyone can solve it with the same steps.
| Question | Answer (2 colours, plus pattern) |
|---|---|
| How to solve by hand | Light chasing: push down → press the top row from the chart → push down again |
| 5×5 chart | 7 patterns can be left on the last row (any other pattern means unsolvable) |
| All-lit 5×5 | 15 moves minimum (4 different solutions) |
| All-lit 3×3 | The four corners and the centre: 5 moves (A1, C1, B2, A3, C3) |
| Solvable 5×5 boards | Only 1/4 of all light patterns (3/4 are unsolvable) |
| 3×3, 6×6, 7×7, 8×8, 10×10 | Every board is solvable, with exactly one solution |
In this guide, columns are lettered A, B, C… from the left and rows numbered 1, 2, 3… from the top, so a cell is written like “C3”. On a 5×5 board the top-left is A1, the centre is C3 and the bottom-right is E5. Every number here was checked with the same calculation the Lights Out Solver uses (a system of linear equations in the number of presses per cell, solved by Gaussian elimination).
Two properties to know first: press order doesn't matter, and pressing twice undoes a press
In standard Lights Out, pressing a cell toggles that cell and the four cells above, below, left and right of it (three on an edge, two in a corner). Before thinking about how to solve it, keep these points in mind:
- Press order makes no difference: pressing A1 then B2 gives the same board as pressing B2 then A1.
- Pressing the same cell twice undoes it: a cell pressed twice is the same as a cell never pressed.
- So a solution is just a set of cells to press: each cell is either pressed or not, which means a 5×5 board has only 2^25 = 33,554,432 possible ways to press.
- A mistake is never fatal: if you press a cell you didn't mean to, press it again to cancel it.
These properties are what make a row-by-row method like light chasing work. They also mean that when you follow an answer, you don't need to worry about order: just press each marked cell once.
Light chasing step by step (5×5)
- 1
Clear row 1 using row 2
Go along row 1 from the left, and for each lit cell press the cell directly below it in row 2. That turns off the cell above, so row 1 ends up completely dark. The other cells in row 1 are not affected.
- 2
Repeat down to the second-to-last row
Clear the lights in row 2 using row 3, row 3 using row 4, and row 4 using row 5. You never touch the rows above again, so the lights keep getting pushed down.
- 3
Look up the leftover pattern in the chart
Lights remain only in row 5. If everything is already off, you're done. Otherwise find the leftover pattern in the chart below to see which top-row cells to press. If the pattern isn't in the chart, the board can't be solved (suspect a copying or pressing mistake).
- 4
Press the listed cells in the top row
Press the row 1 cells given in the chart. More lights come on in rows 1 and 2, and that's exactly what should happen.
- 5
Push everything down once more
Repeat steps 1 and 2. When you finish pushing down to the last row, every light is off.
5×5 light chasing chart (last-row pattern → cells to press in the top row)
● is on and ○ is off. Read the last row (row 5) from the left, find the matching pattern, and press the cells in the right-hand column in row 1.
| Pattern left on the last row | Press in row 1 | Presses |
|---|---|---|
| ●●●○○ | B1 | 1 |
| ●●○●● | C1 | 1 |
| ●○●●○ | E1 | 1 |
| ●○○○● | A1, B1 | 2 |
| ○●●○● | A1 | 1 |
| ○●○●○ | A1, D1 | 2 |
| ○○●●● | D1 | 1 |
Row 5 has 2^5 = 32 possible patterns, but only 8 of them, including all-off, can be left after light chasing. If you are left with any of the other 24, the board can't be solved however you press. That is exactly why only 1/4 of 5×5 boards (8 out of 32) are solvable.
Each mirrored pattern is in the chart too. For example, ○○●●●, the mirror of ●●●○○, is D1, and ○●●○●, the mirror of ●○●●○, is A1. If you mix up which side you counted from, the cells to press flip left to right as well, so be careful.
Worked example: a 5×5 board with only the centre cell lit
Let's solve a board where only C3 (the centre) is lit, using light chasing. It's a single light, but every press drags its neighbours along, so it's surprisingly hard to clear by trial and error.
- 1
First push-down: C4, B5, C5, D5
Rows 1 and 2 are dark, so start from row 3. Pressing C4 to clear C3 turns on B4, C4 and D4 in row 4 and C5 in row 5. Pressing B5, C5 and D5 to clear those three in row 4 leaves only A5 and E5 lit in row 5.
- 2
Find ●○○○● in the chart
The last row reads ●○○○●, so the chart says to press A1 and B1 in row 1.
- 3
Press A1 and B1
C1 lights up in row 1, and A2 and B2 in row 2 (A5 and E5 in row 5 are still on).
- 4
Second push-down: C2, A3, C3, D3, A4, C4, E4, D5, E5
Press C2 to clear C1, then clear what's left in row 2 using row 3, row 3 using row 4, and so on from the top. After 9 presses everything down to the last row is off.
That's 4 + 2 + 9 = 15 presses. But C4 and D5 were each pressed once in each push-down, so they cancel out, and the cells actually pressed are the 11 cells A1, B1, C2, A3, C3, D3, A4, E4, B5, C5 and E5. The minimum for this board is 11 moves, so in this case light chasing happened to land on one of the minimum solutions.
The same procedure works for the all-lit 5×5. The first push-down takes 14 presses and leaves ●○○○● on the last row; press A1 and B1, then the second push-down takes 9 presses and clears the board. That's 25 presses in total, but after removing the cells pressed twice you have 15 cells, the same as the 15-move minimum.
Solving 3×3: every board is solvable, with exactly one answer
3×3 is the smallest common version of Lights Out. Every one of the 2^9 = 512 light patterns can be solved, and the solution (ignoring cells pressed twice) is always unique. Here are the answers for boards that come up often:
| Board | Cells to press | Moves |
|---|---|---|
| All lit | A1, C1, B2, A3, C3 (the four corners and the centre) | 5 |
| Only the centre (B2) lit | B1, A2, B2, C2, B3 (the centre and its four neighbours) | 5 |
Light chasing works here too. Clear row 1 using row 2 and row 2 using row 3, press the top row according to what's left on row 3, then push down again.
| Pattern left on row 3 | Press in row 1 |
|---|---|
| ●●● | B1 |
| ●●○ | C1 |
| ●○● | A1, C1 |
| ●○○ | A1, B1 |
| ○●● | A1 |
| ○●○ | A1, B1, C1 |
| ○○● | B1, C1 |
On 3×3, all 7 possible last-row patterns (other than all-off) are in the chart, so “not in the chart, so unsolvable” never happens.
How to spot an unsolvable board: on 5×5, 3 boards out of 4 can't be solved
On a 5×5 board, only 8,388,608 of the 33,554,432 light patterns (1/4) can be solved. Puzzles in games are normally built from solvable boards, so if a board turns out to be unsolvable, first suspect a copying mistake. There are two ways to check by hand:
- Check with light chasing: after pushing everything down, if the last row matches neither one of the 7 chart patterns nor all-off, the board can't be solved.
- Check by counting lights in two patterns: count the lit cells inside “pattern 1” and “pattern 2” in the table below. If both counts are even the board is solvable; if either is odd it isn't. You can tell just by looking, without pressing anything.
| Cells to count | Number of cells | |
|---|---|---|
| Pattern 1 | Columns A, C and E in rows 1, 2, 4 and 5 (skip row 3 and columns B and D) | 12 |
| Pattern 2 | Columns A, B, D and E in rows 1, 3 and 5 (skip rows 2 and 4 and column C) | 12 |
For example, a board with only the corner A1 lit can't be solved: A1 belongs to both pattern 1 and pattern 2, so both counts are 1 (odd). Of the 25 single-light 5×5 boards, only those with B2, D2, C3, B4 or D4 lit are solvable; the other 20 positions all are not.
4×4 is even more extreme: only 1/16 of boards can be solved. On 4×4, whatever you press in the top row, pushing down returns the last row to all-off, so no chart can be made. The check is simple instead: push everything down with light chasing, and if the last row is completely off the board is solved; if even one light remains, it can't be solved.
By board size: share of solvable boards and minimum moves for an all-lit board
For square boards (2 colours, plus pattern), here is the share of solvable boards and the minimum number of moves to clear an all-lit board. The “degrees of freedom” number measures how many boards are unsolvable: the solvable share is 1/2^(degrees of freedom), and each solvable board has 2^(degrees of freedom) solutions.
| Size | Degrees of freedom | Solvable share | Solutions per solvable board | Minimum moves from all lit |
|---|---|---|---|---|
| 3×3 | 0 | All | 1 | 5 |
| 4×4 | 4 | 1/16 | 16 | 4 |
| 5×5 | 2 | 1/4 | 4 | 15 |
| 6×6 | 0 | All | 1 | 28 |
| 7×7 | 0 | All | 1 | 33 |
| 8×8 | 0 | All | 1 | 40 |
| 9×9 | 8 | 1/256 | 256 | 25 |
| 10×10 | 0 | All | 1 | 44 |
The all-lit 4×4 clears in just 4 moves, such as C1, A2, D3 and B4: one press in each row and each column. The cells flipped by those four presses cover the whole board without overlapping. 9×9 also has many degrees of freedom and therefore many solutions to choose from, so even with 81 cells the all-lit board clears in 25 moves.
On 6×6 and larger boards, the light chasing chart gets longer too (63 rows for 6×6, 127 for 7×7). Memorising that isn't realistic, so for large boards it's quicker to copy the board into the tool and read the answer.
Why the 5×5 has 4 solutions: press sets that change nothing
On 5×5 there are three sets of presses that, applied to an all-off board, leave it all off: nothing changes. The cells flipped by those presses overlap an even number of times each, so they cancel out exactly.
| Press set | Cells to press | Presses |
|---|---|---|
| Quiet set 1 | The cells of pattern 1 (columns A, C, E in rows 1, 2, 4, 5) | 12 |
| Quiet set 2 | The cells of pattern 2 (columns A, B, D, E in rows 1, 3, 5) | 12 |
| Quiet set 3 | Sets 1 and 2 combined (cells pressed twice dropped) | 16 |
Adding one of these sets to a solution doesn't change the result, so every solvable 5×5 board has the solution you found plus that solution combined with quiet sets 1, 2 and 3: 4 solutions in all. The tool compares these 4 and shows the one with the fewest presses. The fact that counting lights in pattern 1 and pattern 2 tells you whether a board is solvable is also tied to these two sets.
Lights Out with different rules: 3 colours, 8 neighbours, and versions where the pressed cell doesn't change
- 3 colours (each press advances the colour): the pressed cell and its neighbours cycle Off → Cyan → Pink → Off. Pressing a cell 3 times returns it to where it was, so a solution says how many times (0 to 2) to press each cell, and the light chasing chart above can't be used as is. The all-cyan 5×5 takes at least 18 moves. 3-colour 5×5 has 3 degrees of freedom, so 1/27 of boards are solvable.
- All 8 neighbours (with diagonals): pressing a cell flips all 8 cells around it. On 5×5 this gives 9 degrees of freedom, so only 1/512 of boards can be solved. Every 3×3, 4×4, 6×6 and 7×7 board is solvable.
- Pressed cell doesn't change: in some games only the cells around the pressed cell flip. The answers are completely different then, so neither the plus-pattern chart nor the tool's answers will fit.
Lights Out puzzles in escape-room games can look the same but use different rules, so it's a good idea to press a single cell first and see which cells flip before you start solving.
Solving with the tool: copy the board to see which cells to press and the minimum moves
- 1
Choose the board type
In the Lights Out Solver, choose the size (5×5 and so on), which cells change when pressed (“Plus (up, down, left, right)” or “All 8 neighbours (with diagonals)”) and the number of colours.
- 2
Tap the lit cells in “Enter the board (copy the puzzle)”
Tap until the board matches the puzzle. The answer is recalculated after every tap, so once you've copied it, the cells to press get red circles and their positions (like A1 or C3) and the minimum number of moves are shown.
- 3
Press the circled cells
Press each red-circled cell once in the real game and the board clears. Order doesn't matter. If it says “Unsolvable”, check the board for copying mistakes.
- 4
Practise solving by hand
Switch to “Press to play” and untick “Show the answer (cells to press)”. Pressing “Push down (light chasing)” gathers the lights on the last row, so you can then check the top row in the “Light chasing chart (solving by hand)”. If you get stuck, “Hint (press one move)” makes one move for you, and “Undo” takes a move back.
“Random puzzle” gives you a board that's always solvable, with the answer hidden, which makes it handy for practising light chasing with the chart beside you. Once you're comfortable, try recalling the last-row patterns and their top-row presses without looking at the chart.
FAQ
- How many moves does the all-lit 5×5 Lights Out take?
- 15 moves minimum. There are 4 solutions; one of them is B1, C1, E1, B2, C2, D2, C3, D3, E3, A4, B4, D4, E4, A5, B5. Solving it with light chasing takes 25 presses in total, but after removing the cells pressed twice you again get 15 cells.
- After light chasing, the pattern on my last row isn't in the chart.
- Then the board can't be solved. On 5×5 only 8 patterns, including all-off, can be left on the last row. If it's a puzzle from a game, there's probably a copying or pressing mistake, so check again from the starting board. Also check how a press changes the cells (plus or with diagonals, and whether the pressed cell itself flips).
- Do I have to start over if I press in the wrong order?
- No. In Lights Out the order of presses doesn't affect the result, so pressing every marked cell once gives the same board in any order. If you press a cell by mistake, pressing it again cancels it.
- What if only the centre is lit on a 3×3 Lights Out?
- Press the centre and its four neighbours (B1, A2, B2, C2, B3). Every 3×3 board is solvable and has exactly one solution. For the all-lit board, press the four corners and the centre (A1, C1, B2, A3, C3).
- Can a 5×5 board with only one light on be solved?
- Only if the single light is at B2, D2, C3, B4 or D4. A board with just one corner or edge cell lit can't be solved. With only the centre C3 lit, the minimum is 11 moves.
- Why is there no chart for 4×4 Lights Out?
- Because on 4×4, whatever you press in the top row, pushing down returns the last row to all-off. That's why the check is simple: push down with light chasing, and if everything is off you're done; if even one light is left on the last row, the board can't be solved. Only 1/16 of 4×4 boards are solvable.
Tools in this article
Related articles
Full Moon Calendar 2027: Dates, Times and Names | The Supermoon Is January 22, the Strawberry Moon June 18–19, and There Is No Blue Moon
“When is the next full moon?” “What date is the Strawberry Moon this year?” “When can I see the supermoon?” Full moon dates shift every year, and websites name and count supermoons a little differently, so the more you search the more confusing it gets. This article lists all 12 full moons of 2027 in Universal Time (UTC) and US Eastern time, worked out with the same formulas as the Moon Phase Calendar & Birthday Moon tool (Meeus, Astronomical Algorithms, accurate to within a minute), together with their names from the Wolf Moon to the Cold Moon and the distance to the moon. It also explains, with numbers, which full moon is the biggest and smallest of 2027, why 2027 has neither a Blue Moon nor a Corn Moon, which night to look when the exact full moon falls in daytime, and how the date changes between time zones.
Read article →Born in January or Early February? When Your Yakudoshi Falls, Counting From Risshun, and How to Find Your Nine Star Ki Birth Star and Happo-fusagari Years | In 2027 It Is 9 Purple Fire
“I heard my unlucky years shift by one because I was born in January.” “I was born on Setsubun, so which birth star am I?” “Someone told me my happo-fusagari year and my yakudoshi fall in the same year.” Japanese unlucky years (yakudoshi) and Nine Star Ki are hardest to pin down for people born between January 1 and Setsubun. This article explains how your yakudoshi changes depending on whether a shrine starts the year on New Year’s Day or at Risshun, why Risshun moves between February 3 and 5, how to work out your birth star, which birth years are in happo-fusagari from 2026 to 2029, and why women’s honyaku at 19 and 37 always coincides with happo-fusagari. Every figure was checked with the Yakudoshi Calculator.
Read article →How to Calculate Building Coverage Ratio and Floor Area Ratio in Japan | How Big a House Fits on a 30-Tsubo Plot? Worked Examples for Front Road Width, Setback and Corner Lot Relief
A Japanese land listing may say “coverage ratio 60%, floor area ratio 200%”, but that does not tell you at a glance how big a house you can build. On top of that, the floor area ratio drops when the front road is narrow, and on roads under 4 m wide a setback takes land off the site itself. This article walks through the formulas for building coverage ratio (kenpei-ritsu) and floor area ratio (yoseki-ritsu), a chart of what fits on a 30-tsubo plot, worked examples for the front road, setbacks, corner lot and fire zone relief and the specified road relief, and how much floor area two- and three-storey houses can actually reach, all with figures from the Building Coverage & Floor Area Ratio Calculator.
Read article →