How to Solve Box-Pushing Puzzles: Deadlocks, Push Order and Tips for Box Pusher

By Dawid Siedlarz · · 4 min read

Play Box Pusher free →

Short answer: A box-pushing puzzle is solved by avoiding deadlocks, not by finding clever moves. Never push a box into a corner that is not a target, never push a box against a wall unless its target is on that wall, never let four boxes (or boxes and walls) form a 2 × 2 block, and before every push check that you can still walk behind each box. Plan which box goes to which target before you move, fill the far targets first, and restart as soon as a box is stuck. You can play a free Sokoban-style game online in Box Pusher, with no download or account.

Try it right here, or open Box Pusher full screen.

Sokoban ("warehouse keeper" in Japanese) is one of the oldest computer puzzles, and its rules fit in one sentence: push every box onto a target. What makes it hard is that every push is permanent in one direction. You can push a box, but you can never pull it back.

Box-pushing puzzle rules

  1. You move one square at a time, up, down, left or right.
  2. Walk into a box to push it one square, if the square behind it is free.
  3. You can't pull a box, and you can't push two boxes at once.
  4. The level is solved when every target holds a box.

The four deadlocks

A deadlock is a position from which the level can no longer be solved, even if it does not look stuck yet. Learn to spot these four and you will solve most levels.

  • Corner deadlock. A box in a corner can never move again. If the corner is not a target, the level is lost.
  • Wall deadlock. A box pushed against a wall can only slide along that wall. If there is no target along that stretch of wall, the box is lost too, just more slowly.
  • Square deadlock. Four boxes in a 2 × 2 block, or two boxes next to each other against a wall, can't be pushed apart. Every push would need a free square behind a box, and there isn't one.
  • Frozen box. A box blocked on one axis by a wall and on the other by another box can't move in either direction. Check both directions before you push a box next to another one.

A method that solves most levels

  1. Match boxes to targets first. Before your first move, decide which box goes to which target. The nearest target is often the wrong one.
  2. Fill the far targets first. A box parked on a target near the entrance can block the way to the others. Work from the back of the room to the front.
  3. Think in pushes, not steps. Walking is free. What matters is the order of pushes, and each one should bring a box closer to its target without touching a wall it doesn't need.
  4. Check where you need to stand. To push a box left, you have to stand on its right. Before pushing, make sure you can still reach the side you'll need for the next push.
  5. Restart early. As soon as you see a deadlock, restart. Playing on in a lost position only teaches bad habits.

How many moves each Box Pusher level needs

We ran a computer search over every position of every Box Pusher level to find the shortest solution. These are the minimum numbers of moves, counting every step, pushes included:

LevelBoxesMinimum moves
112
224
325
4213
528
6313
7319
8312
938
10319

If you clear a level in about that many moves, you found the clean solution. If you needed many more, try again and look for a push order that wastes fewer steps. Level 4 is a good test: it has only two boxes but needs 13 moves, as many as the three-box level 6.

Common mistakes

  • Pushing first, thinking later. Most lost levels are lost in the first few pushes.
  • Lining up boxes. A box directly behind another box can't be pushed in that direction. Leave a gap.
  • Clearing the easy box first. The box closest to a target often belongs on a different one, and parking it early blocks the room.

Play a box-pushing puzzle online for free

Box Pusher has 10 levels that grow from one box to three. Use the arrow keys or WASD on a computer, swipe on a phone, and press R to restart a level. Easy starts at level 1, Medium at level 4 and Hard at level 7. Enjoy planning puzzles? Try 2048 with our 2048 strategy guide, or Minesweeper.