<p>The primary definition and meaning of a bitcoin wallet is that it represents a set of private keys. So I assume you mean deleting such a file.</p>
<p><strong>Whether you will be able to access your wallet again and in what form depends on the type of keys in it.</strong></p>
<p>Those keys can be:</p>
<ol>
<li>linked to each other - HD wallets (deterministic wallets)</li>
<li>unlinked (non-deterministic wallets)</li>
</ol>
<p><strong>Deterministic wallets (HD wallets)</strong> are based on the fact that from one master seed, or from a master key previously derived from that master seed, all other keys are derived. Various standards are used for this, the most famous being BIP32. This process is &quot;recursive&quot;, meaning that if you derive from a master key its child keys, then those keys can further derive their children and so on. Therefore, if that private key you know is:</p>
<ol>
<li>master private key - you can again access the complete wallet, i.e. all private keys</li>
<li>non-master private key - you can again access only part of the wallet, i.e. all private keys to which that key was a parent in the derivation process</li>
</ol>
<p><strong>Non-deterministic wallets</strong> can be seen as a collection of private keys that reside in one place and those keys are not linked in any way. Therefore, if you know some of the private keys, it will not be enough to access the whole wallet or at least part of it.</p>

CC BY-SA 4.0
2023-09-22T18:59:03.043Z
2023-09-26T16:05:20.617Z
2023-09-26T16:05:20.617Z
dassd
<p>The private key is a number that may be stored in a wallet file. A copy of a private key may also be stored elsewhere, e.g. written on a paper. A private key is used to unlock and so transfer amount of Bitcoin to another address.</p>
<p>It is possible to import a private key into a new wallet file (e.g. wallet.dat in Bitcoin Core) altough not easy.</p>

CC BY-SA 4.0
2023-09-22T18:53:16.987Z
2023-09-22T18:53:16.987Z
Greg Tonoski
<p>I am just trying to learn more about bitcoin. My question is what if i delete the wallet file from my computer but I still have my private key, still I be able to access my wallet?</p>

<private-key><wallet.dat><backup>
What if I delete the wallet file but still have my private key
Papi
# What if I delete the wallet file but still have my private key

(Asked by: username_0 on 2023-09-22)

I am just trying to learn more about bitcoin. My question is what if i delete the wallet file from my computer but I still have my private key, still I be able to access my wallet?

**Tags:** private-key, wallet.dat, backup


---

## 2 answers

### Answer by username_1 on 2023-09-22. Score: 0

The primary definition and meaning of a bitcoin wallet is that it represents a set of private keys. So I assume you mean deleting such a file.

**Whether you will be able to access your wallet again and in what form depends on the type of keys in it.**

Those keys can be:

1. linked to each other - HD wallets (deterministic wallets)
2. unlinked (non-deterministic wallets)

**Deterministic wallets (HD wallets)** are based on the fact that from one master seed, or from a master key previously derived from that master seed, all other keys are derived. Various standards are used for this, the most famous being BIP32. This process is "recursive", meaning that if you derive from a master key its child keys, then those keys can further derive their children and so on. Therefore, if that private key you know is:

1. master private key - you can again access the complete wallet, i.e. all private keys
2. non-master private key - you can again access only part of the wallet, i.e. all private keys to which that key was a parent in the derivation process

**Non-deterministic wallets** can be seen as a collection of private keys that reside in one place and those keys are not linked in any way. Therefore, if you know some of the private keys, it will not be enough to access the whole wallet or at least part of it.


---

### Answer by username_2 on 2023-09-22. Score: 0

The private key is a number that may be stored in a wallet file. A copy of a private key may also be stored elsewhere, e.g. written on a paper. A private key is used to unlock and so transfer amount of Bitcoin to another address.

It is possible to import a private key into a new wallet file (e.g. wallet.dat in Bitcoin Core) altough not easy.


---

