Bitcoin Core disables encryptwallet by default, and old backups cannot cover the new seed
Bitcoin Core developers merged a change on Nov. 20 that turns off the encryptwallet command by default in development builds that contain the patch. The command is used to add a password, or encryption, to an existing wallet for the first time. The change matters because that first-time encryption also creates a new seed, and a backup made before the encryption cannot recover bitcoin sent to addresses that come from the new seed.
Bitcoin Optech, a newsletter that tracks Bitcoin development, highlighted the change on Nov. 27. The pull request landed on Bitcoin Core's development branch, and the project's release index listed version 32.1 as its latest release on Nov. 29.
Key points at a glance
- The merged change disables
encryptwalletby default in development builds with the patch. - First-time encryption generates a new seed and a fresh set of active descriptors.
- A backup taken before encryption cannot recover coins sent to addresses derived from the new seed.
- Scripts that call the command will need an explicit opt-in flag.
- Wallet automation can pass a passphrase to
createwalletto encrypt a new wallet when it is created.
What Bitcoin Core's own documentation says
Bitcoin Core's documentation for the command states that first-time encryption creates a new seed and a fresh set of active descriptors. Descriptors are the rules a wallet uses to derive addresses and their keys. The project directs users who still have the wallet to make a fresh, secure copy after encryption using the backupwallet command. Its wallet guide recommends storing backups on reliable offline devices.
Why an old backup can leave funds unrecoverable
A backup made before encryption still covers addresses controlled by keys it contains or can derive. That can include a payment received after encryption at an address already covered by the older backup. But it lacks the fresh seed, so it cannot derive the keys for addresses created from the new seed during or after first-time encryption.
The practical loss scenario is restoring only an older copy after the live wallet and every usable copy holding the new key material are lost. In that case, bitcoin sent to addresses derived from the new seed cannot be recovered from the old file.
The pull request also notes that encrypting an existing wallet may leave remnants of unencrypted private keys on disk. Older unencrypted backup files still hold the key material saved in them and need to be kept secure.
What scripts must change
Scripts that call encryptwallet will need an explicit opt-in when they connect to a node running a build with the change. This includes command-line scripts that use bitcoin-cli to create an unencrypted wallet and then add encryption in a separate call. According to the development release note, the workaround is to start bitcoind with the -deprecatedrpc=encryptwallet option, which keeps the command available.
Why this matters for Bitcoin Core users
Anyone who encrypts an existing wallet for the first time and keeps only a pre-encryption backup could lose access to funds sent to newer addresses. The documented safe path is to make a new backup of the encrypted wallet right after encryption and store it securely offline.