<p>It depends on the version you were running, and the operating system, and when you say you are looking for your bitcoins, what you are really looking for are the private keys.</p>

<h2>Bitcoin Core</h2>

<p>The keys are in a file called <code>wallet.dat</code> which was stored in the bitcoin core data directory, which I'll call <code>&lt;data-dir&gt;</code>. The <code>wallet.dat</code> file was stored in <code>&lt;data-dir&gt;/</code> on versions prior to <code>v0.16.0</code> and moved to <code>&lt;data-dir&gt;/wallets</code> in later versions, see <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/files.md" rel="nofollow noreferrer">files.md</a>. This uses the <a href="https://bitcointalk.org/index.php?topic=4448.0" rel="nofollow noreferrer"><code>bitkeys</code> format</a>.</p>

<p><strong>Linux</strong><br>
On linux, the data directory <code>&lt;data-dir&gt;</code> is <code>~/.bitcoin/wallets/wallet.dat</code></p>

<p><strong>Windows</strong><br>
On Windows, the data directory <code>&lt;data-dir&gt;</code> is <code>%APPDATA%\Bitcoin\wallet.dat</code></p>

<p><strong>Mac</strong><br>
On Mac, the data directory <code>&lt;data-dir&gt;</code> is <code>~/Library/Application Support/Bitcoin/</code></p>

<p>Reference: <a href="https://en.bitcoin.it/wiki/Data_directory#Mac" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Data_directory#Mac</a></p>

<hr>

<p>The next question is "How do I restore the keys?", and there are many answers for that already, example: <a href="https://bitcoin.stackexchange.com/q/10974/60443">Import wallet.dat into a new Bitcoin-Qt client</a></p>

CC BY-SA 4.0
2018-09-24T18:36:25.463Z
Note: there are many ways to store private keys, this answer assumes you were running the bitcoin-core full node software and wallet. Searching for ‘wallet.dat’ is nonetheless a good starting point in almost any case I’m sure.
chytrik
CC BY-SA 4.0
2018-09-24T19:05:45.943Z
Ok, the question next, is when I find Wallet.dat, then how do I take that to cash in?
Mark Jaske
CC BY-SA 4.0
2018-09-24T21:22:29.623Z
@MarkJaske That's a different question (i.e. probably not suitable for the comments section). You need to select a wallet, import your keys, and then sell them either in person or on an exchange.
JBaczuk
CC BY-SA 4.0
2018-09-24T18:16:11.987Z
2018-09-24T21:19:27.717Z
2018-09-24T21:19:27.717Z
JBaczuk
<p>I have all my old computers and have the hard drives, so how do I systematically go back finding which on has my bitcoins?  At the time, I figured it was no big deal, but now finding the correct one, could be worth while.</p>

<p>So my question is, how to I search my hard drives to find the one that contains the bitcoins?   Is there a file I need to search for?</p>

CC BY-SA 4.0
2018-09-24T18:37:51.907Z
What year would you have received the coins? There are many ways to store bitcoins (private keys). A timeline would be useful in answering your question.
chytrik
CC BY-SA 4.0
2018-09-24T18:49:06.070Z
It would of been in the 2005-2011 time frame.  I thought it was a waste of my time, but back then, I was into everything that promised money...  I found 2011 emails on my current account saying they were a waste of time, so back in 2011, I thought they were junk...
Mark Jaske
CC BY-SA 4.0
2018-09-24T18:51:15.617Z
My emails even suggest I would give them away, as I didn't really care, if anyone wanted them, but that email chain runs dry, which means I have some, somewhere....
Mark Jaske
CC BY-SA 4.0
2018-09-24T18:57:37.690Z
So they had to me obtained in 2011 or before, so I'm assuming they might me worth something,  The question, is can I search the hard drives for a certain file?
Mark Jaske
CC BY-SA 4.0
2018-09-24T19:00:39.657Z
Take a look at the question I just marked this as duplicate of. Most wallets use a 'wallet.dat' file, but there are many ways to store bitcoins using local software (eg bitcoin-core or electrum), physical mediums (paper wallets), third party services (eg blockchain.info), etc. Its probably best to approach your treasure hunt with a wide scope. Best of luck!
chytrik
CC BY-SA 4.0
2018-09-24T19:01:55.820Z
I can't imagine I spent more than $100 at the time and knowing me probably only $50, but if I can reclaim, it would be nice
Mark Jaske
<lost-bitcoins>
I know I had Bitcoins back in the Day, but
Mark Jaske
# I know I had Bitcoins back in the Day, but

(Asked by: username_0 on 2018-09-24)

I have all my old computers and have the hard drives, so how do I systematically go back finding which on has my bitcoins? At the time, I figured it was no big deal, but now finding the correct one, could be worth while.

So my question is, how to I search my hard drives to find the one that contains the bitcoins? Is there a file I need to search for?

**Tags:** lost-bitcoins

> **Comments:**
> **username_1**: What year would you have received the coins? There are many ways to store bitcoins (private keys). A timeline would be useful in answering your question.  
> **username_0**: It would of been in the 2005-2011 time frame.  I thought it was a waste of my time, but back then, I was into everything that promised money...  I found 2011 emails on my current account saying they were a waste of time, so back in 2011, I thought they were junk...  
> **username_0**: My emails even suggest I would give them away, as I didn't really care, if anyone wanted them, but that email chain runs dry, which means I have some, somewhere....  
> **username_0**: So they had to me obtained in 2011 or before, so I'm assuming they might me worth something,  The question, is can I search the hard drives for a certain file?  
> **username_1**: Take a look at the question I just marked this as duplicate of. Most wallets use a 'wallet.dat' file, but there are many ways to store bitcoins using local software (eg bitcoin-core or electrum), physical mediums (paper wallets), third party services (eg blockchain.info), etc. Its probably best to approach your treasure hunt with a wide scope. Best of luck!  
> **username_0**: I can't imagine I spent more than $100 at the time and knowing me probably only $50, but if I can reclaim, it would be nice  

---

## 1 answers

### Answer by username_2 on 2018-09-24. Score: 1

It depends on the version you were running, and the operating system, and when you say you are looking for your bitcoins, what you are really looking for are the private keys.

## Bitcoin Core

The keys are in a file called `wallet.dat` which was stored in the bitcoin core data directory, which I'll call `<data-dir>`. The `wallet.dat` file was stored in `<data-dir>/` on versions prior to `v0.16.0` and moved to `<data-dir>/wallets` in later versions, see [files.md](https://github.com/bitcoin/bitcoin/blob/master/doc/files.md). This uses the [`bitkeys` format](https://bitcointalk.org/index.php?topic=4448.0).

**Linux**  
On linux, the data directory `<data-dir>` is `~/.bitcoin/wallets/wallet.dat`

**Windows**  
On Windows, the data directory `<data-dir>` is `%APPDATA%\Bitcoin\wallet.dat`

**Mac**  
On Mac, the data directory `<data-dir>` is `~/Library/Application Support/Bitcoin/`

Reference: <https://en.bitcoin.it/wiki/Data_directory#Mac>

---

The next question is "How do I restore the keys?", and there are many answers for that already, example: [Import wallet.dat into a new Bitcoin-Qt client](https://bitcoin.stackexchange.com/q/10974/60443)

> **Comments:**
> **username_1**: Note: there are many ways to store private keys, this answer assumes you were running the bitcoin-core full node software and wallet. Searching for ‘wallet.dat’ is nonetheless a good starting point in almost any case I’m sure.  
> **username_0**: Ok, the question next, is when I find Wallet.dat, then how do I take that to cash in?  
> **username_2**: @username_0 That's a different question (i.e. probably not suitable for the comments section). You need to select a wallet, import your keys, and then sell them either in person or on an exchange.  

---

