Sudoku Solving Techniques

XYZ-Wing

The XYZ-Wing technique involves three cells. One cell (called the pivot) has three candidate digits. The other two cells each have two candidate digits. The candidate digits in these three cells must fulfill certain relationships. We will demonstrate such relationships below in different patterns.

1. XYZ-Wing (Block-Row)

Consider the following partial Sudoku puzzle:

XZ

XYZ

YZ

Figure 1a: XYZ-Wing (Block-Row) Pattern

In Figure 1a, the pink cell (the pivot) and the two yellow cells form an XYZ-Wing (Block-Row) pattern. The pink cell has three candidate digits X, Y, and Z. One of the yellow cells shares the same 3x3 block with the pink cell and has two candidate digits X and Z. The other yellow cell shares the same row with the pink cell and has two candidate digits Y and Z. Notice that all these three cells have a common candidate digit Z. The pink cell has two other candidate digits X and Y, and each of those is also a candidate digit for one of the two yellow cells.

Let's see what happens to the orange cells under this XYZ-Wing (Block-Row) pattern.

XZ

Z

XYZ

Z

YZ

Figure 1b: All Orange Cells Cannot be Z

The orange cells in Figure 1b are those cells falling in the common related area of the pink cell and both yellow cells. That means the orange cells are in the same row, in the same column, or in the same 3x3 block as the pink cell and each of two yellow cells.

There are three possibilities for the pink cell:

So, in any of these three cases, the orange cells cannot be Z.

Example for the XYZ-Wing (Block-Row) technique in a real Sudoku puzzle

2. XYZ-Wing (Block-Column)

Consider the following partial Sudoku puzzle:

XYZ

XZ

YZ

Figure 2a: XYZ-Wing (Block-Column) Pattern

In Figure 2a, the pink cell (the pivot) and the two yellow cells form an XYZ-Wing (Block-Column) pattern. The pink cell has three candidate digits X, Y, and Z. One of the yellow cells shares the same 3x3 block with the pink cell and has two candidate digits X and Z. The other yellow cell shares the same row with the pink cell and has two candidate digits Y and Z. Notice that all these three cells have a common candidate digit Z. The pink cell has two other candidate digits X and Y, and each of those is also a candidate digit for one of the two yellow cells.

Let's see what happens to the orange cells under this XYZ-Wing (Block-Column) pattern.

Z

XYZ

Z

XZ

YZ

Figure 2b: All Orange Cells Cannot be Z

The orange cells in Figure 2b are those cells falling in the common related area of the pink cell and both yellow cells. That means the orange cells are in the same row, in the same column, or in the same 3x3 block as the pink cell and each of two yellow cells.

There are three possibilities for the pink cell:

So, in any of these three cases, the orange cells cannot be Z.

Example for the XYZ-Wing (Block-Column) technique in a real Sudoku puzzle

List of Sudoku Solving Techniques

Previous: XY-Wing

Next: X-Wing

©2025 sudoku9x9.com - All Right Reserved.