Can someone guess my Bitcoin private key?
No — not if a proper wallet generated it at random. Not with every computer on Earth, and not in the lifetime of the universe. Below is the arithmetic, including the parts that popular explanations usually skip, and the few cases in which the answer really is “yes”.
How many keys are there?
A Bitcoin private key is simply a number between 1 and just under 2256, roughly 1.16·1077. This site lists every one of them, 100 per page, which is why the catalog has 1.16·1075 pages. For scale: the observable universe is estimated to contain around 1080 atoms.
What does a thief actually have to hit?
Guessing your key is not even necessary. Coins sit on an address, and an address is a 160-bit fingerprint of the key. Any key whose fingerprint matches would do, so the real target is 2160, about 1.5·1048 possibilities. That is far fewer than 1077 — and still hopeless:
- Imagine a trillion computers, each checking a trillion keys per second: 1024 guesses per second, far beyond anything that exists.
- To hit one particular address, that machine would need on average about 4.6·1016 years.
- The universe is about 1.4·1010 years old. The search would take more than three million times longer.
And if any address with coins will do?
A thief does not care whose coins they take. Suppose as many as 100 million addresses held bitcoins (there are fewer). Each guess then has a 100-million-times better chance, and the imaginary machine would need about 460 million years.
That machine does not exist. The largest computing effort on the planet, the whole Bitcoin mining network, performs around 1021 simple hashes per second, and checking a key is much more work than one hash. Even at that speed the search would take about 460 billion years, over thirty times the age of the universe.
Is there anything smarter than guessing?
Yes, and honest explanations should say so. Once you spend from an address, its public key becomes visible on the blockchain (for some address types it is visible from the start). From a public key, the best known method (Pollard’s rho algorithm) needs about 2128, or 3.4·1038, steps. This is what “128-bit security” means. Even at the speed of the entire mining network, that is around 11 billion years for a single key.
A large quantum computer running Shor’s algorithm could do this quickly. Nothing close to one exists today; it is a known long-term problem that Bitcoin developers are discussing.
When can a key be guessed?
Only when it was not chosen at random. Almost every real theft of this kind comes down to one of these:
- Keys made from passwords (brainwallets). A key derived from a phrase like “password” or a line from a song is found by trying phrases, not numbers. Thieves’ bots check millions of them. See keys everyone guesses.
- Tiny numbers. Many keys on page 1 of the catalog (1, 2, 3 …) have a transaction history, and bots sweep anything sent to them almost immediately.
- Broken randomness. In 2013 a flaw in Android’s random number generator let thieves recover the private keys of some Bitcoin wallets on that system.
- Deliberately small keys. In 2015 someone funded a series of addresses whose keys were limited to 1, 2, 3 … bits, as a public challenge. By pure guessing, only keys of several dozen bits have been found; where the public key had been revealed, smarter methods have reached keys of over 100 bits. Every extra bit doubles the work, and a real key has 256.
- Keys typed into websites. No guessing needed if you hand the key over. Sites that offer to “check whether your key is on the list” are a classic trap.
What to do
- Let a reputable wallet generate your key or seed phrase. Never invent one yourself.
- Never type a private key or seed phrase into a website — this one included. Our “page number” field refuses anything that looks like a key, but most sites do not.
- For larger amounts, use a hardware wallet and keep the seed phrase offline.
Your key is in this catalog, like every other key. That is exactly why it is safe: finding it would mean searching a space so large that the catalog itself is the best illustration of how impossible that is.