Skip to content

Lights Out Puzzle

Press a cell to toggle it and its neighbours — switch every light off

Loading the tool…

Lights Out is a puzzle in which pressing a cell switches it and its neighbours. Switch every light off; the page also shows the fewest presses that can clear each board.

How to use

  1. Under "Mode", choose "Free play" or "Stages".
  2. In free play, choose the "Board size" (3×3 to 7×7) and "What a press toggles", and turn on wrap-around if you like.
  3. Press cells to switch the lights off. "Moves", "Fewest possible" and "Lights on" are shown as you play.
  4. If you are stuck, press "Hint" to see one cell to press, or "Show solution". "Undo" and "New board" are also available.

How it works

Questions and answers

How do you solve Lights Out?
Work down from the top row: for each light that is on, press the cell directly below it. When only the bottom row has lights left, its pattern tells you which cells to press in the top row; then work down again.
Can every Lights Out board be solved?
Not every random pattern can be solved; on a 5×5 board, for example, only some patterns are solvable. The boards on this page are made backwards from a dark board, so all of them can be solved.
What happens if I press the same cell twice?
The second press undoes the first, so every changed light returns to how it was. That is why a shortest solution never presses a cell twice.
What do the diagonal pattern and wrap-around do?
With the diagonal pattern, a press switches the cell and its 4 diagonal neighbours. With wrap-around, a press at an edge also switches the cell on the opposite edge.