When a digit fits in only two cells in each of two columns, and those four cells form a rectangle, you can remove that digit as a candidate (a digit that could still go in a cell) from the other cells in those two rows. The same works with rows and columns swapped.
First, find two columns where one digit fits in only two cells
Pick a digit and list the columns where it can go in only two cells. If two of them have their two cells in the same two rows, you have this shape: four cells at the corners of a rectangle. It works the same way with columns and rows swapped.
Try it: use X-Wing yourself
This is a different board from the walkthrough above. X-Wing solves a cell here. Tap a cell, then tap a digit.
When to use it
Look for it when no Hidden Single or Naked Single is left, and Pointing or Naked Pair cannot take you further. You only follow one digit, so it is easy to spot once candidates are written in.
Sudoku techniques similar to X-Wing
- SwordfishIf a digit's candidates in three rows lie in the same three columns, remove it from the rest of those columns (also with rows and columns swapped).
- SkyscraperIf a digit fits only two cells in each of two rows and one end of each shares a column, remove it from cells that see both other ends.
- 2-String KiteIf a digit fits only two cells in a row and in a column, with one end of each in the same box, remove it from cells that see both other ends.
See it on your own board
Put your board in the URL, and this page will look for X-Wing on it and explain it.
After ?p=, write 81 characters, left to right and top row first: 1-9 for clues, a-i for digits you entered (a=1 … i=9), 0 or . for empty cells. Add notes like &n=13:147,24:28 (R1C3 has 1, 4, 7; R2C4 has 2, 8).