Learn Sudoku

Sudoku Rules

Sudoku rules require every row, every column, and every 3x3 box to contain the numbers 1 through 9 without repeats.

Sudoku Duck teaching Sudoku strategy

At a glance

Sudoku rules at a glance

Core Sudoku rules
RuleRequirementCommon error
Row ruleEvery row contains 1 to 9 once.Repeating a digit in the same row.
Column ruleEvery column contains 1 to 9 once.Ignoring the vertical check before placing.
Box ruleEvery 3x3 box contains 1 to 9 once.Focusing on rows and missing a box duplicate.
Given clue ruleOriginal clues stay fixed.Changing a clue to force a solve.
Valid puzzle versus solved puzzle
StateWhat it meansExample
Valid puzzleThe givens do not break Sudoku rules and can lead to a solution.A starting grid with no repeated givens in any unit.
Solved puzzleAll 81 squares are filled legally.Every row, column, and box contains 1 to 9 once.
Invalid puzzleThe givens already conflict or cannot lead to a legal grid.Two 5s in the same row or an impossible copied clue.

Mistakes that break Sudoku rules

  • Repeating a number in a row, column, or box.
  • Entering a candidate as an answer before checking all three areas.
  • Copying a clue into the wrong square.
  • Changing an original clue after the puzzle starts.

The three core rules

Standard Sudoku has three core rules. Each row must contain the numbers 1 through 9. Each column must contain the numbers 1 through 9. Each 3x3 box must contain the numbers 1 through 9. The same number cannot appear twice in any one of those areas.

Every square sits at the meeting point of one row, one column, and one box. A number is legal only when it fits all three. If a square's row is missing 8 but its box already contains 8, the square cannot be 8. This is why Sudoku rewards looking in several directions before placing a number.

Rows must contain 1 through 9

A row is a horizontal line of nine squares. When the puzzle is solved, the row will contain 1, 2, 3, 4, 5, 6, 7, 8, and 9 with no repeats. The order does not matter. A solved row could begin with 6 and end with 2. What matters is that all nine digits appear exactly once.

Rows are helpful because they are easy to scan. If a row already has seven numbers, list the two missing digits and test each empty square against its column and box. Many beginner placements come from this simple check.

Columns must contain 1 through 9

A column is a vertical line of nine squares. It follows the same rule as a row: every number from 1 to 9 appears once. Columns often solve a square that looked unclear from the row alone. A row may allow 3 or 8 in a square, but the column may already contain 8, leaving 3 as the only legal answer.

When checking a placement, run your eyes down the column before committing. This one habit catches many errors, especially on phone screens where the selected row may feel more obvious than the selected column.

Each 3x3 box must contain 1 through 9

The thick lines divide the board into nine boxes. Each box is a small 3x3 grid, and each one must contain the digits 1 through 9 once. Boxes are where many Sudoku patterns begin. If a box is missing only one number, the empty square must take that number.

Boxes also interact with rows and columns. If a number can only go in the top row of a box, that fact may remove the same number from other squares in the top row outside the box. This idea is the start of box-line reduction, a useful solving technique.

No guessing for beginners

Guessing can feel tempting when a board slows down, but it usually creates confusion. A beginner should try to place only numbers that can be proved by the rules. If you are choosing between two numbers without a reason, write them as notes and continue scanning elsewhere.

A fair standard Sudoku puzzle has a logical path. Some hard puzzles require deeper techniques, but they still do not require blind guesses. When you practice without guessing, you build skills that carry into harder boards.

Valid puzzle versus solved puzzle

A valid puzzle is a starting grid that does not break the rules and has a proper solution. A solved puzzle is a completed grid where every row, column, and box contains the digits 1 through 9. A partly filled grid can be valid even while many squares are empty.

An invalid puzzle might have two 5s in the same row, or it might have clues that do not conflict at first glance but still make the puzzle impossible. The Sudoku Solver on this site checks for obvious conflicts before trying to solve the grid.

Clues and editable squares

The numbers shown at the start are clues. They are fixed and should not be changed during a normal solve. Empty squares are where you place answers or notes. Sudoku Duck locks clue cells in the online game so the puzzle stays stable.

If you copy a puzzle from paper into the solver, be careful with clues. One wrong copied number can make the puzzle invalid. When something feels impossible, check the givens before assuming the puzzle is too hard.

What counts as a duplicate

A duplicate is the same number appearing twice in one row, one column, or one 3x3 box. The two matching numbers do not need to be next to each other. A 4 in the first square of a row and another 4 at the far end of the same row still break the rule. The same is true for columns and boxes.

When checking a nearly finished puzzle, scan every completed row from left to right, then every column from top to bottom, then each box. If every area contains 1 through 9 once, the grid is solved. This final check is simple, but it builds confidence and catches copied mistakes.

Questions

FAQ

What are the three basic rules of Sudoku?

The three basic rules of Sudoku are: each row must contain 1 through 9 once, each column must contain 1 through 9 once, and each 3x3 box must contain 1 through 9 once. Every placement must satisfy all three rules at the same time.

What is the row rule in Sudoku?

The row rule says a horizontal row can contain each number from 1 to 9 only once. If a row already has a 4, no other square in that row can be 4. Row checks are useful when a row has only two or three blanks left.

What is the column rule in Sudoku?

The column rule says a vertical column can contain each number from 1 to 9 only once. A number that fits a row may still be illegal if the same number already appears in the column. Checking vertically before placing prevents many beginner mistakes.

What is the 3x3 box rule in Sudoku?

The 3x3 box rule says each thick-lined box must contain the digits 1 through 9 once. A square is not legal just because its row and column allow a number; its box must allow that number too. Boxes often reveal simple missing-number placements.

Can the same number appear twice if it is in a different box?

The same number can appear in different boxes only if it does not repeat in the same row or column. For example, two 5s may be in separate boxes, but they cannot share one row or one column. All three rule areas still apply.

Do Sudoku rules use math or arithmetic?

No, Sudoku rules do not use math or arithmetic. The digits 1 through 9 are labels for placement, not numbers to calculate with. You solve by excluding repeats in rows, columns, and boxes, so the same puzzle idea could work with letters or symbols.

Are diagonal Sudoku rules part of classic Sudoku?

No, diagonal Sudoku rules are not part of classic Sudoku. Classic puzzles only use rows, columns, and 3x3 boxes. Some variants add diagonal rules, cages, or other restrictions, but those extra rules should be stated clearly before the puzzle begins.

What is the difference between a valid puzzle and a solved puzzle?

A valid puzzle is a starting or partly filled grid that does not break Sudoku rules and can lead to a legal solution. A solved puzzle is complete: all 81 squares are filled, and every row, column, and 3x3 box contains 1 through 9 once.

Can a Sudoku puzzle start with duplicate numbers?

No, a proper Sudoku puzzle should not start with duplicate numbers in any row, column, or 3x3 box. Duplicate givens create an invalid puzzle before solving begins. If you copy a puzzle into the solver and see a duplicate warning, recheck the source grid.

Why should a proper Sudoku puzzle have one solution?

A proper Sudoku puzzle should have one solution because the player needs a single logical target. If two completed grids fit the same clues, the puzzle does not force every answer. That turns some choices into guesses rather than deductions from the givens.

Does the number of clues decide Sudoku difficulty?

No, the number of clues alone does not decide Sudoku difficulty. Difficulty depends on the logical path needed to solve the puzzle. A puzzle with many clues can still require a tricky hidden single, while a puzzle with fewer clues may open quickly after one clear step.

What happens if I break a Sudoku rule?

If you break a Sudoku rule, the puzzle may become impossible or lead you away from the correct solution. A duplicate in a row, column, or box should be fixed before continuing. On Sudoku Duck, Check puzzle can help you catch mistakes on the online board.

Next