← Back to Blog

Mastering the Swordfish Technique: Advanced Elimination Logic for Hard Sudoku

📅 July 03, 2026⏱ 8 min read🏷 Sudoku

When you transition from solving moderate Sudoku puzzles to tackling the most challenging grids, the standard solving strategies—such as Naked Pairs, Hidden Triples, and Pointing Pairs—eventually hit a wall. You find yourself in a situation where every cell has multiple candidates, and no simple logic seems to make headway. This is the realm of advanced solving techniques, and among them, the Swordfish technique reigns supreme as one of the most powerful and elegant logic-based elimination methods. Mastering the Swordfish is a critical milestone for any Sudoku enthusiast aiming to conquer hard and expert-level puzzles on Sudokuzio.fun.

At its core, the Swordfish technique is a candidate elimination strategy that looks at how a single digit is distributed across three parallel lines (either three rows or three columns). By observing the intersections of these candidates, you can safely eliminate that digit from specific cells outside of your primary pattern. This guide will take you from the fundamental theory behind the Swordfish to its practical identification, advanced variants like Finned and Sashimi Swordfish, and expert tips to spot this pattern quickly during live play.

The Logical Foundation: From X-Wing to Swordfish

To fully grasp the Swordfish, it is helpful to understand its smaller sibling: the X-Wing. An X-Wing relies on a digit appearing exactly twice in two parallel rows (or columns) such that they align perfectly in the perpendicular columns (or rows). This forms a rectangle of candidates, forcing the digit to occupy one of two diagonal pairs of corners. Consequently, the digit can be eliminated from all other cells in those two columns (or rows).

The Swordfish technique scales this logic from a 2x2 structure to a 3x3 structure. Instead of two rows and two columns, a Swordfish involves three rows and three columns. The beauty of this logical progression is that it relies on the exact same principle of mutual exclusion. When a candidate digit is restricted to a maximum of three specific columns across three specific rows, those three rows and three columns form a closed system. The candidate must occupy exactly three cells within this intersecting matrix, effectively locking those columns and preventing the candidate from appearing anywhere else within them.

The Anatomy of a Swordfish Pattern

A standard Swordfish is defined by a single candidate digit and a set of intersecting rows and columns. To define the pattern precisely, we use the concepts of "Base Sets" and "Cover Sets."

For a valid Swordfish to exist, the candidate digit in the three Base Sets must lie entirely within the three Cover Sets. Crucially, the candidate does not need to appear in every single intersection of the 3x3 grid. In fact, it rarely does. Each Base Set line must contain at least two, and at most three, instances of the candidate digit, and all of these instances must line up within the same three perpendicular Cover Set lines. When this alignment occurs, the candidate is locked into the intersections, allowing us to eliminate that digit from any other cells in the Cover Sets that are not part of the Base Sets.

Row-Oriented vs. Column-Oriented Swordfish

Swordfish patterns come in two structural orientations, depending on whether you start your search with rows or columns:

Row-Based Swordfish (Base Sets are Rows): You identify three rows where a specific candidate digit appears only in the same three columns. Once identified, you can eliminate that candidate digit from all other cells in those three columns (outside of the three designated rows).

Column-Based Swordfish (Base Sets are Columns): You identify three columns where a specific candidate digit appears only in the same three rows. Once identified, you can eliminate that candidate digit from all other cells in those three rows (outside of the three designated columns).

Step-by-Step Process for Identifying a Swordfish

Finding a Swordfish on a cluttered board can feel like finding a needle in a haystack. However, by using a structured search process, you can systematically scan the grid and locate these elusive patterns.

  1. Filter by a Single Digit: Do not look at all candidates at once. Choose one digit (for example, the number 5) and highlight or focus exclusively on the cells that contain 5 as a pencil mark.
  2. Count Candidates per Line: Scan the rows one by one. Identify all rows that contain exactly two or three cells with the candidate digit. Ignore rows with one candidate (as they are resolved or easily solved) and rows with four or more candidates (as they are too open to form a tight logic loop). Do the same for columns.
  3. Look for Column/Row Alignments: Suppose you have identified Row 2, Row 5, and Row 8 as having the candidate 5 appearing two or three times. Now, look at the columns in which these candidates reside. If all the candidates in Row 2, Row 5, and Row 8 are confined to Column 3, Column 6, and Column 9, you have found a Swordfish!
  4. Apply the Eliminations: Look down Column 3, Column 6, and Column 9. Any cell in these columns that contains the candidate 5, but is NOT in Row 2, Row 5, or Row 8, can have the candidate 5 safely eliminated.

A Concrete Walkthrough: Visualizing the Logic

Let us walk through a detailed, practical example of a Row-Based Swordfish to see how the elimination works in practice. Suppose we are tracking the candidate digit 7 on our Sudokuzio.fun grid. After filling in all pencil marks, we examine the grid and notice the following distribution of the candidate 7 in rows 1, 4, and 8:

Notice that all occurrences of the candidate 7 in these three rows are strictly confined to three columns: Column 2, Column 5, and Column 6. This fits our definition perfectly: we have three Base Rows (1, 4, and 8) whose candidate 7s are covered by three Cover Columns (2, 5, and 6).

Why does this work? Let us analyze the placements. If we try to place the digit 7 in Column 2, Column 5, and Column 6, we have three columns and three rows to distribute them. Because a digit can only appear once per row and once per column, the three 7s in these columns must be placed exactly in the cells r1c2, r4c5, and r8c6, or another valid combination within our intersecting cells. There is no mathematical way to place three 7s in columns 2, 5, and 6 without occupying one cell in Row 1, one cell in Row 4, and one cell in Row 8.

Because these three columns must house their 7s within Rows 1, 4, and 8, no other cell in Columns 2, 5, and 6 can contain a 7. Therefore, we can scan Columns 2, 5, and 6, and delete the candidate 7 from any other cells. For instance, if there is a candidate 7 in r3c2, r6c5, or r9c6, those candidates are safely eliminated.

Advanced Variations: Finned and Sashimi Swordfish

As you progress to even harder Sudoku grids, you will encounter scenarios where a Swordfish pattern is almost perfect, except for one or two extra candidates that disrupt the clean alignment. These are known as "Finned" and "Sashimi" variations. Understanding these forms will allow you to make crucial eliminations when a standard Swordfish is unavailable.

The Finned Swordfish

A Finned Swordfish occurs when you have a standard Swordfish pattern, but one of the Base Sets contains an extra candidate (the "fin") in a cell that does not align with the three Cover Sets. For the logic to hold, this extra cell must be in the same 3x3 box as one of the valid intersections of the Swordfish.

The elimination logic for a Finned Swordfish is based on a simple conditional analysis: If the "fin" cell is true (contains the digit), then the candidate is eliminated from any cell that shares a unit (row, column, or box) with that fin. If the fin cell is false, the pattern behaves like a regular Swordfish, and the standard eliminations apply. By finding the cells that would be eliminated in both scenarios, you can safely remove the candidate from those specific overlapping cells.

The Sashimi Swordfish

A Sashimi Swordfish is similar to a Finned Swordfish, but it is missing one of the primary structural candidates of the Swordfish pattern, leaving only the "fin" and the remaining parts of the fish. Even though the core pattern is broken, the presence of the fin in a specific box allows you to perform identical eliminations to those of a Finned Swordfish, focusing on the intersection of the fin's box and the target cover line.

Practical Tips for Spotting Swordfish Patterns

Spotting a Swordfish requires practice, patience, and a keen eye for geometry. Here are several tips to help you integrate this technique into your regular solving workflow:

Mastering the Swordfish technique elevates your Sudoku game to an elite level. By training your brain to recognize these 3x3 grids of candidates, you will unlock the ability to solve the most complex puzzles with logic and precision, leaving guesswork behind forever.