Sudoku Strategy

The X-Wing Technique: A Complete Sudoku Strategy Guide

July 4, 2026 · The Play Sudoku Team

If you’ve mastered singles, pairs, and basic elimination techniques but still find yourself stuck on harder Sudoku puzzles, it’s time to learn one of the game’s most satisfying advanced strategies: the X-Wing.

The X-Wing technique is often the first “fish pattern” that experienced Sudoku players learn. While it may look intimidating at first, the logic behind it is surprisingly simple. Once you understand how it works, you’ll begin spotting X-Wings naturally and solving puzzles that once seemed impossible.

In this guide, we’ll explain exactly what the X-Wing technique is, how to identify it, how to apply it correctly, common mistakes to avoid, and when to look for it during a solve.


What Is the X-Wing Technique?

The X-Wing is an advanced candidate elimination strategy used in Sudoku.

Unlike basic techniques that allow you to place a number immediately, the X-Wing helps you eliminate impossible candidates, which often reveals new singles elsewhere on the board.

The strategy works because a specific digit becomes restricted to exactly two positions in two different rows (or two different columns). Those four cells form the corners of a rectangle—an “X-Wing.”

Once that pattern exists, every other candidate of that digit in the matching columns (or rows) can safely be removed.


Why Is It Called an X-Wing?

Imagine four cells arranged like this:

•       •

•       •

If you connect opposite corners with diagonal lines, they form the shape of an “X.”

Those four corner cells are the only places where a particular digit can appear.

Regardless of which diagonal ends up containing the final numbers, the result forces eliminations elsewhere.


Before You Use X-Wing

The X-Wing is not an early-game strategy.

You should already have completed:

  • Naked Singles
  • Hidden Singles
  • Pointing Pairs
  • Box-Line Reduction
  • Naked Pairs
  • Hidden Pairs
  • Naked Triples (if available)

Most medium puzzles never require an X-Wing.

You’ll most often encounter it in:

  • Hard Sudoku
  • Expert Sudoku
  • Evil Sudoku
  • Competition puzzles

Step 1: Choose One Candidate Number

Don’t scan the entire puzzle.

Instead, pick one digit.

For example:

  • Look only for 7s.
  • Ignore every other candidate.

This dramatically reduces visual clutter.

Many experienced players simply scan:

  • all the 1s
  • then all the 2s
  • then all the 3s

until an X-Wing appears.


Step 2: Find Two Rows with Exactly Two Candidates

Suppose you’re examining candidate 7.

Imagine:

Row 2 contains only:

  • Column 3
  • Column 8

Row 8 also contains only:

  • Column 3
  • Column 8

That’s exactly what you need.

Both rows contain only two possible locations for the digit.

Better yet—they line up perfectly in the same two columns.

That creates an X-Wing.


Step 3: Understand the Logic

Here’s the important part.

In Row 2, one of those two cells must be a 7.

In Row 8, one of those two cells must also be a 7.

There are only two possible arrangements:

Option 1

7 . . . . . . 7

Option 2

. . . . . . . 7
7 . . . . . .

No matter which arrangement becomes true, Columns 3 and 8 already contain their required 7s.

That means every other candidate 7 in those columns becomes impossible.

This is why the eliminations are always safe.


Step 4: Eliminate Candidates

Once you’ve confirmed the X-Wing:

Remove that candidate from:

  • every other cell in Column 3
  • every other cell in Column 8

Do not remove the four corner candidates.

Only eliminate the candidates outside the rectangle.

These eliminations often uncover:

  • Hidden Singles
  • Naked Singles
  • New pairs
  • Additional advanced patterns

The Column Version

Everything also works in reverse.

Instead of starting with rows:

Find two columns that each contain exactly two candidates.

If those candidates lie in the same two rows, you’ve found a column-based X-Wing.

The eliminations occur across the rows instead of the columns.

The logic is identical.


A Simple Example

Imagine candidate 5 appears like this:

Row 1:
C2, C7

Row 6:
C2, C7

Now check Columns 2 and 7.

Suppose Column 2 contains several other pencil-marked 5s.

Those extra 5s can all be erased.

The same applies to Column 7.

You haven’t solved any numbers yet.

You’ve simply narrowed the puzzle using logic.


Common Mistakes

Many players think they’ve found an X-Wing when they actually haven’t.

Here are the most common errors.

Mistake 1: One Row Has Three Candidates

Example:

Row 2:

  • C3
  • C6
  • C8

That’s not an X-Wing.

Each participating row (or column) must contain exactly two candidates for that digit.


Mistake 2: Different Columns

Example:

Row 2:

  • C3
  • C8

Row 7:

  • C3
  • C6

These do not line up.

No X-Wing exists.


Mistake 3: Removing the Wrong Candidates

Only remove candidates:

  • outside the rectangle
  • within the matching columns (or rows)

Never eliminate one of the four corner candidates.

Those four cells create the pattern.


Mistake 4: Looking at Multiple Digits

The X-Wing is always a single-digit technique.

Never mix:

  • 4s
  • 6s
  • 9s

Choose one digit at a time.


How to Spot X-Wings Faster

Experienced Sudoku players don’t randomly search the board.

Instead they develop a routine.

A simple approach is:

  1. Pick a digit.
  2. Scan every row.
  3. Mark rows with exactly two candidates.
  4. See whether another row shares the same columns.
  5. Repeat using columns.

This systematic approach is much faster than trying to recognize patterns visually.


Why Pencil Marks Matter

The X-Wing depends on accurate candidate notation.

If your pencil marks are incomplete or incorrect, you’ll miss the pattern entirely.

Before hunting for advanced strategies:

  • update every candidate
  • remove outdated candidates
  • keep notes consistent

Many online Sudoku apps automatically maintain candidates, making X-Wings much easier to spot.


X-Wing vs. Swordfish

After learning the X-Wing, most players move on to the Swordfish.

The difference is simple.

X-Wing

  • Uses 2 rows
  • Uses 2 columns
  • Forms four corners

Swordfish

  • Uses 3 rows
  • Uses 3 columns
  • Creates a larger fish pattern

The underlying logic is nearly identical.

If you understand the X-Wing well, Swordfish becomes much easier to learn.


When Should You Look for an X-Wing?

Don’t waste time searching too early.

Instead:

  • solve all obvious singles
  • solve pairs
  • use pointing pairs
  • perform box-line reductions

Only after progress slows should you scan for X-Wings.

Many expert solvers naturally transition to X-Wing once the puzzle reaches a stalemate.


Practice Tips

Like every Sudoku strategy, recognition comes through repetition.

Try these exercises:

  • Solve only Hard puzzles for a week.
  • Pick one digit and scan the entire grid before choosing another.
  • Pause before using hints and ask, “Could this be an X-Wing?”
  • Review completed puzzles to locate X-Wings you missed.

The more examples you see, the faster your brain recognizes the pattern.


Final Thoughts

The X-Wing is one of the most rewarding Sudoku techniques because it transforms what looks like a random collection of candidates into a clean logical deduction. While it isn’t needed for every puzzle, it frequently appears in hard and expert grids and serves as an excellent bridge into more advanced solving methods like Swordfish and Jellyfish.

The key is patience. Focus on one digit at a time, verify that each participating row or column contains exactly two candidates, and only make eliminations after confirming the complete pattern. With practice, spotting an X-Wing becomes almost automatic.

If you’re ready to level up your Sudoku skills, the X-Wing is the perfect next strategy to master. Fire up a challenging puzzle on PlaySudoku, keep your pencil marks accurate, and start hunting for those hidden X-shaped patterns. Once you find your first one, you’ll wonder how you ever solved difficult Sudoku puzzles without it.



Play a puzzle