I'm currently on windows and was wondering how do you make the qt client download the blockchain data to another directory? Since my main drive is a SSD hard drive, I don't have much space to spare. How would I configure this to make it download elsewhere?

Also would this apply to other qt clients like litecoin, ppcoin, etc?

1 Answer 1


Add '-datadir=path-to-directory' to the command used to start the client. For example,

bitcoin-qt -datadir=D:\Bitcoin

to store the bitcoin files in the D:\Bitcoin directory. Remember to enclose the directory path in double quotes if it contains spaces. Also move the subdirectories as well as the main application directory to the new location.

  • but what if im running a gui client? is there a setting somewhere? also does this also work for the other altcoins? Commented Jan 5, 2014 at 22:54
  • This works for bitcoind (the daemon) and bitcoin-qt (the GUI). You must set it before starting the program since the program needs to know where to find its files. By the time the GUI is displayed, the client has already verified its files and connected to the network. This should work for other altcoins as long as they are built based on the bitcoin reference client. Commented Jan 5, 2014 at 23:08
  • Verified working on philosopher stones and datacoin-qt for windows. My suggestion is to create a .bat file and start it by running the bat file instead of the .exe file where it points to the other directory. Commented Jan 6, 2014 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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