Skip to content

How to play Lights Out

Lights Out is a grid of lamps, some lit and some dark. Tapping a lamp switches it and the lamps directly above, below, left and right of it: lit ones go dark and dark ones light up. Diagonal lamps are not affected. The goal is to switch every lamp off. Order never matters, and tapping a lamp twice cancels out.

How to play Lights Out

  1. Tap a lamp to flip it and its up, down, left and right neighbours.
  2. Work row by row from the top: for each lit lamp, tap the lamp directly below it.
  3. When only the bottom row is lit, read its pattern and tap the matching lamps in the top row.
  4. Chase the lights down again; the board clears.
  5. Never tap the same lamp twice in a solution: it undoes itself.

Lights Out rules

The board

  1. A square grid of lamps; each lamp is either on or off.
  2. The puzzle starts with some lamps on.

A move

  1. Tapping a lamp toggles it and its orthogonal neighbours: up to five lamps in all.
  2. Lamps on an edge have three neighbours, and corner lamps have two, so fewer lamps change.
  3. Diagonal neighbours never change.

Winning

  1. The puzzle is solved when every lamp is off.

Lights Out techniques, from first game to expert

  1. Beginner

    1. Think in taps, not in order

    The board after a set of taps is the same whatever order you make them in. So a solution is really a set of lamps to tap once each. This is why you can plan freely and fix mistakes later.

  2. Beginner

    2. Undo by repeating

    Tapping a lamp twice puts everything back. If a tap made things worse, tap the same lamp again rather than trying to repair it elsewhere.

  3. Improving

    3. Chase the lights down

    Go through the rows from the top. Whenever a lamp in the row above is lit, tap the lamp directly under it. That switches the upper lamp off without disturbing the rows you have already cleared. At the end, only the bottom row can still have lamps on.

  4. Improving

    4. Fix the top row from the bottom pattern

    On a 5×5 board, the leftover bottom row always matches one of seven patterns. Each tells you which lamps to tap in the top row before you chase again (see the table below).

  5. Expert

    5. Small boards by sight

    On a 3×3 board, tapping the centre flips a plus shape and tapping a corner flips an L of three. Try to see the lit lamps as a combination of those shapes, remembering that overlapping lamps cancel.

  6. Expert

    6. Count the taps

    No lamp in a shortest solution is tapped more than once, so a 5×5 solution never needs more than 25 taps and usually far fewer. If you are past that, you have repeated lamps; start the chase again.

A worked example

Light chasing works on any rectangle. Here it is on a 5×5 board.

  1. Row 1. Suppose lamps 2 and 4 in row 1 are lit. Tap the lamps directly below them, in row 2, columns 2 and 4. Each tap switches its upper neighbour off. Row 1 is now dark, but row 2 and row 3 have changed.
  2. Rows 2 to 4. Repeat: for every lit lamp in row 2, tap the lamp below it in row 3; then row 3 into row 4; then row 4 into row 5. Taps in a row never touch the rows above the one you are clearing, so cleared rows stay dark.
  3. Read the bottom row. Unless you are already finished, row 5 now shows one of seven patterns. Find it in the table and make those taps in row 1:
Bottom row still lit (columns) Tap in the top row
3, 4, 5 4
2, 4 1 and 4
2, 3, 5 1
1, 5 1 and 2
1, 3, 4 5
1, 2, 4, 5 3
1, 2, 3 2
  1. Chase again. Those top-row taps light up lamps in rows 1 and 2. Repeat steps 1 and 2, clearing each row into the one below. When you reach the bottom this time, row 5 is dark too.

Why does it work? The top-row taps are chosen so that, after a second chase, they leave exactly the bottom-row pattern you saw. Because two identical patterns cancel, the board ends up dark. The method is not always the shortest solution, but it never fails on a 5×5 board that can be solved.

History and variants

Lights Out was sold as an electronic handheld game in the mid-1990s and is now a classic of recreational mathematics, because each board can be solved as a system of equations. Variants change the board size, wrap the edges around, or let a tap affect a different shape of neighbours.

Where to play Lights Out

  • Gridwise

    Logic puzzles in one calm app

    • Lights Out appears in Gridwise as 'Switch every lamp off', also listed as Lights off and Toggle lamps.
    • Levels are short: Gridwise gives a typical time of 30 seconds.
    • 300 levels sit on a level path in chapters of 100.
    • If you are stuck, Pip offers a nudge, an explanation or the next tap.
    • Every level is free and works offline.

Questions about Lights Out

  • How does Lights Out work?

    Each tap flips the lamp you touch plus the lamps directly above, below, left and right of it. You win when every lamp is off.

  • Is there a trick to solving Lights Out?

    Yes: chase the lights. Clear each row by tapping under every lit lamp, then use the leftover bottom-row pattern to choose taps in the top row, and chase once more.

  • How do you solve a 3×3 Lights Out?

    Every 3×3 pattern can be solved. Look for plus shapes (a centre tap), L shapes (a corner tap) and T shapes (an edge tap), and combine them. Each lamp needs tapping at most once.

  • Does the order of taps matter in Lights Out?

    No. Any set of taps gives the same result in any order, and two taps on the same lamp cancel out.

  • Can every Lights Out board be solved?

    Not every random 5×5 pattern can be. Puzzles that start from an all-off board and are scrambled by taps always can, because undoing those taps solves them.

Facts checked against the game's own design documents on .

More games like Lights Out

  • Nonogram: rules

    Also called Griddlers

    Fill cells, reveal a picture

    • Gridwise

    3 min a round

  • Also called Loop puzzle

    Draw one closed loop

    • Gridwise

    8 min a round

  • Bridges: rules

    Also called Hashi

    Link islands with bridges

    • Gridwise

    5 min a round

  • Nurikabe: rules

    Also called Islands

    Grow islands, keep the sea whole

    • Gridwise

    8 min a round

  • Light Up: rules

    Also called Akari

    Light up every cell

    • Gridwise

    3 min a round