<p>Yes.  The wallet.dat file is all you need to be able to keep your coins backed up.  You'll also obviously need your password if you've encrypted your wallet.</p>

<p>However, backing up the entire folder may be advisable if you're on a slow internet connection.  The blockchain is getting rather sizable and can take a significant amount of time to redownload from scratch.  I recently needed to do that and it took almost 2 full days.</p>

CC BY-SA 3.0
2013-03-12T15:43:09.590Z
Note: Unless you spend all "input", you will get some bitcoins 'back'. Bitcoin-qt will automatic assign a **new** bitcoin address to the "charge" (for security and privacy reasons). Your wallet.dat will contain a "key pool" of 100 new bitcoin addresses, but when theses are spend, then bitcoin-qt will generate a new addresses. So backup every 100 transfers, or change the default key pool size by running bitcoin-qt once with the parameter:

    -keypool n 

(where n = how many keys to pre-generate, eg 1000).
Nicolai
CC BY-SA 3.0
2013-03-12T14:41:30.277Z
2013-03-12T14:41:30.277Z
Compro01
<p>Is <code>%APPDATA%\Roaming\Bitcoin\wallet.dat</code> the only file I need to backup my wallet?</p>

<p>I've heard about backing up every ~50-100 transactions is this correct? I thought that with the wallet.dat file, I have my private key, which is all that I need to restore my bitcoins.</p>

<transactions><wallet><security><wallet.dat>
What files do I need for backing up my wallet?
BitCoin New Guy
# What files do I need for backing up my wallet?

(Asked by: username_0 on 2013-03-12)

Is `%APPDATA%\Roaming\Bitcoin\wallet.dat` the only file I need to backup my wallet?

I've heard about backing up every ~50-100 transactions is this correct? I thought that with the wallet.dat file, I have my private key, which is all that I need to restore my bitcoins.

**Tags:** transactions, wallet, security, wallet.dat


---

## 1 answers

### Answer by username_1 on 2013-03-12. Score: 0 | Accepted answer

Yes. The wallet.dat file is all you need to be able to keep your coins backed up. You'll also obviously need your password if you've encrypted your wallet.

However, backing up the entire folder may be advisable if you're on a slow internet connection. The blockchain is getting rather sizable and can take a significant amount of time to redownload from scratch. I recently needed to do that and it took almost 2 full days.

> **Comments:**
> **username_2**: Note: Unless you spend all "input", you will get some bitcoins 'back'. Bitcoin-qt will automatic assign a **new** bitcoin address to the "charge" (for security and privacy reasons). Your wallet.dat will contain a "key pool" of 100 new bitcoin addresses, but when theses are spend, then bitcoin-qt will generate a new addresses. So backup every 100 transfers, or change the default key pool size by running bitcoin-qt once with the parameter:      -keypool n   (where n = how many keys to pre-generate, eg 1000).  

---

