Lights Out looks like a memory puzzle the first time you play it, and that's exactly why most people solve it badly. Pressing a button turns off the light you clicked but turns on two or three lights around it, so chasing individual lights one at a time usually leaves you further from a solved board than when you started. The puzzle isn't about memory or luck โ it's a fixed mathematical system with a method that works every time once you understand what changes the board.
This guide covers the real rules, the property that makes the puzzle solvable by method instead of guesswork, and the row-by-row technique โ often called "chasing the lights" โ that clears any solvable board on Lights Out. If you like puzzles where careful deduction beats trial and error, the site also has Minesweeper, a different grid puzzle built around logical elimination instead of parity.
The Rules of Lights Out
Lights Out is played on a grid of buttons, each one either lit or dark. Pressing any button toggles that button and the buttons directly above, below, left, and right of it โ diagonal neighbors are never affected. A button on an edge or in a corner has fewer neighbors, so pressing it toggles fewer lights. The goal is simple: starting from a board with some lights on, press buttons until every light is off.
There's no timer, no penalty for extra thinking, and no hidden information โ the entire board is visible from the first click. The difficulty comes from the fact that every press changes multiple lights at once, so an obvious-looking move to turn off one light almost always turns others back on nearby on Lights Out.
The Key Property: Only Parity Matters
The single most important fact about Lights Out is this: pressing the same button twice has no net effect, because the second press just toggles everything the first press toggled right back. This means a button only ever needs to be pressed zero times or one time in any solution โ pressing it a third or fourth time is always wasted motion that undoes and redoes the same change.
Because of this, a solution to any solvable board isn't really a sequence of moves at all โ it's a set of buttons, each either included or not. What matters for the final board is which buttons end up pressed an odd number of times (equivalent to once) versus an even number of times (equivalent to not at all). This is parity: only the odd-or-even count for each button matters, not how many times you pressed it beyond that, and not which button you happened to press first.
Why the Order of Presses Doesn't Matter
Every button press is a toggle, and toggles are simple additions in a system where the only two values are on and off. Toggling light A and then light B leaves the board in exactly the same state as toggling light B and then light A โ the two operations don't interfere with each other. This means the final board after any set of button presses depends only on which buttons were pressed, never on the order.
This single fact is what makes a systematic method possible. If order mattered, solving Lights Out would require searching an enormous number of possible sequences. Because it doesn't, the puzzle reduces to a much smaller question: which set of buttons, pressed in any order, turns every light off?
The Chase the Lights Method
The standard technique for solving Lights Out works one row at a time, from the top of the board to the bottom, and it relies on one simple fact: the only button that affects a light in the row above it is the button directly beneath that light. No other button in the lower row reaches up into the row above.
Starting from the top row exactly as it's given, work downward. For every light still on in the row you just finished, press the button directly below it in the next row down. This clears that row completely, because the only presses capable of reaching those lights are the ones directly beneath them, and you've just made exactly those presses. Repeat for each row in turn: look at the row above, press whatever is needed to clear it, and move down.
Working Through the Method to the Last Row
By the time you finish this row-by-row pass, every row except the last one is completely dark โ each was cleared using presses in the row below it. The only row left with lights potentially still on is the bottom row, since there's no row beneath it to clear it with.
What's left in that final row depends entirely on which buttons you chose to press in the very first row, before the chase began โ every later press was forced and automatic, but the starting row was a free choice. This is why the first row is the real decision point of the whole puzzle on Lights Out: everything after it just plays out mechanically.
Reading the Final Row to Find the Correct First Row
Since the pattern left in the bottom row is entirely determined by your first-row choice, and there are only a limited number of possible first-row choices for a given board width, each one produces its own specific leftover pattern in the last row. If you chase the lights starting from a first row of all-dark, whatever pattern is left glowing in the bottom row at the end tells you, indirectly, what the first row should actually have been.
In practice, this means you can solve any board in two passes: run the chase once with no first-row presses, note which lights remain lit in the bottom row, then match that leftover pattern against a known table that maps each possible bottom-row outcome to the correct first-row presses. Press that corrected first row, chase down again, and the board clears completely. This two-pass approach turns a puzzle that looks like trial and error into one that's fully mechanical once you have the table for your board's width.
Which Shuffled Boards Have No Solution
Not every possible arrangement of lit and dark buttons can be solved, and this has nothing to do with skill. Because each button press is a fixed, repeatable operation, only a limited set of starting patterns can be reached by pressing buttons from an all-dark board โ and by the same logic, only that same limited set can be pressed back to all-dark. A board lit up by some process other than valid button presses, such as an arbitrary or hand-picked pattern, has a real chance of falling outside that reachable set and being mathematically impossible to solve, no matter how the buttons are pressed.
The practical upshot: a puzzle on Lights Out that was generated by scrambling from a solved board through genuine button presses is always solvable, because that's literally how it was created, just in reverse. A pattern assembled by hand, without going through that process, is a different story โ a large share of arbitrary patterns turn out to have no valid solution at all, which is exactly why generated puzzles always start from a solved state and get scrambled by real presses rather than being drawn at random.
Common Mistakes
- Pressing a button more than once on purpose. The second press just undoes the first โ it never gets you closer to a solution.
- Chasing individual lights instead of rows. Reacting to whichever light is currently on, without a row-by-row plan, tends to create more lit lights than it removes.
- Forgetting that only the first row is a free choice. Every press after the first row is forced by the chase method โ there's no decision left to make once you commit to a starting row.
- Assuming every random pattern is solvable. Boards generated by real button presses always are; arbitrary patterns assembled by hand often aren't.
- Ignoring edge and corner buttons' reduced reach. A button on the edge or in a corner toggles fewer lights than one in the open middle, which changes how it should be used in the chase.
Frequently Asked Questions
What does pressing a button actually do?
It toggles that button and its direct up, down, left, and right neighbors โ never diagonal neighbors, and never a button further than one square away.
Does the order I press buttons in matter?
No. Every press is a simple toggle, and toggles don't interfere with each other based on order. The final board depends only on which buttons were pressed, not the sequence.
Is there ever a reason to press the same button twice?
No. Pressing a button twice cancels itself out completely and returns the board to how it looked before either press โ it's always wasted effort.
What is the "chase the lights" method?
A row-by-row technique: for every lit light in a row, press the button directly beneath it in the next row down. This clears every row except the last one, which is determined entirely by your first-row choice.
Why does the bottom row matter so much?
It's the only row left unresolved after the chase, and its final pattern reveals whether your first-row choice was correct โ a known table can translate that leftover pattern into the first-row presses that would have solved the board.
Can a Lights Out puzzle be unsolvable?
Yes, if the starting pattern wasn't reached by real button presses from a solved board. Puzzles generated by scrambling a solved board with genuine presses are always solvable; arbitrary hand-made patterns often are not.
Solving Specific Board Sizes
The row-by-row method above works on every board size, but the correction table โ the piece that tells you exactly what to press in the first row โ is different for each width. Three dedicated guides work through it in full, with tables verified by testing every possible board rather than guessed at.
- Lights Out Solution: The Chase Method Algorithm โ the full method explained in more depth, plus exactly which board sizes can never have an unsolvable pattern and which can.
- 3x3 Lights Out Solution โ the complete correction table for the smallest board, where every possible pattern turns out to be solvable, with a worked example.
- 5x5 Lights Out Solution โ the correction table for the classic size, plus the exact odds that a randomly built 5x5 pattern is solvable at all.
Related Guides
- A Beginner's Guide to Puzzle Games โ habits for approaching any logic grid, including Lights Out.
- Best Puzzle Games โ see where Lights Out fits in the site's logic and puzzle lineup.
- How to Play Minesweeper โ another grid puzzle solved through deduction, not trial and error.
- Play Nonogram โ a different grid logic puzzle built around number clues instead of toggling neighbors.
- Play Lights Out โ put the row-by-row chase method into practice on a real board.