Bitcoin BIP44 Derivation Paths Explained for Developers
A derivation path identifies a branch in a hierarchical deterministic wallet. BIP44 proposes a five-level structure so software can organize accounts and addresses consistently. The path alone does not prove that funds exist or that a particular address is spendable.
How is a BIP44 path structured?
The general pattern is m / purpose' / coin_type' / account' / change / address_index. The apostrophe marks hardened derivation. Purpose 44' identifies the BIP44 scheme; coin type distinguishes registered ecosystems and networks; account separates logical accounts; change is commonly 0 for external receiving addresses and 1 for internal change addresses.
What does the purpose field mean?
Purpose is a convention for the intended address scheme. BIP44 uses 44', BIP84 uses 84' for native SegWit P2WPKH, and BIP86 uses 86' for single-key Taproot P2TR. Substituting one purpose for another changes derived keys and typically the resulting addresses.
How does account discovery work?
BIP44 defines account discovery conventions and an address gap limit of 20 for external chains. Actual wallet software may use different scanning behavior and explicit recovery modes. Never assume that an empty initial range proves that no historical wallet activity exists, particularly if addresses were generated beyond the expected gap.
Why do developers need descriptors?
A path is only one part of the spending definition. Output descriptors also identify the script template, derivation information, and sometimes key origin data. For recovery, store accurate wallet metadata securely alongside the recovery secret, without exposing private material to public agents.
Primary references
- BIP44 — Multi-Account Hierarchy: https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki
- BIP84 — Derivation Scheme for P2WPKH: https://github.com/bitcoin/bips/blob/master/bip-0084.mediawiki
- BIP86 — Derivation Scheme for P2TR: https://github.com/bitcoin/bips/blob/master/bip-0086.mediawiki
