first 4 four letters of a bitcoin recovery seed phrase

First 4 Letters of a Bitcoin Recovery Seed Phrase

Why do I only need the first 4 letters for each word in a bitcoin recovery seed phrase?

Bitcoin Improvement Proposal (BIP 39)

Your 12-24 recovery seed phrase most likely comes from the Bitcoin Improvement Proposal: 39 (BIP 39). BIP 39 is the use of a mnemonic phrase -- a group of easy to remember words -- to serve as your back up recovery in the event your wallet fails unexpectedly.

These words are pulled from a specific list of 2048 words.  In this list, the first 4 letters are unique to each word within the wordlist.

To clarify “unique”, we mean literally the first 4 letters (not the first 4 different letters). For example the word “apple”, “appl” does not come up anywhere else in the BIP39 wordlist.

For words that only have 3 letters, there is no 4th letter. For example with the word “add”, there are no more letters afterwards and thus must be the word "add". The word “addict” is in the BIP39 wordlist but you would have used “addi” for “addict”.

In other words, there are no two words in this list with the same first 4 characters.

That means if you have the first 4 letters, you know the rest of the word by looking for those first 4 letters in the BIP39 wordlist. Some wallets will even fill in the rest of the word once the first 4 letters are entered.

As an authoritative source, the BIP 39 documentation specifically states the following:

An ideal wordlist has the following characteristics: a) smart selection of words - the wordlist is created in such way that it's enough to type the first four letters to unambiguously identify the word

To further test this fact, below is an exercise using Google Sheets to count the number of unique words in the BIP39 English wordlist using only the first four letters of each word. We ensure that it also equals to 2048. This is known as a mnemonic frequency analysis.

Take a look or try it for yourself.

This feature does not only apply to the English wordlist. It also applies to the Spanish, French, and Italian wordlists. See the BIP 39 documentation for special consideration of wordlists.

Lighting Network Daemon (AEZeed)

If you're using the Lightning Network Daemon wallet, it uses a different seed scheme known as AEZeed. But, it uses the same wordlist as BIP 39. Thus, the same feature: unique first four letters for each word, applies.

Electrum

If you're using the Electrum Wallet, it also uses a unique seed scheme. But, it also uses the same BIP 39 wordlist. Due to usage of the same list, the first four letters are unique for each word.

Satoshi Labs Improvement Proposal (SLIP 39)

If you're using Trezor's parent company, Satoshi Labs, unique seed standard of Shamir Secret Shares, SLIP 39, the wordlist is different. This is known as the SLIP 39 wordlist.

But, this wordlist also has the same design in which the first 4 letters are unique to each word.

Per the SLIP 39 documentation, "All words begin with a unique 4-letter prefix."

All words begin with a unique 4-letter prefix.

Back to blog