W-Wing Sudoku Technique: Two Matching Pairs and a Strong Link

A W-Wing is two cells with the same two candidates, say X and Y, that do not see each other, joined by a strong link on X: a row, column or box where X has only two spots, one seeing each cell. One of the two cells must then be Y, so any cell that sees both can lose Y.

To spot one, find two matching bivalue cells that are far apart, then look for a line where one of their digits appears exactly twice, with one end next to each cell. It belongs to the same family as the XY-Wing.

W-Wing: R1C7 and R8C9 both hold 4 and 5. Column 3 has 4 only in R1C3 and R8C3. Eliminates 5 from R1C9, R2C9, R3C9 and R8C7.C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R93594791684524579451239576845768792457315792356197489418732567684521938735249611249793864583745455967938148372
  • 5 in the two wing cells
  • 4, the linking digit
  • Strong link on 4
  • Cells see each other
  • 5 removed
R1C7 and R8C9 (orange) both hold 4 and 5. In column 3, 4 can only go in R1C3 or R8C3 (blue). R1C3 sees R1C7 along row 1, and R8C3 sees R8C9 along row 8.

How the W-Wing works

In this position from a real library puzzle, R1C7 and R8C9 both have exactly 4 and 5 as candidates. They share no row, column or box, so a naked pair does not apply.

Column 3 has only two cells that can hold a 4: R1C3 and R8C3. One of them is the 4 of column 3. Follow each case:

  • If R1C3 is 4, then R1C7, in the same row, cannot be 4. It must be 5.
  • If R8C3 is 4, then R8C9, in the same row, cannot be 4. It must be 5.

So at least one of R1C7 and R8C9 is a 5. A cell that sees both of them cannot be 5. There are four such cells with a 5 candidate:

  • R1C9 is in row 1 with R1C7 and column 9 with R8C9.
  • R2C9 and R3C9 are in box 3 with R1C7 and column 9 with R8C9.
  • R8C7 is in column 7 with R1C7 and row 8 with R8C9.

All four lose their 5. That is a lot for one pattern. The two wing cells are in different bands and stacks, so the houses around them cross in several places.

Puzzle 201190 from the Sudoku Royale library. Givens (row by row, dots are blanks): .....8.2..1..9.6..6.....3....5.197.8.4.8.3.56.6...21...735.4...12................. The candidates shown are what is left after singles, pointing and claiming, naked and hidden pairs, triples and quads, X-Wing and Swordfish, with nothing else applied.

How to spot a W-Wing

  1. List the bivalue cells. Only cells with exactly two candidates can be the ends.
  2. Find matching pairs that do not see each other. Two cells with the same two digits in the same house would be a naked pair. The W-Wing needs them apart.
  3. Look for a strong link on one of their digits. Check the rows, columns and boxes for a house where that digit has only two cells, one seeing each wing cell. The link cells must not be the wing cells themselves.
  4. Eliminate the other digit. If the link is on X, remove Y from every cell that sees both wing cells.

Try both digits of the pair. In the example the link is on 4 and the eliminations are 5s. A strong link on 5 would instead remove 4s.

W-Wing, XY-Wing and XY-Chain

The XY-Wing uses three bivalue cells. The W-Wing uses two, with a strong link doing the job of the pivot. Written as a chain it reads: 5 or 4 in R1C7, 4 in R1C3, 4 in R8C3, 4 or 5 in R8C9. That is a short XY-Chain with one strong link on a single digit in the middle. The middle step, a strong link on one digit, is the building block of an X-Chain.

Related wing patterns are the XYZ-Wing and, for a general version with groups of cells, almost locked sets. For the order to learn them in, see our list of sudoku techniques in learning order or the overview of advanced sudoku strategies.

Get faster at reading bivalue cells

Sudoku Royale's Dojo has no W-Wing drill. Its XY-Wing drill is the closest practice: it trains you to scan two-candidate cells and see which ones connect. Open the XY-Wing drill on your iPhone.

Get Sudoku Royale: Free on iOS

Frequently Asked Questions

What is a W-Wing in sudoku?

A W-Wing is two cells with the same two candidates, X and Y, that do not see each other, plus a strong link on X whose ends each see one of the cells. One of the two cells must be Y, so Y can be removed from any cell that sees both.

What is a strong link?

A strong link on a digit is a row, column or box where that digit has exactly two possible cells. One of the two must hold the digit.

How is a W-Wing different from an XY-Wing?

An XY-Wing uses three bivalue cells: a pivot and two pincers with different digit pairs. A W-Wing uses two bivalue cells with the same pair and replaces the pivot with a strong link on one of the digits.

Can the strong link in a W-Wing be in a box?

Yes. Any house where the linking digit has exactly two cells works, as long as one end sees the first wing cell and the other end sees the second.

Try Sudoku Royale

Download Free on the App Store
Sudoku Royale: classic sudoku, no ads, live matches when you want themDownload Free