LayerZeroFault
hardware fallback

How to Scan Custom Derivation Paths with Electrum to Recover Missing Ledger Balances

VV

Written by

Fact-Checked on July 21, 2026

Verified Expert

How to Scan Custom Derivation Paths with Electrum to Recover Missing Ledger Balances

Finding a 0 BTC balance on your Ledger Live dashboard after importing a seed phrase can trigger severe panic. However, if you have verified that your public addresses still hold funds using a blockchain explorer, your assets are safe. The issue is simply that the Ledger Live client is scanning the wrong branch of your wallet’s Hierarchical Deterministic (HD) key tree.

To recover access to your funds, you must bypass Ledger Live’s automated scanning and connect your hardware wallet to a custom interface that supports manual derivation path configurations. This guide explains how to use Electrum to target non-standard derivation paths and locate your missing Bitcoin.

If you are using the standard native segwit derivation path but still seeing zero balances, check our guide on Fixing BIP84 Native Segwit Missing Bitcoin Balance Errors for resolving standard client gap limits.


The Root Cause: Why Ledger Live Misses Custom Paths

Hierarchical Deterministic wallets (BIP-32) derive a tree of keys from a single seed phrase. To navigate this tree, wallet software relies on a Derivation Path (a string of numbers representing branches, e.g., m/84'/0'/0').

Ledger Live only scans a strict subset of paths for Bitcoin:

  • BIP-84 (Native SegWit): m/84'/0'/x' (Addresses starting with bc1q)
  • BIP-49 (Nested SegWit): m/49'/0'/x' (Addresses starting with 3)
  • BIP-44 (Legacy): m/44'/0'/x' (Addresses starting with 1)

Here is where the mismatch occurs:

  1. Account Index Gaps: Ledger Live starts scanning at account 0 (x=0). If you created an account at index 3 (m/84'/0'/3') without having any transactions on accounts 0, 1, or 2, Ledger Live halts its scan and will not detect account 3.
  2. Custom Paths from Third-Party Apps: If you previously used your Ledger with wallets like Electrum, Samourai, or multisig coordinators, you might have generated addresses on custom paths (such as m/44'/0'/0'/0 or different hardened accounts) that Ledger Live does not search.
  3. Coin-Type Mismatches: Sometimes, multi-asset setups derive Bitcoin addresses on non-standard coin types (e.g., using 1' instead of 0' for testnets, or deriving standard Bitcoin on altcoin paths).

Step-by-Step Recovery Using Electrum

Electrum is a highly secure, open-source Bitcoin wallet that interfaces directly with physical Ledger hardware. Because Electrum only requests your Extended Public Keys (XPUBs) to generate addresses, your private keys remain isolated on your Ledger device.

Step 1: Secure Preparation

  1. Download the official version of Electrum from electrum.org. Verify the GPG signatures to ensure the binary has not been tampered with.
  2. Close Ledger Live completely. If Ledger Live is running in the background, it will claim the USB interface and prevent Electrum from communicating with your hardware device.
  3. Connect your Ledger to your computer using a USB cable, enter your PIN, and open the Bitcoin App on the device screen (ensure it displays “Application is ready”).

Placeholder: Electrum Hardware Device Connection Screen

Step 2: Initialize Hardware Connection in Electrum

  1. Open Electrum and create a new wallet file. Give it a descriptive name (e.g., ledger_recovery.json).
  2. In the creation wizard, select Standard wallet and click Next.
  3. Choose Use a hardware device as the keystore option.
  4. Electrum will scan your USB ports. Select your Ledger device when it appears and click Next.

Step 3: Configure Custom Derivation Paths

Here is where we resolve the zero-balance display. You will be prompted to select the script type and derivation path:

Placeholder: Electrum Script Type and Derivation Path Configuration

  • Legacy (p2pkh): Choose this if your missing addresses start with 1. The default path is m/44'/0'/0'.
  • p2sh-segwit (p2wpkh-p2sh): Choose this if your missing addresses start with 3. The default path is m/49'/0'/0'.
  • Native Segwit (p2wpkh): Choose this if your missing addresses start with bc1q. The default path is m/84'/0'/0'.

To scan custom accounts or indexes: If your funds were stored on a secondary account index, edit the path manually. For example, to scan Account 2 on Native SegWit, change the path to: m/84'/0'/1' (Indices are 0-indexed, so 1' represents the second account).

Click Next. You can choose to encrypt the wallet file on your local machine with a password (this only encrypts the public keys; your transactions will still require the Ledger device to sign).


Adjusting the Address Gap Limit in Electrum

If the balance still shows 0, it may be due to an address gap. If you generated many addresses that were never used, Electrum will stop scanning after 20 empty addresses. You can force Electrum to scan further down the address index.

Setting a Custom Gap Limit:

  1. In Electrum, go to the top menu and select View -> Show Console.
  2. Click on the Console tab that appears at the bottom.
  3. Type the following command and press Enter:
    wallet.change_gap_limit(100)
  4. This command forces the wallet engine to scan 100 consecutive empty addresses before concluding that there are no further funds.
  5. Go to the History tab. You should see your transactions populating as Electrum syncs the newly discovered addresses with the network.

Placeholder: Electrum Console Gap Limit Override Command


Best Practices for Custom Wallet Management

  1. Consolidate Your Balances: Once you locate your missing Bitcoin, it is highly recommended to transfer it to a standard derivation path supported by Ledger Live (m/84'/0'/0'). This ensures you can manage your assets easily inside the native Ledger Live application without needing custom software setups in the future.
  2. Maintain a Derivation Log: If you intentionally use non-standard paths (for privacy or organizational purposes), log the exact derivation paths alongside your backup seed. A seed phrase without its corresponding derivation path is functionally useless in complex recovery scenarios.
  3. Never Enter Your Seed Phrase Online: Electrum will never ask you to input your 24 words. If any version of Electrum prompts you to type your recovery phrase into your computer, it is a phishing clone. Immediately disconnect your device and delete the application.
Partner Spotlight: Gate.io

Trade Securely on Gate.io

Don't risk your assets on centralized silos or unverified endpoints. Trade securely on Gate.io with deep liquidity and institutional-grade security protocols.

Claim $100 Sign-up Bonus

Official Partner Referral Link

Related Inquiries

Why does my Ledger Live account show 0 BTC while my funds exist on the explorer?

Ledger Live only scans standard derivation paths like BIP84 (Native SegWit) and BIP49 (Nested SegWit) starting from account index 0. If your funds are on a legacy path (BIP44) or a custom account index, Ledger Live will not detect them. Connecting to Electrum allows you to scan these specific paths.

Is it safe to connect my Ledger to Electrum?

Yes, it is entirely safe. Electrum is a highly reputable open-source wallet. When you connect your Ledger, Electrum only imports your public keys (xpubs) to derive addresses. Your private keys never leave the hardware device, and all transactions must still be physically signed on your Ledger.

How do I determine which derivation path my old funds are on?

Legacy Bitcoin addresses starting with '1' typically use the BIP44 path: m/44'/0'/0'. Nested SegWit addresses starting with '3' use the BIP49 path: m/49'/0'/0'. Native SegWit addresses starting with 'bc1q' use the BIP84 path: m/84'/0'/0'. If you set a custom account number, change the third index (e.g., m/44'/0'/1' for Account 2).