# Swap Every 1 and 9. Why Your Sudoku Still Works.

In classic Sudoku, digits act as labels. Follow a checked 1-and-9 swap to see why consistent relabeling preserves solutions and how to test your solving logic.

Take a classic Sudoku and swap every printed 1 with a 9, and every printed 9 with a 1. Have you ruined the puzzle? No: you have changed its labels while keeping its logical structure.

That small experiment explains something useful for beginners: a 9 is not more powerful than a 1. What matters is where a digit is present, where it is missing, and which cells can still contain it.

Here is how the swap works, why it preserves the number of solutions, and how to use it to check whether a deduction really follows from the rules.

## Change the labels, keep the cells

Our swap has three instructions:

| Original digit  | New digit |
| --------------- | --------- |
| 1               | 9         |
| 9               | 1         |
| Any other digit | Unchanged |

Apply the table to the original digits simultaneously. Do not replace all the 1s with 9s and then replace every 9 in that intermediate grid with 1: that would turn both original digits into 1.

No clue changes position. No blank becomes filled. If you are working with a partly solved copy, transform your entries and candidate notes as well, so you do not mix two labeling systems.

Try the experiment on a separate copy rather than editing the clues in a game you want to finish.

## Watch one missing digit change its name

Consider this almost-complete grid. The dot is an empty cell:

```text
5 3 4 | 6 7 8 | . 1 2
6 7 2 | 1 9 5 | 3 4 8
1 9 8 | 3 4 2 | 5 6 7
------+-------+------
8 5 9 | 7 6 1 | 4 2 3
4 2 6 | 8 5 3 | 7 9 1
7 1 3 | 9 2 4 | 8 5 6
------+-------+------
9 6 1 | 5 3 7 | 2 8 4
2 8 7 | 4 1 9 | 6 3 5
3 4 5 | 2 8 6 | 1 7 9
```

The empty cell is row 1, column 7. Its row contains every digit except 9, so it must be 9. Filling it also gives each column and box all nine digits exactly once.

Now swap every 1 and 9 throughout the grid. The first row becomes:

```text
5 3 4 | 6 7 8 | . 9 2
```

The empty cell must now be 1. The explanation has the same shape: its row contains every digit except that one. The other rows must also be relabeled; the row above is just a close-up of the transformed puzzle.

We checked both complete grids and the unique completion of each almost-finished puzzle. The swap changes the answer's digit, not the cell or the reason it is forced.

## Why the whole grid remains valid

A completed classic Sudoku has one of each digit in every row, column, and 3×3 box. Swapping the labels 1 and 9 leaves one of each in all those groups. It cannot introduce a repeated digit because the two labels trade places consistently.

The same idea works for any one-to-one rearrangement of the nine digit labels. It does not work if two different digits are both renamed 4: those labels would collide. Felgenhauer and Jarvis use digit relabeling as one of the tools in their [mathematical study of Sudoku grids](https://www.afjarvis.org.uk/sudoku/felgenhauer_jarvis_spec1.pdf).

For a starting puzzle, each completion can be relabeled to satisfy the relabeled clues. Swapping back recovers the original completion. These reversible pairings mean the two puzzles have the same number of solutions. A unique puzzle stays unique; an ambiguous puzzle does not become unique just because its digits look different.

## Use the swap to examine a solving habit

Suppose you explain a move this way: “This is the only cell in the box where 1 can go.” After relabeling, the explanation becomes “This is the only cell in the box where 9 can go.” The rule still makes sense.

Now consider “I put 9 here because the larger numbers belong near the bottom.” Swapping 1 and 9 exposes the problem: the ordinary rules give larger values no special position. That explanation never justified the move.

This is a useful check when you are tempted to treat Sudoku as arithmetic. Classic Sudoku asks for distinct digits in each group. Our [article on the 45-sum trap](/en/blog/sudoku-45-sum-trap) shows why adding the digits is not a substitute for checking them.

Relabeling does not guarantee that two copies will take you the same time to solve. You might recognize one digit's pattern sooner, or remember a move from the first copy. The logical relationships are preserved; your experience need not be identical.

## Try one deduction in two sets of labels

On a copy of a classic puzzle, choose a move you can justify. Write down the reason before entering it. Then swap 1 and 9 in the clues, your entries, and any notes, and translate your explanation with the same table.

Check that the corresponding move still follows. If it does not, look for a missed replacement or an unsupported step in your explanation. This exercise is about understanding a deduction, not creating a fresh challenge from a puzzle you already remember.

Keep the experiment to **classic Sudoku**. Extra rules involving sums, numerical order, or differences need separate checking; an arbitrary relabeling can break those conditions.

When you return to [today's Sudoku](/en/todays-sudoku), look for relationships rather than the size of the numbers. A digit earns its place because the alternatives are ruled out, whether its label is 1, 9, or something else.
