Diagonal sudoku, also called Sudoku X, has one rule on top of classic sudoku: each of the two long diagonals must also contain the digits 1 to 9 exactly once. Every row, column and 3×3 box still holds 1 to 9 once, as usual. A grid has 29 houses to satisfy instead of 27, and the cells on the diagonals are the ones that change how you solve.
The diagonals run from the top left corner to the bottom right (the main diagonal) and from the top right to the bottom left (the anti-diagonal). Puzzles mark them with shading or a dashed line. If a puzzle has no marking, it is classic sudoku and the diagonals can hold repeats, which is the question we answer in does sudoku go diagonal.
Sudoku X rules: which cells the diagonal touches
Seventeen of the 81 cells lie on a diagonal. Each diagonal has nine cells and they share the centre cell, r5c5 (row 5, column 5). The other 64 cells follow exactly the classic rules.
- The centre cell belongs to five houses: its row, its column, the centre box and both diagonals. That gives it 32 peers (cells that cannot share its digit), against 20 for a cell off the diagonals and 26 for any other diagonal cell.
- The main diagonal passes through boxes 1, 5 and 9 (top left, centre, bottom right). The anti-diagonal passes through boxes 3, 5 and 7.
- The centre box holds five diagonal cells: r4c4, r4c6, r5c5, r6c4 and r6c6. The four corner boxes hold three each, and the four edge boxes (2, 4, 6 and 8) hold none.
A worked example: a hidden single on the diagonal
The most common new move in Sudoku X is a hidden single along a diagonal. In the position below, the main diagonal already holds 1, 5, 9, 6, 4 and 7. It still needs 2, 3 and 8, and it has three empty cells: r2c2, r4c4 and r7c7.
- Pick a missing digit, here 2.
- Look at r2c2. Row 2 already has a 2 in r2c3, so r2c2 cannot take it.
- Look at r4c4. Row 4 already has a 2 in r4c8, so r4c4 cannot take it either.
- Only r7c7 is left. The diagonal must contain a 2 somewhere, so r7c7 is 2.
The deduction works because the diagonal is a house. This is the same position the Sudoku Royale app shows the first time you open a Sudoku X puzzle, staged from a real solution so every digit is consistent.
A worked elimination: a digit locked on the diagonal
The diagonal rule also removes candidates. When a digit inside one of the corner boxes can only go in that box's diagonal cells, the diagonal gets its copy of the digit there, and every other cell on that diagonal loses it. In the position below, follow the 5 in box 1.
- Row 3 has a 5 in r3c4, so r3c1 and r3c2 cannot take a 5. Column 3 has a 5 in r8c3, so r1c3 and r2c3 cannot either.
- r1c2, r2c1 and r3c3 are already filled. That leaves only r1c1 and r2c2 for the 5 of box 1, and both lie on the main diagonal.
- Whichever of the two cells holds it, the main diagonal's 5 sits in box 1. Remove 5 from the diagonal's other empty cells: r5c5, r6c6, r7c7 and r9c9. (r4c4 and r8c8 never had it: column 4 and row 8 already hold a 5.)
In classic sudoku this pattern removes nothing, because r1c1 and r2c2 share no row, column or other box with those cells. The elimination only exists because the diagonal is a house. You can try it on a real board: play Sudoku X in Sudoku Royale.
A solving routine for Sudoku X
Every classic technique still works, because a diagonal behaves like any other house. These checks find the moves that are new to the variant.
- Scan each diagonal for hidden singles, digit by digit, as in the example. Start with whichever diagonal has the most digits already placed.
- Check the centre cell. List the digits already on its row, column, box and both diagonals. With 32 peers, it loses candidates faster than any other cell.
- Use box and diagonal overlaps. If every candidate for a digit inside box 1 sits on the main diagonal, that digit is locked there, and you can remove it from the diagonal's cells in boxes 5 and 9, as in the example above. This is the pointing pair applied to a diagonal, and it works in reverse too: if a diagonal's only cells for a digit are inside one box, remove that digit from the rest of the box.
- Count digits on the diagonals as you place them. When you put a digit on a diagonal cell, also cross it out of the other eight cells on that diagonal, the same way you clear it from its row and column.
Because the extra houses give more information, setters can leave fewer clues for the same difficulty. The Sudoku X puzzles in Sudoku Royale give between 23 and 39 clues (the full puzzle pool, checked in November 2026).
Sudoku X app: where to play diagonal sudoku
In Sudoku Royale on iPhone, iPad and Mac, Sudoku X is one of the variants on the Play tab, next to Windoku and Jigsaw. You play them on your own board, with no ads, and new puzzles download as you play. The first puzzle opens with a three-step walkthrough on the board (the extra houses, one deduction they allow, and the centre cell), and the "?" in the game shows it again. Some days the app's second, relaxed Daily is a Sudoku X puzzle too. The app is free.
For the other common variants and how they compare, see our guide to sudoku variants, or the rules of Windoku and Jigsaw sudoku.
Frequently Asked Questions
What are the rules of diagonal sudoku?
Fill the grid so that every row, column and 3x3 box contains 1 to 9 exactly once, and both long diagonals also contain 1 to 9 exactly once.
Is diagonal sudoku the same as Sudoku X?
Yes. Diagonal sudoku, Sudoku X and X-Sudoku are names for the same variant. The X refers to the two diagonals crossing at the centre cell.
Is diagonal sudoku harder than regular sudoku?
Not by itself. The diagonals add information, so setters usually give fewer clues to keep the same difficulty. Most of the solving is classic logic, plus hidden singles and locked candidates along the diagonals.
Which cell should I look at first in Sudoku X?
The centre cell, r5c5. It belongs to five houses (row, column, box and both diagonals), so it has 32 peers, more than any other cell.
Is there an app for diagonal sudoku?
Sudoku Royale for iPhone, iPad and Mac has Sudoku X on its Play tab, with no ads and a short walkthrough of the diagonal rule before the first puzzle.