X-Wing
Used in Classic 9×9 Sudoku, 6×6 Sudoku, Difference Sudoku, Irregular 6×6 Sudoku, Relational 6×6 Sudoku, Odd/Even Sudoku, Windowed Sudoku, Killer Sudoku, Skyscraper Sudoku 5×5 and Triangle Sudoku.
An X-wing is what you find when the easier techniques have run dry and one digit is down to two places in each of two lines. If those places line up, crossing the same two lines the other way, they form a rectangle, and the digit can be cleared from the rest of the crossing lines.
Take two columns. In each one, a digit has exactly two candidate cells left, and the four cells sit in the same two rows. Column one's copy of the digit goes in one of those rows, and column two's goes in the other. They can't share a row, because a row holds each digit once. So between them the two columns supply the digit to both rows, and no other cell in either row can have it.
It works the same with rows and columns swapped: two rows whose candidates for a digit sit in the same two columns clear that digit from the rest of those columns.
An example

Follow the 7 down the sixth column. Most of the column is filled, and of its empty cells only two can hold a 7: the fourth row and the ninth row. Now the eighth column: its 7 can also only go in the fourth row or the ninth.
Those four cells are the corners of a rectangle. If the sixth column's 7 is in the fourth row, the eighth column's must be in the ninth, and the other way round. Either way, the fourth row gets its 7 from one of the two corners in it, and so does the ninth row. Every other 7 in those two rows goes:
- the fourth row's second-column cell goes from 3, 7 to just 3, now a naked single,
- the fourth row's last cell goes from 5, 7, 8 to 5, 8,
- the ninth row's last cell goes from 2, 3, 7, 9 to 2, 3, 9.
None of the corners has been solved, and you don't need to know which diagonal is the true one. The elimination holds for both.
How to look for them
- Go one digit at a time. Pick a digit and note the columns where it has exactly two candidates. An X-wing is two of those columns whose pairs fall in the same two rows.
- Then do the same with rows. Two rows whose pairs sit in the same two columns are the same pattern turned on its side.
- Only lines with exactly two candidates count as a base. A line where the digit has three places can still be part of a swordfish, the same idea over three lines.
- Check that something gets cleared. If the crossing lines have no other candidate for the digit, the X-wing is real but tells you nothing new.
Where it fits
The X-wing is an Expert technique here. On Classic 9×9, a puzzle the app calls Expert needed at least one step from this tier: an X-wing, a swordfish or an XY-wing. Every square variant has rows and columns, so it can turn up on any of them. On the triangle board the same reasoning runs between any two of the three line directions.
More techniques
- Naked Single (Obvious Single): A cell with only one candidate left must hold it. The first thing to look for in any sudoku, and how to spot it quickly.
- Hidden Single: When a digit fits in only one cell of a row, column or box, it goes there, even if that cell has other candidates.
- Naked Pair (Obvious Pair): Two cells in a house with the same two candidates take both digits between them, so the rest of the house can't have either.
- Naked Triple (Obvious Triple): Three cells in a house whose candidates use only three digits take all three, even when no cell shows all of them.
- Hidden Pair: Two digits that fit in only the same two cells of a house claim those cells, so every other candidate there can go.
- Hidden Triple: Three digits confined to the same three cells of a house claim them, clearing out every other candidate in those cells.
- Pointing Pairs and Triples: A digit confined to one line inside a box (or to one box along a line) can be removed from the rest of that line or box.
- Swordfish: The X-wing over three lines: a digit confined to three columns across three rows can be removed from the rest of those columns.
- XY-Wing (Y-Wing): Three two-candidate cells that bend around a pivot: whichever way the pivot goes, one wing holds the shared digit, so no cell seeing both wings can.