<p>You can migrate your legacy wallet to a descriptor wallet using the &quot;File &gt; Migrate Wallet&quot; menu on GUI or &quot;migratewallet&quot; RPC</p>
<blockquote>
<p>bitcoin-cli -rpc_wallet=&quot;legacy-wallet01&quot; migratewallet</p>
</blockquote>
<p>more information can be found at <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/managing-wallets.md#migrating-legacy-wallets-to-descriptor-wallets" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/blob/master/doc/managing-wallets.md#migrating-legacy-wallets-to-descriptor-wallets</a></p>

CC BY-SA 4.0
2024-01-23T02:23:52.030Z
So I need open legacy wallet with bitcoin core, execute "migratewallet" in console, wallet will be migrated in site. Is there the same bitcoin in the same address in the new wallet as the legacy one? after migration, the old legacy backup wallet can be opened and own the same fund?
foolbear
CC BY-SA 4.0
2024-01-23T11:04:22.353Z
The RPC will migrate your legacy wallet to a descriptor wallet, in the process a backup to the legacy wallet will be created -.legacy.bak will be created which can be restored using restorewallet RPC
Brandon Odiwuor
CC BY-SA 4.0
2024-01-23T11:05:02.223Z
Check the migratewallet RPC doc for more information
Brandon Odiwuor
CC BY-SA 4.0
2024-01-23T11:34:01.107Z
I want to know whether the btc address and private key change during the migration? And whether both the original legacy wallet and the new descriptor wallet can be used with the same address and the same fund.
foolbear
CC BY-SA 4.0
2024-01-22T14:35:25.493Z
2024-01-22T14:35:25.493Z
Brandon Odiwuor
<p>I have a legacy wallet that will probably not be supported in future versions of Bitcoin Core. How can I transfer bitcoins from it to a descriptor wallet?</p>
<p>I know I can just transfer it with transfer fee, I want to know how to put the address from my legacy wallet into a brand new descriptor wallet?</p>

<bitcoin-core><wallet><output-script-descriptors>
How to transfer bitcoins from a legacy wallet to a descriptor wallet?
foolbear
# How to transfer bitcoins from a legacy wallet to a descriptor wallet?

(Asked by: username_0 on 2024-01-22)

I have a legacy wallet that will probably not be supported in future versions of Bitcoin Core. How can I transfer bitcoins from it to a descriptor wallet?

I know I can just transfer it with transfer fee, I want to know how to put the address from my legacy wallet into a brand new descriptor wallet?

**Tags:** bitcoin-core, wallet, output-script-descriptors


---

## 1 answers

### Answer by username_1 on 2024-01-22. Score: 2 | Accepted answer

You can migrate your legacy wallet to a descriptor wallet using the "File > Migrate Wallet" menu on GUI or "migratewallet" RPC

> bitcoin-cli -rpc\_wallet="legacy-wallet01" migratewallet

more information can be found at <https://github.com/bitcoin/bitcoin/blob/master/doc/managing-wallets.md#migrating-legacy-wallets-to-descriptor-wallets>

> **Comments:**
> **username_0**: So I need open legacy wallet with bitcoin core, execute "migratewallet" in console, wallet will be migrated in site. Is there the same bitcoin in the same address in the new wallet as the legacy one? after migration, the old legacy backup wallet can be opened and own the same fund?  
> **username_1**: The RPC will migrate your legacy wallet to a descriptor wallet, in the process a backup to the legacy wallet will be created -.legacy.bak will be created which can be restored using restorewallet RPC  
> **username_1**: Check the migratewallet RPC doc for more information  
> **username_0**: I want to know whether the btc address and private key change during the migration? And whether both the original legacy wallet and the new descriptor wallet can be used with the same address and the same fund.  

---

