I'm running Mist on Windows, and I want to change the datadir because I'm running out of space on the C drive, but I want it to be on the actual Ethereum blockchain.

Will I run into trouble if I change the datadir?

  • No, you can simply change the datadir to whatever you like. Do you know how this is done in mist?
    – q9f
    Commented Feb 4, 2016 at 10:12
  • 1
    To change it in Mist, first run geth with the --datadir flag, and then launch Mist. (They both need to be running) Commented Feb 4, 2016 at 10:53
  • To set datadir in Mist: ethereum.stackexchange.com/questions/2551/…
    – eth
    Commented May 28, 2016 at 10:13

2 Answers 2


No, you are free to change the data directory. It's just a place to store the blockchain, it doesn't mean that you would be on a different chain.

  • 1
    but does mist allow the --datadir flag?
    – knocte
    Commented May 28, 2016 at 9:56

Changing the datadir, by using --datadir is all OK.

Running Geth on the testnet is a different flag, --testnet.

If you've been using Geth and have ether in your accounts, don't forget to backup all your keystore files before deleting the old datadir.

  • why do you mention geth here if the question is referring to mist?
    – knocte
    Commented May 28, 2016 at 9:56
  • @knocte Here's the question on setting Mist's datadir ethereum.stackexchange.com/questions/2551/… and it also ends up at Geth...
    – eth
    Commented May 28, 2016 at 10:11

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.