<p>The QT terminal (RPC) rescan option will be available in 0.16 (not release by the time of writing). <a href="https://github.com/bitcoin/bitcoin/pull/7061" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/pull/7061</a></p>

<p>Manual rescans should generally not be required, though, if you are missing transactions in an old wallet, the rescan may help.</p>

<p>In Core &lt; 0.16 you need to rescan either by startup argument or by a configuration option.</p>

<h2>Startup (OSX)</h2>

<p>Open up "Terminal.app" and enter <code>/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt --rescan</code></p>

<h2>bitcoin.conf (OSX)</h2>

<p>Place a plain text file called <code>bitcoin.conf</code> in <code>~/Library/Application Support/Bitcoin/</code> and make sure the textfile contains the line "rescan=1".</p>

<p>Make sure you remove the <code>rescan=1</code> line after you have successfully rescanned your wallet.dat.</p>

CC BY-SA 3.0
2017-10-14T03:15:31.863Z
2017-10-14T03:15:31.863Z
Jonas Schnelli
<p>I have an old wallet.dat file that I have backed up and I have already replaced the new wallet.dat, which had no btc on it with the old one, which does. I have tried to enter the command for the rescan function to adapt to the different wallet information without success. Do I do this through the QT terminal or through the debug console command line? And can this be done before the bitcoin core wallet is completely synced with the entire network? Thanks.</p>

<wallet.dat><mac><rescan>
How do I get my Bitcoin Core to rescan for a different wallet.dat file on OSX?
Gary R.
# How do I get my Bitcoin Core to rescan for a different wallet.dat file on OSX?

(Asked by: username_0 on 2017-10-13)

I have an old wallet.dat file that I have backed up and I have already replaced the new wallet.dat, which had no btc on it with the old one, which does. I have tried to enter the command for the rescan function to adapt to the different wallet information without success. Do I do this through the QT terminal or through the debug console command line? And can this be done before the bitcoin core wallet is completely synced with the entire network? Thanks.

**Tags:** wallet.dat, mac, rescan


---

## 1 answers

### Answer by username_1 on 2017-10-14. Score: 1

The QT terminal (RPC) rescan option will be available in 0.16 (not release by the time of writing). <https://github.com/bitcoin/bitcoin/pull/7061>

Manual rescans should generally not be required, though, if you are missing transactions in an old wallet, the rescan may help.

In Core < 0.16 you need to rescan either by startup argument or by a configuration option.

## Startup (OSX)

Open up "Terminal.app" and enter `/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt --rescan`

## bitcoin.conf (OSX)

Place a plain text file called `bitcoin.conf` in `~/Library/Application Support/Bitcoin/` and make sure the textfile contains the line "rescan=1".

Make sure you remove the `rescan=1` line after you have successfully rescanned your wallet.dat.


---

