Sokoban Strategy: Pushing Without Getting Stuck

Updated June 2026

Sokoban looks like a gentle warehouse chore — push the boxes onto the targets — until you wedge a crate into a corner and realise the level is now unwinnable. Unlike a number puzzle, Sokoban has no undo built into its logic; a single bad push can ruin everything. The skill is almost entirely about not getting stuck, and that comes down to recognising deadlocks before you create them.

The rules, and why they bite

That "push, never pull" asymmetry is the whole difficulty. Once a box is somewhere you cannot push it out of, it is stuck there permanently. So every push is a small commitment, and good play is mostly about keeping commitments reversible until you are sure.

The cardinal sin: corners

A box pushed into a corner formed by two walls can never move again — you would need to pull it. So the first rule of Sokoban is simple: never push a box into a non-target corner. Before any push, look at where the box will land. If that square is a corner of walls and it is not a target, do not make the push. Train your eye to see corners as lava unless a target is sitting in them.

Walls are slower corners

A box pressed flat against a long wall is only slightly less dangerous than a corner. You can slide it along the wall, but you can never pull it away from the wall. So if a box is on a wall and there is no target anywhere along that wall, the box is effectively dead — it can only travel to squares that are all non-targets. Check, before you commit a box to a wall, that a target lies somewhere it can still reach by sliding. If not, keep the box off that wall.

Other deadlocks to recognise

Plan from the goals backward

The strongest planning habit is to think in reverse. Instead of asking "where can I push this box," ask "for the box to finish on that target, from which square must it have been pushed, and could I have stood behind it there?" Working backward from each target shows you the final approach a box needs, and therefore the lane it must arrive along. That tells you which boxes to position first and from which side you have to push.

Order matters — place the trapped ones first

Most levels have a forced order. A target tucked in a corner or at the dead end of a corridor can usually only be filled from one direction, and filling it may block the path to another target — so it has to be done while the route is still open. As a rule, place the boxes onto the most constrained targets first (corners, dead ends, narrow pockets) and leave the targets in open space for last, since those stay reachable longest. If two boxes both need the same corridor, the one going deeper goes first.

Keep your maneuvering room

You, the pusher, need empty squares to get around behind each box. Every push that fills space can cost you access. Before sealing a region, make sure you will not need to be on the far side of the wall you are building. When a level feels tight, count whether you can still reach all four sides of each remaining box; if a box becomes approachable from only one side, your options have narrowed and you should be sure that one side is enough.

A practical approach

  1. Map the targets and identify which are constrained (corners, dead ends) versus open.
  2. Plan each box's final approach by reasoning backward from its target.
  3. Fill the most constrained targets first, while their routes are still clear.
  4. Before every push, check the landing square is not a deadlock — no non-target corner, no dead wall.
  5. Preserve your own access; don't wall yourself out of a region you still need.

Sokoban rewards patience over speed. A few seconds spent checking that a push is safe saves a restart, and once you see corners and walls as traps rather than scenery, the levels open up.

▶ Play Sokoban Push every box home — without backing yourself into a corner.