<p>Delete the Bitcoin Core datadir:</p>

<ul>
<li>Linux <code>~/.bitcoin/regtest</code> directory. </li>
<li>Windows <code>%appdata%\bitcoin\regtest</code> directory.</li>
<li>MacOS <code>$HOME/Library/Application Support/Bitcoin/regtest</code> directory.</li>
</ul>

CC BY-SA 3.0
2017-11-01T05:13:04.513Z
That works on unix systems.
Roman Kiselenko
CC BY-SA 3.0
2017-11-01T05:14:20.637Z
Same folder on windows, just it’s in `%appdata%\bitcoin\regtest` instead.
Claris
CC BY-SA 3.0
2017-11-01T05:14:53.377Z
Add it to the answer please.
Roman Kiselenko
CC BY-SA 3.0
2017-11-01T07:07:50.033Z
Documentation is here: https://bitcoin.org/en/developer-examples#regtest-mode
Highly Irregular
CC BY-SA 3.0
2017-11-01T04:48:43.850Z
2017-11-01T05:30:08.873Z
2017-11-01T05:30:08.873Z
Claris
<p>Does anyone know how to reset everything in regtest mode?<br>
I want to reset my balance and all transactions.</p>

<regtest>
How do I reset bitcoin regtest mode?
meotimdihia
# How do I reset bitcoin regtest mode?

(Asked by: username_0 on 2017-11-01)

Does anyone know how to reset everything in regtest mode?  
I want to reset my balance and all transactions.

**Tags:** regtest


---

## 1 answers

### Answer by username_1 on 2017-11-01. Score: 8 | Accepted answer

Delete the Bitcoin Core datadir:

* Linux `~/.bitcoin/regtest` directory.
* Windows `%appdata%\bitcoin\regtest` directory.
* MacOS `$HOME/Library/Application Support/Bitcoin/regtest` directory.

> **Comments:**
> **username_2**: That works on unix systems.  
> **username_1**: Same folder on windows, just it’s in `%appdata%\bitcoin\regtest` instead.  
> **username_2**: Add it to the answer please.  
> **username_3**: Documentation is here: https://bitcoin.org/en/developer-examples#regtest-mode  

---

