If you have already conquered the basics of Sudoku and moved past beginner strategies like naked singles, hidden singles, and even X-Wings, you are ready for one of the most satisfying advanced techniques in the game: the Swordfish. This elegant pattern-recognition method allows you to eliminate candidates from positions that seem completely unrelated at first glance, unlocking cells that no other basic strategy can crack. Understanding the Swordfish is a significant milestone for any serious Sudoku solver, and once you see it in action, you will wonder how you ever missed it.
What Is the Swordfish Technique?
The Swordfish is a candidate elimination strategy that operates on a specific digit appearing in a structured pattern across exactly three rows and three columns. It is best understood as the natural extension of the X-Wing technique, which works across two rows and two columns. Where X-Wing uses a 2×2 grid of candidate positions, Swordfish uses a 3×3 grid — hence its place one step higher on the difficulty ladder.
Here is the core principle: if a particular digit can only appear in two or three specific columns across three different rows, and those candidate positions all fall within the same three columns, then that digit must be placed in one of those candidate cells within those three rows. As a consequence, the digit can be safely eliminated from every other cell in those three columns that lies outside the three defining rows.
That might sound abstract, so let us break it down into clearer terms:
- Choose a digit — let us say the digit 7.
- Look at three different rows. In each of these rows, the digit 7 can only appear in two or three cells.
- If all of those candidate cells fall within the same three columns (no more, no fewer), you have found a Swordfish.
- You can now eliminate 7 as a candidate from all other cells in those three columns, except for the cells that are already inside your three chosen rows.
The same logic applies in reverse: you can scan three columns for a digit that appears only in two or three rows, and if all candidates fall within the same three rows, eliminate that digit from everything else in those three rows outside the defining columns.
Why Does the Swordfish Work? The Logic Behind It
To understand why this elimination is valid, think about what must happen when you solve the puzzle. The digit in question must appear exactly once in each row and exactly once in each column. Because the candidate cells in your three chosen rows are confined to only three columns, one of those three columns must receive the digit in row one, another column must receive it in row two, and the remaining column must receive it in row three. The exact assignment may vary, but the digit will always land somewhere within that 3×3 intersection of three rows and three columns.
This means the digit is “claimed” by those three rows within those three columns. No other cell in the same three columns can also contain the digit, because each column can only have it once and it is already guaranteed to appear there through one of the three Swordfish rows. That guarantee is what makes the eliminations safe and logically sound.
This is the same reasoning that powers X-Wing and even the more complex Jellyfish technique (which extends the pattern to four rows and four columns). Sudoku logic is beautifully consistent — once you grasp the principle at one level, scaling it up or down becomes intuitive.
A Worked Example: Spotting and Using a Swordfish
Let us walk through a concrete illustration to make this technique tangible. Imagine you are working on a challenging Sudoku puzzle and you are trying to place the digit 4. After filling in all the easy cells and applying basic strategies, you examine the remaining candidates for the number 4 across the grid.
You notice the following candidate positions for the digit 4:
- Row 2: 4 can appear in column 3 or column 7
- Row 5: 4 can appear in column 3, column 6, or column 7
- Row 8: 4 can appear in column 6 or column 7
Now check the columns involved: column 3, column 6, and column 7. Every single candidate position for the digit 4 in rows 2, 5, and 8 falls within exactly these three columns. That is a Swordfish pattern.
What does this tell you? The digit 4 in rows 2, 5, and 8 must be placed within columns 3, 6, and 7. It might be in row 2 column 3 and row 5 column 6 and row 8 column 7, or some other valid combination — but it will always occupy one cell from each row, within those three columns.
This means you can now eliminate 4 as a candidate from every other cell in columns 3, 6, and 7 that does not belong to rows 2, 5, or 8. If, for instance, column 7 had candidates for the digit 4 in rows 1, 4, and 9 (in addition to its Swordfish cells in rows 2, 5, and 8), you can now safely remove 4 from the candidate lists of rows 1, 4, and 9 within column 7. The same applies to columns 3 and 6.
Even if those eliminations do not immediately solve a cell outright, they often reduce candidates enough to trigger other strategies — naked pairs, hidden singles, or pointing pairs — that finally crack the puzzle open.
How to Search for a Swordfish in Practice
Actively hunting for a Swordfish in a real puzzle requires a systematic approach. Scanning the grid randomly is unlikely to be productive. Here is a reliable method:
- Choose a digit to investigate. Swordfish patterns are most commonly useful when a digit still has several unresolved positions. Digits that are nearly placed everywhere offer fewer candidate cells and are less likely to yield interesting patterns.
- Make a note of which columns each row contains candidates for that digit. You only want to consider rows where the digit appears in exactly two or three candidate cells. Rows where the digit can appear in four or more positions are too unconstrained for a Swordfish.
- Look for three rows whose combined candidate columns cover exactly three columns total. This is the defining condition. If the union of candidate columns across your three chosen rows equals exactly three distinct columns, you have a Swordfish.
- Perform the eliminations. Remove that digit from all other cells in those three columns that are not in your three defining rows.
- Repeat the process scanning by column instead of row. You may find a Swordfish in the column direction that you missed when scanning by row.
Using pencil marks (the small candidate numbers written inside cells) is essentially mandatory for finding Swordfish patterns. Without a clear record of where each digit can go, the mental tracking required becomes overwhelming. If you are solving digitally on a platform like playsudoku.org, take advantage of any candidate or note-taking features available to you.
Common Mistakes When Applying the Swordfish
Even experienced solvers occasionally stumble when first applying the Swordfish technique. Here are the most frequent errors to avoid:
- Including rows with too many candidates. A row where your chosen digit appears in four or more positions cannot be part of a Swordfish. Only rows with two or three candidate positions qualify. Ignoring this rule leads to false eliminations that will break your puzzle.
- Miscounting the defining columns. The candidate positions across your three rows must span exactly three columns — not two, not four. If you find only two columns are involved, you actually have an X-Wing, which is a different (though related) technique. If four columns are involved, there is no valid pattern at this level.
- Eliminating cells inside the pattern. You eliminate candidates from other cells in those columns, but never from the defining cells themselves. The Swordfish cells are where the digit might legitimately be placed.
- Forgetting the column-direction scan. Many solvers only check rows. Switching to scan three columns whose candidates fall within exactly three rows can reveal Swordfish patterns that a row-only scan misses entirely.
- Confusing Swordfish with Jellyfish. Jellyfish involves four rows and four columns. If you accidentally try to apply Swordfish logic to four rows, your eliminations will be invalid.
Swordfish vs. Related Techniques: Where It Fits
To appreciate the Swordfish fully, it helps to place it within the broader landscape of Sudoku solving strategies. At the foundational level, solvers use naked singles (a cell with only one candidate) and hidden singles (a digit with only one possible cell in a row, column, or box). Moving up, techniques like naked pairs, hidden pairs, and pointing pairs help eliminate candidates across houses.
The fish family of strategies sits above those intermediate techniques. X-Wing is the entry point — a 2×2 pattern for one digit. Swordfish is the 3×3 extension. Jellyfish scales it to 4×4. Beyond Jellyfish, patterns exist in theory (Squirmbag, Whale, Leviathan) but appear so rarely in standard puzzles that most human solvers never encounter them.
Alongside the fish strategies, advanced players also explore XY-Wings, XYZ-Wings, Skyscrapers, and eventually coloring and chain-based logic like Alternating Inference Chains (AICs). Swordfish occupies a comfortable middle ground — it is genuinely advanced, but it relies on visual pattern recognition rather than complex logical chains, making it approachable for solvers who are willing to be patient and systematic.
Key Takeaways
The Swordfish technique is one of the most powerful pattern-based strategies available to advanced Sudoku solvers. Here is what to remember:
- Swordfish involves one digit appearing as a candidate in exactly two or three positions across each of three rows, with all candidates confined to the same three columns.
- Once the pattern is confirmed, you can eliminate that digit from all other cells in those three columns outside the defining rows.
- The same logic works scanning by columns first and finding three rows that contain all the candidates.
- Swordfish is the 3×3 version of X-Wing (2×2) and is followed by Jellyfish (4×4) in the fish family.
- Reliable pencil marks and a systematic row-by-row or column-by-column scan are the keys to finding Swordfish patterns efficiently.
- Avoid the common mistakes of including rows with too many candidates or miscounting the defining columns.
Mastering the Swordfish is a genuine achievement in your Sudoku journey, and it opens the door to tackling the most difficult puzzles with confidence. The next time a hard or expert-level Sudoku has you completely stumped, take a deep breath, pick a stubborn digit, and start scanning systematically for that distinctive three-row, three-column pattern. With practice, spotting a Swordfish will become second nature — and the satisfaction of watching a locked puzzle finally give way is absolutely worth the effort. Keep practicing on playsudoku.org, and you will be landing Swordfish eliminations regularly before you know it.