An X-Wing is a Sudoku candidate pattern involving one digit, two rows and two columns. The important feature is not simply a rectangle: the candidate positions must be confined in a way that reserves two lines for that digit. Once the conditions are met, you can remove the digit from other cells on the reserved lines.
We will use an original column-based example for digit four, prove four eliminations and then transpose the same puzzle to practise the row-based orientation. Both versions include the starting grid, a teaching state, marked deductions and a checked solution.
Open the column-based X-Wing practice pack, or open its row-based orientation. These are related views of one original construction, not two unrelated puzzles. The pattern is valid at the supplied teaching state; we do not claim it is necessary to finish the whole puzzle.

What an X-Wing requires
For a column-based X-Wing, choose one digit and find two columns in which its only candidate positions lie in the same two rows. Each column needs that digit once. The two placements must occupy different rows, so those rows are filled for the digit by the selected columns.
You may then remove the digit from other cells in those two rows, outside the selected columns. For the row-based orientation, exchange the words row and column. The HoDoKu basic-fish reference describes this standard rule. The coordinates, diagrams and detailed proof below use our own puzzle.
Other candidates can share the four pattern cells. An X-Wing for four does not require those cells to contain only fours or to be two-candidate cells. You are following where the selected digit can occur within the chosen rows or columns.
This makes the technique different from a naked pair, where two cells are restricted to the same two digits. A useful scan begins by deciding whether you are tracking one digit across lines or two digits within cells.
Start from the correct teaching state
The first pack's teaching state comes after one recorded placement: four at r3c8. Rows are numbered from top to bottom and columns from left to right. The label r3c8 therefore means row three, column eight.
The pack includes the original puzzle separately, so the initial givens and the later candidate diagram are not identical. To reproduce the article exactly, use the page labelled “Before the deduction.” If you start with the original puzzle, make the recorded placement and update its peers first.
The candidate notes include all values still permitted by the current row, column and box contents. The grid also contains simpler available moves. That is deliberate: a teaching state can show a valid advanced pattern without claiming it is the only reasonable next step.
If your notes differ, check the state before assessing the pattern. Missing one candidate can create a false appearance of confinement, while retaining a candidate already excluded by a placed digit can hide a valid X-Wing.
Find the four positions for digit four
Checked candidate changes in this teaching state
| Cell | Before | Remove | After |
|---|---|---|---|
| r7c5 | 2, 4, 6, 7, 8 | 4 | 2, 6, 7, 8 |
| r7c6 | 1, 2, 4, 7 | 4 | 1, 2, 7 |
| r9c5 | 2, 3, 4, 5, 7, 8 | 4 | 2, 3, 5, 7, 8 |
| r9c6 | 1, 2, 4, 7 | 4 | 1, 2, 7 |
In column four, the only places for four are r7c4 and r9c4. In column nine, the only places for four are r7c9 and r9c9. Both columns therefore place their four in row seven or row nine.
The four cells are the corners of a rectangle, but the full-column scan is what establishes the pattern. Check every other empty cell in columns four and nine to confirm that four is absent from its current candidate set.
Rows seven and nine contain additional fours outside the rectangle. Those are the candidates the deduction will remove. Their presence does not invalidate this column-based X-Wing because the confinement condition applies to the selected columns.
Keep the roles clear: columns four and nine supply the two required placements; rows seven and nine receive them. Calling the first pair the base lines and the second pair the cover lines can be helpful, but the plain-language description is enough to follow the proof.
Prove the first possible arrangement
Suppose the four in column four occupies r7c4. Row seven cannot contain another four, so r7c9 is not four. Column nine still needs a four and has only one remaining position for it: r9c9.
Under this possibility, row seven receives its four at column four and row nine receives its four at column nine. Every other cell in those rows is therefore excluded from containing four.
This is a conditional argument, not a command to enter four at r7c4 immediately. We are temporarily considering one of the two permitted positions in column four and examining what follows. The other possibility must be considered before drawing a conclusion independent of that choice.
The fact that this arrangement matches the saved final answer is not needed for the proof. A useful explanation should work from the candidate restrictions, even when the solution page is hidden.
Prove the other arrangement
Suppose instead that column four's four occupies r9c4. Row nine then excludes four at r9c9. Column nine must place its four at r7c9, its only remaining candidate position.
This time row nine receives four from column four and row seven receives four from column nine. The exact corners have changed, but both rows still receive their four inside the rectangle.
The two cases cover every possibility for column four because it has no third candidate position for four. In both cases, another four anywhere else in row seven or row nine would repeat the digit in that row.
We can therefore erase the outside fours without deciding which diagonal arrangement occurs. The deduction removes candidates; it does not by itself fix all four corners or establish the other digits in those cells.
Apply the four checked eliminations
The target cells are r7c5, r7c6, r9c5 and r9c6. Each lies in row seven or row nine and outside columns four and nine. Each currently contains four as a candidate, so all four satisfy the elimination condition.
Before the deduction, r7c5 contains two, four, six, seven and eight. Removing four leaves two, six, seven and eight. At r7c6, the set one, two, four and seven becomes one, two and seven.
At r9c5, the original set is two, three, four, five, seven and eight. It becomes two, three, five, seven and eight. At r9c6, one, two, four and seven becomes one, two and seven.
None of those four cells becomes a single from this deduction alone. That does not make the move unsuccessful. A correct reduction can contribute to later pairs, singles or other patterns without immediately filling a square.
Know where the elimination stops
The argument reserves rows seven and nine for four through the chosen columns. It does not authorise removing every four from the boxes touched by the rectangle. A cell in a neighbouring row needs its own justification.
Likewise, do not remove four from the four corners. They are the positions supporting the deduction. Erasing them would destroy the possibilities that the proof relies on rather than applying its conclusion.
For every proposed target, ask three questions: does it currently contain four, is it in row seven or nine, and is it outside columns four and nine? In this example, a yes to all three identifies a valid X-Wing removal.
If a target fails one of those checks, stop. It may be eliminable for another reason, but that would be a separate deduction. Keeping the scope precise is more reliable than treating highlighted regions as a general permission to erase candidates.
Check a target by reasoning backwards
You can test r7c5 from the opposite direction. Suppose it were four. That would exclude four from both r7c4 and r7c9 because all three cells share row seven. Column four would then require four at r9c4, and column nine would require four at r9c9.
Those two forced fours would share row nine, creating a contradiction. Therefore the assumption that r7c5 is four cannot hold. This gives the same elimination as the two-case proof, but begins with the candidate you want to remove rather than with a corner of the pattern.
Try the corresponding argument for r9c6. Assuming four there excludes the lower corners. Both selected columns would then be forced to place four in row seven, again repeating the digit in one row. The candidate is impossible for the same structural reason.
Keep the contradiction local and explicit. You do not need to solve the rest of the grid or consult its final answer. The two selected columns and two cover rows already contain enough information to disprove the target assumption.
This reverse check is especially helpful when reviewing handwritten notes. Point to the proposed target, trace the two forced placements and name the row in conflict. If the trace needs an unsupported extra assumption, return to the original candidate lists and check whether the X-Wing conditions were actually present.
Turn the same construction into a row-based example
The second pack transposes the original grid: every row becomes a column and every column becomes a row. Digits and logical relationships are preserved, but their coordinates change. This gives a controlled way to practise the other orientation.
The column-based corners r7c4, r9c4, r7c9 and r9c9 become r4c7, r4c9, r9c7 and r9c9. Now rows four and nine contain their only candidate fours in columns seven and nine.
The two required row placements fill columns seven and nine with four. Remove four from r5c7, r6c7, r5c9 and r6c9, which lie in those columns outside the selected rows. These are the transposed versions of the first pack's four removals.
The row-based pack has its own marked diagram, candidate state, starting puzzle and answer. Use its coordinates while working with it. Mixing a row-based diagram with the original column-based cell labels makes an otherwise sound explanation difficult to follow.
A rectangle alone is not enough
On another puzzle, you might see four candidate positions forming a similar rectangle while one selected column has an additional possible four elsewhere. That third position breaks the two-case proof: the column's four could occupy the extra cell instead of either highlighted corner.
Do not simply ignore the extra candidate because the rectangle looks promising. Check whether another valid deduction removes it first. Until that happens, the basic X-Wing condition has not been established.
Another near-miss occurs when the two columns each have two fours but in different row pairs. Having two positions per column is insufficient; the selected rows must line up so both required placements are confined to the same two rows.
These are rule checks, not modifications to our supplied puzzle. The original fixture satisfies the stated confinement conditions. The hypothetical near-misses explain why those conditions matter when you search a different grid.
Use a systematic scan without losing simpler moves
Choose one digit and inspect its candidate positions column by column. Note columns with exactly two positions, then compare their row pairs. A short note such as “four: column four, rows seven/nine” makes a matching pair easier to spot.
Repeat the idea by rows if you prefer that orientation. Avoid switching the selected digit halfway through a comparison. Two matching shapes for different digits do not form the one-digit X-Wing used here.
Check simpler available deductions before investing in a long search. If you are learning X-Wings specifically, a prepared candidate state lets you practise the pattern directly. If you are simply trying to finish a puzzle, an ordinary single may be the clearer next move.
After each placement, update the relevant notes and rescan only as needed. A previously invalid rectangle can become valid when an extra candidate disappears. Conversely, stale notes can make you repeat work on a pattern whose consequences have already been applied.
Practise explaining the deduction
Cover the marked page and use the unmarked candidate state. Identify the digit, the two base columns and the two cover rows. Then name each removable candidate before comparing with the deduction page.
Write one complete conditional proof in your own words. For example, begin with the assumption that the first column uses its upper corner, follow the forced position in the second column and state which rows are occupied. Repeat for the lower corner.
On the transposed version, start again using rows as the base groups. The aim is to understand the relationship, not to memorise the original four coordinates. Being able to explain both orientations is a better check than recognising a highlighted rectangle.
If you make an incorrect elimination, identify which condition you skipped. Perhaps you used a target outside the cover rows or missed a third candidate in a base column. Correct that specific check before trying another puzzle.
Print and verify the practice pack
Each pack contains six pages: before the deduction, pattern detail, marked deduction, after the deduction, original puzzle and matching solution. The original-puzzle page omits the teaching elimination so you can use it for an independent attempt.
Choose A4 or Letter portrait and inspect the browser preview. Candidate digits need to remain readable, and the dashed target boxes should be distinguishable from ordinary cell borders. The article lists the coordinates in words so colour is not the only cue.
The original puzzle and its transposed version each have one solution, checked with an independent exact-cover solver. Every removed four was also tested as a forced entry in its teaching state and produced no valid completion. These checks support the supplied example without replacing the human proof above.
For the next comparison, the Swordfish guide expands the one-digit confinement idea to three lines. The XY-Wing guide uses a different structure involving three two-candidate cells. Similar names do not make the underlying conditions interchangeable.




