<ol>
<li>Archive all the priv keys that you want to save. Close bitcoin-qt.</li>
<li>Delete wallet.dat.</li>
<li>Open bitcoin-qt.exe again.</li>
<li>Import keys that you have dumped before.</li>
</ol>

CC BY-SA 4.0
2018-11-04T17:00:45.743Z
2) Rather rename the wallet.dat just in case you need to to find your way bac
Sydwell
CC BY-SA 3.0
2014-12-03T18:27:44.027Z
2014-12-03T18:27:44.027Z
Sebastian Xawery Wiśniowiecki
<p>The only way I know of Is to use something like Pywallet, as Meni mentioned. </p>

<p>However, I would like to point out that it is best practice to create a new address for each transaction.</p>

<p>If you are concerned with not being able to find a particular address, you should take care to label all your address in a useful manner at the time you create them. Once labeled, they are searchable.</p>

CC BY-SA 3.0
2012-11-18T20:01:41.043Z
the point is not in finding an address, but mostly in the problem that as time will go, I will have more and more of them. So I thought that it is possible to delete some.
Salvador Dali
CC BY-SA 3.0
2012-11-18T20:19:31.623Z
My humble suggestion, then, is to not be concerned about how many you have. A well used wallet will have a mountain of receiving addresses, and that is a good thing for the security of your bitcoins.
smickles
CC BY-SA 3.0
2012-11-18T19:40:30.160Z
2012-11-18T19:40:30.160Z
smickles
<p>I found using the the command-line option <code>datadir</code> extremely helpful.
Backing up everything first is of course advised. Once you specified a new
datadir, a new wallet is created in this datadir. Then use one of the new addresses of the new wallet and transfer the funds from the old wallet to it.</p>

<p>Delete the old wallet in the old datadir and copy over the new wallet.dat.
Works for me :)</p>

<p>If there is a particular address that you would like to keep, working with
<code>dumpprivkey</code> and importing should work.</p>

CC BY-SA 3.0
2013-09-29T01:34:43.843Z
2013-09-29T01:34:43.843Z
benjamin
<p>I don't think it's possible to delete addresses from just the UI.</p>

<p>You can delete addresses completely using <a href="https://bitcointalk.org/index.php?topic=34028.0" rel="nofollow">Pywallet</a>. However, unless you back up the key first, this means that you will not have access to any coins sent to these addresses (either future coins or existing coins which have not moved elsewhere).</p>

<p>The many addresses will be more manageable if you label them. You can even simply label each as "Z" to put them at the end of the list when sorted by label.</p>

CC BY-SA 3.0
2012-11-18T18:13:08.030Z
I know that it is not possible to do from UI, I am looking for other solutions. To make it clear, you basically state that if <A sent me 50 BTC to address B> and I deleted later address B, these 50 coins will be lost? The problem that I have like 300 addresses :-). I had no idea that they are not deletable.
Salvador Dali
CC BY-SA 3.0
2012-11-18T20:16:23.197Z
@SalvadorDali: When I said "delete from the UI" I meant "make it so they don't appear in the UI but still able to receive coins", regardless of how you do the deletion.
Meni Rosenfeld
CC BY-SA 3.0
2012-11-18T20:16:49.173Z
@SalvadorDali: If you didn't move the coins after receiving them, yes, they would be lost. An easy way to solve this is by sending all your coins to a new address, then delete the other addresses. You'll keep the coins you already received, but will lose any coins sent in the future to deleted addresses.
Meni Rosenfeld
CC BY-SA 3.0
2012-11-18T20:31:51.750Z
up till now this is the best answer. Thanks.
Salvador Dali
CC BY-SA 3.0
2014-12-04T13:09:02.370Z
What is the issue with having too many addresses? When you spend coins it does output selection for you, and you can simply reuse addresses for receive if you want.
Matt
CC BY-SA 3.0
2012-11-18T18:07:32.927Z
2014-12-03T18:14:40.927Z
2014-12-03T18:14:40.927Z
Meni Rosenfeld
<p>For every transaction I wanted to get, I was creating a new address, but soon I realized that there is just no way to delete all these addresses from the UI.</p>

<p>To make it clear, here is a picture:<img src="https://i.sstatic.net/jUjgb.jpg" alt="enter image description here"></p>

<p>I am using <strong>Bitcoin-Qt</strong></p>

<p>Is there an easy way to delete all these addresses? </p>

CC BY-SA 3.0
2012-11-21T16:54:59.077Z
I know that it's not the same client you are using, but I've just noticed that the Blockchain.info wallet allows you to 'archive' addresses. Which hides addresses from the main view, putting them in an 'Archived' tab on the 'Receive Money' page. Just thought I'd pass along the message. :)
smickles
<wallet><address><private-key><wallet.dat>
How can I delete an address (private key) in the list of received Bitcoins?
Salvador Dali
# How can I delete an address (private key) in the list of received Bitcoins?

(Asked by: username_0 on 2012-11-18)

For every transaction I wanted to get, I was creating a new address, but soon I realized that there is just no way to delete all these addresses from the UI.

To make it clear, here is a picture:![enter image description here](https://i.sstatic.net/jUjgb.jpg)

I am using **Bitcoin-Qt**

Is there an easy way to delete all these addresses?

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

> **Comments:**
> **username_1**: I know that it's not the same client you are using, but I've just noticed that the Blockchain.info wallet allows you to 'archive' addresses. Which hides addresses from the main view, putting them in an 'Archived' tab on the 'Receive Money' page. Just thought I'd pass along the message. :)  

---

## 4 answers

### Answer by username_5 on 2012-11-18. Score: 9 | Accepted answer

I don't think it's possible to delete addresses from just the UI.

You can delete addresses completely using [Pywallet](https://bitcointalk.org/index.php?topic=34028.0). However, unless you back up the key first, this means that you will not have access to any coins sent to these addresses (either future coins or existing coins which have not moved elsewhere).

The many addresses will be more manageable if you label them. You can even simply label each as "Z" to put them at the end of the list when sorted by label.

> **Comments:**
> **username_0**: I know that it is not possible to do from UI, I am looking for other solutions. To make it clear, you basically state that if <A sent me 50 BTC to address B> and I deleted later address B, these 50 coins will be lost? The problem that I have like 300 addresses :-). I had no idea that they are not deletable.  
> **username_5**: @SalvadorDali: When I said "delete from the UI" I meant "make it so they don't appear in the UI but still able to receive coins", regardless of how you do the deletion.  
> **username_5**: @SalvadorDali: If you didn't move the coins after receiving them, yes, they would be lost. An easy way to solve this is by sending all your coins to a new address, then delete the other addresses. You'll keep the coins you already received, but will lose any coins sent in the future to deleted addresses.  
> **username_0**: up till now this is the best answer. Thanks.  
> **username_6**: What is the issue with having too many addresses? When you spend coins it does output selection for you, and you can simply reuse addresses for receive if you want.  

---

### Answer by username_2 on 2014-12-03. Score: 4

1. Archive all the priv keys that you want to save. Close bitcoin-qt.
2. Delete wallet.dat.
3. Open bitcoin-qt.exe again.
4. Import keys that you have dumped before.

> **Comments:**
> **username_3**: 2) Rather rename the wallet.dat just in case you need to to find your way bac  

---

### Answer by username_1 on 2012-11-18. Score: 2

The only way I know of Is to use something like Pywallet, as Meni mentioned.

However, I would like to point out that it is best practice to create a new address for each transaction.

If you are concerned with not being able to find a particular address, you should take care to label all your address in a useful manner at the time you create them. Once labeled, they are searchable.

> **Comments:**
> **username_0**: the point is not in finding an address, but mostly in the problem that as time will go, I will have more and more of them. So I thought that it is possible to delete some.  
> **username_1**: My humble suggestion, then, is to not be concerned about how many you have. A well used wallet will have a mountain of receiving addresses, and that is a good thing for the security of your bitcoins.  

---

### Answer by username_4 on 2013-09-29. Score: 2

I found using the the command-line option `datadir` extremely helpful.
Backing up everything first is of course advised. Once you specified a new
datadir, a new wallet is created in this datadir. Then use one of the new addresses of the new wallet and transfer the funds from the old wallet to it.

Delete the old wallet in the old datadir and copy over the new wallet.dat.
Works for me :)

If there is a particular address that you would like to keep, working with
`dumpprivkey` and importing should work.


---

