Logic · 5 × 5 grid

Light Switch

A single switch changes its neighbors. Can you turn everything off?

Moves0

Tap a tile, or use Tab and Enter.

A closer look at Light Switch

Five squares, one decision

Each selection reverses the state of the chosen square and its immediate horizontal and vertical neighbors. A light that is on turns off, and a light that is off turns on. Diagonal squares are unaffected. A middle square changes five lights, an edge square usually changes four, and a corner changes three. The goal is a completely dark five-by-five board.

Why repeated moves cancel

Select the same square twice without resetting, and every light affected by that square returns to its earlier state. This is useful when you make an accidental move: selecting that square again reverses its effect, although both selections still count as moves. You do not need to press a square more than once in a planned solution.

Chase lights from the top

A practical first method is to look at the top row. For each lit square there, select the square directly below it. This clears the first row, because each of those selections affects the square immediately above. Continue row by row. The method moves the unresolved pattern downward; it does not guarantee that the bottom row will be clear on the first attempt.

Read the bottom row carefully

When you reach the bottom, do not randomly undo the work above. A remaining pattern tells you that a different starting choice in the top row is needed. Retry this board restores the original pattern and resets the move counter, so you can compare attempts on the same puzzle. Load guide example opens the first row-chasing lesson. Load shortest-solution example opens the separate comparison board with eleven- and five-press answers. Loading either replaces your current board. Retry resets its move counter; the game does not keep an attempt history or calculate a shortest solution. A practice entry reloads its example when refreshed. New puzzle returns to a random board. Every starting pattern is made by valid switches from an all-off grid, so a solution exists.

Take it slowly

There is no time limit. Lit squares show a filled dot; unlit squares show an outlined dot, so the state is communicated by more than color. Keyboard users can Tab between switches and activate one with Enter or Space. New puzzle creates another solvable pattern and resets the move counter. It may be easier or harder than the previous pattern.

Common questions

Do diagonal lights change?

No. Only the selected square and the squares immediately above, below, left, and right change.

Does the order of switches matter?

For the final pattern, no. Each switch toggles the same fixed set of cells, so pressing a chosen set of switches in a different order reaches the same result.