Bitcoin wallet missing funds?
Your money is hiding in plain sight
Bitcoin HD wallets (Electrum, Ledger, Trezor, Sparrow) stop scanning after 20 empty addresses in a row — the gap limit. If funds land beyond that gap, they vanish from your balance — but they're still on-chain. GapFix scans 1,000+ addresses to find them and tells you exactly how to get them back.
Scan My Wallet →Scan for Gap Issues
Paste your account-level xpub (legacy), ypub (segwit-wrapped), zpub (native segwit), or any BIP32 extended public key. GapFix automatically scans all four address formats — P2PKH, P2SH-P2WPKH, P2WPKH, and Taproot (P2TR / bc1p) — so no funds can be missed. This is a public key — no private keys, no seed phrases required or transmitted.
How the Gap Limit Problem Works
And how GapFix solves it in four steps
Wallets use a "gap limit" of 20
Bitcoin HD wallets generate addresses sequentially from your seed or xpub. To find all your funds, they scan address 0, then 1, 2, 3… but stop after they see 20 addresses in a row with no transactions. This is the "gap limit."
Funds land beyond the gap
Sometimes Bitcoin is sent to an address beyond index 20 — for example if you generated many receive addresses in one wallet and then imported the seed into a different wallet, or if an exchange or app used a non-standard derivation path. The wallet stops scanning before it ever reaches those addresses.
GapFix scans deep — all address formats
Paste your xpub, ypub, or zpub (a public key — no seed phrase needed). GapFix checks all four address types — legacy (P2PKH), wrapped segwit (P2SH-P2WPKH), native segwit (P2WPKH), and Taproot (P2TR / bc1p) — scanning at least 1 000 addresses beyond the last active one on each chain, so nothing gets missed.
Dust the gap — your wallet finds everything
The fix is simple: send a tiny "dust" amount (as low as 294–546 sats, roughly pennies) to each empty address inside the gap. Once those addresses have a transaction, your wallet's scanner will continue past them and discover the hidden funds automatically on the next rescan.
Frequently Asked Questions
- Paste your xpub into GapFix. It scans up to 1,000 external + 1,000 change addresses and identifies which empty addresses are blocking the scanner and which addresses beyond the gap hold your funds.
- Send a tiny "dust" amount — as low as 294 satoshis for bech32 addresses — to each empty gap address. This gives each one a transaction, which the wallet scanner accepts as a signal to keep going.
- Rescan your wallet. It will now continue past the filled gap and discover the hidden UTXOs automatically.
- Electrum: Wallet → Information → Master Public Key
- Ledger Live: Account → Edit → Advanced → Extended public key
- Trezor Suite: Account → Details → Public key (XPUB)
- Sparrow: Settings → Keystore → Master Public Key
xpub, ypub, or zpub (or testnet equivalents tpub, upub, vpub).
- Legacy (P2PKH, starts with 1): 546 sats
- Segwit-wrapped (P2SH-P2WPKH, starts with 3): 546 sats
- Native segwit (P2WPKH / bech32, starts with bc1q): 294 sats
- Taproot (P2TR, starts with bc1p): 294 sats
Further reading
- BIP-32 — Hierarchical Deterministic Wallets (the standard defining xpub key derivation)
- BIP-44 — Multi-Account HD Wallet Structure (defines the gap limit of 20)
- Bitcoin Wiki — Deterministic wallet
- Electrum documentation — Gap limit
- Blockstream Esplora API (the blockchain data source GapFix queries)
Learn More
In-depth guides on Bitcoin wallet recovery and the gap limit
What Is the Bitcoin Gap Limit?
Deep dive into BIP-44, how HD wallets scan addresses, gap limits for every major wallet, and three ways to fix the problem.
Fix Bitcoin Wallet Showing 0 Balance
Step-by-step guide to recovering hidden Bitcoin using the dust fix method. Works with Electrum, Ledger, Trezor, Sparrow.
UTXO Recovery: Finding Missing Bitcoin
What UTXOs are, why they go missing from your wallet, and technical methods to recover unspent transaction outputs.
xpub Explained
What extended public keys are, the difference between xpub/ypub/zpub, where to find yours, and privacy considerations.
Wallet Compatibility Guide
Gap limit details and recovery instructions for Ledger, Trezor, Electrum, Sparrow, Coldcard, BlueWallet, and Wasabi.
Bitcoin HD Wallet Glossary
Definitions for gap limit, xpub, UTXO, BIP-44, derivation path, dust, change address, and 30+ more terms.