Skip to content

Bitcoin Prime is a data desk, not a trading platform. We take no deposits.

Bitcoin Prime is an independent editorial data desk. It is not a trading platform, robot or investment service, takes no deposits, never asks for money or wallet keys, and is not affiliated with any product, app or scheme that uses the same or a similar name.

Bitcoin Prime
EN RU
BTC$60,326−4.23% 24h Block977,381 Next-block fee3 sat/vB Halving in72,619 blocks
Glossary

Xpub (extended public key)

An xpub is an extended public key that can derive a wallet's addresses but cannot spend.

An xpub, or extended public key, is a public key paired with a chain code that lets software derive a whole sequence of child public keys, and so a whole sequence of receiving addresses, without ever holding a private key. It can watch and receive, but it cannot spend.

How it works

The extended key format comes from BIP32. A wallet’s key tree has private nodes and matching public nodes. Given the extended public key at one node and its chain code, software can compute the public keys of the children below it, but not their private keys. That makes it possible to show an address for each new payment from a device that cannot sign.

Modern wallets often wrap the xpub inside an output descriptor, which adds the fingerprint, the derivation path and the script type.

Where you see it

You see an xpub when you export a watch-only wallet, when a wallet asks you to verify the account it is using, and when you set up a multisig wallet, where each cosigner shares an xpub. Variants carry different starting letters depending on the address type and format.

Why it matters

The xpub is what lets you check addresses without exposing signing power. A simple example: you can load it into watch-only software on an online computer to see incoming payments while the signing device stays offline. It also gives you a way to confirm after a restore that you rebuilt the same account, by comparing the xpub or a fingerprint with the one you noted before.

Common confusions

  • It cannot move your coins. But it reveals every address and balance of the account it covers, so sharing it is a privacy decision.
  • It is not your seed. The seed phrase is the secret that regenerates private keys. An xpub cannot recreate it.
  • Combined with a leaked private child key, it can expose the parent. In the BIP32 scheme, an xpub plus any non-hardened child private key can reveal the parent private key, which is why hardened derivation is used at account level.
  • It is a part of a multisig backup, not a replacement for it. Back up all cosigner xpubs and the policy.

For how xpubs fit into backups and restore tests, see the guide on multisig self-custody and the custody hub. This is education, not financial advice.

Sources

  1. BIP32: Hierarchical deterministic wallets · Bitcoin Improvement Proposals

Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.