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.


3 Answers 3


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?

  • Would be nice to have a reference to where to find this in the bitcoin core code Jun 6, 2018 at 13:46
  • So, a new wallet is created each time we open Core? Feb 16, 2021 at 0:11
  • 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
    Feb 16, 2021 at 0:14

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.