Skip to main content
Popular searches
BlockchainUpdated: Nov 22, 2026

XPUB

XPUB is an extended public key (xpub) in hierarchical deterministic (HD) wallets. It derives child public keys and addresses from a master public key without exposing private keys.

Also known as:extended public keymaster public key

What Is XPUB?

An XPUB (extended public key, usually written xpub) is a public key from a hierarchical deterministic wallet together with a chain code. From it, software can derive all the public keys and addresses of an account, but no private keys. The format comes from BIP32, and the Base58 string starts with xpub.

This is what makes watch-only wallets possible. A hardware wallet exports the xpub of an account, such as the one at m/84'/0'/0'; the app on the computer uses it to generate receive addresses and to find the balance, while the private keys stay on the device. Multisig setups also need the xpub of every cosigner to build the shared addresses.

An xpub cannot spend, but it is not harmless. Whoever has it can see every past and future address of that account, with the full balance and history. Share it only with software or people who should see all of that, and do not paste it into unknown websites.

Two technical limits are worth knowing. An xpub derives only non-hardened child keys, which is why it is exported at account level. And an xpub combined with any one of its child private keys reveals the others, so single private keys from an HD wallet should not be handed out.

Real-World Examples

Example 1: Alice exports the account xpub from her Coinkite Coldcard Q by QR code into a desktop coordinator app. The app now shows her balance and new receive addresses; to spend, she still has to sign on the Coldcard.

Example 2: Three partners set up a 2-of-3 multisig with hardware wallets from three different vendors. The coordinator collects one xpub from each device and derives the shared addresses from them.

Example 3: A business owner gives the company wallet's xpub to an accountant, knowing that the accountant will see every transaction of that account, but cannot move any funds.

BlockchainPublic Key

Read full definition: Public Key
BlockchainBIP32

Read full definition: BIP32
BlockchainPrivate Key

Read full definition: Private Key
WalletWatch-Only Wallet

Read full definition: Watch-Only Wallet
WalletHardware Wallet

Read full definition: Hardware Wallet
WalletWallet Address

Read full definition: Wallet Address
TransactionMultisig

Read full definition: Multisig
TransactionCosigner

Read full definition: Cosigner
HardwareQR Code Signing

Read full definition: QR Code Signing
HardwareColdcard

Read full definition: Coldcard

Hardware wallets with XPUB support

Browse wallets grouped by this feature

Affiliate link — we may earn a commission at no extra cost to you. Learn more about affiliate links

Supported: 27 of 41 wallets we have data for — Trezor Safe 7, BitBox02 Nova, Trezor Safe 5, BitBox02, Trezor Safe 3 and 22 more.

Frequently Asked Questions

Which hardware wallets support XPUB?
27 of 41 wallets we have data for: Trezor Safe 7, BitBox02 Nova, Trezor Safe 5, BitBox02, Trezor Safe 3 and 22 more.
Who can I safely share my xpub with?

Only with software or people who should see everything in that account. An xpub cannot spend, but whoever has it sees every past and future address, with the full balance and history. Do not paste it into unknown websites. An accountant who receives it, for example, sees every transaction but cannot move any funds.

Why is an xpub exported at the account level?

An xpub derives only non-hardened child keys, so it is exported at the account level, such as the account at m/84'/0'/0'. From there the app can generate receive addresses and find the balance, while the private keys stay on the hardware wallet.

Why does a multisig setup need an xpub from each device?

The coordinator software derives the shared addresses from the xpubs of all cosigners. In a 2-of-3 multisig with hardware wallets from three vendors, it collects one xpub from each device. No private keys leave the devices, and spending still requires signatures from them.

Ready to Choose a Secure Wallet?

Use our tools to find the right hardware wallet for your needs.