If you have already worked your way through the basics of Sudoku — naked singles, hidden singles, and even the X-Wing technique — you may have started encountering puzzles that refuse to budge no matter how long you stare at them. This is the moment when advanced solving techniques earn their keep. The Swordfish technique is one of the most powerful tools available to an advanced Sudoku solver, and while it can look intimidating at first glance, it follows a beautifully logical pattern once you understand the underlying principle. In this guide we will break down exactly what Swordfish is, how to spot it on the grid, and how to use it to eliminate candidates and crack open even the toughest expert-level puzzles.
What Is the Swordfish Technique?
The Swordfish is a candidate elimination technique that operates across three rows and three columns simultaneously. It is essentially a three-row extension of the more familiar X-Wing technique, which works across two rows and two columns. Understanding X-Wing first makes learning Swordfish considerably easier, so if you have not yet studied X-Wing, it is worth revisiting that technique before diving deeper here.
At its core, the Swordfish technique relies on the following logic: if a specific candidate digit appears in exactly two or three positions within each of three different rows, and all of those positions fall within the same three columns, then that digit must be placed in one of those cells. As a direct consequence, you can safely eliminate that same candidate digit from every other cell in those three columns that are not part of the Swordfish pattern.
The same logic applies symmetrically — you can look for Swordfish patterns in columns first and then eliminate candidates from rows. Whether you search by rows or by columns depends on where the pattern happens to appear in the puzzle you are solving. Experienced solvers scan both orientations as part of their routine candidate analysis.
The name “Swordfish” is part of a broader naming tradition in advanced Sudoku solving. The X-Wing covers a 2×2 pattern, Swordfish covers a 3×3 pattern, and the next step up — Jellyfish — covers a 4×4 pattern. Each technique follows the same underlying logical framework, simply scaled to a larger number of rows and columns.
How to Identify a Swordfish Pattern
Spotting a Swordfish requires careful candidate tracking. You should already be using pencil marks — small numbers written in the corners of cells to record which digits are still possible in each cell. Without pencil marks, finding a Swordfish pattern by mental calculation alone is extremely difficult even for seasoned players.
Here is the step-by-step process for hunting down a Swordfish:
- Choose a candidate digit. Work through each digit from 1 to 9 one at a time. You are looking for a digit that appears as a candidate in a restricted set of cells.
- Scan the rows for that digit. For each row in the grid, note how many times your chosen digit appears as a candidate, and record which columns those candidates sit in. You are specifically interested in rows where the digit appears exactly two or three times.
- Look for three rows that share the same three columns. If you find three rows where your candidate digit appears only in cells belonging to a shared set of three columns, you have found a Swordfish. The cells do not all need to appear in all three columns — each row just needs to contribute candidates only from within that column set.
- Eliminate the candidate from the rest of those columns. Any cell in those three columns that is not part of the Swordfish pattern — meaning it is not in one of the three defining rows — can have that candidate digit safely removed.
It is important to emphasise that the rows forming the Swordfish do not need to have candidates in all three columns. A row might only contribute candidates in two of the three defining columns, and that is perfectly valid. What matters is that no candidate for that digit in any of the three rows falls outside the defined set of three columns.
A Worked Example of Swordfish in Action
Let us walk through a concrete example to make this fully clear. Suppose we are tracking the digit 6, and we have completed our pencil marks across the grid. When we look at the placement of 6 as a candidate across the nine rows, we notice the following:
- Row 2: The digit 6 is a candidate only in columns 3 and 7.
- Row 5: The digit 6 is a candidate only in columns 3, 5, and 7.
- Row 8: The digit 6 is a candidate only in columns 5 and 7.
Now let us check: the three rows (2, 5, and 8) each have candidates for the digit 6, and all of those candidates fall exclusively within columns 3, 5, and 7. No row has a candidate for 6 outside of this set of three columns. This is a confirmed Swordfish pattern.
What does this tell us? The digit 6 must eventually be placed in one of the cells that form this Swordfish — that is, one of the cells at the intersections of rows 2, 5, or 8 with columns 3, 5, or 7. There is no way to place the digit 6 in those three rows without using exactly those three columns.
Because of this constraint, we can now eliminate the digit 6 as a candidate from every other cell in columns 3, 5, and 7 that does not belong to rows 2, 5, or 8. If column 3 had a 6 candidate sitting in row 1, row 4, or row 9, those candidates can all be crossed out. The same applies to columns 5 and 7.
These eliminations may seem small, but in a difficult puzzle they can trigger a cascade of new deductions. Removing a candidate from a cell sometimes leaves that cell with only one remaining possibility — a naked single — which allows you to place a digit and start a chain reaction of further placements throughout the grid.
Common Mistakes and Tips for Applying Swordfish
Even experienced solvers make errors when applying Swordfish for the first time, so it is worth noting the most common pitfalls and how to avoid them.
Mistake 1: Including a row with too many candidate positions. If one of your three rows has the target digit as a candidate in four different cells, and those cells span four different columns, you cannot use that row in a Swordfish. The defining condition is that all candidates in each of the three rows must fall within a shared set of exactly three columns. The moment a row breaks out of that column set, the pattern is invalid.
Mistake 2: Eliminating candidates from the Swordfish cells themselves. The cells that form the actual Swordfish pattern are the ones where the digit might be placed. You must not eliminate the candidate from those cells — only from other cells in the same columns that are not part of the pattern.
Mistake 3: Skipping the column-based scan. Many solvers naturally think in terms of rows first. However, a Swordfish that does not appear when scanning rows might become immediately visible when you scan columns instead. Always check both orientations before concluding the pattern is absent.
Tip: Use colour-coding or highlighting. If you are solving on paper or in a digital app that supports it, highlighting the Swordfish cells in one colour and the eliminations in another can help you visualise the pattern more clearly and avoid errors.
Tip: Practice on puzzles rated “expert” or “extreme.” Swordfish rarely appears in easy or medium puzzles, which can typically be solved with basic techniques. Seek out puzzles specifically designed to require advanced strategies, as this gives you more opportunities to recognise and apply the pattern.
Tip: Combine with other techniques. Swordfish is rarely the only advanced technique you will need in a single puzzle. It works alongside other strategies such as XY-Wing, hidden pairs, and naked triples. Think of your solving toolkit as a collection of lenses — each technique illuminates a different type of hidden structure in the grid.
How Swordfish Relates to Other Advanced Techniques
Understanding where Swordfish fits within the broader landscape of Sudoku solving strategies helps you become a more complete and efficient solver. The family of techniques that includes X-Wing, Swordfish, and Jellyfish is collectively known as fish patterns or basic fish in Sudoku solving terminology. They all exploit the same fundamental constraint: in a valid Sudoku solution, each digit must appear exactly once in every row and exactly once in every column.
Fish patterns are considered candidate elimination techniques, as opposed to placement techniques. Placement techniques (like naked singles and hidden singles) let you write a digit directly into a cell. Candidate elimination techniques prepare the ground by narrowing down possibilities, which eventually enables placement techniques to fire. Advanced puzzles often require several rounds of candidate elimination before a single placement can be made.
Swordfish is slightly more complex to spot than X-Wing simply because there are more rows and columns to compare. However, it is considered more approachable than techniques such as XYZ-Wing, Finned Swordfish, or the various forms of Unique Rectangles, which introduce additional layers of logic. If you can confidently apply X-Wing and Swordfish, you have a solid foundation for exploring those deeper strategies.
For players who enjoy solving Sudoku on this site, practising these techniques on our daily puzzles at playsudoku.org is one of the best ways to build fluency. Repeated exposure to expert-level grids trains your eye to recognise candidate patterns quickly, making techniques like Swordfish feel natural rather than effortful.
Key Takeaways
- The Swordfish technique is a candidate elimination strategy that works across three rows and three columns simultaneously.
- It applies when a specific digit appears as a candidate in only two or three cells in each of three rows, and all those cells fall within the same set of three columns.
- Once a valid Swordfish is identified, the target digit can be eliminated from all other cells in those three columns that are not part of the pattern.
- The technique works symmetrically — you can also search by columns and eliminate from rows.
- Swordfish is an extension of the X-Wing technique and belongs to the family of “fish” patterns in advanced Sudoku solving.
- Accurate, up-to-date pencil marks are essential for spotting Swordfish reliably.
- Combining Swordfish with other advanced techniques gives you the best chance of solving expert-level Sudoku puzzles.
Mastering the Swordfish technique is a genuine milestone in your Sudoku journey. It signals that you have moved beyond intuitive solving into the realm of systematic logical analysis — and that opens the door to an entirely new level of puzzles and satisfaction. Take your time, practice the pattern on multiple grids, and do not be discouraged if it takes a few attempts before the technique clicks. Once it does, you will find yourself looking at even the most stubborn Sudoku grids with fresh confidence. Happy solving!