Relaxing Hobbies

Sudoku W-Wing: What It Is and How to Use It

Updated · By the Relaxmid editors

Reading time
5 min
Sections
7
Topic
Relaxing Hobbies

Yes, a W-Wing is a sudoku solving technique that eliminates candidate numbers by linking two identical pairs through a strong link. It is a medium-advanced strategy that helps you remove possibilities without guessing. You use it after basic techniques like naked and hidden pairs stop revealing new numbers.

What a W-Wing Looks Like on the Grid

A W-Wing needs three parts: two identical bivalue cells (cells with exactly two candidates, say A and B) and a strong link on one of those candidates (say A) somewhere else in the grid. The strong link connects two cells that both see one of the bivalue cells.

Here is the pattern in plain terms:

  • Cell 1 has candidates {A, B}.
  • Cell 2 has candidates {A, B} (same pair).
  • There is a strong link on candidate A between two other cells, call them X and Y. A strong link means only two cells in a row, column, or box can hold A.
  • Cell X sees Cell 1 (shares a row, column, or box).
  • Cell Y sees Cell 2.

Because of the strong link, at least one of the two bivalue cells must be B. If both were A, then the strong link would be impossible. Therefore, any cell that sees both bivalue cells cannot be B. You can eliminate B from those cells.

Why the Elimination Works

Think of it as a logical chain. If Cell 1 is A, then the strong link forces Cell 2 to be B (because the link’s other end is blocked). If Cell 1 is B, then Cell 2 is A. Either way, one of the two cells is B. So any cell that can see both of them cannot be B, because it would conflict with whichever one turns out to be B.

This is not a chain of many steps. It is a single, clean deduction. The strong link is the key: it guarantees that the two bivalue cells cannot both be A. That guarantee is what lets you remove B.

How to Spot a W-Wing While Solving

Scanning for W-Wings takes practice. Here is a systematic way to look:

  1. Find all bivalue cells and note their two candidates.
  2. Look for two bivalue cells with the same pair, for example {3,7} and {3,7}.
  3. For each of those pairs, check if there is a strong link on one of the candidates (say 3) that connects two cells, one seeing the first bivalue cell and one seeing the second.
  4. If yes, look for any cell that sees both bivalue cells. That cell cannot contain the other candidate (7). Remove it.

A strong link on a candidate exists when exactly two cells in a row, column, or box contain that candidate. You will often find these in rows or columns where a candidate appears only twice.

Start by scanning rows and columns for candidates that appear exactly twice. Then check if those two cells each see a bivalue cell with the same pair. That is the most common setup.

Worked Example: A Small Grid

Imagine a row with these candidates in five empty cells:

Cell A: {3,7}   Cell B: {3,7}   Cell C: {3,5}   Cell D: {3,9}   Cell E: {7,8}

Here, cells A and B are identical bivalue cells. Now suppose in the same row, candidate 3 appears only in cells C and D. That is a strong link on 3 between C and D. Cell C sees cell A (same row), and cell D sees cell B (same row). This fits the W-Wing pattern.

Therefore, any cell that sees both A and B cannot be 7. In this row, no other cell sees both, so you would look in the columns or boxes that contain A and B. If a cell in the same column as A and the same column as B exists, remove 7 from it.

In practice, you would pencil in the candidates and then scan for this shape. It is easier to spot when you already have a full grid of candidates.

When to Use W-Wing vs. Other Techniques

W-Wing is more advanced than naked pairs or pointing pairs, but simpler than chains like XY-Wing or XYZ-Wing. Use it after you have exhausted the basic techniques:

  • Naked singles and hidden singles
  • Naked pairs and hidden pairs
  • Pointing pairs and box-line reduction
  • X-Wing (if you know it)

If you are stuck and no basic elimination works, look for W-Wings. They often unlock medium-difficulty puzzles. They are especially useful in puzzles rated “hard” on many apps, because they break through without needing long chains.

Do not use W-Wing early. It requires a nearly complete candidate grid. If you have not filled in all candidates, you will miss the pattern.

Practice Tips for Getting Comfortable

Start with a puzzle that has a solution using a W-Wing. Many sudoku apps label puzzle difficulty; choose “hard” or “expert” and look for the pattern. Here is how to practice deliberately:

  1. Fill in all candidates for every empty cell.
  2. Circle or highlight every bivalue cell.
  3. Look for two with the same pair.
  4. For each pair, scan rows, columns, and boxes for a strong link on one of the two candidates.
  5. When you find one, check for a cell that sees both bivalue cells and remove the candidate.

If you do not find a W-Wing, move on to another technique. It is normal to scan several times before spotting it. With practice, you will see the pattern faster.

One common mistake is confusing a W-Wing with an XY-Wing. In an XY-Wing, the three cells have different pairs (like {3,7}, {3,5}, {7,5}). In a W-Wing, the two end cells are identical. Keep that distinction clear.

What to Do When You Find a W-Wing

Once you eliminate the candidate, re-check the grid. The elimination may create a naked single or a new pair. Continue with basic techniques after each W-Wing. Often one W-Wing leads to a cascade of simple eliminations.

If the elimination does not help, you may have misidentified the strong link. Double-check that the strong link is truly on a candidate that appears in exactly two cells in its unit. If there are three or more cells with that candidate, it is not a strong link and the W-Wing does not apply.

Remember that the two bivalue cells must have the same two candidates. They do not need to be in the same row, column, or box; they just need to be seen by the two ends of the strong link. The cell that sees both bivalue cells is the one where you remove the candidate.

With regular practice, W-Wing becomes a natural part of your solving toolkit. It is a satisfying technique because it uses pure logic and often resolves a stubborn puzzle.

General information for everyday wellbeing, not medical advice. If something affects your health, sleep or mood for more than a short while, talk to a qualified professional. Read more

Spotted an error? Tell us and we will correct it (corrections policy).