Why Bitcoin Core users need a fresh backup after first-time wallet encryption
Bitcoin Core developers merged a change on Nov. 20 that disables encryptwallet by default in development builds containing the patch. The command encrypts an existing wallet for the first time and generates a new seed. Backups made before encryption cannot recover bitcoin sent to addresses derived from that seed.
Bitcoin Optech highlighted the change on Nov. 27. The pull request #36387 landed on Bitcoin Core's development branch, and the project's release index listed 32.1 as its latest release on Nov. 29.
Bitcoin Core says first-time encryption creates a new seed and a fresh set of active descriptors, the rules the wallet uses to derive addresses and their keys. 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. A separate Bitcoin multisig backup proposal addresses a different recovery problem in which a seed alone may be insufficient.
If the live wallet and every usable copy with the new key material are lost, restoring the old file cannot recover bitcoin sent to addresses derived from the new seed. The project directs users who still have the wallet to make a fresh, secure copy after encryption using backupwallet. Its wallet guide recommends storing backups on reliable offline devices.
What your wallet backup can recover
In Bitcoin Core, the keys saved in a backup determine which addresses it can recover after first-time wallet encryption.
Backup coverage after first-time encryption A backup made before encryption covers the earlier keys it holds or derives. First-time encryption creates a new seed. A fresh backup of the encrypted wallet saves the new seed and can recover funds at addresses derived from it. BACKUPKEY MATERIALRECOVERY COVERAGEOld backupMade before encryptionEarlier keysHeld or derived by the copyFunds at covered addressesEven for later paymentsFirst-time encryption creates a new seedFresh backupMade after encryptionNew seedSaved in the fresh backupFunds at new addressesDerived from the new seed
Backup coverage after first-time encryption A backup made before encryption covers the earlier keys it holds or derives. First-time encryption creates a new seed. A fresh backup of the encrypted wallet saves the new seed and can recover funds at addresses derived from it. Old backupMade before encryptionEarlier keys it holds or derivesFunds at covered addressesEven for later paymentsFirst-time encryptionCreates a new seedFresh backupMade after encryptionNew seed saved in the backupFunds at new-seed addresses
A pre-encryption backup lacks the fresh seed. Back up the encrypted wallet to preserve the new keys.
The old backup covers only earlier keys it contains or can derive. The fresh-backup path highlights newly generated keys.
Sources and evidence
Sources
- Bitcoin Core encryptwallet reference
- Bitcoin Core pull request
- Bitcoin Optech newsletter
- Bitcoin Core wallet guide
Supporting facts
- Bitcoin Core's documented first-time encryptwallet flow generates a new HD seed and a fresh set of active descriptors, the rules that derive addresses and their spending keys. [1] [2]
- A pre-encryption backup can recover funds controlled by keys it contains or can derive, including at old addresses covered by that backup. It cannot derive the keys for addresses created from the new seed during or after first-time encryption. [1] [2] [3] [4]
- Bitcoin Core tells users who run encryptwallet to make a fresh secure backup of the encrypted wallet with backupwallet. The practical loss scenario is restoring only an older copy after losing the live wallet and other recovery material for the new seed. [1] [3] [4]
Method
Maps the documented generation of a new seed to the key material in a backup taken before or after encryption. Paths show recovery coverage.
Scope
The old backup covers only earlier keys it contains or can derive. The fresh-backup path highlights newly generated keys.
Infographic by CryptoSlate
The pull request also says 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.
Which scripts need to change
Scripts that call encryptwallet will need an explicit opt-in when they connect to a node running a build with the change. That includes command-line scripts that use bitcoin-cli to create an unencrypted wallet and add encryption in a separate call. The development release note says to start bitcoind with -deprecatedrpc=encryptwallet. That option keeps the command available during the deprecation period. Bitcoin Core plans to remove the RPC in a future major release and has yet to name the version in the note.
For new wallets, automation can pass a passphrase to createwallet to encrypt from the outset. Existing encrypted wallets remain supported, and their owners can still use walletpassphrasechange to update the passphrase. A reviewer on the pull request said the graphical Encrypt Wallet action uses a separate interface and falls outside this patch.
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

Mr&强: Bitget TradFi Leads in Spot Contract Market Depth

Bear Market Fears Are Back. Here's How I'm Preparing for the Next Downturn.

SafePal cannot notify affected buyers after 37,542 more order records exposed in data breach

Stock Market Correction: History Says Investors Who Make This 1 Decision Will Win.

This Strategist Still Believes the S&P 500 Can Reach 10,000 Points

POTS Money suffers $5.71 million exploit as IBS token price collapses on BNB Chain

Staking Ethereum ETFs can earn investors extra income but getting out could come at a hidden cost

My Top 2 Dividend Stocks to Hold Through Any Market Downturn

Bitcoin Rumors Grow Over Days, No Evidence Presented

DTCC's Blueprint for Tokenized Securities

Bitcoin: Quantum Security at the Heart of a Standoff in Washington

December Outlook for US Stocks: AI Must Deliver Growth, Fed to Decide How Much It's Worth

Has the Buying Power of Retail Investors Disappeared? November Sees Worst Net Selling of Individual Stocks Since the Pandemic

$21 Billion Evaporated in Five Years: 90-Year-Old 'Wolf of Wall Street' Faces His Liquidity Cliff

Security in the Age of AI, Regulation and RWA — The Future of Financial Markets Discussed at Binance Blockchain Week

Prediction: This Is What Nvidia Will Be Worth in 2030

Could CRISPR Therapeutics Turn $10,000 Into $100,000?

From On-Chain Card Pulls to Collectible Infrastructure: The Infinite Possibilities of Renaiss's Verifiable Fairness Mechanism

Exclusive Interview with BlockSec: Combating 'AI + Hackers' with 'AI + Security Experts'

Former OpenAI Researcher Bullish on Anthropic's Market Value, Predicts Surge of 'Extraterrestrial Gold' Will Impact Gold Prices

Musk Envisions Grand Future: SpaceX's Valuation Could Reach 1 Million Times Global GDP

Samsung to Launch Its First Self-Developed Humanoid Robot in January Next Year, Plans to Deploy It in Its Own Production Bases First

Nvidia Plummets 26% This Month, Facing Major Test in the Coming Week

Tether burned 4 billion USDT. Global circulation fell by 491 million that day

U.S. Black Friday Online Spending Grows 11% to Record High of $13.1 Billion

Ukraine passes crypto tax bill, leaving a question for stablecoin recipients

Hackers Take Control of Plex Servers and Use Users' Computers to Mine Cryptocurrencies

Is Palantir Stock a Buy After Poland Signed a Deal to Use Its AI Software Across Its Military?

"I see no reason to buy." Famous crypto critic predicts tough days for BTC and ETH


