TeachMeBitcoin

Derivation Paths: The Address Book of HD Wallets

From TeachMeBitcoin, the free encyclopedia Reading time: 2 min

Derivation Paths: The Address Book of HD Wallets

In a Hierarchical Deterministic (HD) wallet, a single master key can generate billions of addresses. To find a specific address again, you need more than just the seed—you need the Derivation Path.

1. What is a Path?

A derivation path is a set of instructions that tells the wallet software exactly which branch of the tree to follow. It looks like a file path on a computer: m / 84' / 0' / 0' / 0 / 5

2. Why do we need paths?

If you have your 12 words and you restore them in a new wallet, the software needs to know where to look for your money.

Without a standard derivation path, two different wallets might generate two completely different sets of addresses from the exact same seed.

3. The Structure of a Step

Each number in the path refers to a specific index ($0$ to $4$ billion).

4. Cross-Wallet Compatibility

If you use a hardware wallet like a Ledger and want to view your funds in a software wallet like Electrum, both apps must agree on the derivation path. If one uses m/44' and the other uses m/84', you will see a balance of Zero in the second wallet, even though your funds are safe on the blockchain.

Path Level Name Meaning
m Master The Root Seed
Level 1 Purpose Which BIP standard are we following?
Level 2 Coin Type Bitcoin (0'), Testnet (1'), etc.
Level 5 Index The specific address number.

In the next section, we will analyze the BIP44 Multi-Account Hierarchy.

☕ Help support TeachMeBitcoin

TeachMeBitcoin is an ad-free, open-source educational repository curated by a passionate team of Bitcoin researchers and educators for public benefit. If you found our articles helpful, please consider supporting our hosting and ongoing content updates with a clean donation:

Ethereum: 0x578417C51783663D8A6A811B3544E1f779D39A85
Bitcoin: bc1q77k9e95rn669kpzyjr8ke9w95zhk7pa5s63qzz
Solana: 4ycT2ayqeMucixj3wS8Ay8Tq9NRDYRPKYbj3UGESyQ4J
Address copied to clipboard!