# X-Wing in Sudoku

> An X-Wing appears when a digit is a candidate in exactly two cells in each of two different rows, and those cells sit in the same two columns — forming a rectangle. The digit must occupy opposite corners of that rectangle, so it can be eliminated from the rest of both columns. Pick a digit and find rows where it has exactly two possible cells. If two such rows have their pairs in the same two columns, the four cells form an X-Wing. The same works with rows and columns swapped.

Source: https://sudokupuzzlepdf.com/x-wing-sudoku/
Last updated: 2026-08-11

## When You Need an X-Wing

X-Wing is the entry point to advanced Sudoku. Hard puzzles are typically constructed so that basic techniques run out and a pattern like this is the only way forward without guessing.

### X-Wing at a Glance

- **Technique:** X-Wing
- **Difficulty level:** Advanced
- **Also known as:** rectangle elimination
- **First needed on:** Hard puzzles

### How to Spot an X-Wing

Pick a digit and find rows where it has exactly two possible cells. If two such rows have their pairs in the same two columns, the four cells form an X-Wing. The same works with rows and columns swapped.

### The Mistake Solvers Make

Forgetting that the elimination applies to the columns when the pattern was found in rows, and to the rows when found in columns — always the opposite direction to where you spotted it.

### Practise This Technique

Hard puzzles are where the x-wing first becomes necessary. [Generate a free printable hard Sudoku PDF](https://sudokupuzzlepdf.com/hard-sudoku-puzzle-pdf/) and work through a few.

### Other Sudoku Techniques

- [Naked Single](https://sudokupuzzlepdf.com/naked-single-sudoku/) — beginner
- [Hidden Single](https://sudokupuzzlepdf.com/hidden-single-sudoku/) — beginner
- [Naked Pair](https://sudokupuzzlepdf.com/naked-pair-sudoku/) — intermediate
- [Pointing Pair](https://sudokupuzzlepdf.com/pointing-pair-sudoku/) — intermediate
- [Swordfish](https://sudokupuzzlepdf.com/swordfish-sudoku/) — advanced

[See how these fit together in the full solving guide](https://sudokupuzzlepdf.com/how-to-solve-sudoku/).

### X-Wing — Frequently Asked Questions

#### What is an x-wing in Sudoku?

An X-Wing appears when a digit is a candidate in exactly two cells in each of two different rows, and those cells sit in the same two columns — forming a rectangle. The digit must occupy opposite corners of that rectangle, so it can be eliminated from the rest of both columns.

#### How do you find an x-wing?

Pick a digit and find rows where it has exactly two possible cells. If two such rows have their pairs in the same two columns, the four cells form an X-Wing. The same works with rows and columns swapped.

#### Is the x-wing a beginner or advanced technique?

It is an advanced technique. X-Wing is the entry point to advanced Sudoku. Hard puzzles are typically constructed so that basic techniques run out and a pattern like this is the only way forward without guessing.
