What is a Private Key?

A secret number that allows you to spend bitcoin from a specific address. Think of it like a password that proves ownership. "Not your keys, not your coins."

Why It Matters

Your private key is everything in Bitcoin. Whoever controls a private key controls the bitcoin associated with that key. If someone has your private key, they can send your bitcoin to themselves and you cannot recover it. Conversely, if you lose your private key, you lose access to your bitcoin forever. This is why Bitcoin is so secure (only you control your funds, no bank can seize them) and so risky (you are responsible for keeping the key safe). This is the meaning behind "not your keys, not your coins"—if you hold bitcoin on an exchange, the exchange controls the keys, not you. Bitcoin's entire security model depends on the secrecy and security of private keys.

How It Works

A private key is simply a 256-bit number (roughly 78 digits long). Your wallet generates this random number using a secure random source. From your private key, your wallet mathematically derives your public key using elliptic curve cryptography. From the public key, your Bitcoin address is derived through hashing. When you want to spend bitcoin, you use your private key to digitally sign the transaction, proving you authorized the payment. Nodes verify the signature using your public key without ever seeing your private key. This is the power of public-key cryptography: you can prove you authorized something without revealing the secret authorization code.