X-Wing

What's an X-Wing?

X-Wing is the first advanced fish pattern most Sudoku players learn. It appears when the same digit shows up in exactly two cells in two rows (or two columns), and those cells align in the same two columns (or rows). Once you spot that 2×2 alignment, you can eliminate that digit from other cells in those columns or rows, often unlocking stalled puzzles without guessing.

This is a natural progression from naked pairs and builds on the foundation of naked singles and hidden singles. If you're still building your basics, consider reviewing pointing pairs as an intermediate bridge before tackling X-Wing.

X-Wing sits at the entry point of the fish family — if the two-candidate pair logic from Naked Pairs felt solid, the two-row rectangle here follows the same counting principle at larger scale. After X-Wing, the direct next step is Swordfish, which extends the same alignment logic to three rows and three columns. For cases where one corner holds an extra candidate, Finned X-Wing adds a short branch check but otherwise applies the same rule. When no fish pattern is available on a given puzzle, XY-Wing provides a wing-based elimination that works independently of row-column alignment.

Want to practice X-Wing on paper? Download our free printable Sudoku PDFs (A4 & US Letter) and try the technique on harder grids.

Why It's a Game-Changer

X-Wing is the first fish pattern in the family that includes Swordfish and Jellyfish. Once you spot one, you can remove misleading candidates and open up fresh possibilities — often triggering naked singles or hidden singles you couldn't see before.


How to Spot and Apply an X-Wing (Step by Step)

  1. Pick one digit and scan only that digit. Example: choose digit 6 and ignore all other candidates for this pass.
  2. Find a row with exactly two candidates for that digit. Example: Row 4 has 6 only at c2 and c7.
  3. Find a second row with the same two candidate columns. Example: Row 8 also has 6 only at c2 and c7.
  4. Confirm the rectangle pattern. Example: r4c2, r4c7, r8c2, r8c7 form the X-Wing corners.
  5. Eliminate that digit from other cells in those columns. Example: remove 6 from any other unsolved cells in column 2 and column 7.
  6. Re-scan for follow-up singles. Example: after elimination, r6c7 may drop to one candidate and become a naked single.

Visual Walkthrough

Imagine rows 4 and 8 both have exactly two "6" candidates - and they're both in columns 2 and 7. That forms a neat rectangle. Whether 6 is in (r4,c2) and (r8,c7) or in (r4,c7) and (r8,c2), you know both columns 2 and 7 must contain the six. So you can remove 6 as a candidate from any other cell in columns 2 and 7. That clean‑up often sparks progress. Once this two-row version feels intuitive, Swordfish extends the same rectangle logic to three rows and three columns.


Common Pitfalls & Mix-ups

  • Thinking any rectangle counts - not all 2‑by‑2 rectangles qualify. You need exactly two candidates in each row/column, and they must align.
  • Ignoring symmetry - it works in both directions: rows→eliminate in columns and columns→eliminate in rows.
  • Missing the logic - you're using disjunction: either diagonal placement A or B must happen, so candidates outside that pattern become impossible.
"X‑Wing is a candidate that, within 2 rows, only appears in 2 columns… it's not just a rectangle of cells you draw anywhere"

Once these boundaries feel solid, you're ready to apply the pattern confidently — then step into Finned X-Wing when one corner holds an extra candidate.


Beyond the Basics: When Things Get Fancier

  • Finned X‑Wing: If one of the "corner" cells has extra candidates (a "fin"), you can analyze both possibilities (it's true vs. false) and eliminate candidates that fail in both scenarios.
  • Sashimi X‑wing: A distorted version where one corner doesn't align exactly - but the logic still applies through testing both configurations.

Both are powerful next‑level moves once you're comfortable spotting classic X‑Wings. Start with Finned X-Wing — it uses the same rectangle logic with one extra candidate to work through. The unfinned next step is Swordfish, which extends the base pattern to three rows and three columns. From there, Finned Swordfish combines both concepts.


Why X-Wing Matters

Once you internalize this pattern, your solving flow becomes smoother and more strategic. X‑Wings appear mainly in hard and expert puzzles, where they prune the candidate field and lay the groundwork for tougher fish techniques like Swordfish and Jellyfish — each of which scales the same row-column alignment logic to more rows and columns.

They aren't just for showing off — they genuinely speed up solving by forcing clear logic onto often messy sections of a grid.


Practice Tips

  • After notes and singles stop working, shift your focus — scan all digits for 2-candidate rows or columns.
  • Use highlighting or shading if you can — it makes spotting rectangles much easier.
  • Once the pattern is familiar, you'll start seeing X-Wing setups automatically.

Ready to apply these tips? Try today's daily puzzle — or grab a printable hard or expert grid if you prefer pen and paper.


Wrap-Up

The X-wing is your first "fish" pattern - a smart, logical shortcut that lets you eliminate candidates from a distance, using only alignment and candidate counts. It's elegant, it's satisfying, and once you see one, your solver's instinct kicks into gear.

The natural next step in the fish family is Swordfish, which scales the same row-column alignment logic to three rows and three columns. For the finned variant, Finned X-Wing handles cases where one corner holds an extra candidate. When no fish pattern is available on a given puzzle, XY-Wing offers a wing-based elimination that works independently of row-column alignment. Or browse the complete strategy guide.

Frequently Asked Questions

What is an X-Wing in Sudoku?

An X-Wing is a candidate elimination pattern. If one digit appears in exactly two cells in two rows (or two columns), and those cells align in the same columns (or rows), you can eliminate that digit from other cells in those columns (or rows).

Is X-Wing a beginner or advanced Sudoku technique?

X-Wing is usually an early advanced technique. Most players learn it after naked singles, hidden singles, and naked pairs.

How do I know an X-Wing is valid?

The pattern is valid only when each of the two rows (or columns) has exactly two candidates for the target digit, and they align perfectly. If one row has a third candidate for that digit, it is not a clean X-Wing.

What can I eliminate with an X-Wing?

Eliminate the target digit from other unsolved cells in the two aligned columns (or rows). Do not remove candidates from the four X-Wing corner cells.

What should I learn after X-Wing?

The natural next step is Swordfish, which extends the same rectangle-alignment logic to three rows and three columns — the direct fish-family progression. For the finned variant, Finned X-Wing handles cases where one corner cell has an extra candidate, requiring a short branch check before the same elimination applies. If no fish pattern is available on a given puzzle, XY-Wing offers a different elimination approach based on three candidate cells rather than row-column alignment.

What to Study Next

X-Wing sits at the entry point of the fish family. The clearest onward paths stay within fish patterns or branch into wing-based eliminations:

  • Natural next step: Swordfish — extends the same fish logic from two rows and columns to three, using exactly the same rectangle-alignment reasoning at larger scale
  • Fish family extension: Jellyfish — extends the pattern further to four rows and four columns; if Swordfish felt natural, Jellyfish follows the exact same logic one step larger
  • Also explore: Finned X-Wing — a variant where one corner cell has an extra candidate (the "fin"); adds a short branch check but otherwise applies the same elimination rule
  • Alternative approach: XY-Wing — a wing-based elimination that doesn't use fish logic; useful when no fish pattern is available on a given puzzle
  • Revisit a prerequisite: Naked Pairs — if the two-row alignment logic felt uncertain, Naked Pairs applies the same candidate-reduction reasoning on a smaller, two-cell structure

Where to Practice

← Back to all strategies

Ready to use the X-Wing technique? X-Wing appears in hard and expert grids — try today's free daily Sudoku puzzle or go straight to Hard Sudoku and Expert Sudoku where fish-pattern eliminations come up most often.

Play today's daily puzzle

Ready to practice? Try the Sudoku a Day app — ad-free, with daily puzzles from beginner to expert. Download on the App Store