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.
Asked
Active
Viewed 2.3k times
3 Answers
14
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?
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

Samir Sadek
- 161
- 4
wallet.dat
, it will create one, and then there will be one, so it won't create another. – Murch Feb 16 '21 at 00:14