Sub topic 8
Testing that Your Backup Works
This chapter assumes you know what a recovery phrase is, how a BIP-39 phrase maps to keys and addresses, and how to write one down. It covers how to prove a backup restores your wallet before you trust it with real funds.
Why a backup you have not tested is a guess
A backup can fail in quiet ways. You may have copied a word wrong. You may have swapped two words. You may have written the words correctly but forgotten that the wallet also used a passphrase. None of these show up while the original wallet still works. They only show up on the day you need the backup, when there is no second chance.
A test turns "I think I wrote it down right" into "I restored from this paper and got the same addresses." The goal is to check the backup itself, not your memory of it.
What a test must prove
A good test proves three things:
- Every word is correct and in the right order.
- The wallet derives the same addresses as the original.
- Any extra secret, such as a passphrase or a non-default derivation path, was captured too.
The BIP-39 checksum helps with the first point only. It catches many errors, but not all.
What the checksum can and cannot tell you
The last word of a BIP-39 phrase carries a checksum. A 12-word phrase has 128 bits of entropy plus 4 checksum bits. A random wrong phrase passes the checksum about 1 time in 16. For a 24-word phrase there are 8 checksum bits, so about 1 time in 256.
That means a single mistyped word is usually caught, but sometimes it is not. Swapping two words is also often caught, but a swap can still produce a valid phrase. Two checks make this concrete.
# Checksum bits and the chance that a wrong phrase still looks valid.
for entropy_bits in (128, 160, 192, 224, 256):
checksum_bits = entropy_bits // 32
words = (entropy_bits + checksum_bits) // 11
chance = 1 / (2 ** checksum_bits)
print(f"{words} words: {checksum_bits} checksum bits, "
f"random error passes about 1 in {2 ** checksum_bits} ({chance:.4f})")A passing checksum means the phrase is well formed. It does not mean it is your phrase. Only a restore that reproduces your known addresses proves that.
A checksum test with a public vector
The next script uses the public test phrase from the BIP-39 documentation. Run it only with this phrase. Never type a real phrase into a script or onto a networked computer.
# pip install mnemonic
from mnemonic import Mnemonic
m = Mnemonic("english")
test_phrase = ("abandon abandon abandon abandon abandon abandon "
"abandon abandon abandon abandon abandon about")
print(m.check(test_phrase)) # True: valid words and valid checksum
bad_phrase = test_phrase.replace("about", "abandon")
print(m.check(bad_phrase)) # False: checksum no longer matchesThis shows the idea. Your real check happens inside a wallet or hardware device, not in a script you wrote.
Recording what you need to compare
Before you test, note down facts about the original wallet. Store them with the backup logic in mind: none of them is secret, but all of them are needed to confirm a match.
- The first receiving address, or the first few.
- The wallet's account type, such as native SegWit, Taproot, or legacy.
- The derivation path if the wallet shows it.
- Whether a passphrase is in use.
- The wallet software or device name and version.
Addresses are public, so you can keep this list in a normal note. Do not put any word of the phrase in it.
Three ways to test
Pick the method that matches your wallet. They are listed from strongest to weakest.
| Method | What it proves | Risk | When to use |
|---|---|---|---|
| Restore onto a second, wiped device and compare addresses | Words, order, passphrase, and derivation path | Low if the device is trusted | Hardware wallets, best choice |
| Restore on the same hardware wallet after a reset | The same as above | The original is wiped, so the backup must be right | Only after a successful dry run |
| Device "check backup" feature | Words and order, without wiping | Very low | Quick recurring checks |
Method 1: restore on a second device
Use a spare hardware wallet, or the same model reset to factory state. Enter the phrase from your paper on the device. Then compare the first receiving address with the one you recorded. If they match, the backup works. Reset the spare device afterward.
If you have no spare, many hardware wallets let you run a recovery check that verifies words against the stored seed without erasing it. Use it, then still do a full restore later if you can.
Method 2: restore with a small test amount
This is the safest way to test the full path with real value. Create a fresh wallet with a new phrase. Write it down, send a small amount to it, and then wipe the device and restore from the paper. If the funds reappear, the process works.
Do this once with a throwaway wallet to learn your wallet's recovery steps. Then repeat the restore for your real wallet using a spare device, so the original stays untouched.
Method 3: a dedicated check feature
Some devices have a "check recovery phrase" mode. It asks you to enter your words and says whether they match the seed on the device. This tests what you wrote on paper against the live seed. It does not test your passphrase unless you enter it, so read the device's prompts carefully.
A safe testing workflow
Follow these rules during the test:
- Work offline and in private. No camera, no screen sharing, no one watching.
- Type the phrase only into the wallet's own screen or the hardware device. Never into a website, a note, a chat, or a search box.
- Keep the original wallet untouched until the restore matches.
- After the test, reset the test device and return the paper to its storage place.
When the test fails
A failed test is useful information. Work through the likely causes in this order.
- Wrong word order. Check each numbered position against the paper.
- Misread handwriting. Letters such as "u" and "v", or "m" and "n", are easy to confuse. BIP-39 words are unique by their first four letters, so a wallet can often accept a short form. Compare against the official word list.
- A near-miss word. Words like "trial" and "trail" differ by two letters but are both valid. The checksum may not catch a swap between valid words.
- A missing passphrase. A correct phrase with no passphrase gives a different, empty-looking wallet. This is the most common cause of "my funds are gone" after a restore.
- A different account type or derivation path. The same phrase can produce several address families. Try other account types in the wallet.
- A different wallet standard. A few wallets do not use BIP-39 in the standard way. Check the wallet's own recovery documentation.
If the checksum fails and you cannot find the error, the original is still the source of truth. Do not wipe the original device until a restore has matched.
How often to test
Test at three moments:
- Right after you write the backup, before you move meaningful funds.
- After any change, such as a new passphrase, a new storage location, or a re-copy to metal.
- Periodically, such as once a year, to confirm the paper or steel is still readable and in place.
A periodic check is mostly about the physical copy. Look for faded ink, water marks, rust, and stamping that has worn. If a copy looks damaged, make a new one, test it, and then retire the old one safely.
Testing metal and multiple copies
If you made a steel copy from the paper, test the steel copy on its own. Enter the words from the steel, not from the paper, so you check the copy you actually rely on. A transcription error made while stamping would otherwise go unnoticed.
If you keep several copies in different places, test each one at least once. Two copies that were both transcribed from a bad draft carry the same error. Number them and note the date each one passed.
Common mistakes
- Testing by typing the phrase into a website or a "phrase checker" tool. Such sites are a standard way to steal phrases.
- Testing only the checksum and calling it done.
- Forgetting the passphrase during the test, then concluding the backup is bad. Or the reverse: skipping it and missing that it was never recorded.
- Leaving the test device in a state where the phrase stays on it.
- Doing the test once, years ago, and never again.
Summary
Write the phrase, then prove it. Compare addresses from a restore against addresses you recorded from the original. Use a spare device and keep the original wallet intact until a restore matches. Test every physical copy, include any passphrase, and repeat the check after changes and from time to time.
Exercise
You wrote down a 12-word phrase and a word-validity tool says it passes the checksum. Why is that not enough to call the backup verified, and what should you do next?
Show answer
A 12-word phrase has only 4 checksum bits, so a wrong phrase still passes about 1 time in 16. A passing checksum shows the phrase is well formed, not that it is yours. Next, restore the phrase on a spare or reset trusted device, entering any passphrase too, and confirm the first receiving address matches the one you recorded from the original wallet. Keep the original wallet intact until the addresses match. Never use an online checker for this.
Exercise
A restore from your paper backup succeeds, but the wallet shows a zero balance and different addresses than before. Name two likely causes you would check first.
Show answer
The most likely cause is a missing passphrase, because the same words with a different or empty passphrase produce an entirely different wallet. A second likely cause is a different account type or derivation path, such as native SegWit versus Taproot or legacy. Check these before assuming a word error, and keep the original device until the addresses match.