<p>Is not feasible to show all possible addresses, there are just too many.
However you can change the gap limit.</p>

<p>By default, Electrum shows the first 20 private keys.</p>

<p>You can change that by going to console tab (view menu > show console) and typing in this:</p>

<pre><code>wallet.change_gap_limit(200)
wallet.synchronize()
</code></pre>

<p>The above will increase the number of unused addresses past the index of the last used address to 200 i.e. this becomes the new Electrum lookahead window.</p>

<p>If you want to generate change addresses instead you can do the following:</p>

<pre><code>for thing in range(1,200): wallet.create_new_address(True)
</code></pre>

CC BY-SA 3.0
2017-11-28T14:30:53.657Z
2018-04-05T17:05:24.227Z
2018-04-05T17:05:24.227Z
Chak
<p>I tried to restore all my HD address by importing my xprv in new wallet file but it only shows 20 addresses. 
How can I make it show all the child addresses of my xprv?</p>

<electrum><bip32-hd-wallets>
How to list all the HD address in Electrum?
Nael Cruz
# How to list all the HD address in Electrum?

(Asked by: username_0 on 2017-11-28)

I tried to restore all my HD address by importing my xprv in new wallet file but it only shows 20 addresses.
How can I make it show all the child addresses of my xprv?

**Tags:** electrum, bip32-hd-wallets


---

## 1 answers

### Answer by username_1 on 2017-11-28. Score: 3

Is not feasible to show all possible addresses, there are just too many.
However you can change the gap limit.

By default, Electrum shows the first 20 private keys.

You can change that by going to console tab (view menu > show console) and typing in this:

```
wallet.change_gap_limit(200)
wallet.synchronize()

```

The above will increase the number of unused addresses past the index of the last used address to 200 i.e. this becomes the new Electrum lookahead window.

If you want to generate change addresses instead you can do the following:

```
for thing in range(1,200): wallet.create_new_address(True)

```


---

