What Is a Private Key?
A private key is the secret cryptographic key that authorizes spending from a crypto wallet and signs its transactions. Anyone who knows a wallet's private key can move the funds it controls.
On this page 7
A private key is the secret cryptographic key that authorizes spending from a crypto wallet and signs its transactions. When you send coins, your wallet uses the private key to produce a digital signature, and the network checks that signature to confirm the transaction really comes from the owner. Anyone who obtains your private key can sign transactions as you, which is why it must never be shared.
What does a private key look like?
On Bitcoin and Ethereum, a private key is a randomly chosen 256-bit number from an astronomically large range. It is usually displayed as a 64-character hexadecimal string, while Bitcoin wallets often use a shorter encoding called WIF. There are so many possible keys that guessing a properly generated one is, for practical purposes, impossible.
That guarantee only holds if the key is truly random. Keys derived from a memorable phrase or a weak random number generator have been swept by attackers in bulk in the past.
Private key, public key and address
A public key is mathematically derived from the private key, and on most networks the shareable wallet address is derived from the public key. The process only runs one way: you cannot work backwards from an address or public key to the private key. That is what lets you publish your address freely while keeping the key to yourself.
It also helps to know that your coins are not stored inside the key. They live on the blockchain, and the key simply proves you can spend them. If your phone breaks, the funds are still there, but without a backup of the key you can’t reach them.
Private key vs. seed phrase
Most modern wallets show you a 12- or 24-word recovery phrase instead of a raw private key. That seed phrase is the master source from which all the wallet’s private keys are derived. A single private key controls one address; a seed phrase can rebuild every address and account in the wallet across networks, so it deserves at least as much protection.
Who holds the private key on an exchange?
When you keep a balance on an exchange, the exchange manages the private keys and you hold only a login. The crypto saying “not your keys, not your coins” describes exactly this. Our custody entry explains the trade-offs of each model.
How to keep a private key safe
- Never type your key or seed phrase into a website, support chat or email. Legitimate support teams will never ask for it.
- Don’t screenshot it or store it in cloud notes.
- For meaningful amounts, use a hardware wallet, which signs transactions without exposing the key to an internet-connected device.
- Keep backups on paper or metal, in more than one secure location.
If you think a key has been exposed, changing your app password won’t help. Create a new wallet on a clean device and move your funds there straight away.
Frequently asked questions
What happens if I lose my private key?
If you still have your seed phrase, you can restore the wallet on another device. Without either, there is no central party that can recover the funds.
Is a private key the same as a wallet password?
No. A wallet password only unlocks the app on one device. The private key is the actual spending authority and works in any compatible wallet software.