<p>Looking at the <a href="https://github.com/bitcoin/bitcoin/blob/476cb35551f559573c81a3927856b3f76aecd6e9/src/wallet/fees.cpp#L54" rel="nofollow noreferrer">source code</a> suggests that <code>settxfee 0</code> should return you to the automatic fee setting.  However this behavior is undocumented and there is a TODO suggesting that it might go away in the future.  Otherwise, you can restart bitcoind.</p>

CC BY-SA 4.0
2018-07-19T00:31:41.820Z
2018-07-19T00:31:41.820Z
Nate Eldredge
<p>After setting the fee rate with <code>settxfee</code> -- how do I re-allow bitcoind to set the fee automatically again? Or does the <code>settxfee</code> command only apply to the <em>next</em> outgoing transaction?</p>

<transaction-fees><json-rpc>
How to unset fee rate after setting with RPC `settxfee`
pinhead
# How to unset fee rate after setting with RPC `settxfee`

(Asked by: username_0 on 2018-07-18)

After setting the fee rate with `settxfee` -- how do I re-allow bitcoind to set the fee automatically again? Or does the `settxfee` command only apply to the *next* outgoing transaction?

**Tags:** transaction-fees, json-rpc


---

## 1 answers

### Answer by username_1 on 2018-07-19. Score: 2 | Accepted answer

Looking at the [source code](https://github.com/bitcoin/bitcoin/blob/476cb35551f559573c81a3927856b3f76aecd6e9/src/wallet/fees.cpp#L54) suggests that `settxfee 0` should return you to the automatic fee setting. However this behavior is undocumented and there is a TODO suggesting that it might go away in the future. Otherwise, you can restart bitcoind.


---

