// learn
Swap Puzzles: How They Work and How to Solve Them Faster
A swap puzzle is a picture puzzle in which an image is cut into a grid of square tiles, shuffled, and rebuilt by exchanging pairs of tiles. You select one tile, select a second, and the two trade places. There is no empty square to slide into and no loose pieces to fit together — every tile is already on the board, just in the wrong seat.
That single rule change, from sliding to swapping, does something interesting. It makes the puzzle easier to pick up, impossible to make unsolvable, and — for anyone who wants to go deeper — governed by a piece of mathematics clean enough that you can calculate the perfect solution in advance.
This guide covers what swap puzzles are, how they differ from the puzzles they're often confused with, why every shuffle can be solved, the minimum number of moves any given board requires, and the method that reliably gets you there.
// setup
How a swap puzzle works
The setup is always the same:
- An image is divided into a grid — commonly 3×3, 4×4, 5×5, or 6×6.
- The tiles are shuffled so that none are in their original position.
- You pick any two tiles and they exchange places.
- Repeat until the picture is whole.
Most implementations add a timer, a reference thumbnail of the finished image, and some form of feedback when a tile lands correctly. On Daily Puzzle, correct tiles lock in place the moment they're right, which turns out to matter a great deal for strategy — more on that below.
The critical detail, and the one that separates swap puzzles from their close relatives, is that any two tiles can be swapped. Not just neighbours. Not just tiles next to a gap. A corner tile can trade directly with the tile diagonally opposite it. That freedom is what makes the puzzle tractable and what makes the underlying maths so tidy.
// comparison
Swap puzzles vs. sliding puzzles vs. jigsaws
These three get lumped together constantly, and the differences are worth knowing because they demand completely different skills.
| Swap puzzle | Sliding puzzle (15-puzzle) | Jigsaw | |
|---|---|---|---|
| The move | Exchange any two tiles | Slide a tile into the empty square | Place a loose piece |
| The board | Full grid, no gap | One empty square | Pieces start off-board |
| Restriction | None — any pair | Only tiles adjacent to the gap | Piece shape must match |
| Impossible shuffles? | Never | Yes — half of all arrangements | No |
| Core skill | Recognition + planning | Route planning | Shape and colour matching |
| Typical size | 9–36 tiles | 15 tiles | 100–2,000 pieces |
A sliding puzzle is fundamentally a logistics problem. You know where a tile needs to go; the difficulty is manoeuvring it there through a single-square bottleneck without disturbing what you've already built. Solvers spend most of their effort on transport.
A jigsaw is fundamentally a matching problem. Pieces are unique shapes, edges are found by feel as much as sight, and the work is in sorting and testing.
A swap puzzle strips out transport entirely. If you know where a tile belongs, you can send it there in one move. What's left is pure recognition — reading a fragment of image and identifying its home — plus the sequencing question of which swap to make next. That's why swap puzzles reward speed in a way sliding puzzles don't: there's no manoeuvring tax, so improvement comes almost entirely from seeing faster and choosing better.
// solvability
Why a swap puzzle can never be unsolvable
This is the swap puzzle's quiet advantage, and it has a genuinely famous backstory.
In the 1880s the puzzle maker Sam Loyd popularised a challenge built around the 15-puzzle: a 4×4 sliding grid presented in order except for the 14 and 15, which were transposed. He offered a substantial cash prize to anyone who could slide the tiles back into correct sequence. Nobody ever collected, because the task is provably impossible.
The reason is a property called parity. Every arrangement of tiles is either "even" or "odd", depending on how many pairwise exchanges it takes to reach the solved state. A sliding puzzle's legal moves each change the arrangement in a way that preserves a particular combined parity, so the puzzle partitions all its arrangements into two sealed halves. Start in the wrong half and no sequence of slides, however long, will ever get you out. Exactly half of all 15-puzzle shuffles are unsolvable.
Swap puzzles have no such trap. A swap is a pairwise exchange, so a single move flips the parity at will. Every arrangement is reachable from every other arrangement. Whatever the shuffle throws at you, a solution exists — and as the next section shows, you can work out exactly how long it is.
// math
The minimum number of swaps, exactly
Here is the part most guides never mention, and it's the single most useful thing to understand if you want to get fast.
Any shuffle can be broken into cycles. Follow a chain: the tile sitting in position A actually belongs in position B; the tile in position B belongs in position D; the tile in D belongs back in A. That's a closed loop of three tiles — a 3-cycle. Every shuffled board decomposes into some number of these loops, and each loop is independent of the others.
A loop of length k takes exactly k − 1 swaps to resolve. So the minimum number of swaps for the whole board is:
minimum swaps = (number of tiles) − (number of cycles)
Counting tiles that are already correct as loops of length one, which cost nothing.
For a 5×5 grid of 25 tiles shuffled at random, this typically works out to somewhere in the low twenties — around 21 to 23 swaps. A 4×4 grid usually lands near 13. Those are hard floors. No cleverness beats them.
Which gives you a concrete benchmark: if you're finishing a 25-tile board in 30 moves, you're roughly 40% off optimal and there's real time on the table. If you're finishing in 22, you're playing close to perfectly and your remaining gains are all in recognition speed.
// strategy
How to solve a swap puzzle faster: the cycle method
The mathematics above translates into a solving method that is not merely good but provably optimal. It's built on one rule:
Every swap should put at least one tile permanently in its correct home.
If you make a swap and neither tile lands right, you have not made progress — you have reshuffled. This is the single most common way players lose time, and it's entirely avoidable.
Here's the method, step by step:
- Pick any tile that's in the wrong place. Note which position it's sitting in — call that your working slot.
- Identify where that tile belongs. Use the reference image.
- Swap it into its correct home. That tile is now finished. On Daily Puzzle it will lock, confirming you were right.
- Look at whatever tile just got displaced back into your working slot. Find its home, and send it there.
- Keep going. Each swap locks exactly one more tile.
- Eventually the chain closes — the tile you're holding belongs in the slot you started from. That final swap locks two tiles at once. The cycle is complete.
- Start a new chain from any tile still out of place, and repeat until the board is solved.
Follow this and you will hit the minimum every time. The chains do the bookkeeping for you: you never have to hold a plan in your head, because the puzzle always tells you what to do next. The tile in your hand has exactly one destination, and moving it there reveals your next instruction.
Two things make this feel almost mechanical once it clicks. First, you're only ever thinking about one tile at a time, not the whole board. Second, the lock-in feedback verifies each step immediately, so mistakes surface instantly instead of compounding.
// speed
Reading tiles faster
Once your move count is near-optimal, all remaining improvement comes from identifying tiles more quickly. A few things that help:
Start with the most distinctive tiles. Faces, text, high-contrast edges, isolated bright objects — anything unambiguous. These are effectively free moves, and each one you lock reduces the search space for everything else.
Leave flat regions for last. Open sky, water, grass, blurred background: these tiles look nearly identical and are genuinely hard to place by eye. Don't fight them early. Solve everything distinctive first and the ambiguous tiles resolve by elimination, because only one slot will remain open for each.
Use the border. Tiles along the frame have a straight run of edge on one side. That immediately narrows a tile to the outer ring, and corners are narrower still — there are only four.
Think in quadrants, not coordinates. Trying to determine that a tile belongs at "row 4, column 2" is slow. Recognising "upper-left region, near the trumpet" is fast, and it's usually precise enough to find the slot.
Follow continuity. Diagonal lines, horizons, and object edges have to continue across tile boundaries. A rooftop line entering the right edge of one tile must exit the left edge of its neighbour at the same height.
// mistakes
Common mistakes
- Swapping two tiles that both end up wrong. The cardinal sin. It feels like progress because the board changed, but the move count went up and nothing locked.
- Building region by region. Intuitive, and slower than chain-chasing. Working on "the top-left corner" means repeatedly swapping in tiles that displace other tiles you then have to chase anyway.
- Ignoring the lock feedback. If a tile doesn't lock, you misread it. Correct it immediately rather than moving on and building around an error.
- Over-consulting the reference. Every glance costs time. Look once, memorise a region, place several tiles from it.
// difficulty
Difficulty: why grid size matters more than you'd think
Going from 4×4 to 5×5 doesn't add 56% more difficulty; it adds considerably more. The tile count rises from 16 to 25, but the number of possible arrangements rises from 16! (about 2 × 1013) to 25! (about 1.5 × 1025) — twelve orders of magnitude. More practically, each individual tile is smaller, so it carries less identifiable image, so recognition gets harder at exactly the moment there's more of it to do.
That's why 5×5 sits in a sweet spot for a daily puzzle. Nine tiles is over in seconds. Sixteen is pleasant but rarely challenging. Thirty-six starts to feel like work, with too many near-identical tiles to place by elimination alone. Twenty-five is large enough to require a method and small enough to finish over a coffee.
// brain
Are swap puzzles good for your brain?
Worth being straight about this, because the internet is not.
Claims that puzzle games meaningfully improve general intelligence, memory, or long-term cognitive health are not well supported. The consistent finding across brain-training research is that practice makes you better at the trained task, and that these gains transfer poorly to unrelated abilities. Getting quick at swap puzzles makes you quick at swap puzzles.
What they do offer is more modest and more honest: a short, self-contained task with a clear finish, a measurable result, and no way to lose. There's a reason the daily-puzzle format has flourished — a bounded ritual with a definite end is a genuinely pleasant thing to have in a day, and it doesn't need to be dressed up as medicine to be worth doing.
// faq
Frequently asked questions
- What is a swap puzzle?
- A puzzle in which an image is divided into a grid of tiles and shuffled, and the solver rebuilds it by selecting two tiles at a time to exchange positions. Unlike a sliding puzzle, there's no empty square, and any two tiles may be swapped regardless of where they sit.
- How is a swap puzzle different from a sliding puzzle?
- In a sliding puzzle you can only move tiles adjacent to a single empty square, so most effort goes into manoeuvring pieces around the board. In a swap puzzle any two tiles trade directly, removing transport from the problem entirely and leaving recognition and sequencing.
- Can a swap puzzle be impossible?
- No. Because a swap is itself a pairwise exchange, every arrangement is reachable from every other. This is not true of sliding puzzles, where half of all shuffles cannot be solved.
- What's the fewest moves a swap puzzle can be solved in?
- Take the number of tiles and subtract the number of cycles in the shuffle. For a randomly shuffled 25-tile grid this is usually around 21 to 23 swaps; for a 16-tile grid, around 13.
- How do I get faster at swap puzzles?
- Two levers. First, make sure every swap locks at least one tile — use the cycle method above to guarantee it. Second, once your move count is near-optimal, work on recognition: start with distinctive tiles, save flat areas for last, and use the border and continuity cues.
- Do I need to solve the border first, like a jigsaw?
- No. Border-first is a jigsaw heuristic that exists because edge pieces are physically identifiable by touch and shape. In a swap puzzle there's no such advantage — the border is useful only insofar as edge tiles are often easier to recognise.
Try today's puzzle
Daily Puzzle publishes a fresh image every day at midnight UTC, scrambled into a 5×5 grid. Tap two tiles to swap them; correct tiles lock as you go. Time yourself, build a streak, and see how close you can get to that theoretical minimum.
Or browse past puzzles, read the full rules, or create your own puzzle from any image.