<p><code>importprivkey</code> can only be used with legacy wallets, you're apparently using a descriptor wallet. Simply create a new wallet with &quot;Descriptor Wallet&quot; unchecked and you'll be able to import the private key.</p>

CC BY-SA 4.0
2022-10-28T00:29:28.077Z
Thank you! Now I got an error that says Rescan is disabled when blocks are pruned. I created my private key using bitaddress.org. Should I have used something different? THANK YOU!
Bashi
CC BY-SA 4.0
2022-10-28T00:32:47.163Z
A private key generated using a website is not very secure. If you can, you should just generate keys with the wallet you use.
Vojtěch Strnad
CC BY-SA 4.0
2022-10-28T00:35:37.993Z
Thank you...I really don't know what I am doing. My exhusband created an offline wallet of sorts for me, but is not giving me all the information I need to move it online, only bits and pieces. He told me to use bitaddress.org to put in my password and then make a private key. Then to take the private key to bitcoin core to move it to a place that makes it accessible to me. I'm lost. But thank you so much for your time!
Bashi
CC BY-SA 4.0
2024-03-03T14:03:39.827Z
When choosing  `File > Create Wallet` I don't see the `Descriptor Wallet` checkbox.  Using Bitcoin Core 26.0.0.   Any ideas how to create a new Legacy wallet that I can then import private keys into?
Jon Grah
CC BY-SA 4.0
2022-10-28T00:18:42.063Z
2022-10-28T00:29:43.977Z
2022-10-28T00:29:43.977Z
Vojtěch Strnad
<p>i think they may have removed legacy wallets from later versions of bccore. but i am a total novice. i find all the various layers of security and what not thoroughly annoying/confusing XD  but  thats 'crypto' for ya.
im all ears to be corrected/informed.  i was able to make a legacy wallet using the instructions above using bitcoin core version 25.0</p>

CC BY-SA 4.0
2024-05-09T03:41:10.840Z
2024-05-09T03:44:57.207Z
2024-05-09T03:44:57.207Z
adam
<p>I am a total dummy/layperson and cannot figure out how to import my private key into bitcoincore v23. I keep getting the error &quot;this type of wallet does not support this command&quot; when typing in &quot;importprivkey&quot; and then pasteing my private key.</p>
<p>Is there anyone that can talk to me about this like I am 5?!</p>
<p>Thank you kindly</p>

CC BY-SA 4.0
2022-10-28T14:31:54.587Z
Does this answer your question? [How can a private key be imported to a descriptor wallet?](https://bitcoin.stackexchange.com/questions/113846/how-can-a-private-key-be-imported-to-a-descriptor-wallet)
Mercedes
<private-key-import>
import private key into bitcoincore - getting error
Bashi
# import private key into bitcoincore - getting error

(Asked by: username_0 on 2022-10-28)

I am a total dummy/layperson and cannot figure out how to import my private key into bitcoincore v23. I keep getting the error "this type of wallet does not support this command" when typing in "importprivkey" and then pasteing my private key.

Is there anyone that can talk to me about this like I am 5?!

Thank you kindly

**Tags:** private-key-import

> **Comments:**
> **username_1**: Does this answer your question? [How can a private key be imported to a descriptor wallet?](https://bitcoin.stackexchange.com/questions/113846/how-can-a-private-key-be-imported-to-a-descriptor-wallet)  

---

## 2 answers

### Answer by username_2 on 2022-10-28. Score: 1

`importprivkey` can only be used with legacy wallets, you're apparently using a descriptor wallet. Simply create a new wallet with "Descriptor Wallet" unchecked and you'll be able to import the private key.

> **Comments:**
> **username_0**: Thank you! Now I got an error that says Rescan is disabled when blocks are pruned. I created my private key using bitaddress.org. Should I have used something different? THANK YOU!  
> **username_2**: A private key generated using a website is not very secure. If you can, you should just generate keys with the wallet you use.  
> **username_0**: Thank you...I really don't know what I am doing. My exhusband created an offline wallet of sorts for me, but is not giving me all the information I need to move it online, only bits and pieces. He told me to use bitaddress.org to put in my password and then make a private key. Then to take the private key to bitcoin core to move it to a place that makes it accessible to me. I'm lost. But thank you so much for your time!  
> **username_3**: When choosing  `File > Create Wallet` I don't see the `Descriptor Wallet` checkbox.  Using Bitcoin Core 26.0.0.   Any ideas how to create a new Legacy wallet that I can then import private keys into?  

---

### Answer by username_4 on 2024-05-09. Score: 0

i think they may have removed legacy wallets from later versions of bccore. but i am a total novice. i find all the various layers of security and what not thoroughly annoying/confusing XD but thats 'crypto' for ya.
im all ears to be corrected/informed. i was able to make a legacy wallet using the instructions above using bitcoin core version 25.0


---

