GlossaryWallets and custody
Seed phrase
Definition: A seed phrase is a list of words, typically 12 to 24, that encodes the random number from which a wallet derives its private keys.
An investor bulletin from the staff of the US Securities and Exchange Commission (SEC) notes that many crypto wallets generate a seed phrase, “a random sequence of words that allows you to restore your crypto wallet” (SEC investor bulletin). Instead of backing up each private key, a separate entry, the wallet draws one random number, shows it as words and derives every key from it. Bitcoin Improvement Proposal 39 (BIP-39) sets out one method (BIP-39). The wallet draws 128 to 256 random bits and adds a checksum, a few bits computed from the random bits that help catch typing errors. It splits the result into groups of 11 bits, each “encoding a number from 0-2047, serving as an index into a wordlist” of 2,048 words, so 128 random bits give 12 words and 256 give 24. A hash is the fixed-length output of a function designed so that no one can feasibly work back from an output to its input. To make the seed, the wallet runs the words, together with an optional passphrase the user may add, through a hash-based function 2,048 times, giving 512 bits. Any passphrase produces a valid seed, “but only the correct one will make the desired wallet available”, so a wrong passphrase opens a different wallet instead of producing an error. BIP-32 then derives “a tree of keypairs from a single seed” (BIP-32).
Because every key comes from the seed, anyone with the phrase can recreate every key in the wallet. bitcoin.org’s vocabulary page, which also calls it a recovery phrase or mnemonic, says the phrase “allows the owner to back up and restore an entire wallet without copying individual keys” and “must be stored securely, since anyone who obtains it can access the corresponding bitcoins” (bitcoin.org). For example, a user who pastes a seed phrase into a chat with an AI agent, or into a file the agent can read, may give every key in the wallet to anyone who can later read that chat or file.
Pieter Wuille described deriving many keys from one seed in BIP-32, Hierarchical Deterministic Wallets, assigned in February 2012. BIP-39, by Marek Palatinus, Pavol Rusnak, Aaron Voisine and Sean Bowe and assigned in September 2013, specified a list of words from which such a seed is computed, a list that “could be written on paper or spoken over the telephone”. Word-based seeds predate BIP-39. The documentation of the Electrum wallet says early versions of Electrum already used seed phrases and that “BIP39 was introduced two years after Electrum” (Electrum). Electrum’s later versions use their own format.
