Bitcoin gap limit: why addresses can be missing after wallet recovery
A restored Bitcoin wallet can stop before a used address. Learn what the gap limit means, why history matters, and how to extend discovery without changing your keys.

If a restored Bitcoin wallet looks empty or does not show recent transactions, it may have stopped discovering addresses after finding too many consecutive receiving addresses with no history. That limit is usually called the gap limit. It does not mean the keys changed or that coins moved: it is a search window the software uses to decide when to stop.
The BIP44 reference rule describes 20 consecutive unused external addresses. Here, “used” means that an address has transaction history, not that it currently holds a positive balance. An address that received funds and later spent them is still used. The wallet, format, account, network and software can apply different rules, so confirm the documentation for the wallet you are restoring.
What counts as a gap
Imagine one account and its external receiving chain with fictional indexes. This simplified BIP44-style model starts at index 0: if indexes 0 through 29 have no transactions and index 30 does have history, a search that stops after 20 consecutive unused external addresses stops at 19 and never reaches that index. This example only explains the counter; it is not a real address and not an instruction to query a wallet.
The counter is not the total number of addresses you generated or the number of transactions in the wallet. It counts a consecutive run inside an ordered chain. An address with a transaction between two empty addresses breaks the run. An address with a current balance of zero also breaks it if it has history, because BIP44 account discovery uses transaction history rather than the current balance.
BIP44 separates an external chain, normally used for receiving, from an internal chain used for change. Its discovery algorithm scans external chains and uses history to decide whether an account is active. That does not remove the need to discover an internal chain when restoring a complete wallet; its history and the program’s settings still matter. Do not translate the rule into “always search 20 addresses for everything”: each wallet may expose another setting.
What BIP44 says—and does not say
The BIP44 specification defines an account hierarchy and documents a gap limit of 20 consecutive unused external addresses. It also says that account discovery uses transaction history: an account with a total current balance of zero can still have history and therefore affect the search for later accounts.
This is a reference for wallets compatible with that convention, not a guarantee that every program, format or network uses the same values. BIP44 does not turn the number 20 into a property of the words. Changing the search limit does not derive different keys: it lets the software derive and check more positions in the same account and chain.
For path, account, network and format, see the guide to seed phrases showing different addresses. Here, the issue is how far software scans.
Wallet behavior is not universal
Defaults are not universal. The current Sparrow FAQ describes the gap limit as how far ahead a wallet looks in a sequential address list and recommends increasing it from Settings, Advanced, Gap Limit when transactions are missing after a restore. Its documentation gives defaults of 20 for normal wallets and 40 for Postmix wallets. It also warns that a larger value makes loading take longer.
The Electrum FAQ defines the limit as the maximum number of consecutive unused addresses and explains that it stops searching. It also warns that addresses generated beyond the limit are not automatically recovered from the seed: you must increase the limit or find the used addresses. Electrum has its own seed format and settings, so it is not a universal BIP44 implementation. The Electrum wallet source confirms that receive and change limits are separate; read the help for your version and record the value you changed.
How to investigate without risking the backup
First confirm the backup format, network, account, derivation path and any BIP39 passphrase. The same words can open another branch if one of those inputs differs. Do not paste a phrase, private key or passphrase into a website to diagnose the issue.
Next, preserve the wallet file, metadata and current setting; do not reset the only working installation. Work in a test installation first and find the official discovery or gap-limit setting. Make a bounded increase, wait for synchronization to finish, and compare a known historical receiving address with reliable records. You do not need to publish addresses, xpubs or wallet queries.
If the wallet lets you generate future addresses, avoid creating huge batches merely to force a scan. A long sequence of unused positions increases recovery work and can cause other tools to stop earlier. Sparrow explicitly warns about loading time; that is a practical reason to choose the smallest value that covers the known history.
The limit does not move funds either. Increasing it changes which history the program checks and which addresses it displays. It does not sign, send or convert coins, and it does not modify the phrase. If history is still missing after confirming the format and a reasonable window, review the network, account, path, address type, passphrase and backend connectivity. A synchronization error can look like a gap, but it is not fixed by assuming an infinite number.
There is also a privacy consideration. The Electrum FAQ explains that the client subscribes its addresses to a server, which can infer they belong to the same entity. Do not upload an xpub to an unknown service; share only the public information strictly needed.
What this means for SeedAddress
SeedAddress generates a deterministic BIP39 mnemonic locally in the browser from the selected coordinates, input password, language and word count. The visible address or label is public, but the password and phrase are not. The v1 method adds no random entropy, does not derive wallet addresses, does not query blockchains and does not convert wallet formats.
Discovery limits belong to the Bitcoin wallet receiving the phrase, not to SeedAddress. If you are recovering a SeedAddress phrase, keep the resulting phrase in an independent offline backup; use exact inputs only if you attempt regeneration. The SeedAddress recovery guide explains those limits. Searching for an address again does not guarantee the same historical coordinates.
The short answer is: check the inputs and format first; then check history and the external chain; finally check the gap limit documented by your wallet. A current zero balance does not turn an address with past transactions into an unused address. A larger window may find history that already belonged to the same keys, but it cannot repair a wrong phrase, path or account.