42

Where can I find the blockchain, wallet.dat, etc. on each of the operating systems Bitcoin-Qt supports?

6
  • I see questions which answer this for particular operating systems, but would like an answer to be able to point to that works for any supported OS. Commented Jun 20, 2012 at 2:37
  • 1
    bitcoin.stackexchange.com/q/1350/659 has the OSX path. Commented Jun 20, 2012 at 2:54
  • This is not an exact duplicate, but asking about how to change the default storage location has been posted many, many times. The future canonical question is probably Bitcoin-Qt setup: Change block-chain file location, settings? documentation?. Commented Aug 1, 2014 at 12:37
  • To be fair I asked this almost a year before that other question was asked. Commented Aug 1, 2014 at 17:06
  • Also the question you linked to doesn't have any information that answers my question. There's no mention on the MacOS path, for instance. Commented Aug 1, 2014 at 17:10

4 Answers 4

51

It is the same data folder as the non-QT version of the standard client used to use:

Linux:

~/.bitcoin/

MacOS:

~/Library/Application Support/Bitcoin/

Windows:

%APPDATA%\Bitcoin

(This defaults to C:\Documents and Settings\YourUserName\Application data\Bitcoin on Windows XP and to C:\Users\YourUserName\Appdata\Roaming\Bitcoin on Windows Vista, 7, 8, and 10.)

3
  • 1
    On English versions of Windows I presume(?) Commented May 16, 2014 at 14:38
  • Also have English version and no Bitcoin folder there Commented Mar 20, 2016 at 10:19
  • 1
    It might be worth noting that it is also possible to specify a custom data directory, using the -datadir=<path-to-folder> option from command line. This actually allows to have multiple running instances of bitcoin: you just need to run bitcoind/bitcoin-qt twice, specifying two different data folders.
    – FedFranz
    Commented Oct 24, 2017 at 16:36
6

On the new Mac OS X you can't see the Bitcoin folder in the library under /application support/. You have to use Finder and in the menu look for GO and then GO TO type ~/Library in the box. After that you can see the Bitcoin folder under /application support/.

Or you can hold down the Option key while selecting the Go menu and Library will become an option.

1
  • This works as of June 2018 Commented Jun 13, 2018 at 20:22
2

On windows8, the data folder is here:

C:\Users\ ... your user name ...\AppData\Roaming\Bitcoin\

2
  • 1
    So exactly like Windows 7?
    – Murch
    Commented Jan 15, 2015 at 8:43
  • I also have Windows 7 and no Bitcoin folder there Commented Mar 20, 2016 at 10:20
2

@ThePiachu is right

Linux:

~/.bitcoin/

macOS:

~/Library/Application Support/Bitcoin/

Windows:

%APPDATA%\Bitcoin

But since there are no instructions, it may be hard for a user to find them, so I'm going to add instructions.

macOS

1) Click the Finder symbol

2) Press command (cmd) ⌘ + option (alt) ⌥ + G at the same time.

3) Paste this into the window that opens:

~/Library/Application Support/Bitcoin/

4) Press "Go"

5) That's your Bitcoin folder!

Windows

1) Choose one of your folders, and open it (we won't do anything with the folder, so it doesn't matter if it's very important for you).

2) Click the folder icon next to the file location.

3) Paste the following:

%APPDATA%\Bitcoin

4) Press Enter ⏎

5) That's your Bitcoin folder!

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