Bitcoin Core — Wallet.dat
Copy wallet.dat to a secure, offline location (e.g., encrypted USB drive, safe deposit box).
This article provides a comprehensive overview of the wallet.dat file, explaining its purpose, how to locate it, how to secure it, and how to recover it. What is the wallet.dat File?
The file is located in your "Data Directory," which varies by operating system: %APPDATA%\Bitcoin ~/Library/Application Support/Bitcoin/ ~/.bitcoin/ Bitcoin Stack Exchange How to Back Up & Restore Instructions Close Bitcoin Core completely, then copy wallet.dat to an encrypted USB or external drive. Bitcoin Core Wallet.dat
The wallet.dat file is the heart of a Bitcoin Core node. It contains the private keys, public keys, scripts, and transaction history that allow you to access and manage your Bitcoin. Understanding how this file works, where it is located, and how to secure it is critical for anyone running a full node or using Bitcoin Core as their primary wallet. What is the Wallet.dat File?
Bitcoin Core stores the wallet.dat file in its specific data directory. The default path depends entirely on your operating system. C:\Users\ \AppData\Roaming\Bitcoin\ Use code with caution. Copy wallet
Public keys derived from private keys to receive bitcoin.
Information such as key labels and account settings. The file is located in your "Data Directory,"
When you encrypt your wallet, Bitcoin Core does not simply encrypt the entire file. Instead, it uses a sophisticated system:
with a strong password, even if the wallet itself is encrypted.
Metadata about transactions associated with your addresses.
Use File > Backup Wallet within the Bitcoin Core GUI. 2. Encryption