Derivation path
A derivation path is the route a wallet follows from its master key to a particular private key and address, written like m/84'/0'/0'/0/0. The same seed phrase gives different addresses on different paths, so restoring a wallet on the wrong path shows an empty wallet even though the funds are safe. Most single-signature wallets today use m/84'/0'/0' (native segwit, addresses starting bc1q); write down the path your wallet uses next to your backup.
What is an HD wallet?
A hierarchical deterministic (HD) wallet is one whose keys all descend from a single seed in a tree, as defined by the BIP32 standard. Every branch of the tree can produce new key pairs, so backing up the seed phrase once backs up every key the wallet will ever use. The derivation path names one branch of that tree.
What does each part of a path mean?
m / 84' / 0' / 0' / 0 / 0
| Part | Name | Meaning |
|---|---|---|
m | Master | The master key, made from the seed phrase (and any passphrase) |
84' | Purpose | Which standard, and so which address type: 44 legacy, 49 nested segwit, 84 native segwit, 86 Taproot |
0' | Coin type | 0 for bitcoin; testnet uses 1 |
0' | Account | Separate accounts from one seed, each with its own addresses |
0 | Change | 0 for receive addresses, 1 for change addresses |
0 | Index | The address number: 0, 1, 2 and so on |
The apostrophe marks a hardened level. Hardened derivation means a leaked child private key cannot be combined with the parent's extended public key to recover the parent's keys, which is why the purpose, coin and account levels are hardened.
Which path does each address type use?
| Standard | Path (first receive address) | Address type | Example address |
|---|---|---|---|
| BIP44 | m/44'/0'/0'/0/0 | Legacy (P2PKH) | 137oszRjc8tdUVWr5nSp6fzSND938PStMZ |
| BIP49 | m/49'/0'/0'/0/0 | Nested segwit (P2SH-P2WPKH) | 33S43b6qmVHVTjwp75M7XoTTPEvKVh8zqH |
| BIP84 | m/84'/0'/0'/0/0 | Native segwit (P2WPKH) | bc1q6khgephuq2hyvrn49zrvsxztmtjg4ze7sxkpp4 |
| BIP86 | m/86'/0'/0'/0/0 | Taproot (P2TR) | bc1ps3yjzpnxeg9yx43f9zmrl9njhvlwh4pm5peuu5ucqqp7f4362cvqeesncf |
| BIP48 | m/48'/0'/0'/2' | Multisig, native segwit (each key's path) | bc1q... (longer, script hash) |
BIP44 was written for wallets holding many coins and gives legacy addresses on bitcoin. BIP49 wraps segwit inside an older script type for compatibility. BIP84 native segwit is the common default and has lower fees than either. BIP86 Taproot uses Schnorr signatures and makes simple and complex spending conditions look alike on chain. BIP48 is the convention most wallets use for each key of a multisig. The address types reference compares the address formats themselves.
What if a restored wallet shows no balance?
The usual cause is a different path or script type from the original wallet, not lost funds. Check which address type your old wallet used (the first characters of its addresses tell you, as in the table above), set the restoring wallet to the same one, and look again. Sparrow and most hardware wallet apps let you choose the script type when importing.