How to solve the lights puzzle: switch everything off

By Arnaud, creator of procstd. Updated December 2, 2026.

The lights puzzle looks like a game of luck: every tap switches back on what you just switched off. Yet there is a method that works every time, with no mental arithmetic: you push the lights down, row by row, and a small table tells you how to finish. Here it is, on real grids.

Try it as you read: play Lights Off, free and ad-free.

The rules

A grid of cells, some of them lit. Tapping a cell switches it and its neighbours above, below, left and right: what was on goes off, what was off comes on. A cell on the edge has only three neighbours, a corner two. The goal: switch everything off, as fast as you can.

Every grid in the game is made by starting from "all off" and tapping a few random cells, so it always has a solution.

Two things to know before you start

The order of the taps does not matter: tapping A then B gives the same grid as B then A. And tapping the same cell twice is the same as not tapping it at all. A solution is therefore just a list of cells, each tapped once.

In practice, a mistake can always be undone by tapping the same cell again. And there is no "right moment" for a tap: only the list counts.

The method: chase the lights down

Look at the top row. Under each lit cell of that row, tap the cell just below it, in the 2nd row: the light above goes off. Do it for every light of the top row, from left to right: the row is now completely dark.

Then do the same one row lower: under each light of the 2nd row, tap the cell in the 3rd row. And so on down to the row before last. The taps on a row never touch the dark rows above it, except the one just above, which they switch off: you move down without ever going back.

At the end, every light left is on the bottom row. On a 4 × 4 grid there are never any left: chasing the lights down is enough.

💡💡💡💡💡💡💡💡💡💡💡💡💡
Before
💡💡💡💡💡💡💡
After

Under the four lights of the 1st row, tap the 2nd row: the 1st row goes dark, and so does the 2nd, by luck. Carry on with the 3rd row.

Finishing a 5 × 5 grid: the seven cases

On a 5 × 5 grid (the ranked level), the chase often leaves lights on the bottom row. There are only seven possible cases. Find yours, tap the cells shown on the TOP row, then chase the lights down again: everything goes off.

Cells are numbered 1 to 5, from left to right. 3, 4 and 5 lit at the bottom: tap 4 at the top; 2 and 4 lit at the bottom: tap 1 and 4 at the top; 2, 3 and 5 lit at the bottom: tap 1 at the top; 1 and 5 lit at the bottom: tap 1 and 2 at the top; 1, 3 and 4 lit at the bottom: tap 5 at the top; 1, 2, 4 and 5 lit at the bottom: tap 3 at the top; 1, 2 and 3 lit at the bottom: tap 2 at the top.

No need to learn the table by heart: after a few games the cases come back and you recognise them. And four cases out of seven need only one tap at the top.

💡💡💡
Before
💡💡💡💡💡💡💡
After

The chase left 1, 2 and 3 at the bottom: tap the 2nd cell of the top row. Chase the lights down as before, and everything goes off.

Finishing a 6 × 6 grid

On a 6 × 6 grid (Expert and Hardcore levels), the chase can leave any combination on the bottom row. Rather than a table of 63 cases, remember what to do for ONE light left at the bottom, column by column (1 to 6, from left to right): 1: tap 1 and 3 at the top; 2: tap 4 at the top; 3: tap 1 and 5 at the top; 4: tap 2 and 6 at the top; 5: tap 3 at the top; 6: tap 4 and 6 at the top.

If several lights are left at the bottom, list the top cells for each of them and cross out the cells that appear twice: two taps cancel out. For example, lights 2 and 5 at the bottom: 4 for one, 3 for the other, so tap cells 3 and 4 at the top. Lights 1 and 3: 1 and 3, then 1 and 5; the 1 cancels out, leaving 3 and 5. Then chase down again: everything goes off.

Going faster

The ranking counts time, not taps. The chase is fast because it needs no thinking: look at a row, tap below it, move to the next one. Do not try to guess a shorter solution.

If a light stays on above the bottom row, a tap was missed: no panic, start the chase again from the top row, it fixes everything. A hint is also available, at a cost of 60 seconds: it taps a cell of the solution for you, then locks it.

The game's levels

Easy: 4 × 4 grid, made with 4 taps, the chase is enough. Hard, the ranked level: 5 × 5, 6 taps. Expert: 6 × 6, 10 taps. Hardcore: 6 × 6, 20 taps, a much busier grid.

Your turn

The rules, the levels and the frequently asked questions are on the Lights Off page. Each level has its own leaderboard.

Play Lights Off

Other guides