Jellyfish in Sudoku: Strategy & Technique Explained

The Jellyfish is an expert-level fish pattern that uses four rows and four columns to eliminate candidates — extending the X-Wing and Swordfish logic to its largest practical size.

HomeBlog › Jellyfish

If you’ve mastered the X-Wing (2×2) and Swordfish (3×3), you’re ready for the largest practical fish pattern: the Jellyfish. Where a Swordfish locks a candidate across three rows and three columns, the Jellyfish extends that logic to four rows and four columns — covering an even wider area in a single elimination step.

The Jellyfish is one of the rarest standard techniques you’ll encounter. It appears almost exclusively in expert-level puzzles, and spotting one requires careful scanning of candidate positions across the entire grid. But when you find it, the payoff is immediate and satisfying.

In this guide we’ll explain exactly what a Jellyfish is, walk through the underlying logic, and demonstrate the technique on a real puzzle with before-and-after diagrams.

✅ What Is a Jellyfish in Sudoku?

A Jellyfish occurs when a candidate digit appears in only 2 to 4 cells in each of four different rows, and all of those cells fall within the same four columns. Because the digit must go in one of these cells in each row, the four rows “lock” the digit into those four columns — and it can be eliminated from every other cell in those four columns.

ℹ️ Definition

A Jellyfish is a 4×4 fish pattern: a candidate appears in 2–4 positions in each of four base rows, confined to exactly four columns. The candidate can be eliminated from all other cells in those four columns outside the base rows.

The Jellyfish is the largest commonly used member of the “fish” family of techniques. It follows the same principle as the X-Wing (2×2) and the Swordfish (3×3), simply scaled up to four rows and four columns.

🧠 How It Works (The Logic)

Think of the Jellyfish as four overlapping X-Wings. Here’s the core logic:

  1. In Row 1, candidate 2 can only go in columns 4, 7, and 8.
  2. In Row 4, candidate 2 can only go in columns 3 and 7.
  3. In Row 6, candidate 2 can only go in columns 3 and 8.
  4. In Row 9, candidate 2 can only go in columns 7 and 8.

Four rows, all restricted to the same four columns: 3, 4, 7, and 8. The digit 2 must land in exactly one cell per row, and those four placements will each occupy one of the four columns. No matter how the digit is distributed across the rows, every column gets exactly one 2.

Therefore, every other cell in columns 3, 4, 7, and 8 (outside these four rows) cannot contain 2.

💡 Key Insight

The four base rows “consume” one instance of the candidate in each of the four columns. Since each column can only hold the digit once, no other row in those columns can have it.

🔎 Step-by-Step Example

Let’s walk through a real Jellyfish. We’re looking at digit 2 across rows 1, 4, 6, and 9 in columns 3, 4, 7, and 8.

Step 1: Identify the pattern rows

Check where candidate 2 appears in each row:

  • Row 1 — candidate 2 in R1C4 {2,3}, R1C7 {2,3,6,7}, and R1C8 {2,3,6,7}
  • Row 4 — candidate 2 in R4C3 {2,7} and R4C7 {2,7}
  • Row 6 — candidate 2 in R6C3 {2,7} and R6C8 {2,7,8}
  • Row 9 — candidate 2 in R9C7 {2,6} and R9C8 {2,6}

All candidate-2 positions are confined to columns 3, 4, 7, and 8 — exactly four columns.

Step 2: Confirm the Jellyfish

Four rows, four columns, candidate 2 restricted to 2–3 cells per row, all within the same column set. This is a valid Jellyfish pattern.

Jellyfish pattern in a Sudoku grid — nine pattern cells highlighted in green across rows 1, 4, 6, and 9 in columns 3, 4, 7, and 8 with candidate 2, three elimination cells highlighted in red
Jellyfish on digit 2: nine pattern cells (green) in rows 1, 4, 6, and 9 span columns 3, 4, 7, and 8. Three elimination cells (red) lose candidate 2.

Step 3: Eliminate from the columns

Remove candidate 2 from every cell in columns 3, 4, 7, and 8 that is not in rows 1, 4, 6, or 9:

  • R3C8 — {2,3,4} → {3,4}
  • R8C4 — {2,3} → {3}
  • R8C8 — {2,3,4,7} → {3,4,7}

That’s 3 eliminations from a single Jellyfish — clearing candidate 2 from cells outside the pattern rows in columns 4 and 8. Notice that R8C4 is reduced to a naked single — it must be 3.

Grid after applying Jellyfish — candidate 2 removed from R3C8, R8C4, and R8C8
After applying the Jellyfish: candidate 2 is removed from three cells in columns 4 and 8 outside the pattern rows.

Step 4: Continue solving

With fewer candidates in those columns, new singles and patterns may emerge. In this case, R8C4 becomes a naked single (3), which can trigger a chain of further placements.

🔢 Pattern Summary

Find: A candidate that appears in 2–4 cells per row across four rows, confined to exactly four columns.
Eliminate: That candidate from all other cells in those four columns outside the pattern rows.
Result: Fewer candidates in the target columns, opening up new solving opportunities.

🕵️ How to Find a Jellyfish

🛠️ Search Method

1. Pick a candidate digit (1–9).
2. For each row, note which columns contain that candidate. Focus on rows with only 2, 3, or 4 positions.
3. Look for four rows whose column positions are all drawn from the same set of exactly four columns.
4. If found, eliminate the candidate from all other cells in those four columns outside the four rows.
5. Repeat for every digit.

💡 Pro Tip

Start by finding X-Wings and Swordfish first. If a Swordfish candidate appears in a fourth row that uses only the same columns (possibly adding a fourth), it may extend into a Jellyfish. Building up from smaller fish is easier than scanning four rows simultaneously.

🔄 Jellyfish vs Swordfish vs X-Wing

The Jellyfish is the natural extension of the Swordfish and X-Wing. They form the “fish” family and use identical logic at different scales.

Feature X-Wing Swordfish Jellyfish
Base rows 2 3 4
Columns involved 2 3 4
Cells per row Exactly 2 2 or 3 2, 3, or 4
Elimination scope Other cells in 2 columns Other cells in 3 columns Other cells in 4 columns
Difficulty Advanced Advanced Expert
Frequency Moderate Rare Very rare

Once you can spot Swordfish confidently, the leap to Jellyfish is mostly about scanning four rows at a time instead of three. The underlying principle — restricted positions locking a candidate into specific columns — is exactly the same.

📌 Row-Based vs Column-Based Jellyfish

A Jellyfish can use either rows or columns as its base. The logic is identical — only the orientation changes.

  • Row-based Jellyfish: Four base rows with the candidate confined to four columns. Eliminate from the rest of those four columns. This is the type we saw in our example.
  • Column-based Jellyfish: Four base columns with the candidate confined to four rows. Eliminate from the rest of those four rows.
ℹ️ Incomplete Jellyfish

Not every row in a Jellyfish needs to have the candidate in all four columns. An “incomplete” Jellyfish has the candidate in only 2 or 3 of the 4 columns in some rows (as in our example, where rows have 2–3 positions each). The pattern is still valid as long as the union of all positions spans exactly four columns.

⚠️ Common Mistakes to Avoid

1. Pattern spanning more than 4 columns

If the candidate positions across four rows span five or more columns, it’s not a Jellyfish. Verify that the union of all column positions equals exactly four before applying any eliminations.

2. Eliminating inside the pattern rows

Only eliminate the candidate from cells in the four Jellyfish columns that are outside the four base rows. Never remove candidates from cells within the pattern rows themselves.

3. Forgetting the second orientation

If no row-based Jellyfish exists, remember to check column-based patterns as well. Checking only one orientation means missing half the possible Jellyfish patterns.

4. Confusing fish sizes

An X-Wing uses 2 rows and 2 columns; a Swordfish uses 3; a Jellyfish uses 4. Make sure you have exactly four rows with positions spanning exactly four columns — not three (Swordfish) or five+.

📅 When to Look for Jellyfish

  1. Basic techniques: Naked singles, hidden singles, full house.
  2. Intermediate techniques: Pointing Pairs, Box/Line Reduction, Naked Pairs, Hidden Pairs.
  3. Advanced techniques: X-Wing, Swordfish, XY-Wing.
  4. Expert techniques: Jellyfish, XYZ-Wing, W-Wing, Chains, ALS.

Jellyfish sits at the expert tier — the final stage of the fish family. Try X-Wing and Swordfish first; only look for Jellyfish when those and other advanced techniques have been exhausted. In practice, Jellyfish appears exclusively in the hardest puzzles.

🔢 Difficulty Indicator

Puzzles requiring a Jellyfish are rated Expert. Our hard puzzles include grids where expert-level fish techniques may appear as key solving steps.

🚀 Beyond Jellyfish

Technique Size Elimination Scope Difficulty
X-Wing 2 rows × 2 cols Other cells in 2 columns Advanced
Swordfish 3 rows × 3 cols Other cells in 3 columns Advanced
Jellyfish 4 rows × 4 cols Other cells in 4 columns Expert
XY-Wing 3 bi-value cells Cells seeing both wing cells Advanced

The Jellyfish completes the standard fish family from X-Wing through Swordfish. While larger fish (Squirmbag, Whale, Leviathan) exist in theory, they are computationally equivalent to other techniques and virtually never needed in hand-solving. Mastering up to Jellyfish gives you a complete fish toolkit.

🎯 Practise Jellyfish

  • Fill in all pencil marks: Jellyfish requires complete candidate information.
  • Focus on digits with few candidates: If a digit appears in only 2–4 cells per row across multiple rows, investigate further.
  • Build up from smaller fish: Look for X-Wings and Swordfish first. A Jellyfish often appears when a fourth row extends a near-Swordfish pattern.
  • Verify with the solver: Use our Sudoku solver to confirm your findings.

Sudoku Hard

Expert-level puzzles where advanced techniques like Jellyfish may appear as key solving steps.

▶ Play Hard Sudoku

Sudoku Solver

Enter your grid and watch the solver find advanced techniques including Jellyfish.

▶ Open the Solver

Frequently Asked Questions

A Jellyfish is an expert-level technique. When a candidate appears in only 2–4 cells in each of four rows, and those cells fall within the same four columns, the candidate can be eliminated from every other cell in those four columns outside the pattern rows.

A Swordfish uses 3 rows and 3 columns, while a Jellyfish uses 4 rows and 4 columns. Both follow the same logic, but Jellyfish covers a larger area. Jellyfish is rarer and typically provides fewer eliminations than Swordfish.

After exhausting basic, intermediate, and advanced techniques including X-Wing and Swordfish. Jellyfish is an expert-level technique found almost exclusively in the hardest puzzles.

Yes. A Jellyfish can be row-based (4 base rows, eliminate from columns) or column-based (4 base columns, eliminate from rows). The logic is identical in both orientations.

Very rare. Most puzzles never require a Jellyfish. It is mainly encountered in expert-level grids where simpler techniques are insufficient. While larger fish exist in theory, Jellyfish is the largest that is practically useful in hand-solving.