Protocols

SLIP39: Shamir backups

Last reviewed 1 December 2026.

Safety: Never type or paste a real recovery phrase, SLIP39 share, or passphrase into a website, chat, or any tool you do not fully control and trust. Official test vectors, when quoted, are public test data, not a personal backup.

SLIP-0039 is a standard for backing up a secret by splitting it into mnemonic shares using Shamir's secret sharing. A chosen threshold of shares can reconstruct the secret. Fewer than the threshold, the specification says, does not leak information about it.

SLIP39 is intended mainly as a replacement for BIP39. The two are, in the SLIP's words, "for the most part not compatible." A SLIP39 share is not a BIP39 sentence. You cannot type the words into a BIP39 wallet and expect the same seed.

When SLIP39 is used to back up a BIP32 wallet, the secret being split must be the BIP32 master seed — the byte string that is fed to HMAC-SHA512("Bitcoin seed", S) — not a BIP39 word list.

Shares, not a single phrase

A BIP39 backup is one mnemonic. A SLIP39 backup is one or more shares. Each share is a sequence of English words from SLIP39's own list. You distribute the shares so that no single location holds a complete backup, while still being able to recover if some shares are lost.

The scheme has two levels. The encrypted master secret is first split into group shares with a group threshold. Each group share can then be split again among the members of that group, with its own member threshold. The specification allows between 1 and 16 groups, and between 1 and 16 members in a group.

The SLIP's running example is the kind of arrangement this is meant to support: a 2-of-4 group split, where the owner keeps two groups, friends hold a 3-of-5 group, and family holds a 2-of-6 group. Friends and family can then be given different amounts of trust without handing any one person multiple copies of the same share.

A 1-of-1 backup is also valid. It looks like a single mnemonic share, but it is still a SLIP39 share, not a BIP39 phrase.

20 words or 33 words

The master secret must be at least 128 bits long and a multiple of 16 bits. Implementations must support 128-bit and 256-bit secrets.

Each word encodes 10 bits, because the wordlist has exactly 1024 words. After metadata and a checksum are included, the share lengths are:

  • 128-bit secrets: 20 words
  • 256-bit secrets: 33 words

Those lengths are not BIP39 lengths. BIP39 phrases are 12, 15, 18, 21, or 24 words.

The last three words of each share are an RS1024 checksum and, the specification says, contain no information. The checksum uses the customization string shamir or shamir_extendable, depending on a flag described below. It is designed to detect any error affecting at most three words, with less than a 1 in 10^9 chance of failing to detect more errors.

The first two words of a share encode, among other bits, a random 15-bit identifier and an iteration exponent. Shares that belong together start with the same first two words. The third word encodes the group index, the group threshold, and part of the group count, so shares in the same group start with the same three words. That is a useful check when combining paper backups: if the opening words do not match, you may be mixing shares from different sets.

The 1024-word list

SLIP39 mandates a single English list, published as slip-0039/wordlist.txt. There is no localization. The SLIP says earlier experiments with arbitrary wordlists caused confusion and hurt interoperability.

The list is alphabetically sorted. Every word is between four and eight letters long. The first four letters of each word are unique, so a share can be identified from prefixes. The words are common English, plus the word "satoshi." Any two words have a Damerau–Levenshtein distance of at least 2, and the authors also tried to keep pronunciations distinct.

Some of those words are not on the BIP39 English list. Even when a word appears in both, the index and the encoding are not the same. A 20-word English phrase is already a signal that you may be looking at SLIP39 rather than BIP39.

Passphrase and encryption

The master secret is encrypted with a passphrase before it is split. If no passphrase is provided, the empty string is used. The allowed alphabet is narrower than BIP39's: the passphrase must be printable ASCII only, code points 32 through 126.

There is no check that the passphrase is "correct." Decrypting with a different passphrase yields a different master secret, and therefore a different wallet. That is similar in spirit to a BIP39 passphrase, but the encryption construction is not the same, and a BIP39 passphrase will not unlock a SLIP39 backup.

The encryption is a four-round Feistel network that uses PBKDF2-HMAC-SHA256 as the round function. The share metadata records an iteration exponent e; the number of iterations at that layer is described as 10000 × 2^e, and each round uses 2500 << e iterations. The construction is invertible, which the SLIP notes makes it possible to migrate a BIP32 wallet from BIP39 to SLIP39 by taking the existing master seed bytes as the SLIP39 master secret. The BIP39 words themselves are not copied into the new shares.

Extendable backups

A later revision of the specification added an extendable-backup flag. When the flag is set (ext = 1), the identifier is not used as salt in the encryption step. That allows a user to start with a single 1-of-1 share and later create a multi-share set that still decrypts to the same master secret and passphrases. New shares should set the flag; implementations must still support older shares that have it unset.

Shares from different sets must not be mixed. Even if two backups use the same threshold scheme, they are incompatible if their identifiers and related metadata do not match. Combining the wrong groups can fail recovery. The specification is careful about this, because an accidental mix is a way to lose access.

Trezor as an implementation, not the spec

Trezor documents a 20-word "Single-share Backup" as a 1-of-1 SLIP39 share, and describes upgrading that backup to a multi-share set in Trezor Suite while keeping the same accounts. That is vendor documentation, useful if your shares came from a Trezor device, but it is not a substitute for the SLIP. Other implementations may offer only multi-share setups, or they may use 33-word shares for a 256-bit secret.

Whatever the vendor, a SLIP39 share is recovered in software that implements SLIP39, by entering the required number of shares and the passphrase if you set one. It is not recovered by pasting one share into a BIP39 app.

FAQ

Can I type SLIP39 words into a BIP39 wallet if they look like English? No. The wordlist, the share structure, the checksum, and the encryption are different.

Do I need every share to recover? No. You need the threshold in each required group. Extra shares are spare copies.

Why is a 20-word backup not a BIP39 phrase? BIP39 does not use 20-word sentences, and SLIP39's list and encoding are not BIP39's.

Is the SLIP39 passphrase the same as BIP39's "25th word"? No. The allowed characters, the encryption, and the secret being protected are different.

If I have some but not enough shares, have I leaked the wallet? The SLIP states that knowledge of fewer than the required parts does not leak information about the master secret.

See also

Related lesson

Sources