Live · Tue, Aug 4, 2026 · 23:01 UTC Block 843,917 Fees 14 sat/vB Fear & Greed 72 · Greed
Newsletter Pro Terminal Sign in
McLeod Pacific Investments.
Subscribe →
Live · 23:01 UTC Block 843,917 F&G 72
Bitcoin Basics Bitcoin Basics desk

What is a Bitcoin public key and how does it work?

A Bitcoin public key sits at the heart of how transactions are verified and funds are kept secure. Understanding what it is helps beginners grasp the basics of how Bitcoin actually works.

A close-up of a hand holding a key with an attached USB drive, highlighting security and technology.

Photo by cottonbro studio on Pexels

A Bitcoin public key is one of the two cryptographic keys that every Bitcoin wallet generates. It works alongside a private key, and together they form the foundation of how Bitcoin ownership is proven and transactions are authorised. If you're new to Bitcoin, the public key is worth understanding early because it touches everything from receiving funds to verifying signatures.

What a Bitcoin public key actually is

A Bitcoin public key is a long alphanumeric string produced by applying a mathematical function to your private key. The process uses an algorithm called Elliptic Curve Digital Signature Algorithm (ECDSA). It runs in one direction only: the public key is derived from the private key, but the private key cannot be reconstructed from the public key. That asymmetry is what makes the system secure.

In its uncompressed form, a public key is 65 bytes long. The compressed version, which most wallets now use, is 33 bytes. Neither version looks like anything meaningful to the human eye. It's a string of numbers and letters, but it carries precise mathematical properties that the Bitcoin network uses to verify transactions.

The public key is not the same as your Bitcoin address. It's a step above it. Your Bitcoin address is derived from your public key by hashing it twice, first with SHA-256 and then with RIPEMD-160. The address is what you share when you want to receive Bitcoin. The public key sits one layer deeper.

How the public key fits into a transaction

When you send Bitcoin, your wallet creates a digital signature using your private key. The network then uses your public key to verify that signature. No one sees your private key. They see the signature and the public key, and the mathematics confirms that the person who signed holds the matching private key.

This is called asymmetric cryptography. It's the same concept used in HTTPS, email encryption, and most secure communications on the internet. Bitcoin applies it at the transaction level, every single time funds move.

There are three steps every outgoing transaction goes through:

  • Your wallet signs the transaction with your private key, producing a unique digital signature.
  • The signed transaction is broadcast to the Bitcoin network, along with your public key.
  • Nodes on the network verify the signature against the public key, confirming the transaction is valid without ever learning your private key.

This process happens in seconds. Understanding it helps explain why Bitcoin transactions are both irreversible and trustless: no central authority checks your identity. The cryptography does it.

Is it safe to share your public key?

Yes. The public key is designed to be shared. That's the point of the asymmetric system: the public key reveals nothing about the private key. Sharing it does not give anyone access to your funds.

That said, most people share their Bitcoin address rather than the raw public key, because the address is shorter and more practical. The address is a hashed version of the public key, so it's even further removed from the private key. Both are safe to share.

The private key is a different matter entirely. Anyone with your private key controls your Bitcoin. Keep it offline, backed up as a seed phrase, and never share it with anyone. McLeod Pacific Investments covers this in detail in its guide to what a Bitcoin wallet is and how it works.

HD wallets and multiple public keys

Modern Bitcoin wallets don't generate just one key pair. They use what's called a Hierarchical Deterministic (HD) structure, which produces a new public key and address for every transaction. This is a privacy feature. Reusing the same address lets anyone trace your transaction history on the public blockchain. Using a fresh address each time makes it harder to link transactions back to a single wallet.

All of these keys are derived from a single master seed, which is what your 12 or 24-word seed phrase represents. Lose the seed phrase and you lose access to every key the wallet ever generated. That's why seed phrase storage is treated as the most critical element of Bitcoin security.

Why this matters for beginners

You don't need to memorise cryptographic formulas to use Bitcoin safely. But understanding the relationship between private keys, public keys, and addresses helps you make smarter decisions about security and privacy.

Three things to take away: first, your public key and Bitcoin address are safe to share. Second, your private key must never leave your control. Third, every Bitcoin transaction you send is cryptographically signed with your private key and verified by the network using your public key, with no bank or intermediary involved at any point.

McLeod Pacific Investments is a Gold Coast-based registered Digital Currency Exchange Provider. McLeod Pacific Investments helps Australians buy and sell Bitcoin and offers education for beginners who want to understand how the network works before they invest.

→ The Confirmations · Daily newsletter

One email at 06:00 UTC. Six minutes. The only digest written for desks, not for retail.