---
title: "HD Wallet (Hierarchical Deterministic Wallet) — definition | Nuri Glossary"
description: "A wallet that derives every key from one seed, so a single phrase restores everything."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/hd-wallet"
---

# HD Wallet (Hierarchical Deterministic Wallet)

A wallet that derives every key from one seed, so a single phrase restores everything.

## Basically

Your wallet creates many Bitcoin addresses from one secret. One backup made on day one still covers the thousandth address you use years later.

## Key Takeaways

- Short for Hierarchical Deterministic wallet, introduced in BIP 32 and structured by BIP 44/84/86.
- Derives child private and public keys deterministically using a key plus a 256-bit chain code.
- Makes per-payment address rotation easy without ever needing a second backup.

## How the tree is organised

A typical path looks like m / purpose' / coin_type' / account' / change / address_index. Apostrophes mark hardened steps, where the parent public key alone cannot derive the branch. Normal derivation below an account level lets an extended public key (xpub) generate every receive and change address while the private keys stay offline.

## Gap limit during restore

The wallet scans addresses in order during a restore because the tree is effectively infinite. It stops after a run of unused addresses, typically twenty, which is the gap limit. If you generate fifty empty invoices in a row, a naive restore may stop scanning before it reaches your later payments.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
