HomeSudokuSolving guides

How to solve Sudoku

X-Wing, Swordfish, and Jellyfish

All three techniques track the candidates of a single digit. If that digit’s candidates across n rows are confined to only n total columns, that digit can be eliminated from all other cells in those columns. When n = 2 it is an X-Wing, with n = 3 it is a Swordfish, and with n = 4 it is a Jellyfish. The logic works exactly the same if you swap rows and columns.

Download on the App Store

The Android app is in preparation.

X-Wing: two lines

Here, across two columns, the candidates for 4 line up in the exact same two rows.

The 2 4s go into these 2 rows, one each

Each of these 2 columns needs one 4, so 2 in all. Each 4 goes in a marked cell, so each sits in one of these 2 rows. No row can hold two 4s, so each of the 2 rows gets exactly one. The two cells that hold 4 are opposite corners of the rectangle (if you join each of the two possible pairs of opposite corners, they cross like an X).

Step through X-Wing

Swordfish: three lines

The three rows do not each need to have candidates in all three columns. Two cells per row is plenty, as long as all candidate cells collectively fit within the same three columns.

The 3 6s go into these 3 columns, one each

Each of these 3 rows needs one 6, so 3 in all. Each 6 goes in a marked cell, so each sits in one of these 3 columns. No column can hold two 6s, so each of the 3 columns gets exactly one.

Step through Swordfish

How to find them

  1. Pick a single digitFocus strictly on that digit’s pencil marks across the board.
  2. Identify rows with only two or three spots for itRows with many candidates are unlikely to form a clean fish pattern.
  3. Count their shared columnsAdd candidate rows one by one and check whether the total number of columns used matches the number of rows.
  4. Swap rows and columnsRepeat the exact same scan starting from columns and checking rows.

Bigger fish patterns

In the app’s solver, the X-Wing is ranked at the same level as triples, while Swordfish and Jellyfish sit one level higher. Finned Swordfish and Finned Jellyfish—used when an extra candidate (the fin) extends into a single box—are ranked higher still. The full hierarchy is listed in Advanced techniques, in order.

Techniques like Skyscraper and 2-String Kite, which connect pairs of cells where a digit only has two spots, also focus on just one digit (Sudoku chains explained).

Try it: make the next move in this Sudoku

On this board, Swordfish solves the next cell. Tap a cell, then tap a digit.

Step through Swordfish

Keep going in the app

In the app, Training teaches you one technique at a time, and ranked matches give you puzzles at your skill level. When you get stuck, hints show which technique to look for next and where.

Download on the App Store
QR code for the Sudoku App Store page
Scan with your iPhone camera

The Android app is in preparation.