Menu

Where Is wallet.dat Stored?

Release time:10-10-2026 11:03:12

Where Is wallet.dat Stored?

Understanding the storage location of your wallet.dat file is essential for backing up, transferring, or restoring your cryptocurrency assets. Because Bitcoin Core and similar legacy full-node clients store data locally for maximum security, the file is automatically placed within the default application data directory of your operating system.

Default File Locations by Operating System

The exact path to your wallet.dat file depends entirely on the operating system running on your machine. Below are the standard default directories where you can locate the file:

  • Windows (Vista, 7, 8, 10, 11): C:\Users\YourUsername\AppData\Roaming\Bitcoin\ (Tip: The AppData folder is hidden by default. You can access it by pressing Win + R, typing %appdata%\Bitcoin, and pressing Enter).

    • Verification: Confirm success by checking if you see files named wallet.dat, blocks, and chainstate inside the folder.

  • macOS: ~/Library/Application Support/Bitcoin/ (Tip: To access this folder, open Finder, click "Go" in the top menu bar, select "Go to Folder...", and paste ~/Library/Application Support/Bitcoin).

    • Verification: Confirm success by ensuring the Bitcoin directory opens and displays the wallet.dat file.

  • Linux: ~/.bitcoin/ (Tip: Because files starting with a dot are hidden by default in Linux, use the terminal command ls -la ~/.bitcoin or press Ctrl + H in your file manager to view hidden files).

    • Verification: Confirm success by running the terminal command to list directory contents and verifying wallet.dat is listed.

Important Safety Steps Before Accessing Your Wallet

Security Warning

Never share your wallet.dat file with anyone or upload it to cloud storage unencrypted. Anyone who gains access to this file along with your decryption passphrase can permanently take control of your funds.

  1. Close the Wallet Client Completely: Ensure that Bitcoin Core or any associated full-node software is fully shut down before moving, copying, or backing up your wallet.dat file to prevent database corruption.

    • Verification: Check your system tray or Task Manager / Activity Monitor to ensure no background wallet processes are actively running.

  2. Create a Secure Backup: Copy the file to an encrypted external drive or offline storage medium.

    • Verification: Verify that the file size matches the original and that you can securely eject your external storage.