BIP39 is the Bitcoin Improvement Proposal that defines how a mnemonic sentence of 12 to 24 words encodes random entropy and how that sentence is converted into a 512-bit binary seed from which a wallet derives all of its private keys. In Wallets & custody, it is the de facto format for the seed phrase: the same words restore the same accounts in almost any compatible software or hardware wallet, across Bitcoin, Ethereum and many other networks.
Proposed in 2013 by Marek Palatinus, Pavol Rusnak, Aaron Voisine and Sean Bowe, BIP39 solved a practical problem of self-custody: raw keys and binary seeds are hard to copy correctly by hand, while a short list of common words is easy to write down, read aloud and verify. The standard covers only the backup layer; key derivation itself is handled by BIP32 and the account structure by BIP44 and related proposals.
How BIP39 turns entropy into words
BIP39 starts from random entropy of 128 to 256 bits, chosen in steps of 32 bits. The wallet computes the SHA-256 hash of that entropy and appends its first ENT/32 bits as a checksum, so 128 bits of entropy receive a 4-bit checksum and 256 bits receive an 8-bit checksum.
The combined bit string is then cut into groups of 11 bits. Each group is a number from 0 to 2047, which serves as an index into a wordlist of exactly 2,048 words. The result is the mnemonic: every word carries 11 bits, and the last word carries both entropy and checksum bits.
The following table shows the five permitted lengths and how entropy, checksum and word count relate.
| Entropy bits | Checksum bits | Total bits | Words |
|---|---|---|---|
| 128 | 4 | 132 | 12 |
| 160 | 5 | 165 | 15 |
| 192 | 6 | 198 | 18 |
| 224 | 7 | 231 | 21 |
| 256 | 8 | 264 | 24 |
The checksum is the reason most random 12-word combinations are invalid. Only about one in 16 random 12-word sequences passes the check, and only about one in 256 for 24 words, which lets a wallet catch many transcription errors before any funds are at stake.
From mnemonic to seed and keys
The words are not used as a key directly. BIP39 feeds the normalized sentence into PBKDF2 with HMAC-SHA512 and 2,048 iterations, using the string “mnemonic” followed by an optional passphrase as the salt. Both inputs are first normalized with Unicode NFKD, so that accented or composed characters produce identical bytes on every device.
The output is a 512-bit seed. A wallet following BIP32 then applies HMAC-SHA512 to that seed to produce a master private key and chain code, and from there derives an unlimited tree of child keys. Paths such as m/84'/0'/0'/0/0 for native SegWit Bitcoin or m/44'/60'/0'/0/0 for Ethereum select the specific address, which is why the same phrase can serve many networks.
Each stage in this pipeline has a defined role, summarized below.
| Stage | Defined by | Output |
|---|---|---|
| Entropy and checksum | BIP39 | 11-bit word indexes |
| Mnemonic to seed | BIP39 | 512-bit seed |
| Seed to master key | BIP32 | Master key and chain code |
| Account structure | BIP44, BIP49, BIP84, BIP86 | Derivation path per coin and script type |
| Address encoding | Each network | Spendable receiving address |
The wordlist and the optional passphrase
The English wordlist is by far the most widely supported. Its words were selected so that the first four letters identify each word uniquely, which means a backup engraved on steel can store just four letters per word. Similar-looking words were avoided to reduce confusion when reading handwriting.
Official lists also exist for Japanese, Korean, Spanish, French, Italian, Czech, Portuguese and both Chinese scripts. Many wallets, however, accept only English, so a phrase created in another language may not restore everywhere; English remains the safest choice for portability.
The BIP39 passphrase, often called the 25th word, changes the salt and therefore produces an entirely different seed and wallet. It adds protection if the words alone are stolen and enables plausible deniability through decoy wallets. The trade-off is severe: there is no checksum on the passphrase, so a forgotten or mistyped passphrase opens a valid but empty wallet and cannot be recovered.
BIP39 compared with other backup schemes
BIP39 is not the only way to back up a wallet, and several projects deliberately chose alternative backup formats. The comparison below covers the schemes a practitioner is most likely to meet.
| Scheme | Main idea | Key difference from BIP39 |
|---|---|---|
| BIP39 | Entropy encoded as 12-24 words | Reference format with the broadest support |
| Electrum seed | Words plus a version number | Encodes the script type, not BIP39-compatible |
| SLIP-39 | Shamir secret sharing in word shares | Splits the secret into threshold shares |
| Monero seed | 25 words with its own wordlist | Different derivation, not interchangeable |
| Raw xprv backup | Extended private key as text | No word encoding and no error-friendly checksum |
A key criticism of BIP39 is that the mnemonic carries no version or script-type information. Restoring a phrase therefore requires knowing which derivation path the original wallet used; otherwise the software may scan the wrong branch and show a zero balance even though the funds are intact.
Security practices and common mistakes
The security of BIP39 rests entirely on entropy quality and offline storage. A 12-word phrase provides 128 bits of security, which is beyond brute force; the realistic risks are weak randomness, human-chosen words and exposure of the written backup.
| Mistake | Consequence | Better practice |
|---|---|---|
| Choosing words manually | Low entropy and invalid checksum | Let a trusted device generate the phrase |
| Storing words in cloud notes or photos | Remote theft of the whole wallet | Write on paper or metal and keep offline |
| Forgetting the passphrase | Permanent loss of the passphrase wallet | Back up the passphrase separately |
| Ignoring the derivation path | Restored wallet shows zero balance | Record the wallet type and path |
| Entering words on a website | Immediate phishing theft | Enter words only into the wallet itself |
Splitting a 24-word phrase into two halves stored in different places is a common but weak practice, because each half reduces the attacker’s work dramatically. When distribution is needed, SLIP-39 shares or a multisig wallet provide proper threshold protection.
In everyday language
BIP39 is a shared recipe for turning a huge random number into a short list of ordinary words. Those words are the master copy of a crypto wallet. Anyone who has them controls the money, and anyone who loses them, with no other backup, loses access for good.
Because almost every wallet follows the same recipe, the words work like a universal spare key. If a phone breaks, the owner types the 12 or 24 words into a new wallet app, and the same balances reappear. The key point is simple: keep the words offline and private.
Seen in the real world
A small business owner holds company reserves in bitcoin on a hardware wallet. During setup, the device generates a 24-word BIP39 phrase, which she stamps onto two steel plates kept in separate safes, and she adds a passphrase stored with the company lawyer.
Two years later the device is damaged in an office flood. She buys a hardware wallet from a different manufacturer, enters the 24 words and the passphrase, and selects the native SegWit account type she noted during setup. The wallet derives the same addresses and the full balance within minutes.
The outcome shows why BIP39 matters: the backup was independent of any single vendor or device, and the separate passphrase meant that the steel plates alone would not have been enough for a thief.