ArcadeBop

STRATEGY GUIDES

Sokoban Strategy Guide: 7 Deadlock Traps and Tight Corridor Fixes

Spot corner locks, freeze blocks, and corridor jams before they ruin your run. Learn backward planning and parity habits for Sokoban puzzles.

By Maya Lin (Lead Puzzle Designer & Editorial Director) · Published · Updated · 7 min read

Few puzzle genres punish a single casual keystroke as cleanly as Sokoban. In Crate Logic, the rules fit on a sticky note: walk around a tiled room and push every crate onto a target marker. There are no hidden traps, no timers, and no random spawns. Yet a single careless push on move four can quietly doom a thirty-move solution without any buzzer warning you that the stage is already lost.

Experienced Sokoban players do not calculate forty moves ahead like grandmasters. Instead, they rely on visual guardrails called deadlock patterns—local shapes that make a board mathematically unsolvable the instant they form. Once your eye flags these seven traps before your finger presses the arrow key, tight warehouse rooms open up dramatically.

Why Deadlocks Happen: The One-Way Physics Rule

Because the player can only push crates forward and never pull them backward, every crate needs two things to remain movable along a given axis: an empty square on the destination side, and an empty square behind it where the player can stand. Whenever walls or neighboring crates block both the horizontal and vertical push axes simultaneously, that crate becomes permanent masonry. Almost every complex failure in Sokoban is just a clever disguise for losing those two axes.

The 7 Classic Sokoban Deadlock Traps

1. The Simple Corner Lock

The most obvious trap occurs when a crate slides into an L-shaped wall corner that does not contain a goal tile. Blocked vertically and horizontally, it can never leave. Beginners spot bare corners easily, but the sneakier version is the temporary corner formed when a second crate sits beside a wall—creating an artificial corner for the first crate before you realize neither box can escape.

2. The Goal-Free Edge Trap

Push a crate flush against a straight wall, and it can still slide left or right—but it can never step back into the open room, because you cannot squeeze between the wall and the crate to push it outward. Therefore, if a straight wall segment has corners at both ends and zero goal tiles along its length, touching that wall with a crate is an immediate deadlock, even in the dead center of the wall.

3. The 2×2 Frozen Square

Four crates clustered in a 2×2 block lock each other completely, even in the middle of an open floor. The same freeze happens with two crates touching a straight wall (forming a 2×2 square with two wall tiles) or three crates hugging a single wall protrusion. Unless every crate in that frozen cluster is already sitting on its final target, never let four solid tiles—crates or walls—close a 2×2 box.

4. The Zigzag Wall Lock

Imagine two crates stacked diagonally against a stepped wall: crate A rests against a vertical wall while crate B sits diagonally down-right against a horizontal wall, touching crate A's corner. Neither crate sits in a literal wall corner, yet each crate blocks the only axis the other could use to escape. Whenever walls step like a staircase, treat diagonal crate pairs with extreme suspicion.

5. The Corridor Seal

In a one-tile-wide hallway, you cannot walk past a crate. Pushing a crate into a dead-end corridor without a goal traps it; worse, pushing two crates into the same narrow corridor without an alcove to step around them seals off the entire wing of the map behind them. Before entering any single-lane hallway, verify whether you will need to reach the far side from behind the crate later.

6. Goal-Order Blockage (Filling the Entrance First)

Some rooms place three or four goals inside a deep pocket or narrow bay. If you park your first crate on the goal closest to the doorway, you have just built a brick wall in front of the deeper targets. Even though the first crate is technically "solved," it turns the pocket into an unreachable vault. Always fill the deepest, hardest-to-reach targets first and work outward toward the exit.

7. Parking-Space Starvation

This is the subtle deadlock that catches intermediate players on compact levels. None of the crates look frozen individually, yet the open floor squares you need to loop around a crate are now occupied by other misplaced boxes. Every room needs a "turning radius"—at least one clear lane or alcove where crates can be temporarily staged while you swap their order.

A Quick Reference for Reading Tight Rooms

Deadlock Pattern Visual Trigger Fix / Prevention Habit
Corner & Edge Lock Crate touches wall segment with no goals Trace wall boundaries before pushing; keep 1-tile buffer
2×2 Frozen Square Any 2×2 mix of crates and walls off-goal Push one crate out of alignment before bringing a neighbor close
Zigzag Wall Lock Two crates touch along a stepped wall corner Clear stepped corners one crate at a time
Corridor Seal Two crates share a 1-tile hallway Never feed a second crate in until the first clears the exit
Goal-Order Jam Front goal filled before rear alcove goals Assign goal priority from deepest tile back to doorway

How to Plan Tight Corridors Backwards

When a stage in Crate Logic makes your eyes glaze over, stop pushing forward and solve the last three steps first. Ask yourself: which goal tile must be filled last? Look at the room with every goal already occupied, then imagine pulling crates out one by one in reverse.

  1. Identify the last-in goal: Usually the target sitting right next to the main thoroughfare or blocking another goal's approach lane.
  2. Find the choke-point direction: Notice which direction a crate must travel to enter each alcove. That immediately tells you which staging square it needs to visit two moves earlier.
  3. Count your parking squares: Spot empty alcoves or wide intersections that can hold a temporary crate out of the way while you escort another box past it.
  4. Leave one loop intact: In multi-room stages, keep a circular walking loop open as long as possible so your character can switch sides of a crate without pushing it prematurely.

Turn Undo Into an Active Scouting Tool

Players sometimes treat the Undo button like a penalty, waiting until a room is hopelessly jammed before smashing Reset. Flip that mindset. In Crate Logic, Undo is a zero-cost microscope. Push a single key crate into a hallway, glance at which walking lanes just closed, and immediately tap Undo twice if you lost your return path. Testing two-move branches cheaply trains your spatial intuition far faster than staring statically at the opening layout.

If you enjoy this style of pure, deterministic board reading, compare how Sokoban stacks up against other low-randomness classics in our browser puzzle mechanics comparison, or sharpen your keyboard ergonomics with our roundup of keyboard-only browser games.

Play the games featured in this guide

Frequently asked questions

Is it ever right to push a crate off a goal tile after placing it there?

Yes, frequently on medium and advanced stages. Using a goal square as a temporary parking spot—or sliding a crate through a goal to clear a hallway for a deeper target—is a standard technique once rooms grow tighter.

How can I tell quickly if a crate on an edge wall is still useful?

Trace straight left and right along that wall until you hit a wall corner or an open doorway. If there is a goal square along that exact edge—or an opening where you can push the crate through into another room—the crate is still alive. Otherwise it is deadlocked.

Should I optimize for the lowest move count on my first clear?

No. Focus first on finding any clean solution that avoids deadlocks and respects goal order. Once you understand the room's delivery sequence, replaying for a streamlined move count becomes much easier and teaches you how to eliminate redundant loops.