IQ-25
Logic puzzles

How to solve Lights Out: rules and row-chasing strategy

Understand cross-shaped toggles and use row chasing to solve a 5×5 Lights Out board.

What one press changes

A press toggles the chosen light and its neighbors above, below, left and right. Diagonals are unaffected. Edge cells have fewer neighbors. The goal is to turn every light off, not merely reduce the number of lit cells on each move.

Two useful properties

Pressing a cell twice cancels its effect. The order of presses also does not change the final state: each light toggles as many times as it is affected by the chosen presses. A solution can therefore be represented as a set of cells to press once.

Row chasing

Choose a set of presses in the first row. Then, for each lit cell in the first row, press the cell directly below it in the second row. Repeat to the bottom: each step clears the preceding row without affecting rows above it. If the bottom row is dark, the puzzle is solved.

If the bottom row stays lit

The initial first-row press pattern was unsuitable. A five-column board has only 2⁵=32 first-row patterns; systematically checking them finds a solution if one exists. IQ-25 generates puzzles by legal toggles from an all-dark board, guaranteeing solvability. Compare solutions if you want the fewest presses.

Common questions

Must you always press a lit cell?

No. Pressing a dark cell may be necessary to toggle neighboring lights.

Practical example

What happens when the center cell is pressed twice?

Show explanation

All five affected cells return to their starting state.

Put it into practice

Turn off all lights

Lights Out

Useful reading

All articles