<p>Try it in Electrum. Do extended private masterkey import:</p>
<ol>
<li>Create a standard wallet.</li>
<li>Choose &quot;User a master key&quot;.</li>
<li>Paste the <code>xprv</code>… address at the top from the <code>dumpwallet</code> file.</li>
</ol>

CC BY-SA 4.0
2024-05-18T22:36:52.710Z
@HannahVernon See my edits. I hope it helps.
Geremia
CC BY-SA 4.0
2024-05-20T14:52:37.983Z
Awesome, thanks!
Hannah Vernon
CC BY-SA 4.0
2021-04-08T08:14:54.070Z
2024-05-18T22:36:43.513Z
2024-05-18T22:36:43.513Z
BondRus
<p>New receive addresses are always generated in the same sequence for the same wallet. That is why if you have old <code>wallet.dat</code> you always can regenerate receive addresses even if they are created after the time you backuped your <code>wallet.dat</code>.</p>
<p>I mean you can, put your <code>wallet.dat</code> into bitcoin core and create new address to receive payments like you did before receiving payment years ago - newly generated address will be the same as before (<code>1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj</code>). Now you have your lost private key regenerated.</p>
<p>If bitcoin core is already syncronized with blockchain, then your balance will be still incorrect and will not take into accont coins belonging to <code>1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj</code>. You should rescan your local copy to correct this:</p>
<p>According to btcscan.org address <code>1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj</code> received coins at block <code>657133</code>. Press Ctrl+T to open bitcoin core consle (if you are using GUI) and do the following command to rescan near missing block:</p>
<p><code>rescanblockchain 657132 657134</code></p>
<p>Now your balance is correct and you are able to spend it.</p>

CC BY-SA 4.0
2022-12-05T19:57:18.363Z
2022-12-05T20:54:59.393Z
2022-12-05T20:54:59.393Z
user318750
<p>Once in Bitcoin Core I created an address to receive some payments from a faucet. After years I reopened the Bitcoin Core and started to synchronize it. After a while there was a crash, and I decided to remove the previous Bitcoin Core folder (it appeared to be in a USB hard drive and didn't get to Recycle Bin - when I decided to restore the removed files it was too late).
Then I reinstalled the Bitcoin Core, put there a wallet.dat from backup and successfully synchronized the blockchain. But I discovered - there's no address for the faucet, which I needed and there's no satoshi I expected. Apparently I created it before the backup (some previous history was there - so the wallet was restored - but without the latest address). So, should I consider the value on this address lost?</p>
<p>I tried to create the dump (<code>dumpwallet &quot;dump.txt&quot;</code>) and to find the master private key there to restore the private key of this address somehow. The dump file contains some <code># extended private masterkey</code> (starts with <em>xprv</em>). Also I know the address, which I set to the faucet (<code>1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj</code>). So I thought I can use this data in &quot;Mnemonic Code Converter&quot; (<a href="https://iancoleman.io/bip39/" rel="nofollow noreferrer">https://iancoleman.io/bip39/</a>) (extended private masterkey to BIP32 Root Key input and selected the Bitcoin Core presets everywhere). Surprisingly enough the first generated entry contained my first default address, but I couldn't find neither of the other addresses from the dump file. The address from the faucet doesn't exist in the dump either. What do I do wrong?</p>
<p>Here is the address I'm talking about: <a href="https://www.blockchain.com/btc/address/1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj" rel="nofollow noreferrer">https://www.blockchain.com/btc/address/1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj</a></p>

<bitcoin-core><recover-private-key>
Can I restore an additional address of Bitcoin Core
Андрей Глебов
# Can I restore an additional address of Bitcoin Core

(Asked by: username_0 on 2021-01-07)

Once in Bitcoin Core I created an address to receive some payments from a faucet. After years I reopened the Bitcoin Core and started to synchronize it. After a while there was a crash, and I decided to remove the previous Bitcoin Core folder (it appeared to be in a USB hard drive and didn't get to Recycle Bin - when I decided to restore the removed files it was too late).
Then I reinstalled the Bitcoin Core, put there a wallet.dat from backup and successfully synchronized the blockchain. But I discovered - there's no address for the faucet, which I needed and there's no satoshi I expected. Apparently I created it before the backup (some previous history was there - so the wallet was restored - but without the latest address). So, should I consider the value on this address lost?

I tried to create the dump (`dumpwallet "dump.txt"`) and to find the master private key there to restore the private key of this address somehow. The dump file contains some `# extended private masterkey` (starts with *xprv*). Also I know the address, which I set to the faucet (`1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj`). So I thought I can use this data in "Mnemonic Code Converter" (<https://iancoleman.io/bip39/>) (extended private masterkey to BIP32 Root Key input and selected the Bitcoin Core presets everywhere). Surprisingly enough the first generated entry contained my first default address, but I couldn't find neither of the other addresses from the dump file. The address from the faucet doesn't exist in the dump either. What do I do wrong?

Here is the address I'm talking about: <https://www.blockchain.com/btc/address/1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj>

**Tags:** bitcoin-core, recover-private-key


---

## 2 answers

### Answer by username_1 on 2021-04-08. Score: 0

Try it in Electrum. Do extended private masterkey import:

1. Create a standard wallet.
2. Choose "User a master key".
3. Paste the `xprv`… address at the top from the `dumpwallet` file.

> **Comments:**
> **username_2**: @username_3 See my edits. I hope it helps.  
> **username_3**: Awesome, thanks!  

---

### Answer by username_4 on 2022-12-05. Score: -1

New receive addresses are always generated in the same sequence for the same wallet. That is why if you have old `wallet.dat` you always can regenerate receive addresses even if they are created after the time you backuped your `wallet.dat`.

I mean you can, put your `wallet.dat` into bitcoin core and create new address to receive payments like you did before receiving payment years ago - newly generated address will be the same as before (`1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj`). Now you have your lost private key regenerated.

If bitcoin core is already syncronized with blockchain, then your balance will be still incorrect and will not take into accont coins belonging to `1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj`. You should rescan your local copy to correct this:

According to btcscan.org address `1J2ia2JZVoN8fqdvGYjkVaaX3A2C5BZzwj` received coins at block `657133`. Press Ctrl+T to open bitcoin core consle (if you are using GUI) and do the following command to rescan near missing block:

`rescanblockchain 657132 657134`

Now your balance is correct and you are able to spend it.


---

