I'm building an application on bitcoin and want to use testnet instead of using real bitcoins to do my test. I'm mainly using Electrum-3.1.3 to do sweeping of addresses. But how can I switch this to be on the testnet chain instead?

  • I would also like to know how to get Electrum mobile on testnet.
    – B T
    Commented Aug 5, 2020 at 17:43

3 Answers 3


General answer is running: $ electrum --testnet

If you are using Mac OSX then open terminal an jump to: /Aplications/Electrum/Contents/OSX there you need to run: & ./Electrum --testnet

On newer Mac OS versions
/Applications/Electrum.app/Contents/MacOS/run_electrum --testnet

  • 3
    On my system dir is /Applications/Electrum.app/Contents/MacOS Commented Oct 28, 2020 at 9:38
  • and ./run_electrum --testnet
    – baloo
    Commented Nov 6, 2020 at 10:16

Run Electrum with the --testnet startup option.

  • 2
    testnet is not working for linux environment
    – xds2000
    Commented Sep 25, 2018 at 8:44
  • 1
    and for linux? that doesnt exist Commented Feb 6, 2019 at 7:19

If you install Electrum on Windows, you will have two programs you can start. One of them is called "Electrum Testnet".

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.