How secure is a 12- or 24-word seed phrase?
A seed phrase made by a proper wallet cannot be guessed. But it is the most valuable thing you own in Bitcoin: whoever has those 12 or 24 words has every key and every address of your wallet, past and future. That is why seed phrases get stolen — not guessed.
What the words are
A seed phrase (the BIP39 standard) is a random number written down as words. The word list has 2048 entries, so each word carries 11 bits:
- 12 words = 132 bits: 128 bits of randomness plus a 4-bit checksum;
- 24 words = 264 bits: 256 bits of randomness plus an 8-bit checksum.
The checksum is why you cannot simply pick 12 words you like: only one in 16 random combinations of 12 words is a valid phrase. Your wallet turns the phrase into a master key, and from that one key it derives every private key and address it will ever use.
How many phrases are there?
There are 2128, about 3.4·1038, valid 12-word phrases, and 2256, about 1.16·1077, valid 24-word ones — practically as many as there are keys in our catalog.
128 bits is the same security level as the keys themselves: as our article on guessing private keys explains, the best known attack on a Bitcoin key also takes about 2128 steps. A longer phrase cannot make the keys it produces stronger than that. The 24 words are an extra safety margin, mainly against future advances in cryptanalysis.
How long would guessing take?
Checking a phrase is slow on purpose: the standard runs it through 2048 rounds of HMAC-SHA512, thousands of hash computations per guess, before a single key is derived. Suppose the entire Bitcoin mining network, about 1021 hashes per second, could be turned to this task (it cannot: mining chips do only one thing). It would manage at most about 1017 phrases per second. Then:
- one particular 12-word wallet would take about 100 trillion years;
- any one of 100 million funded wallets would take about a million years.
The universe is about 14 billion years old.
How phrases really get stolen
- Typed into a website. Fake wallet sites, pages that ask you to “validate” or “synchronize” your wallet, fake support agents in chats, fake browser extensions and apps. A real wallet asks for the phrase only when you restore it in the wallet itself — never on a website, never in a chat.
- Photos and cloud notes. A screenshot or a photo of the paper ends up in a cloud backup, and from there in a data breach or a stolen account.
- Partial phrases. Knowing 11 of the 12 words leaves just 128 candidates for the last one, because of the checksum. Even with four words missing there are only about 1012 candidates, and a determined attacker can try them all. Never show part of a phrase either.
- Weak generators. In 2023 it turned out that a command-line tool (Libbitcoin Explorer,
bx seed) produced phrases from only 32 bits of randomness. Many wallets created with it were emptied. - Words chosen by people. Words you pick yourself, a line from a book or a song: such a phrase has the weakness of a brainwallet, and those are found by trying phrases, not numbers.
What to do
- Let the wallet, ideally a hardware wallet, generate the phrase. Do not choose the words yourself.
- Write it on paper or stamp it in metal. No photos, no notes apps, no cloud.
- Never type it into a website, form or chat. Nobody legitimate will ever ask for it — not support, not an exchange, not this site. Our “page number” field refuses anything that looks like a seed phrase.
- For extra protection, many wallets support an optional passphrase, the “25th word”. It is added on top of the random phrase, so unlike a brainwallet it does not replace the randomness.