A Swordfish is a single digit whose candidates in three rows all fall inside the same three columns. Those three rows must put the digit in those three columns, one each, so it can be removed from every other cell of the three columns. Swap the words row and column and the same logic holds.
It is the X-Wing grown by one line. An X-Wing locks a digit into two rows and two columns; a Swordfish does it with three of each. The three base rows need not touch every column cell, and the pattern rarely looks like a neat grid, which is why it is easy to miss.
- Row-based Swordfish: three rows hold the digit only in the same three columns. Remove it from the other cells of those columns.
- Column-based Swordfish: three columns hold the digit only in the same three rows. Remove it from the other cells of those rows.
In this puzzle the digit 4 forms a row-based Swordfish. Row 1 can take a 4 only in columns 4, 7 and 9. Row 9 can also take it only in columns 4, 7 and 9. Row 4 can take it only in columns 7 and 9. Each of these rows must hold a 4 somewhere, all three of those 4s sit in column 4, 7 or 9, and no column can take two of them, so between them the three rows claim the 4 of every one of those columns.
The blue marks are those base-row candidates. The red marks are the eight 4s the Swordfish removes, from rows 3, 7 and 8 of columns 7 and 9 and from rows 7 and 8 of column 4. The fish places no digit by itself, but watch column 4. Row 7, column 4 drops to just 3 and 9, the same pair row 4, column 4 already holds, so the two cells form a Naked Pair. That pair takes the 3 out of row 8, column 4, which leaves it with only a 1.
Before reaching for three lines, check two. Only row 4 holds the 4 in exactly two cells, so no pair of rows can make an X-Wing. Columns 1 and 8 each hold it twice, but in different rows (7 and 8, then 3 and 7), so there is no column X-Wing either. The site's solver confirms it: at this point the Swordfish is the only move it finds, with no single or subset available.
Apart from this one fish and the Naked Pair it creates, the puzzle needs only Naked Singles.
How to find a Swordfish, step by step
Fish are found one digit at a time. Trying to see a Swordfish across all nine digits at once is how it gets missed.
- Pick one digit. Choose a digit that has been placed several times; it has fewer candidates left, so short rows are easier to see.
- List its rows with two or three homes. Write down each row where the digit has exactly two or three candidate cells, with the columns, such as "row 1: columns 1, 4, 7". A row with four or more homes cannot be a base row.
- Look for three rows that share three columns. Merge the column lists of any three rows. If the merged list holds exactly three columns, you have a Swordfish. Four columns means no Swordfish.
- Eliminate down the columns. Remove the digit from every cell of those three columns that is not in one of the three base rows. The base rows themselves are untouched.
- Repeat with columns. If rows give nothing, run the same count with columns as the base and rows as the cover.
- Look for the follow-up. As in the example, the removed candidates often leave a row or box with one home for the digit. Place it before scanning again.
Not every cell needs the candidate
Diagrams often show a Swordfish as a full three-by-three lattice of nine candidates. Real ones rarely look like that. Row 4 in the example has the 4 in only two of the three columns, making a 3-2-3 shape, and the pattern is just as valid. What matters is that no base row has the digit anywhere outside the three columns.
The leanest form is 2-2-2: three rows, each with the digit in two cells, chained so that together they cover three columns, for example columns 1 and 4, then 4 and 7, then 7 and 1. It has only six cells and looks nothing like a grid, so it is the version most often overlooked. Each row needs at least two homes, though: a row with one home is a Hidden Single, which you should place first.
Swordfish vs X-Wing vs Jellyfish
All three are the same move at different sizes. An X-Wing uses two rows and two columns, a Swordfish three and three, and a Jellyfish four and four. The test is always the same: n base rows whose candidates for one digit fit inside n columns. A bigger fish is harder to spot because there are more rows to combine, not because the logic changes.
So check for an X-Wing first, then a Swordfish. The guide X-Wing, Swordfish, Jellyfish: the fish family explained covers the whole family and why bigger fish are rarely needed, and finned and sashimi fish shows what to do when one stray candidate breaks the pattern.
How to spot it
Judge a Swordfish by its column count, not its shape: three rows whose candidates for one digit fit inside three columns between them. The cells need not fill the 3x3 lattice; 3-3-2 and 2-2-2 shapes count, and they are the ones most often missed.
When to use it
Try it after X-Wing fails. It is the same fish logic one size larger and clears stubborn candidates in hard puzzles.
Common mistakes
- Requiring each row to use all three columns; a row may use only two of the three, as long as no row strays outside the three columns.
- Eliminating along rows instead of columns for a row-based Swordfish.
Frequently asked questions
- What is a Swordfish in Sudoku?
- A Swordfish is a pattern where a candidate digit, across three rows, is confined to the same three columns. The digit can then be eliminated from every other cell in those three columns. The row and column roles can be swapped.
- How do you spot a Swordfish?
- Work one digit at a time. List the rows where that digit has only two or three candidate cells, then look for three of those rows whose candidates, taken together, sit in just three columns. If you find them, remove the digit from the rest of those three columns. Then try the same count with columns as the base.
- Is Swordfish harder than X-Wing?
- The logic is identical; only the size differs. An X-Wing spans two rows and two columns, a Swordfish three of each. A Swordfish is harder to see because you must combine three rows instead of two, and its cells rarely form a tidy shape, so check for an X-Wing first.
- Can a Swordfish be column-based?
- Yes. If a digit's candidates in three columns all fall within the same three rows, it can be removed from every other cell of those three rows. Rows and columns simply swap roles; the logic is the same.
- Do all three rows of a Swordfish need the digit in all three columns?
- No. Each of the three rows must keep the digit within the three shared columns, but a row may use only two of them. What matters is that no row places the digit outside the three columns.