---
title: "X-Wing Sudoku Technique Explained"
description: "An X-Wing is a Sudoku pattern where one number is confined to the same two columns in two different rows, clearing it from the rest of those columns."
url: https://sudoku.rubigogames.com/techniques/x-wing.html
language: en
last_modified: 2026-11-05
---

[Sudoku techniques](https://sudoku.rubigogames.com/sudoku-techniques.html) · Expert

# X-Wing in Sudoku

An X-Wing is the first pattern that reaches across the whole grid. One number appears as a [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate) in exactly two cells of one row, in exactly two cells of another row, and all four cells line up in the same two columns. Whichever way the number falls, it takes one cell from each column, so those two columns lose it everywhere else.

Also known as: Basic Fish, 2-Fish.

In the app, when X-Wing is the next step, a hint names it and shows you why, one step at a time. No ads, free to download.

[Download on the App Store](https://apps.apple.com/app/apple-store/id6502922368?pt=125379530&ct=official_site&mt=8) [Get it on Google Play](https://play.google.com/store/apps/details?id=com.rubigogames.sudoku&referrer=utm_source%3Dofficial_site%26utm_medium%3Dweb%26utm_campaign%3Dsite)

- **Difficulty band**: [Expert](https://sudoku.rubigogames.com/sudoku-difficulty-levels.html#expert)
- **In the app's puzzles**: The hardest step in 3.7% of Expert puzzles
- **Position in the ladder**: 12 of 37
- **What it does**: Removes candidates
- **Worked examples**: 2

## Why it works

When a number is locked to the same two columns in two rows (or to the same two rows in two columns), that [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate) is removed everywhere else in those two crossing lines.

## How to spot it

Pick one number and map where it can go across the whole grid, one row at a time.

- You want two rows in which the number has exactly two spots each. Not three, exactly two.
- If those two pairs sit in matching columns, you have an X-Wing, and both columns clear.
- Then do the same scan by column to find the transposed version. Most solvers only ever check one direction.

Builds on

[Pointing Pair](https://sudoku.rubigogames.com/techniques/pointing-pair.html) [Hidden Pair](https://sudoku.rubigogames.com/techniques/hidden-pair.html)

## Worked examples

These are the app's own lesson boards. Step through them the same way a hint does.

### Row-Based

A candidate appears in exactly two columns across two rows.

```text
.     .     .     | .     .     .     | .     .     .
.     .     {348} | .     .     .     | .     {46}  .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     {14}  | .     .     .     | .     {49}  .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
```

*X-Wing — Row-Based: the pattern as the app draws it during a hint.*

1. In each base row, 4 appears as a candidate in only two cells. These cells line up in the same two column positions, forming an X-Wing!
2. The X-Wing means 4 must occupy one of the two diagonal pairs of these four corners. So in the two columns that hold them, we can remove the candidate 4 from every cell outside the two base rows.

### Column-Based

A candidate appears in exactly two rows across two columns.

```text
.     .     .     | .     .     .     | .     .     .
.     .     {348} | .     .     .     | .     {46}  .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     {14}  | .     .     .     | .     {49}  .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
```

*X-Wing — Column-Based: the pattern as the app draws it during a hint.*

1. In each base column, 4 appears as a candidate in only two cells. These cells line up in the same two row positions, forming an X-Wing!
2. The X-Wing means 4 must occupy one of the two diagonal pairs of these four corners. So in the two rows that hold them, we can remove the candidate 4 from every cell outside the two base columns.

## Try it yourself

This board is from the app's X-Wing lesson, at the moment X-Wing is the next step. Find it yourself, or tap Hint and the app's own hint walks you through it.

X-Wing practice board:

```text
8  1* .  | 5* 2  .  | 9* .  7
5* 3  2* | 4  .  .  | .  .  6*
9* .  .  | 8  1  .  | 5* .  2
---------+----------+---------
1* 8  5* | .  .  .  | 3  6  4*
3* 2  .  | 6  .  5  | .  .  .
.  .  9  | 1* 3* .  | 2  .  5*
---------+----------+---------
2  .  8* | 3  .  .  | .  5  .
4* 9  1  | 7  5  .  | 6  .  3*
.  5* 3  | .  .  .  | 4  .  .
```
Digits marked * were filled in by a player; the others were printed with the puzzle.

## In the data

We solved all 60,000 puzzles in the app with its own hint engine, which always takes the easiest step that works. X-Wing was the hardest step in 408 of them and was used at least once in 1,331. [See the full data report](https://sudokuflow.com/data/sudoku-difficulty-levels/)

## Practise it

- [Printable Expert Sudoku with answers, also as PDF](https://sudokuflow.com/printables/sudoku/expert/)
- [Sudoku checker: find the wrong numbers in a puzzle on paper](https://sudokuflow.com/tools/sudoku-checker/)
- [Daily Sudoku: four new puzzles every day](https://sudokuflow.com/daily/)
- [Step-by-step solver: this example, starting with the X-Wing, to the last number](https://sudokuflow.com/tools/sudoku-solver/?p=810520907532400006900810502185000364320605000009130205208300050491750603053000400)

## Where it fits

The game looks for the easiest technique that applies before it offers you a harder one. X-Wing sits at position 12 of 37 on that ladder, which is why puzzles that need it are graded [Expert](https://sudoku.rubigogames.com/sudoku-difficulty-levels.html#expert).

[Learn before this **Hidden Triple**](https://sudoku.rubigogames.com/techniques/hidden-triple.html) [Learn after this **Naked Quad**](https://sudoku.rubigogames.com/techniques/naked-quad.html)

Other Expert techniques

[Naked Quad](https://sudoku.rubigogames.com/techniques/naked-quad.html) [Hidden Quad](https://sudoku.rubigogames.com/techniques/hidden-quad.html) [Swordfish](https://sudoku.rubigogames.com/techniques/swordfish.html) [Y-Wing](https://sudoku.rubigogames.com/techniques/y-wing.html) [Skyscraper](https://sudoku.rubigogames.com/techniques/skyscraper.html) [Simple Coloring](https://sudoku.rubigogames.com/techniques/simple-coloring.html)

---

Free, offline, and ad-free on every platform

## Play Sudoku the way it was meant to be played

[Download on the App Store](https://apps.apple.com/app/apple-store/id6502922368?pt=125379530&ct=official_site&mt=8) [Get it on Google Play](https://play.google.com/store/apps/details?id=com.rubigogames.sudoku&referrer=utm_source%3Dofficial_site%26utm_medium%3Dweb%26utm_campaign%3Dsite)
