<p>if you are on linux then you can use</p>

<pre><code>$ bitcoin-cli dumpprivkey youraddress
</code></pre>

<p>where you replace <code>youraddress</code> with your actual bitcoin address. do this for as many addresses as you have to get the private key for each of them.</p>

CC BY-SA 3.0
2015-06-21T00:58:53.203Z
im using windows, and "your address" is the address where i have them stored or ?
Francis Achebe
CC BY-SA 3.0
2015-06-21T07:49:55.573Z
`youraddress` is your bitcoin address - eg `1MTChe67xXyAnckt693ZaCk4J3vWyiquFB`. but if you are on windows then i suggest following the comment posted by [Nick ODell](http://bitcoin.stackexchange.com/users/2306/nick-odell) below your question.
mulllhausen
CC BY-SA 3.0
2015-06-21T15:54:59.677Z
so i found the private key., but the situation now is bitcoin is 1 year and 5 weeks out of sync, when i input the private key it gives me it says i have 0 bitcoins, because the data is outdated and is not current enough to show my deposit into this wallet. is there a way around this ?
Francis Achebe
CC BY-SA 3.0
2015-06-21T23:57:12.707Z
i'd say just wait for it to catch up and then you will be able to spend your coins. another possibility is to [use a thin client](http://bitcoin.stackexchange.com/questions/2712/thin-client-list) so that you don't have to download the blockchain before spending your coins.
mulllhausen
CC BY-SA 3.0
2015-06-20T15:00:45.130Z
2015-06-20T15:00:45.130Z
mulllhausen
<p>How do I find the private key in order to transfer my bitcoins from bitcoin core. The block chain keeps crashing before synchronization takes place. Appreciate the feedback </p>

<private-key>
Finding private key
Francis Achebe
# Finding private key

(Asked by: username_0 on 2015-06-20)

How do I find the private key in order to transfer my bitcoins from bitcoin core. The block chain keeps crashing before synchronization takes place. Appreciate the feedback

**Tags:** private-key


---

## 1 answers

### Answer by username_1 on 2015-06-20. Score: 0

if you are on linux then you can use

```
$ bitcoin-cli dumpprivkey youraddress

```

where you replace `youraddress` with your actual bitcoin address. do this for as many addresses as you have to get the private key for each of them.

> **Comments:**
> **username_0**: im using windows, and "your address" is the address where i have them stored or ?  
> **username_1**: `youraddress` is your bitcoin address - eg `1MTChe67xXyAnckt693ZaCk4J3vWyiquFB`. but if you are on windows then i suggest following the comment posted by [Nick ODell](http://bitcoin.stackexchange.com/users/2306/nick-odell) below your question.  
> **username_0**: so i found the private key., but the situation now is bitcoin is 1 year and 5 weeks out of sync, when i input the private key it gives me it says i have 0 bitcoins, because the data is outdated and is not current enough to show my deposit into this wallet. is there a way around this ?  
> **username_1**: i'd say just wait for it to catch up and then you will be able to spend your coins. another possibility is to [use a thin client](http://bitcoin.stackexchange.com/questions/2712/thin-client-list) so that you don't have to download the blockchain before spending your coins.  

---

