user14998: 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.

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

user119154: 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


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

Close Bitcoin Core.
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.
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?

14998: <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>
 121109: <p>Nowadays you can create a new wallet within the GUI with &quot;File&quot; &gt; &quot;Create Wallet...&quot;.</p>
 119154: <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>
 5406: <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>
