How to Play Sudoku | Complete Beginner's Guide, Rules & Strategies

The rules take 30 seconds. The strategies take practice. Here's where to start.

18 min read | Updated 2026-04-06 | Logic & Number Puzzles
Play Sudoku

What is Sudoku?

Sudoku is a number puzzle played on a 9×9 grid split into nine 3×3 boxes. You fill every row, column and box with the digits 1 to 9, with no repeats. There's no math involved, only logic.

The idea goes back to the "Latin squares" of the 18th century. An American architect, Howard Garns, turned it into a puzzle in 1979, and Japanese newspapers made it popular in the mid-1980s under the name Sudoku ("single number"). It's been a newspaper staple ever since, and you can play it here.

The rules (in 30 seconds)

Sudoku has exactly three rules.

  1. Each row must contain the digits 1–9 with no repeats.
  2. Each column must contain the digits 1–9 with no repeats.
  3. Each 3×3 box must contain the digits 1–9 with no repeats.

That's all. Every cell has exactly one correct answer, and every well-formed Sudoku has exactly one solution. You never need to guess. If you're guessing, there's a deduction you haven't spotted yet.

Getting started by reading the grid

Some cells start filled in. These are the givens, and they're your anchors. A typical medium puzzle has 28–32 givens, and a hard one might have as few as 22.

Start by scanning. Check each row, column and box to see which numbers are already placed. The more numbers a row, column or box already holds, the fewer candidates are left for its empty cells, and the easier those cells are to narrow down.

Pencil marks (also called candidates or notes) make everything easier. In each empty cell, jot down every digit that could go there under the three rules. When you solve a cell, erase that digit from its neighbors' pencil marks. Every technique below depends on this habit.

Naked singles (beginner strategy)

A naked single is the simplest Sudoku technique. When a cell's pencil marks are down to one digit, that digit is the answer. Place it, then remove it from the pencil marks of every cell in the same row, column and box.

For example, a cell in row 3 can only hold a 7, because 1–6 and 8–9 all appear somewhere in its row, column or box. So it must be 7. This is the most common move in solving, and it will carry you through most easy puzzles.

Hidden singles (beginner strategy)

A hidden single is a digit with only one possible home in a row, column or box, even when that cell has several candidates.

For example, in Box 5 the digit 4 appears as a candidate in only one cell. That cell also lists 6 and 9, but no other cell in the box can take a 4, so it must be 4. Place it.

Scanning box by box for hidden singles is the fastest way to make progress on medium-difficulty puzzles, so make it a habit early.

Pointing pairs & box/line reduction (intermediate strategy)

When the singles dry up, look for pointing pairs. If a candidate digit appears in a box but only along one row (or one column), you can eliminate that digit from the rest of that row (or column) outside the box.

Box/line reduction is the reverse. If a digit's candidates in a row or column all sit inside one box, eliminate it from the rest of that box.

Neither technique places a number directly. They trim pencil marks, and that often exposes new naked or hidden singles.

Naked pairs & triples (advanced strategy)

A naked pair is two cells in the same row, column or box that share exactly the same two candidates (say, both hold only {3, 7}). Those two digits have to go in those two cells, so you can remove 3 and 7 from every other cell in that group.

Naked triples work the same way with three cells and three candidates. Each cell doesn't need all three digits. Between them, the three cells just can't hold more than three distinct candidates.

The mirror image is the hidden pair/triple. If two digits appear as candidates in only the same two cells of a group, those cells must hold those two digits, so you can clear every other candidate from them. Hidden pairs are harder to spot and just as useful.

X-Wing (advanced strategy)

The X-Wing is the first of the "fish" patterns, and one of the most satisfying to spot. It works on a single candidate digit across two rows (or two columns).

Here's the setup. Pick a candidate digit, say 5. Find two rows where 5 is a candidate in exactly two cells each, and those cells sit in the same two columns. The four cells form a rectangle. By the rules, the 5s must sit on one diagonal of that rectangle or the other. Either way, no other cell in those two columns can hold a 5.

How to apply it

  1. Pick a digit and scan the rows (or columns) for exactly two candidate positions.
  2. Look for another row with candidates in the same two columns.
  3. Eliminate that digit from every other cell in those two columns.

For example, row 2 has candidate 5 in columns 3 and 7, and row 8 also has candidate 5 in columns 3 and 7. You can remove 5 from every other cell in columns 3 and 7. The logic also works the other way round. Start from columns and eliminate from rows.

Swordfish (advanced strategy)

The Swordfish takes the X-Wing from 2 rows to 3. It's a 3×3 fish pattern. It's harder to spot, and very effective when you find one.

Pick a candidate digit. Find three rows where it appears in only two or three cells each, with all of those cells inside the same three columns. The digit has to be placed once in each of those rows, within those columns, so you can eliminate it from every other cell in those three columns.

The important part is that the candidate positions don't have to fill a perfect 3×3 rectangle. Some intersections can be empty. What matters is that each row's candidates stay inside the same set of three columns.

If X-Wings aren't giving you eliminations, look for rows with 2–3 candidates for the same digit and check whether three of them share columns. Swordfish are rare, but one can break a stuck puzzle wide open.

The pattern continues past Swordfish to the Jellyfish (4 rows × 4 columns), but those are extremely rare in standard puzzles, and most solvers never need one.

XY-Wing (advanced strategy)

The XY-Wing (also called Y-Wing) is an advanced elimination technique that uses three cells, each with two candidates.

You need a pivot cell with candidates {X, Y} and two wing cells that each see the pivot.

  • Wing 1 has candidates {X, Z} and sees the pivot.
  • Wing 2 has candidates {Y, Z} and sees the pivot.

The pivot must be X or Y. If it's X, Wing 1 becomes Z. If it's Y, Wing 2 becomes Z. Either way, one of the wings must be Z, so any cell that sees both wings can lose Z as a candidate.

How to find them

  1. Look for cells with exactly two candidates (bi-value cells).
  2. Pick one as the pivot. Check whether two of its peers also have two candidates each, sharing one digit with the pivot and one digit with each other.
  3. Eliminate the digit the wings share (Z) from any cell that sees both wings.

XY-Wings are your way into chains. An XY-Wing is the simplest form of a forcing chain.

Simple coloring (expert strategy)

Simple Coloring (also called single-digit coloring) is built on conjugate pairs. A conjugate pair is two cells in a group where a digit can go in only one of the two.

Pick a digit and find all of its conjugate pairs. Link them into a chain, alternating two "colors" (think of them as ON and OFF). If the digit is in cell A or cell B, color A green and B blue. If B forms a conjugate pair with C in another group, color C green, the opposite of B. Keep extending the chain.

Two rules produce eliminations

  1. Color trap. If an uncolored cell sees both a green cell and a blue cell, eliminate the digit from it. One of the two colors has to be "on."
  2. Color wrap. If two cells of the same color see each other (they share a row, column or box), that color is impossible, and the other color is correct everywhere. Place the digit in every cell of the surviving color.

Simple coloring pays off because one chain can produce several eliminations at once. It also starts to feel natural once you think in terms of "if this cell is X, that one isn't, so that one is…"

Forcing chains & AICs (expert strategy)

Forcing chains are the most powerful general-purpose solving technique. You assume a candidate is true (or false) in a cell and follow the consequences. If the chain hits a contradiction, the assumption was wrong. If two different starting assumptions lead to the same conclusion, that conclusion is true.

There are several types.

  • Contradiction chain. Assume candidate X in cell A and follow the implications through linked cells. If you reach an impossible state (a cell with no candidates, or a group with nowhere left for a digit), X can't go in cell A.
  • Verity chain (double implication). Try both candidates in a bi-value cell. If both paths force the same digit into the same cell, that digit is confirmed whichever assumption is true.
  • Alternating Inference Chain (AIC). A more structured version. You build a chain of strong and weak links between candidates. A strong link means exactly one of the two must be true. A weak link means at most one can be. If a chain starts and ends on the same digit with strong links at both ends, any cell that sees both endpoints can lose that digit.

Save chains for when every pattern technique (X-Wing, XY-Wing, coloring) has failed. They're powerful, but slow and tiring. Most newspaper puzzles never need them, but competition puzzles and extreme-rated puzzles often do.

To build an instinct for chains, start small. Practice short chains of 3–4 links and work up. The skill is seeing connections, meaning how placing or removing a digit in one cell forces something elsewhere. Given time, you'll spot chain opportunities without consciously hunting for them.

Hidden & naked quads (expert strategy)

Naked quads take the pairs/triples idea to four cells. If four cells in a group hold only four distinct candidates between them, you can eliminate those digits from every other cell in the group.

As with naked triples, each cell doesn't need all four digits. The four cells just can't share more than four distinct candidates. For example, cells with {1,2}, {2,3}, {3,4} and {1,4} form a naked quad on the digits 1-2-3-4.

Hidden quads are the reverse. If four digits appear in only four cells of a group, those cells can drop every other candidate. Hidden quads are notoriously hard to spot, and most solvers find them by elimination after everything else has failed.

Quads are rare and mostly turn up in expert puzzles. If you're stuck and you've already checked for X-Wings and coloring, scan for quads before you start on chains.

The solving hierarchy

Experienced solvers try techniques in a fixed order, from cheapest to most expensive.

  1. Naked singles (scan the whole grid)
  2. Hidden singles (scan by box, then row, then column)
  3. Pointing pairs / box-line reduction
  4. Naked pairs/triples
  5. Hidden pairs/triples
  6. X-Wing
  7. Simple coloring
  8. XY-Wing
  9. Swordfish
  10. Naked/hidden quads
  11. Forcing chains / AICs

After every elimination, go back to step 1. One advanced move often sets off a cascade of simple ones. The most common intermediate mistake is staying at the advanced level instead of re-scanning for the basics after each move.

You don't need every technique here to play Sudoku happily. Techniques 1–4 solve roughly 90% of published puzzles, and 5–8 cover about another 8%. Only the most extreme puzzles call for the full toolkit.

Tips for faster solving

  • Work systematically. Scan rows, then columns, then boxes. Don't jump around at random.
  • Use pencil marks early. Don't try to hold it all in your head. Good notes are the difference between a 5-minute solve and a 20-minute one.
  • Start in the most constrained areas. Rows, columns or boxes with the fewest empty cells are the easiest to crack. Begin there.
  • Don't guess. Every placement should follow from the rules. If you feel stuck, you've missed a deduction, so zoom out and scan again.
  • Play daily. Pattern recognition beats brute force, and the only way to build it is repetition. Our Daily Sudoku helps.

Common mistakes to avoid

  • Forgetting a constraint. The most common error is checking the row and column but not the 3×3 box (or the other way round). Always check all three.
  • Pencil mark errors. Forget to erase a candidate after placing a number, and every deduction after it will be wrong. Update your marks every time.
  • Tunnel vision. Don't stare at one area for too long. If you're stuck, move to another part of the grid. A solve elsewhere often frees up the stuck area.

Difficulty levels explained

The grid is the same 9×9 at every level. Difficulty depends on which techniques a puzzle needs.

  • Easy. Solvable with naked and hidden singles alone. Good for warming up.
  • Medium. Needs pointing pairs, box/line reduction and the occasional naked pair.
  • Hard. Needs advanced techniques like naked triples, X-Wings and chains. Often has fewer givens (22–26).
  • Expert. Needs several advanced techniques used together. You'll know when you're ready.

Our Sudoku starts at medium difficulty. If you're new, get comfortable with naked and hidden singles before you take on harder puzzles.

Your move

Try these strategies in a free game of Sudoku.

Play now