<p>With bitcoin-core version 0.21, <a href="https://github.com/bitcoin/bitcoin/blob/4132193617a31394933c748bbdc1f441a21a39b4/test/functional/wallet_multiwallet.py#L261" rel="nofollow noreferrer"><em>A default wallet is no longer automatically created</em></a></p>
<p>Here is the command to create a new wallet.</p>
<pre><code>$ bitcoin-wallet -wallet=wallet.dat create
Topping up keypool...
Wallet info
===========
Name: wallet.dat
Format: bdb
Descriptors: no
Encrypted: no
HD (hd seed available): yes
Keypool Size: 2000
Transactions: 0
Address Book: 0
(BTC) ➜  Wallets 
</code></pre>
<p>Then start the bitcoin-core by specifying the wallets, for instance:</p>
<pre><code>$ bitcoind -server -walletdir=/home/netsamir/.bitcoin/wallets/wallet.dat
</code></pre>

CC BY-SA 4.0
2021-04-06T17:12:37.247Z
2021-04-06T17:19:56.810Z
2021-04-06T17:19:56.810Z
Samir Sadek
<p>Nowadays you can create a new wallet within the GUI with &quot;File&quot; &gt; &quot;Create Wallet...&quot;.</p>

CC BY-SA 4.0
2022-02-22T19:47:01.500Z
2022-02-22T19:47:01.500Z
Sean
<p>Bitcoin Core will create a new wallet if it cannot find the <code>wallet.dat</code> in the Bitcoin Core folder.</p>

<ol>
<li>Close Bitcoin Core.</li>
<li>If the wallet still has a balance, or addresses from the wallet were given out, <strong>back the old <code>wallet.dat</code> up</strong>: Move it to a different directory or rename it. If you are sure that it was never used, you may delete it instead.</li>
<li>Restart Bitcoin Core. A new wallet will be created.</li>
</ol>

<p>If you don't know where to find the <code>wallet.dat</code>, check here: <a href="https://bitcoin.stackexchange.com/q/4006/5406">Where is the data folder for bitcoin-qt?</a></p>

CC BY-SA 4.0
2018-06-06T13:46:45.850Z
Would be nice to have a reference to where to find this in the bitcoin core code
Barney Chambers
CC BY-SA 4.0
2021-02-16T00:11:35.310Z
So, a new wallet is created each time we open Core?
Woodchuckswood
CC BY-SA 4.0
2021-02-16T00:14:06.630Z
The first time it doesn't find a `wallet.dat`, it will create one, and then there will be one, so it won't create another.
Murch
CC BY-SA 3.0
2014-04-07T14:30:48.143Z
2015-08-17T09:09:16.197Z
2017-04-13T12:47:33.660Z
Murch
<p>How can I create a new wallet on Bitcoin Core (Bitcoin QT)? I forgot my old password, so I can't create transactions using the old wallet. I don't have money on my old wallet, I just need to create new wallet without the forgotten password.</p>

<bitcoin-core><client><wallet.dat>
How can I create a new wallet on Bitcoin Core?
user14998
# How can I create a new wallet on Bitcoin Core?

(Asked by: username_0 on 2014-04-07)

How can I create a new wallet on Bitcoin Core (Bitcoin QT)? I forgot my old password, so I can't create transactions using the old wallet. I don't have money on my old wallet, I just need to create new wallet without the forgotten password.

**Tags:** bitcoin-core, client, wallet.dat


---

## 3 answers

### Answer by username_3 on 2014-04-07. Score: 14 | Accepted answer

Bitcoin Core will create a new wallet if it cannot find the `wallet.dat` in the Bitcoin Core folder.

1. Close Bitcoin Core.
2. If the wallet still has a balance, or addresses from the wallet were given out, **back the old `wallet.dat` up**: Move it to a different directory or rename it. If you are sure that it was never used, you may delete it instead.
3. Restart Bitcoin Core. A new wallet will be created.

If you don't know where to find the `wallet.dat`, check here: [Where is the data folder for bitcoin-qt?](https://bitcoin.stackexchange.com/q/4006/5406)

> **Comments:**
> **username_4**: Would be nice to have a reference to where to find this in the bitcoin core code  
> **username_5**: So, a new wallet is created each time we open Core?  
> **username_3**: The first time it doesn't find a `wallet.dat`, it will create one, and then there will be one, so it won't create another.  

---

### Answer by username_1 on 2021-04-06. Score: 4

With bitcoin-core version 0.21, A default wallet is no longer automatically created
Here is the command to create a new wallet.
$ bitcoin-wallet -wallet=wallet.dat create
Topping up keypool...
Wallet info
===========
Name: wallet.dat
Format: bdb
Descriptors: no
Encrypted: no
HD (hd seed available): yes
Keypool Size: 2000
Transactions: 0
Address Book: 0
(BTC) ➜  Wallets 

Then start the bitcoin-core by specifying the wallets, for instance:
$ bitcoind -server -walletdir=/home/netsamir/.bitcoin/wallets/wallet.dat


---

### Answer by username_2 on 2022-02-22. Score: 1

Nowadays you can create a new wallet within the GUI with "File" > "Create Wallet...".


---

