← All guides

Sudoku · Intermediate

How to Use the X-Wing Technique in Sudoku

Learn how to spot the X-Wing pattern, eliminate possible numbers, and solve trickier Sudoku puzzles without relying on guesswork.

Nov 24, 2026 · 4 min read

As you move on to more challenging Sudoku puzzles, basic elimination techniques might not always be enough to find your next move. This is where the X-Wing technique comes in handy.

The X-Wing is simply a pattern that helps you eliminate possible numbers from certain squares without guessing. Once you know what to look for, it becomes much easier to spot.

What Is the X-Wing Technique?

The X-Wing technique involves finding four squares that form the corners of a rectangle across two rows and two columns. For the technique to work:

  • The same number must have exactly two possible positions in each of two rows.
  • These possible positions must line up in the same two columns.
  • The four squares must form a rectangle.

Because the number must appear once in each row and column, it can only occupy one of two diagonal arrangements within that rectangle. This allows you to eliminate that number as a possibility from other squares in those two columns.

How to Use the X-Wing Technique

Let's use the number 7 as an example.

Choose a Number

The first step is to look at the possible positions of a particular number. You can use the Notes feature on Daily Brain Juice to keep track of these possibilities.

Find Two Rows With Matching Possibilities

Imagine that:

  • In row 2, the number 7 can only appear in columns 3 and 8.
  • In row 6, the number 7 can also only appear in columns 3 and 8.

These four possible positions form a rectangle.

Identify the X-Wing Pattern

There are now only two possible arrangements:

  • A 7 in row 2, column 3, and another in row 6, column 8.
  • A 7 in row 2, column 8, and another in row 6, column 3.

You don't yet know which arrangement is correct. However, you do know that both columns must receive their 7 from one of these four squares.

Eliminate Other Possibilities

Since the number 7 must occupy two of these four squares, you can safely remove 7 from the notes of every other square in columns 3 and 8. This might reveal a square with only one remaining possible number or help you uncover another useful pattern elsewhere on the board.

Can the X-Wing Technique Work With Columns?

Yes, the technique works in both directions. If a number has exactly two possible positions in each of two columns, and those positions line up in the same two rows, you can eliminate that number from all other squares in those rows. The same logic applies, just in the opposite direction.

Common Mistakes to Avoid

When learning the X-Wing technique, watch out for these common mistakes:

  • Overlooking extra possibilities: If you're searching for a row-based X-Wing, each of the two selected rows must contain exactly two possible positions for that number.
  • Choosing misaligned squares: The four positions must form a rectangle.
  • Removing the wrong numbers: Only eliminate the specific number involved in the X-Wing pattern.
  • Filling in numbers too soon: An X-Wing helps you eliminate possibilities, but it doesn't immediately tell you which diagonal arrangement is correct.

When Should You Use the X-Wing Technique?

This technique is particularly useful when you've exhausted simpler Sudoku strategies and several empty squares still contain several possibilities. Rather than guessing, take a closer look at your notes and search for matching patterns across rows or columns. It might take some practice to recognize your first X-Wing, but the more you use this technique, the easier it becomes to spot.

Try it now

Play Sudoku

Use the technique on today's puzzle.

Play Sudoku

Keep reading